@charset "utf-8";

/* Web フォント（Noto Sans JP / Roboto）は functions.php で Google Fonts CSS2 v2 を enqueue（@import は取得が直列化しキャッシュ削除直後にフォールバックが出るため廃止） */

/* GLOBAL
---------------------------------------------------------- */
:root {
    --color-primary: #a72126;
    --color-secondary: #646464;
    --color-black: #000000;
    --color-white: #ffffff;
    --color-light: #f5f5f5;
    --color-red: #ff0e0c;
}
* {
    margin: 0;
    padding: 0;
}

html {
    width: 100%;
    height: 100%;
    /* 本文は端末フォント優先（本番 kaneyo の 2026-07 の対応に合わせる。クライアントに見た目の変化を出さないため）。
       Noto Sans JP はヒラギノ・メイリオが無い端末（Android 等）向けの代替として残す */
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "Noto Sans JP", sans-serif;
    font-weight: 400;
    color: #222;
    overflow-y: scroll;
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
}

body {
    position: relative;
    /* height: 100%; */
    z-index: 0;
    margin: 0;
    font-size: 17px;
    line-height: 1.8; /* unitless: 文字サイズ拡大時に行間も追随させる（em だと固定長化して詰まる） */
}

ul {
    list-style: none;
}

/* Misc.
---------------------------------------------------------- */
/* Clearfix */
.clearfix:before,
.clearfix:after,
.cf:before,
.cf:after {
    content: "";
    display: block;
    overflow: hidden;
}

.clearfix:after,
.cf:after {
    clear: both;
}

.clearfix,
.cf {
    zoom: 1;
}

.hidden {
    display: none;
}

.t-bold {
    font-weight: bold;
    font-weight: 700;
}

.t-center {
    text-align: center;
}

.t-right {
    text-align: right;
}

.t-left {
    text-align: left;
}

a {
    color: #1d2087;
    outline: none;
    overflow: hidden;
    text-decoration: underline;
    transition: 0.2s linear;
}

a:hover {
    /* color: #1d2087; */
    color: #555;
    text-decoration: none;
}

a[href^="tel:"] {
    cursor: default;
}

.img-btn {
    transition: all 0.3s ease-in-out;
}

.img-btn:hover {
    opacity: 0.75;
}

.show-mobile-inline,
.show-mobile {
    display: none;
}

.hide-mobile {
    display: block;
}

.hide-mobile-inline {
    display: inline-block;
}

@media only screen and (max-width: 991px) {
    .show-mobile {
        display: block;
    }

    .show-mobile-inline {
        display: inline-block;
    }

    .hide-mobile {
        display: none;
    }

    .hide-mobile-inline {
        display: none;
    }
}

/* Base Layout
---------------------------------------------------------- */
#wrapper {
    width: 100%;
    overflow: hidden;
    font-feature-settings: "pkna" 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -ms-text-size-adjust: 100%;
}

/* Header
---------------------------------------------------------- */
header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 9999;
    /* height: 162px; */
    transition: 0.2s linear;
    background: #fff;
}

#header {
    width: 940px;
    margin: 0 auto;
    /* height: 162px; */
    padding: 42px 0 0 0;
    position: relative;
    background: #fff url(../img/common/bg_head.png) no-repeat right -35px top -10px;
}

#logo {
    width: 468px;
}

#logo img {
    width: 468px;
    height: auto;
    transition: 0.2s linear;
}

#gnav {
    width: 800px;
    height: 29px;
    margin: 15px 0 0 0;
    padding: 0 0 0 10px; /*padding:0 0 0 130px;*/
    letter-spacing: -0.4em;
    transition: 0.2s linear;
    border-top: 1px solid #898989;
    position: relative;
}

#gnav > ul > li {
    float: left;
    line-height: 0;
    cursor: pointer;
    height: 29px;
    padding: 0 4px;
}

.gnav-child > ul > li > a,
#gnav > ul > li > a {
    height: 22px;
    margin: 4px 0 0 0;
    color: #000;
    font-size: 12px;
    letter-spacing: 0.1em;
    line-height: 1;
    display: block;
    text-decoration: none;
    padding: 4px 10px 4px 10px;
    border-radius: 5px;
    text-align: center;
    transition: 0.2s linear;
    position: relative;
}

#gnav > ul > li > a.has-child {
    height: 26px;
    border-radius: 5px 5px 0 0;
}

.gnav-child {
    position: absolute;
    z-index: 10000;
    top: 29px;
    left: 0;
    display: inline-block;
    width: 940px;
    max-height: 0;
    background: #ead39c;
    text-align: center;
    overflow: hidden;
    transition: 0.3s linear;
}

#gnav > ul > li:nth-child(2) .gnav-child,
#gnav > ul > li:nth-child(3) .gnav-child {
    text-align: left;
}

#gnav > ul > li:nth-child(2) .gnav-child > ul,
#gnav > ul > li:nth-child(3) .gnav-child > ul {
    width: 700px;
    margin: 0 auto;
}

#gnav > ul > li:hover > a,
#gnav > ul > li > a:hover {
    font-weight: bold;
    background: #ead39c;
    box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.6);
}

#gnav > ul > li:hover > a.has-child,
#gnav > ul > li > a.has-child:hover {
    padding-top: 8px;
}

.gnav-child:hover,
#gnav > ul > li > a:hover + .gnav-child {
    max-height: 140px;
}

.gnav-child > ul {
    padding: 10px 0;
}

.gnav-child > ul > li {
    display: inline-block;
    line-height: 0;
    line-height: 1;
    margin-right: 15px;
}

.gnav-child > ul > li a {
    font-weight: normal;
    letter-spacing: 0;
    margin: 2px 0;
}

.gnav-child a:hover {
    text-decoration: underline;
}

.gnav-child > ul > li a:before {
    content: "■";
    color: #a72126;
    padding-right: 3px;
}

#gnav > ul > li > a.serchicon {
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../img/top/serch-icon.png);
    background-position: left center;
    padding-left: 25px;
}
#gnav > ul > li > a.carticon {
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../img/top/cart-icon.png);
    background-position: left center;
    padding-left: 25px;
}

.gnav-child > ul > li a.syouhin-icon:before {
    content: "";
    color: #a72126;
    padding-right: 3px;
}

.icon1 {
    background-image: url(../img/top/icon1.png);
    padding-left: 10px !important;
    background-position: left top 1px;
    background-size: 10px 18px;
}
.icon2 {
    background-image: url(../img/top/icon2.png);
    background-position: left top 1px;
    padding-left: 20px !important;
    background-size: 20px 18px;
}
.icon3 {
    background-image: url(../img/top/icon3.png);
    background-position: left top 1px;
    padding-left: 25px !important;
    background-size: 24px 18px;
}
.icon4 {
    background-image: url(../img/top/icon4.png);
    background-position: left top 1px;
    padding-left: 25px !important;
    background-size: 22px 18px;
}
.icon5 {
    background-image: url(../img/top/icon5.png);
    background-position: left top 1px;
    padding-left: 20px !important;
    background-size: 20px 18px;
}
.icon6 {
    background-image: url(../img/top/icon6.png);
    background-position: left top 1px;
    padding-left: 20px !important;
    background-size: 20px 18px;
}
.icon7 {
    background-image: url(../img/top/icon7.png);
    background-position: left top 1px;
    padding-left: 20px !important;
    background-size: 20px 18px;
}
.icon8 {
    background-image: url(../img/top/icon8.png);
    background-position: left top 1px;
    padding-left: 17px !important;
    background-size: 14px 18px;
}
.icon9 {
    background-image: url(../img/top/icon9.png);
    background-position: left top 1px;
    padding-left: 20px !important;
    background-size: 20px 18px;
}
.icon10 {
    background-image: url(../img/top/icon10.png);
    background-position: left top 1px;
    padding-left: 20px !important;
    background-size: 20px 18px;
}
.icon11 {
    background-image: url(../img/top/icon11.png);
    background-position: left top 1px;
    padding-left: 20px !important;
    background-size: 20px 18px;
}

.icon12 {
    background-image: url(../img/top/icon12.png);
    background-position: left top 1px;
    padding-left: 20px !important;
    background-size: 20px 18px;
}

header.fixed {
    position: fixed;
    /* height: 162px; */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

header.fixed #header {
    /* height: 162px; */
}

/* Footer
---------------------------------------------------------- */
#footer {
    width: 940px;
    margin: 0 auto 60px auto;
    border-top: 1px solid #8b8d8c;
    padding: 60px 0 0 0;
    letter-spacing: 0;
    clear: both;
    margin-top: 15px;
    padding-top: 15px;
    border-top-width: 1px;
    border-top-style: solid;
    font-size: 13px;
    margin-bottom: 15px;
}

#footer p {
    margin-bottom: 1em;
}

#footer nav {
    width: 270px;
    min-height: 450px;
    float: left;
    padding: 5px 5px 0 10px;
    border-right: 1px solid #8b8d8c;
}

#footer nav:nth-child(1) {
    width: 220px;
    padding: 0 5px 0 0;
}

#footer nav:nth-child(2) {
    width: 250px;
}

#footer nav:nth-child(4) {
    width: 220px;
    padding: 0 0 0 10px;
    border-right: none;
}

#footer nav dl,
#footer nav p.menu-box {
    padding: 0 0 22px 0;
    margin: 0;
}

#footer nav .menu-box-title {
    font-size: 12px;
    color: #a72126;
    font-weight: bold;
    padding-bottom: 2px;
}

#footer nav .menu-box-title a,
#footer nav .menu-box-title a:hover,
#footer nav a.menu-box-title:hover {
    color: #a72126;
    text-decoration: none;
}

#footer nav dd {
    font-size: 12px;
    line-height: 1.8;
    padding-left: 10px;
}

#footer nav a,
#footer nav a:hover {
    color: #000;
    line-height: 1.2;
    width: auto;
    height: auto;
    display: inline-block;
    overflow: visible;
    text-decoration: none;
}

#footer nav a:hover {
    text-decoration: underline;
}

#fmenu ul {
    position: relative;
    left: 50%;
    float: left;
}

#fmenu {
    position: relative;
    overflow: hidden;
    margin: 24px 0;
}

@media (min-width: 577px) {
    #fmenu ul li {
        position: relative;
        left: -50%;
        float: left;
        list-style: none;
        margin: auto;
        text-align: center;
        width: 100px;
    }
    #fmenu {
        position: relative;
        overflow: hidden;
        margin: 24px 0;
    }
}

@media (max-width: 576px) {
    #fmenu ul li {
        position: relative;
        left: -50%;
        float: left;
        list-style: none;
        margin: auto;
        text-align: center;
        width: 100%;
    }
    #fmenu {
        position: relative;
        overflow: hidden;
        margin-top: 8px;
    }
}

#fmenu a,
#fmenu a:hover {
    font-size: 12px;
    color: #000;
    line-height: 1.2;
    width: auto;
    height: auto;
    display: inline-block;
    overflow: visible;
    text-decoration: none;
}

#fmenu a:hover {
    text-decoration: underline;
}

/* トップページ
---------------------------------------------------------- */
main {
    width: 940px;
    margin: 0 auto;
    /* padding-top: 162px; */
}

#main-visual {
    height: 479px;
}

#main-visual img {
    width: 100%;
    height: auto;
}

.sp-slide a {
    display: block;
}

.sp-button {
    border: 1px solid #b5b5b6;
    background: #b5b5b6;
}

.sp-selected-button {
    border: 1px solid #a72126;
    background: #a72126;
}

.sp-next-arrow:after,
.sp-next-arrow:before,
.sp-previous-arrow:after,
.sp-previous-arrow:before {
    width: 10%;
    height: 50%;
}

#container {
    width: 940px;
    margin: 60px auto 0 auto;
}

#content-left {
    width: 700px;
    float: left;
    margin: 0 20px 20px 0;
}

#content-right {
    width: 220px;
    float: left;
    padding: 10px 0 0 0;
}

.section-title {
    font-size: 24px;
    padding: 0 0 4px 4px;
    margin: 0 0 0 0;
}

.pickup-article,
.entry-article {
    padding: 20px 0;
    border-top: 1px solid #8b8d8c;
}

.pickup-article > a,
.entry-article > a {
    display: block;
}

.pickup-article > a,
.entry-article > a {
    width: 100%;
    height: 100%;
    color: #222;
}

.pickup-article > a:hover,
.entry-article > a:hover {
    opacity: 0.75;
}

.entry-left {
    width: 38%;
    float: left;
    margin: 0 3% 0 0;
}

.entry-right {
    width: 59%;
    float: left;
}

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

.entry-date {
    font-size: 13px;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    line-height: 1;
    color: #000;
}

.entry-title {
    font-size: 22px;
    line-height: 1.2;
    margin: 17px 0;
}

#top .entry-body {
    line-height: 1.8rem;
}

.entry-body img {
    max-width: 100%;
    height: auto;
}

#btnAjax {
    margin: 25px 0 0 0;
}

#btnAjax a {
    display: block;
    width: 100%;
    padding: 10px 0;
    background: #a72126;
    color: #fff;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    transition: 0.1s linear;
}

#btnAjax a:hover {
    margin-top: 2px;
}

#loading {
    text-align: center;
    padding: 10px 0;
}

/* ウィジェット
---------------------------------------------------------- */

.box-right {
    margin: 0 auto 30px auto;
}

.box-right img {
    max-width: 220px;
    width: 100%;
    height: auto;
}

.box-right .border {
    border: 1px solid #8b8d8c;
}

.box-faq {
    padding: 12px;
    border: none;
    font-size: 15px;
    font-weight: bold;
}

.box-faq img {
    width: 160px;
    height: auto;
}

.box-faq h3 {
    padding: 0 0 10px 0;
}

.box-faq li {
    margin-bottom: 6px;
}

.box-faq li a {
    padding: 2px 0 2px 15px;
    background: url(../img/common/allow_red.png) no-repeat left center;
}

.box-faq li > ul {
    margin-bottom: 6px;
}

.box-faq li > ul > li > a {
    padding: 2px 0 2px 25px;
    background: none;
}

.box-faq-more {
    padding: 10px 0 0 0;
    text-align: right;
}

.box-category-otayori,
.box-category {
    padding: 15px 18px;
    border: 1px solid #8b8d8c;
    font-size: 15px;
    font-weight: bold;
}

.box-category-otayori h3,
.box-category h3 {
    padding: 0 0 10px 0;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.3;
}

.box-category li {
    padding: 2px 0 4px 15px;
    background: url(../img/common/allow_red.png) no-repeat left center;
    line-height: 1.3;
}

.box-category-otayori ul {
    margin-left: 18px;
}

.box-category-otayori li {
    padding: 2px 0 4px 0;
    line-height: 1.3;
    font-weight: normal;
    list-style-type: disc;
}

.box-category li.li-grandson {
    margin-left: 20px;
}
#sp-store-banner {
    padding: 10px 0 30px 0;
}
#sp-store-banner div {
    border: 1px solid #8b8d8c;
    margin-bottom: 16px;
}
#sp-store-banner div img {
    max-width: 700px;
    width: 100%;
    height: auto;
}

/* 業務改善
---------------------------------------------------------- */
#sub-kaizen #main-visual {
    height: auto;
    text-align: center;
}

#sub-kaizen #main-visual img {
    width: 90%;
    height: auto;
}

#sub-kaizen #container {
    width: 940px;
    margin: 30px auto 60px auto;
}

#kaizen-content-table {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
    border-right: none;
    width: 940px;
}

#kaizen-content-table tr th {
    background: #fdedd9;
    vertical-align: middle;
    text-align: center;
    color: #000;
    font-weight: bold;
    font-size: 15px;
    border-right: 1px solid #000;
    padding: 20px 10px;
}

#kaizen-content-table tr td {
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    vertical-align: middle;
    padding: 6px 10px;
    font-size: 13px;
    line-height: 1.6;
}

#kaizen-content-table tr td.td-gyoumu {
    width: 100px;
    text-align: center;
}

#kaizen-content-table tr td.td-jirei {
    width: 100px;
    text-align: center;
}

#kaizen-content-table tr td.td-item {
    width: 180px;
    padding: 6px 0;
}

#kaizen-content-table .td-item-table {
    border: none;
    margin: 0;
    width: 100%;
}

#kaizen-content-table .td-item-table tr td {
    border: none;
}

.td-item-table td.td-item-l {
    width: 60px;
    text-align: left;
    padding: 6px 0 6px 10px;
}

.td-item-table td.td-item-l img {
    width: 40px;
    height: auto;
}

.td-item-table td.td-item-r {
    width: auto;
    padding: 6px 10px 6px 0;
}

#kaizen-content-table tr th.td-before,
#kaizen-content-table tr td.td-before {
    width: 240px;
    border-right: none;
}

#kaizen-content-table tr th.td-allow-k,
#kaizen-content-table tr td.td-allow-k {
    width: 30px;
    border-right: none;
    text-align: center;
    padding: 6px 0;
}

#kaizen-content-table tr th.td-after,
#kaizen-content-table tr td.td-after {
    width: 250px;
}

#kaizen-sp-table {
    display: none;
}

.pagination {
    clear: both;
}

.page-numbers {
    text-align: center;
}

.page-numbers li {
    display: inline-block;
    padding: 0 3px;
    font-size: 16px;
}

.page-numbers li a {
    text-decoration: underline;
}

#btn_back-order {
    text-align: right;
    padding: 12px 0;
    font-size: 14px;
}

#btn_back-order a {
    text-decoration: none;
}

/* 詳細ページ
---------------------------------------------------------- */
#sub-detail #container {
    margin: 40px auto 0 auto;
}

#sub-detail .entry-title {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.2;
    margin: 17px 0 34px 0;
}

#sub-detail .entry-article {
    padding: 0 0 20px 0;
    border-top: none;
}

/* 標準出力用CSS
---------------------------------- */
#sub-list .cat_top_content h2,
#sub-detail .entry-body h2 {
    font-size: 140%;
    padding: 0 0 7px 0;
}

#sub-list .cat_top_content h3,
#sub-detail .entry-body h3 {
    font-size: 120%;
    font-weight: bold;
    padding: 0 0 7px 0;
}

#sub-list .cat_top_content h4,
#sub-detail .entry-body h4 {
    font-size: 100%;
    font-weight: bold;
    padding: 0 0 7px 0;
}

#sub-list .cat_top_content p,
#sub-list .entry-body p,
#sub-detail .entry-body p {
    padding: 0 0 20px 0;
}

#sub-list .cat_top_content ul,
#sub-list .cat_top_content ol,
#sub-detail .entry-body ul,
#sub-detail .entry-body ol {
    padding: 0 0 20px 0;
}

#sub-list .cat_top_content ul,
#sub-detail .entry-body ul {
    list-style: none;
    margin: 0;
}

#sub-list .cat_top_content ol,
#sub-detail .entry-body ol {
    list-style: none;
}

#sub-list .cat_top_content ul li,
#sub-detail .entry-body ul li {
    margin-left: 15px;
}
/*
#sub-list .cat_top_content ul li,
#sub-detail .entry-body ul li {
    position: relative;
}*/

#sub-list .cat_top_content ul li::after,
#sub-detail .entry-body ul li::after {
    display: block;
    content: "";
    position: absolute;
    top: 0.5em;
    left: -1em;
    width: 6px;
    height: 6px;
    background-color: #a72126;
    border-radius: 100%;
}

#sub-list .cat_top_content ol li,
#sub-detail .entry-body ol li {
    margin-left: 15px;
    counter-increment: olli;
}

#sub-list .cat_top_content ol li::before,
#sub-detail .entry-body ol li:before {
    margin-left: -15px;
    content: counter(olli) ". ";
    color: #a72126;
    font-weight: bold;
}

#sub-list .cat_top_content blockquote,
#sub-detail .entry-body blockquote {
    font-size: 90%;
    line-height: 1.8182;
    padding-left: 0.9091em;
}

#sub-list .cat_top_content img[class*="wp-image-"],
#sub-list .cat_top_content img[class*="attachment-"],
#sub-detail .entry-body img[class*="wp-image-"],
#sub-detail .entry-body img[class*="attachment-"] {
    display: block;
    margin: 0;
    max-width: 100%;
    height: auto;
}

#sub-list .cat_top_content .wp-caption-text,
#sub-detail .entry-body .wp-caption-text {
    font-size: 85%;
    color: #acacac;
    padding: 5px 0 0 0;
}

/* 画像まわり */
.alignright {
    display: inline;
    float: right;
}

#sub-list .cat_top_content img[class*="aligncenter"],
#sub-list .cat_top_content img[class*="aligncenter"],
#sub-detail .entry-body img[class*="aligncenter"],
#sub-detail .entry-body img[class*="aligncenter"],
.aligncenter {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.alignleft {
    display: inline;
    float: left;
}

.wp-caption.alignleft,
.wp-caption.alignright,
.wp-caption.aligncenter {
    margin-bottom: 1.2632em;
}

blockquote.alignright,
.wp-caption.alignright,
img.alignright {
    margin: 0.4211em 0 1.6842em 1.6842em;
}

blockquote.alignleft,
.wp-caption.alignleft,
img.alignleft {
    margin: 0.4211em 1.6842em 1.6842em 0;
}

/* 区切り線 */
hr {
    clear: both;
    background-color: #afafaf;
    border: 0;
    height: 1px;
    margin-bottom: 2em;
}

/* Table */
.recipe_detail_container table,
#sub-list .cat_top_content table,
#sub-detail .entry-body table {
    width: 97%;
    border-top: 1px solid #afafaf;
    border-left: 1px solid #afafaf;
    border-bottom: 1px solid #afafaf;
    margin: 12px 10px 30px 10px;
}
.recipe_detail_container table th,
#sub-list .cat_top_content table th,
#sub-detail .entry-body table th {
    text-align: center;
    padding: 12px;
    font-weight: bold;
    border-bottom: 1px solid #afafaf;
    border-right: 1px solid #afafaf;
}
.recipe_detail_container table tr,
#sub-list .cat_top_content table tr,
#sub-detail .entry-body table tr {
    border-bottom: 1px dotted #afafaf;
}
.recipe_detail_container table tr:last-child,
#sub-list .cat_top_content table tr:last-child,
#sub-detail .entry-body table tr:last-child {
    border-bottom: none;
}
.recipe_detail_container table td,
#sub-list .cat_top_content table td,
#sub-detail .entry-body table td {
    width: auto;
    padding: 20px;
    vertical-align: middle;
    border-right: 1px solid #afafaf;
}
.recipe_detail_container table td.label,
#sub-list .cat_top_content table td.label,
#sub-detail .entry-body table td.label {
    width: 230px;
    font-weight: bold;
}

/* 海外発送（固定ページ）
---------------------------------------------------------- */

/* Section 1 */
#kaigai-sec1 {
    padding: 0 0 20px 0;
    margin: 0 0 40px 0;
    border-bottom: 1px solid #8b8d8c;
}

#kaigai-sec1 h1#sec1-h1 {
    margin: 0 0 40px 0;
}

#kaigai-sec1 h1#sec1-h1 img {
    width: 100%;
    height: auto;
}

#kaigai-sec1 p {
    width: 640px;
    margin: 0 auto;
    font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "HGP明朝B", serif;
}

#kaigai-sec1 p#sec1-problem {
    width: 440px;
    font-size: 15px;
    font-family: "Noto Sans JP", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-weight: bold;
    padding: 8px 10px;
    margin: 0 auto 20px auto;
    border: 1px solid red;
}

/* Section 2 */
#kaigai-sec2 h1#sec2-h1 {
    text-align: center;
    margin: 0 0 20px 0;
}

#sub-detail .entry-body #kaigai-sec2 ul#sec2-checklist {
    padding: 0 0 20px 0;
    width: 580px;
    margin: 0 auto;
}

#sub-detail .entry-body #kaigai-sec2 ul#sec2-checklist li {
    margin-left: 0;
    padding: 15px 0;
    border-bottom: 1px solid #8b8d8c;
    line-height: 1.2;
}

#sub-detail .entry-body #kaigai-sec2 ul#sec2-checklist li::after {
    display: none;
}

#sub-detail .entry-body #kaigai-sec2 ul#sec2-checklist a {
    color: #174a92;
    font-size: 16px;
    padding: 0 0 0 18px;
    background: url(../img/kaigai/allow_red.png) no-repeat left center;
    text-decoration: none;
}

.sec2-checklist-num {
    display: table-cell;
    width: 30px;
}

.sec2-checklist-text {
    display: table-cell;
    width: 400px;
    padding-left: 2px;
}

.sec2-checklist-link {
    position: absolute;
    right: 0;
    bottom: 15px;
}

.sec2-image {
    text-align: center;
    padding: 0 0 20px 0;
}

#sub-detail .entry-body #sec2-faq-layer {
    padding: 40px 0;
}

#sub-detail .entry-body #sec2-faq-layer h2 {
    font-size: 18px;
}

#sec2-faq-layer a {
    display: inline;
    margin: 0 10px 0 0;
    color: #174a92;
}

/* Section 3 */
#kaigai-sec3 h1 {
    text-align: center;
    font-size: 24px;
    margin: 12px 0 8px 0;
}

/* Section 4 */
.kaigai-sec4-box {
    margin: 0 auto 15px;
    line-height: 1.4;
}

/* Section 6 */
#kaigai-sec6 strong#sec6-region-title {
    font-weight: bold;
    display: block;
}

#kaigai-sec6 #sec6-region-box {
    padding: 8px;
    border: 1px solid red;
}

/* Section 8 */
#sec8-image {
    text-align: center;
    padding: 20px 0 10px 0;
}

#sec8-image img {
    padding: 0 0 20px 0;
}

#sub-detail .entry-body .kaigai-sec-shipping h2 {
    font-size: 17px;
    padding: 0 0 3px 0;
}

/* Section 10 */
#sub-detail .entry-body #sec10-jisseki {
    padding: 0 0 30px 0;
}

#sub-detail .entry-body #sec10-jisseki h2 {
    font-size: 18px;
    color: #4286e1;
    padding: 0 0 3px 0;
}

#sub-detail .entry-body #sec10-jisseki strong {
    display: block;
    color: #4286e1;
    font-weight: bold;
}

#sec10-jisseki-box {
    padding: 0 8px;
    border: 1px solid red;
}

#sec10-jisseki-box > div {
    padding: 8px;
}

#sec10-jisseki-box > div.first {
    border-bottom: 1px solid #666;
}

#kaigai-yamato-charge {
    padding: 0 0 60px 0;
}

#sub-detail .entry-body .kaigai-ems-region {
    padding: 20px 0 10px 0;
}

#sub-detail .entry-body .kaigai-ems-region h2 {
    font-weight: normal;
    padding: 0;
    line-height: 1;
    text-align: center;
    position: relative;
}

#sub-detail .entry-body .kaigai-ems-region h2 span {
    background: #fff;
    padding: 0 20px;
}

#sub-detail .entry-body .kaigai-ems-region h2::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    top: 50%;
    width: 100%;
    height: 1px;
    border-bottom: 1px solid #004097;
}

.kaigai-ems-region-link {
    text-align: right;
    font-size: 14px;
}

#sub-detail .entry-body .kaigai-ems-region h3 {
    font-weight: normal;
    padding: 0;
    font-size: 14px;
}

.kaigai-ems-region-box {
    background: #ebf4ec;
    border: 1px solid #666;
    font-size: 13px;
    line-height: 1.4;
    padding: 10px;
    margin: 0 0 10px 0;
}

/* Kaigai common */
.t-red {
    color: red;
}

.t-blue {
    color: #4286e1;
}

.kaigai-sec {
    padding: 0 0 40px 0;
}

.kaigai-attention {
    text-align: right;
    padding: 0 0 12px 0;
}

#sub-detail .entry-body .kaigai-attention p {
    line-height: 1;
    margin: 0;
    font-size: 14px;
    padding: 5px;
    display: inline;
    border: 1px solid #8b8d8c;
}

h1.kaigai-h1 {
    color: #93252a;
    font-size: 18px;
    line-height: 1.3;
    margin: 12px 0 8px 0;
    padding: 6px 0 8px 10px;
    border-left: 6px solid #93252a;
    border-bottom: 1px solid #93252a;
}

#sub-detail .entry-body .pl-16 {
    padding-left: 16px;
}

#sub-detail .entry-body #kaigai-ems-table h2 {
    font-size: 20px;
    padding: 0 0 0 0;
}

#sub-detail .entry-body table.kaneyo-table {
    width: 700px;
    margin: 12px 0 30px 0;
    font-size: 12px;
}

#sub-detail .entry-body table.kaneyo-table tr {
    border-bottom: 1px solid #afafaf;
}

#sub-detail .entry-body table.kaneyo-table th {
    text-align: center;
    padding: 3px;
    font-weight: normal;
    background: #c9e4cc;
}

#sub-detail .entry-body table.kaneyo-table td {
    padding: 5px 5px;
    text-align: center;
    width: 134px;
    background: #ebf4ec;
}

#sub-detail .entry-body table.kaneyo-table tr.even td {
    background: #fff;
}

#sub-detail .entry-body table.kaneyo-table .kaneyo-table-head2 td {
    background: #ebf4ec;
}

#sub-detail .entry-body table.kaneyo-table .kaneyo-table-head2 td {
    padding: 12px 0;
}

/* .cat-id-15#sub-list .entry-date {
  display: none;
} */
.cat-id-7#sub-list .entry-date {
    display: none;
}

/* .cat-id-15#sub-list .entry-title {
  margin-top: 0;
} */
.cat-id-7#sub-list .entry-title {
    margin-top: 0;
}

/* 予約製造商品（一覧）
---------------------------------------------------------- */
#sub-list-reserve .section-title {
    font-size: 20px;
}

/* 予約製造商品サブカテゴリ
---------------------------------------------------------- */
.cat_top_content {
    padding: 0 0 40px 0;
}

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

/* サブカテゴリ　上部イメージ
---------------------------------------------------------- */
.cat-top-image img {
    max-width: 100%;
    height: auto;
}

.sp-arrow {
    position: absolute;
    display: block;
    width: 60px;
    height: 40px;
    cursor: pointer;
}

.sp-next-arrow:after,
.sp-next-arrow:before,
.sp-previous-arrow:after,
.sp-previous-arrow:before {
    width: 3px;
    height: 50%;
}

/* NEW SUB
---------------------------------------------------------- */

.sns-flex {
    display: flex;
    justify-content: center;
    margin: 16px 0;
}
.sns-flex a {
    display: block;
}

.new-sub-menu h4 {
    text-align: center;
    color: #94252a;
    border-bottom: 1px solid #9d9d9e;
    padding-bottom: 15px;
}

.new-sub-menu ul {
    padding-left: 0px;
}

.new-sub-menu ul li {
    list-style-position: inside;
    border-bottom: 1px dashed #9d9d9e;
    position: relative;
    padding-left: 20px;
}

.new-sub-menu ul li a {
    text-decoration: none;
    color: #545454;
    font-size: 90%;
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 150%;
}

.new-sub-menu ul li:before {
    content: "■";
    position: absolute;
    left: 0px;
    top: 6px;
    color: #727171;
}

.obj {
    display: block;
}

.sns-flex2 {
    display: none;
}

.grid-item {
    width: 235px;
    height: 160px;
    box-sizing: border-box;
}
.grid-item--large {
    width: 470px;
    height: 320px;
}
.grid-item img {
    width: 100%;
    max-width: 100%;
}

.grid-item--tate {
    width: 235px;
    height: 320px;
}

.novisit {
    visibility: hidden;
    z-index: -10000000;
}

.grid {
    margin-left: auto;
    margin-right: auto;
}

.grid-item figure {
    overflow: hidden;
    width: 100%;
    height: 100%;
}
.grid-item a {
    position: relative;
    display: block;
}

.grid-item a img {
    transition: all 0.5s ease-in-out;
}
.grid-item a:hover img {
    transform: scale(1.07, 1.07);
}

.fancybox-button--arrow_right,
.fancybox-button--arrow_left {
    display: none !important;
}

@media only screen and (max-width: 991px) {
    .sns-flex2 {
        display: flex;
        justify-content: center;
    }

    #content-right {
        width: 100%;
    }

    .new-shopbanner {
        display: none;
    }

    .sns-flex {
        display: none;
    }

    .new-sub-menu h4 {
        text-align: center;
        color: #fff;
        border-bottom: 1px solid #fff;
        padding-top: 6px;
        padding-bottom: 6px;
        background-color: #615f5f;
        font-weight: normal;
        margin-left: -10px;
        margin-right: -10px;
    }

    .new-sub-menu ul {
        margin-left: -10px;
        margin-right: -10px;
    }

    .new-sub-menu ul li {
        list-style-position: inside;
        border-bottom: 1px solid #fff;
        position: relative;
        padding-left: 15px;
        background-color: #615f5f;
    }

    .new-sub-menu ul li:before {
        content: "";
    }

    .new-sub-menu ul li:before {
        content: ">";
    }

    .new-sub-menu ul li a {
        text-decoration: none;
        color: #fff;
        font-size: 80%;
        display: block;
        padding-top: 10px;
        padding-bottom: 10px;
        line-height: 150%;
    }
    .obj {
        display: none;
    }
}

@media only screen and (max-width: 500px) {
    .grid {
        width: 100vw !important;
    }
    .grid-item {
        width: 100%;
        height: auto;
    }
    .novisit {
        visibility: hidden;
        z-index: -10000000;
        display: none;
    }
}
/**
 * Common
 */
img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
    width: auto;
}
a {
    color: #000;
    text-decoration: none;
}
/*
** ==========
** Bootstrap
** ==========
*/
/* Common */
.bg-primary {
    background-color: var(--color-primary) !important;
}
.bg-secondary {
    background-color: var(--color-secondary) !important;
}
.bg-black {
    background-color: var(--color-black) !important;
}
.list-unstyled {
    padding-left: 0;
    list-style: none;
}
.container {
    position: relative;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 100%;
    max-width: 1216px;
}
/* Display */
.d-none {
    display: none !important;
}
.d-block {
    display: block !important;
}
/* Flex */
.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y) * -1);
    margin-right: calc(var(--bs-gutter-x) / -2);
    margin-left: calc(var(--bs-gutter-x) / -2);
}
.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) / 2);
    padding-left: calc(var(--bs-gutter-x) / 2);
    margin-top: var(--bs-gutter-y);
}
.col {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
}
.d-flex {
    display: flex !important;
}
.flex-column {
    flex-direction: column !important;
}
.justify-content-center {
    justify-content: center !important;
}
.justify-content-between {
    justify-content: space-between !important;
}
.align-items-center {
    align-items: center !important;
}
@media (min-width: 768px) {
    .d-md-none {
        display: none !important;
    }
    .d-md-block {
        display: block !important;
    }
    .d-md-flex {
        display: flex !important;
    }
    .flex-md-row {
        flex-direction: row !important;
    }
    .justify-content-md-between {
        justify-content: space-between !important;
    }
    .col-md-4 {
        flex: 0 0 auto;
        width: 33.3333333333%;
    }
}
/* font */
.fz-12 {
    font-size: 12px !important;
}
.fz-14 {
    font-size: 14px !important;
}
.fz-16 {
    font-size: 16px !important;
}
.fz-44 {
    font-size: 44px !important;
}
.fz-lg {
    font-size: clamp(1.8rem, 1.218rem + 2.91vw, 3.4rem);
}
@media (min-width: 1200px) {
    .fz-xl-16 {
        font-size: 16px !important;
    }
    .fz-xl-18 {
        font-size: 18px !important;
    }
}
.fw-bold {
    font-weight: 700 !important;
}
/* text */
.text-danger {
    color: var(--color-red) !important;
}
.text-end {
    text-align: right !important;
}
.text-center {
    text-align: center !important;
}
.text-white {
    color: var(--color-white) !important;
}
.text-primary {
    color: var(--color-primary) !important;
}
@media (min-width: 768px) {
    .text-md-center {
        text-align: center !important;
    }
    .text-md-start {
        text-align: left !important;
    }
    .text-md-end {
        text-align: right !important;
    }
}
/* margin */
.mt-0 {
    margin-top: 0 !important;
}
.mt-16 {
    margin-top: 16px !important;
}
.mt-40 {
    margin-top: 40px !important;
}
.ms-8 {
    margin-left: 8px !important;
}
.ms-16 {
    margin-left: 16px !important;
}
.me-8 {
    margin-right: 8px !important;
}
.mb-40 {
    margin-bottom: 40px !important;
}
@media (min-width: 768px) {
    .mt-md-0 {
        margin-top: 0 !important;
    }
}
/* padding */
.pb-44 {
    padding-bottom: 44px !important;
}
.py-8 {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}
.px-16 {
    padding-left: 16px !important;
    padding-right: 16px !important;
}
.py-16 {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}
.pt-32 {
    padding-top: 32px !important;
}
/*
** ==========
** Header
** ==========
*/
#area-header {
    height: auto;
}
.header_inner {
    padding: 8px;
}
.icon-search-cart i {
    font-size: 20px;
}
.icon-search-cart > * {
    width: 44px;
}
.header_inner button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
}
@media (min-width: 768px) {
    .header_inner {
        position: relative;
        background-image: url(https://kaneyo.itembox.design/item/img/yokoyama.png);
        background-repeat: no-repeat;
        background-position: right;
        background-size: contain;
    }
}
@media (min-width: 992px) {
    .header_inner {
        padding: 24px;
    }
}
@media (min-width: 1200px) {
    .header_inner {
        padding: 32px;
    }
}
/* ハンバーガーアイコン */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 36px;
    height: 36px;
    position: relative;
    cursor: pointer;
    z-index: 999;
    margin-right: 8px;
}
.hamburger span {
    display: block;
    height: 3px;
    background: #000;
    transition: all 0.3s ease-in-out;
}
/* Animate the Hamburger Icon */
.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-left: 15px;
    padding-right: 15px;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    transition: all 0.3s ease-in-out;
    overflow: auto;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Menu */
.menu {
    width: 100%;
    max-width: 600px;
    margin: 24px auto 50px;
    background: #fff;
    padding: 24px;
    border-radius: 10px;
    transform: translateY(-100%);
    transition: all 0.3s ease-in-out;
}

.menu-overlay.active .menu {
    transform: translateY(0);
}

.menu .list-unstyled li:not(:last-child) {
    border-bottom: 1px solid #c9caca;
}

.menu .list-unstyled li a {
    position: relative;
    display: flex;
    align-items: center;
    padding-right: 28px;
    padding-top: 6px;
    padding-bottom: 6px;
    color: var(--color-black);
}

.menu .list-unstyled li a img {
    width: 32px;
    margin-right: 8px;
    margin-left: 0;
}

.menu .list-unstyled li a:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    border: solid #c9caca;
    border-width: 0 2px 2px 0;
    padding: 4px;
    transform: rotate(-45deg) translateY(-50%);
}

/* Close Icon */
.close-icon {
    width: 40px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.close-icon span {
    display: block;
    width: 20px;
    height: 3px;
    background: #000;
    transition: all 0.3s ease-in-out;
}

.close-icon span:first-child {
    transform: translateY(3px) rotate(45deg);
}

.close-icon span:last-child {
    transform: translateY(0px) rotate(-45deg);
}

/* Disable Body Scroll */
body.active {
    overflow: hidden;
}
/*  */
.gnav-child {
    position: absolute;
    z-index: 1000;
    left: 0;
    display: inline-block;
    width: 100%;
    max-height: 0px;
    background: #fff;
    text-align: center;
    overflow: hidden;
    transition: 0.3s linear;
}
.gnav-child.show {
    max-height: 50vh !important;
    overflow: visible;
}
/* ナビゲーション */
/* 23.09.27 追加 */
#headerNavBar {
    opacity: 0;
    visibility: hidden;
    height: 0; /* 初期値として高さを0に設定 */
    overflow: hidden; /* 高さが0の時に内容が見えないように設定 */
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        height 0.3s ease;
}
@media (min-width: 768px) {
    #headerNavBar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: auto;
        opacity: 1;
        visibility: visible;
        overflow: initial;
    }
}
#headerNavBar.show {
    opacity: 1;
    visibility: visible;
    height: auto; /* メニューを表示するときは高さをautoに */
}

#headerNavBarNav {
    width: 100%;
    flex-direction: column;
}
@media (min-width: 768px) {
    #headerNavBarNav {
        flex-direction: row;
        justify-content: space-between;
    }
}
#headerNavBarNav > * {
    flex: 1 1 auto;
}
#headerNavBar a {
    display: block;
    color: var(--color-white);
    font-weight: 700;
    padding: 8px 24px;
    font-size: 14px;
    text-align: center;
}
#headerNavBar span {
    display: block;
    color: var(--color-white);
    font-weight: 700;
    padding: 8px 24px;
    font-size: 14px;
    text-align: center;
}
@media (min-width: 768px) {
    #headerNavBar a {
        padding: 8px 0;
    }
    #headerNavBar span {
        padding: 8px 0;
    }
}
#headerNavBar .has-submenu {
    position: relative;
    width: 100%;
}
@media (min-width: 768px) {
    #headerNavBar .has-submenu {
        width: auto;
    }
}
#headerNavBar .submenu {
    list-style: none;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 100%;
    z-index: 999;
    background-color: #fff;
    padding: 0;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
    /* max-height: 400px;
  overflow-y: auto; */
}

#headerNavBar .has-submenu:after {
    content: "▼"; /* 小メニューがあることを示す */
    position: absolute;
    right: 0;
    padding: 8px 16px;
    top: 1.5rem;
    transform: translateY(-50%);
    font-size: 12px;
    color: #fff;
    width: 100px;
    text-align: right;
}

#headerNavBar .submenu-active .submenu {
    opacity: 1;
    visibility: visible;
    position: static;
}
@media (max-width: 767px) {
    #headerNavBar .submenu-active .submenu {
        max-height: 50vh;
        overflow-y: auto;
    }
}
@media (min-width: 768px) {
    #headerNavBar .has-submenu:after {
        display: none;
    }
    #headerNavBar .has-submenu:hover .submenu {
        opacity: 1;
        visibility: visible;
    }
}

#headerNavBar .submenu li {
    padding: 0;
    border-bottom: 1px solid #ccc;
}

#headerNavBar .submenu > li:last-child {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    border-bottom: none;
}

#headerNavBar .submenu li:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

#headerNavBar .submenu li a {
    display: block;
    padding: 1rem;
    color: var(--color-black) !important;
    white-space: nowrap;
    text-decoration: none;
    text-align: left;
}
#headerNavBar .submenu li span {
    display: block;
    padding: 1rem;
    color: var(--color-black) !important;
    white-space: nowrap;
    text-decoration: none;
    text-align: left;
}
@media (min-width: 768px) {
    #headerNavBar a {
        padding-top: 8px;
        padding-bottom: 8px;
    }
    #headerNavBar span {
        padding-top: 8px;
        padding-bottom: 8px;
    }
    #headerNavBar .submenu li a {
        padding: 0.5rem 1rem;
    }
    #headerNavBar .submenu li span {
        padding: 0.5rem 1rem;
    }
}
.header_logo p {
    line-height: 1.4;
}
.header_logo .logo-img {
    width: calc(114px / 3);
}
.header_logo .contents {
    display: flex;
    flex-direction: column;
}
.header_logo .contents p {
    font-size: 10px;
}
@media (min-width: 768px) {
    .header_logo .contents {
        flex-direction: row;
        align-items: center;
    }
    .header_logo .contents p {
        font-size: 12px;
    }
}
@media (min-width: 992px) {
    .header_logo .logo-img {
        width: calc(114px / 2);
    }
}
@media (min-width: 1200px) {
    .header_logo .logo-img {
        width: calc(114px / 1.5);
    }
    .header_logo .contents p {
        font-size: 16px;
    }
}
/*
** ==========
** Footer
** ==========
*/
#area-footer {
    padding-top: 44px;
    position: relative;
    background-color: #f7f7f7;
    color: #3c3c3c;
}
#back-to-top {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 999;
    padding: 0.5rem;
}
#scroll-to-top-button {
    border: none;
    background-color: transparent;
    padding: 0;
    cursor: pointer;
    outline: none;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
}
#scroll-to-top-button.show {
    opacity: 1;
    visibility: visible;
}
/*
** ==========
** Home
** ==========
*/
.home .entry-article {
    display: flex;
    flex-direction: column;
}
.home .entry-article .entry-left,
.home .entry-article .entry-right {
    width: 100%;
    float: unset;
    margin: 0;
}
@media (min-width: 768px) {
    .home .entry-article {
        flex-direction: row;
        justify-content: space-between;
    }
    .home .entry-article > a,
    .home .entry-article .entry-left,
    .home .entry-article .entry-right {
        float: unset;
    }
    .home .entry-article > a {
        display: flex;
        justify-content: space-between;
    }
    /* .home .entry-articl > a {
    width: calc((100% - 30px) / 12 * 5);
  } */
    .home .entry-article .entry-left {
        width: calc((100% - 30px) / 12 * 5);
    }
    .home .entry-article .entry-right {
        width: calc((100% - 30px) / 12 * 7);
    }
}
@media (min-width: 992px) {
    /* .home .entry-article {
    flex-direction: row;
    justify-content: space-between;
  }
  .home .entry-article > a,
  .home .entry-article .entry-right {
    float: unset;
  }
  .home .entry-article > a {
    width: calc((100% - 64px) / 12 * 5);
  }
  .home .entry-article .entry-left {
    width: calc((100% - 64px) / 12 * 5);
  }
  .home .entry-article .entry-right {
    width: calc((100% - 64px) / 12 * 7);
  } */
}
/*
** ==========
** Single
** ==========
*/
.width-yokoyama {
    width: 231px;
    margin-left: auto;
}
.width-yokoyama > .alignright {
    width: 231px;
}
.category-kaizen.category-55 .sp-slides-container {
    display: none !important;
}

/*231017 フッター追加*/
@media (max-width: 767px) {
    .fz-13 {
        font-size: 13px !important;
    }
}
#area-footer {
    background-color: #fff;
}

/*231015 サブメニュー*/
.has-submenu-2 {
    position: relative;
    width: 100%;
}
@media (min-width: 768px) {
    .has-submenu-2 {
        width: auto;
    }
}
@media (min-width: 768px) {
    .submenu {
        position: absolute;
    }
}
@media (min-width: 768px) {
    .submenu-2 {
        position: absolute;
    }
}
.submenu-2 {
    list-style: none;
    opacity: 0;
    visibility: hidden;
    min-width: 100%;
    z-index: 999;
    background-color: #fff;
    padding: 0;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
    top: 0;
    left: 100%;
}

.submenu-2-active .submenu-2 {
    opacity: 1;
    visibility: visible;
    position: static;
}
@media (min-width: 768px) {
    .has-submenu-2:after {
        display: none;
    }
    .has-submenu-2:hover .submenu-2 {
        opacity: 1;
        visibility: visible;
    }
}

.submenu-2 li {
    padding: 0;
    border-bottom: 1px solid #ccc;
}

.submenu-2 li:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.submenu-2 li a {
    display: block;
    padding: 1rem;
    color: var(--color-black) !important;
    white-space: nowrap;
    text-decoration: none;
    text-align: left;
}

.has-submenu-2:after {
    content: "▼";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #333;
}

.submenu-2-active {
    opacity: 1;
    visibility: visible;
    left: 0;
    top: 100%;
}

@media (max-width: 767px) {
    /* モバイルビューでのみ表示するアロー */
    .has-submenu-2:after {
        content: "▼";
        position: absolute;
        right: 0px;
        padding: 1rem 16px;
        top: 1.9rem;
        transform: translateY(-50%);
        font-size: 12px;
        color: #333;
        width: 100px;
        text-align: right;
    }

    /* モバイルビューのサブメニューはクリックで開くように設定 */
    .has-submenu-2 .submenu-2 {
        display: none; /* 最初は非表示 */
        list-style: none;
        left: 0;
        top: 100%;
        min-width: 100%;
        background-color: #fff;
        z-index: 999;
        box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
    }

    /* submenu-2-activeクラスが付いたときにサブメニューを表示 */
    .has-submenu-2 .submenu-2-active {
        display: block; /* 表示 */
        opacity: 1; /* 完全に不透明 */
        visibility: visible; /* 表示 */
    }
}

.fw-900 {
    font-weight: 900 !important;
}

/*231031*/
/*エディター「区切り」修正**/
.wp-block-separator {
    border-top: none !important;
    border-bottom: 1px solid #afafaf !important;
}
/*カラム*/
.wp-block-columns {
    margin-bottom: 1.75em !important;
}
.wp-block-image {
    margin-bottom: 1em !important;
}

/* 通常ページでの全幅ブロック溢れ防止 */
#content-left .alignfull,
#content-left .alignwide {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* 背景画像のデフォルト位置（WordPressが出力しない場合の補完） */
.has-background[style*="background-image"] {
    background-position: center center;
}

/* === Q&A アコーディオン（details ブロック） === */
.kaneyo-qa .wp-block-details {
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    margin-bottom: 0.5em;
    overflow: hidden;
}

.kaneyo-qa .wp-block-details summary {
    padding: 1em 1.2em;
    font-weight: bold;
    color: #800000;
    cursor: pointer;
    background: #faf8f5;
    list-style: none;
}

.kaneyo-qa .wp-block-details summary::-webkit-details-marker {
    display: none;
}

.kaneyo-qa .wp-block-details summary::before {
    content: "Q. ";
}

.kaneyo-qa .wp-block-details summary::after {
    content: "＋";
    float: right;
    font-weight: normal;
    color: #800000;
    transition: transform 0.3s ease;
}

.kaneyo-qa .wp-block-details[open] summary::after {
    content: "－";
    transform: rotate(180deg);
}

.wp-block-group.kaneyo-qa .wp-block-details > *:not(summary) {
    padding: 0 1.2em 1.5rem;
    animation: none;
}

/* IDセレクタ(#sub-list等)の詳細度に勝つための上書き */
#sub-list .kaneyo-qa .wp-block-details > *:not(summary),
#sub-detail .kaneyo-qa .wp-block-details > *:not(summary) {
    padding: 0 1.2em 1.5rem;
}

.wp-block-group.kaneyo-qa .wp-block-details[open] > *:not(summary) {
    animation: kaneyo-qa-fade-in 0.3s ease forwards;
}

.wp-block-group.kaneyo-qa .wp-block-details > p:first-of-type::before {
    content: "A. ";
    font-weight: bold;
    color: #333;
}

@keyframes kaneyo-qa-fade-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === 特徴・メリット紹介（3カラム） === */
.kaneyo-features .wp-block-columns {
    gap: 2em;
}

.kaneyo-features .wp-block-column {
    text-align: center;
}

.kaneyo-features .wp-block-column h4 {
    margin-top: 1em;
    color: var(--color-primary);
}

/* === ステップ・流れ === */
.kaneyo-steps {
    counter-reset: step-counter;
}

.kaneyo-step {
    counter-increment: step-counter;
    position: relative;
    padding-left: 4em !important;
    margin-bottom: 1.5em;
    padding-top: 8px !important;
}

.kaneyo-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 1.45em;
    top: 2.5em;
    width: 2px;
    height: calc(100% - 1em);
    background: #ddd;
}

.kaneyo-step::after {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5em;
    height: 2.5em;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1;
}

.kaneyo-step h4 {
    margin-top: 0.3em;
    color: var(--color-primary);
    font-size: 1.25rem;
}

/* IDセレクタ(#sub-list等)の詳細度に勝つための上書き */
#sub-list .kaneyo-step h4,
#sub-detail .kaneyo-step h4 {
    font-size: 1.25rem;
}
