@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/*cap_box_contentの背景 */
.cap_box_content {
    background: #ffffff;
}

/* メニューバーのスタイル */
.menu-waterserver-menu-container {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

#page-menu {
    display: flex;
    margin-bottom: 10px;
}

.menu-item {
    position: relative;
    margin-right: 3px; /* メインメニュー同士の隙間を3px開ける */
}

.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 150px;
    z-index: 1000;
}

.menu-item:hover .sub-menu {
    display: block;
}

/* デザインのスタイル */
#page-menu .menu-item {
    position: relative;
}

#page-menu .menu-item a {
    display: block;
    padding: 6px 20px 6px 6px; /* 追加：右側の余白を調整 */
    text-decoration: none;
    color: #fff;
    max-width: 150px; /* 追加：メインメニューの最大幅 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background-color: #FCC00C; /* 追加：メインメニューのカラー */
    font-size: 80%; /* テキストのサイズを80%に縮小 */
    position: relative; /* 親要素に対して相対配置 */
}

#page-menu .menu-item:hover > a {
    background-color: #FFD633; /* 追加：メインメニューのホバーカラー */
}

.c-submenuToggleBtn {
    display: none;
}

.c-submenuToggleBtn.is-opened::before,
.menu-item:hover .c-submenuToggleBtn::before {
    content: "∧"; /* 開かれた状態のアイコン */
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    color: #fff; /* アイコンの色を白に変更 */
}

.menu-item:hover .c-submenuToggleBtn.is-opened::before,
.c-submenuToggleBtn::before {
    content: "∨"; /* 閉じた状態のアイコン */
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    color: #fff; /* アイコンの色を白に変更 */
}

/* レスポンシブデザインの調整 */
@media only screen and (max-width: 768px) {
    .menu-waterserver-menu-container {
        flex-direction: column;
    }

    .c-submenuToggleBtn {
        display: inline-block;
        position: absolute;
        top: 50%;
        right: 6px; /* 調整：アイコンの右側の余白 */
        transform: translateY(-50%);
        padding: 6px;
        background-color: transparent !important; /* 背景色を透明にする */
        border: none !important; /* 枠線を削除 */
        cursor: pointer;
        font-size: 120%; /* ボタンのサイズを大きくする */
    }

    .sub-menu {
        display: none;
        position: static;
        width: 100%;
    }

    .menu-item:hover .c-submenuToggleBtn {
        display: inline-block;
    }
}



span.st-mybtn-mini{
display: block;
text-decoration:none;
margin:10px 5px;
padding:5px 5px;
background:#FFB74D;
border-radius:5px;
font-weight:normal;
box-shadow:0 3px 0 #FFB300;
color:#fff;
}



/*記事内の内部リンクをボタンにするコード*/
.menulist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap; /* コンテンツが幅を超える場合に改行 */
  }

  .menulist li {
    margin-right: 10px; /* ボタンの間の余白を調整 */
    margin-bottom: 10px; /* 改行時の余白を調整 */
  }

  .menulist li a {
    text-decoration: none;
    padding: 10px 15px; /* ボタンのパディングを調整 */
    border: 1px solid #ccc; /* ボーダーのスタイルを指定 */
    border-radius: 5px; /* ボーダーの角を丸める */
    background-color: #f0f0f0; /* ボタンの背景色を指定 */
    color: #333; /* テキストの色を指定 */
    display: block;
  }

  .menulist li a:hover {
    background-color: #ddd; /* ホバー時の背景色を指定 */
  }

/* テストページのbox*/
.pickup-icon_1,.pickup-icon_2,.pickup-icon_3 {
    border-radius: 20%;
    color: #fff;
    height: 1.6em;
    line-height: 1.6;
    width: 1.6em;
    text-align: center;
}

.pickup-icon_1 {
    background-color: #bfa869;
}
.pickup-icon_2 {
    background-color: #ababab;
}
.pickup-icon_3 {
    background-color: #c28943;
}

.pickup-box .pickup-column {
    --wp-column-gap: 0.8em;
    border-bottom: 1px dashed #cdcdcd;
    margin-bottom: 0.8em;
}

.pickup-ac .swell-block-accordion__title {
    width: 100%;
    padding: 0.7em 1em;
    margin: 1em auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    font-weight: bold;
    font-size: 1em;
    color: #ffffff;
    text-align: center;
    background: var(--CV-GREEN, linear-gradient(90deg, #dfb646 0%, #b68500 100%));
    border-radius: 44px;
}

.pickup-ac .swell-block-accordion__body {
    padding: 0em;
}

.pickup-ac .swell-block-accordion__label {
    padding: 0 0 0 1em;
}

.pickup-box .cap_box_ttl {
    font-weight: bold;
    float: none;
    color: #ffffff;
    font-size: 1.0em;
    padding: 0.55em .75em;
    position: relative;
    width: 80%;
    border-radius: 19px;
    background: #ffb70a;
    margin: auto;
    margin-bottom: 1.5em !important;
}

.pickup-box .cap_box_ttl:after {
    display: block;
    position: absolute;
    top: 80%;
    left: 50%;
    border: 1.2vw solid transparent;
    border-top: 1.13333vw solid #ffb70a;
    transform: translateX(-50%);
    content: '';
}

.detail-bt a {
    background: #ffffff;
    color: #bc8c09;
    border: 2px solid #bc8c07;
}

.detail-bt2 a {
    background: #ffad53;
    color: #ffffff;
}

@media screen and (max-width: 768px) {
    .pickup-box .cap_box_ttl {
        font-size: 1.0em;
        padding: .25em .75em;
        border-radius: 16px;
        margin-bottom: 1em !important;
    }
    .pickup-box .cap_box_ttl:after {
        top: 100%;
        border: 1.6vw solid transparent;
        border-top: 2.13333vw solid #ffb70a;
    }
  }

.pickup-box .cap_box_content {
    background: #fffcf2;
    border-radius: 6px;
}

.box-merit .cap_box_ttl {
    border: 1px solid #00b969;
    background: #ecfff7;
    border-radius: 4px 4px 0px 0px;
    color: #00b969;
}

.box-merit .cap_box_content {
    border: 1px solid #00b969;
    border-radius: 0px 0px 4px 4px;
}

.box-merit .wp-block-list.is-style-num_circle li:before {
    background: #1fc57d;
    box-shadow: 0 0 0 1px #00b969;
}

.box-merit .is-style-check_list li:before {
    color: #0fbe74;
    content: "\e923";
}

.box-demerit .cap_box_ttl {
    border: 1px solid #ff3d62;
    background: #fff1f4;
    border-radius: 4px 4px 0px 0px;
    color: #ff3d62;
}

.box-demerit .cap_box_content {
    border: 1px solid #ff3d62;
    border-radius: 0px 0px 4px 4px;
}

.box-demerit .wp-block-list.is-style-num_circle li:before {
    background: #ff607e;
    box-shadow: 0 0 0 1px #ff607e;;
}

.feature-box {
    margin-top: -1.5em;
}

.feature-box > .cap_box_ttl {
    display: flex;
    float: none;
    left: 0;
    width: 85%;
    margin: auto;
    color: #ffffff;
    line-height: 1;
    padding: .5em .75em;
    position: relative;
    text-align: center;
    top: 1em;
    font-size: 1em;
    font-weight: bold;
    z-index: 1;
    border-radius: 4px;
    background: #e0b233 !important;
}

.feature-box > .cap_box_content {
    border: 1px solid #b68500;
    border-radius: 4px;
    padding-top: 2em;
}


.pickup-table.wp-block-table>table tr>:first-child:not(.-no1) {
    width: var(--swl-cell1-width, 6.2%);
}

/* 汎用ボックス*/

.generic-box .cap_box_ttl {
    border-radius: 6px 6px 0px 0px;
    background: #efe8d4;
}

.generic-box .cap_box_content {
    border: 1px solid #dacca9;
    border-radius: 0px 0px 6px 6px;
}

.separate-box {
    background: #f4f4f4;
    border-radius: 10px;
    padding: 10px 0px 10px 0px;
    --wp-column-gap: 0em;
    line-height: 1.2;
}

.separate-box .wp-block-column {
    padding: 0px 8px 0px 8px;
}

.separate-box .wp-block-column:not(:last-child) {
    border-right: 1px solid #6c6c6c;
}

/* 目次のカラー*/
.postid-4191 .p-toc .p-toc__expandBtn,
.postid-2707 .p-toc .p-toc__expandBtn,
.postid-2590 .p-toc .p-toc__expandBtn,
.postid-5934 .p-toc .p-toc__expandBtn,
.postid-9197 .p-toc .p-toc__expandBtn,
.postid-3370 .p-toc .p-toc__expandBtn {
    background: var(--CV-GREEN, linear-gradient(90deg, #dfb646 0%, #b68500 100%));
    box-shadow: 0 0 0 1px #b88702;
    font-weight: bold;
    color: #ffffff;
}
.postid-4191 .p-toc.-double,
.postid-2707 .p-toc.-double,
.postid-2590 .p-toc.-double,
.postid-5934 .p-toc.-double,
.postid-9197 .p-toc.-double,
.postid-3370 .p-toc.-double  {
    border-bottom: 4px double #dcb240;
    border-top: 4px double #dcb240;
}

@media (hover: hover) {
    .postid-4191 .p-toc .p-toc__expandBtn:hover,
    .postid-2707 .p-toc .p-toc__expandBtn:hover,
    .postid-2590 .p-toc .p-toc__expandBtn:hover,
    .postid-5934 .p-toc .p-toc__expandBtn:hover,
    .postid-9197 .p-toc .p-toc__expandBtn:hover,
    .postid-3370 .p-toc .p-toc__expandBtn:hover {
        border-color: #bb8a05;
        box-shadow: 0 0 0 2px currentcolor;
    }
}

/* テーブル続きを見る */
.ac-table {
    position: relative;
}

.ac-table .ac-tbl-item {
    position: relative;
    max-height: 34em; /* 開く前に見せたい高さを指定 */
    margin-bottom: 10px;
    overflow: hidden;
    transition: max-height 1s;
}

.ac-table:has(:checked) .ac-tbl-item {
    max-height: 110vh;
}

.ac-table .ac-tbl-item::after {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(180deg, hsla(0, 0%, 100%, 0) 0, hsla(0, 0%, 100%, .9) 50%, hsla(0, 0%, 100%, .9) 100%, #fff);
    content: '';
}

.ac-table:has(:checked) .ac-tbl-item::after {
    content: none;
}

.ac-table label {
    display: flex;
    align-items: center;
    gap: 0 4px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: .4em 1.2em;
    border-radius: 20px;
    background-color: #a08029;
    color: #ffffff;
    font-size: 0.8em;
    cursor: pointer;
}

.ac-table label::before {
    content: '続きを見る'; /* 初期状態のテキスト */
    margin-right: 10px; /* テキストと矢印の間にスペースを追加 */
}

.ac-table label::after {
    display: inline-block;
    width: 10px;
    height: 5px;
    background-color: #ffffff;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
}

.ac-table:has(:checked) label::before {
    content: '閉じる'; /* チェックが入った時のボタンのテキスト */
}

.ac-table:has(:checked) label::after {
    clip-path: polygon(50% 0, 0% 100%, 100% 100%);
    background-color: #a08029;
}

.ac-table input {
    display: none;
}

.ac-table:has(:checked) label {
    border: 1px solid #a08029;
    background-color: #ffffff;
    color: #a08029;
    bottom: -1.5em;
}

/* スクロールできますのデザイン変更 */
:where(.postid-4191, .postid-9197, .postid-5934, .postid-3370) .c-scrollHint {
    margin-bottom: 0.5em !important;
}

:where(.postid-4191, .postid-9197, .postid-5934, .postid-3370) .c-scrollHint span {
    background: #ffeaab;
    padding: 4px 8px;
    border-radius: 12px;
}

.c-anken-ranking__label.is-rank1 {
    background: url(https://www.uchina-web.co.jp/top/wp-content/uploads/2024/09/image_label-1.png) 0 0 no-repeat;
    background-size: contain;
    color: #ffffff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 46px;
    height: 62px;
    top: -1px;
    left: -1px;
}

.detail-ac .swell-block-accordion__title {
    padding: 0.8em 1em;
}
.detail-ac .swell-block-accordion__body {
    margin: 0 !important;
}

/* ポイントボックス */
.point-box .cap_box_ttl {
    justify-content: center;
    background: #fff7e2 !important;
    width: 80%;
}
.point-box .cap_box_ttl:after {
    display: none;
}
.point-box {
    border: solid 1px #bb952d !important;
    background: #ffffff;
    border-radius: 10px;
    padding: 0.6em !important;
}

/* spanタグでのjumpボタン */
.test-btn2 .sbd-btn.sbd-btn-100.sbd-btn-circle span {
    box-shadow: none !important;
    background: var(--CV-GREEN, linear-gradient(90deg, #edbc35 0%, #e3a600 100%));
}
/* aタグでのjumpボタン */
.test-btn3 a {
    background: var(--CV-GREEN, linear-gradient(90deg, #edbc35 0%, #e3a600 100%));
    box-shadow: none !important;
}

.ac-white .swell-block-accordion__title {
    background: #f2eee6;
}

.ac-white .swell-block-accordion__body {
    background: #ffffff;
}

/* ランキングのラベルデザイン */
.label-text li {
    background: #fff9e7;
    border: 1px solid #d4a41d;
    padding: 6px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: bold;
    color: #d4a41d;
    list-style: none;
}
ul.label-text {
    padding-left: 0;
    gap: 0.6em;
}
li.label-text2 {
    background: #fff9e7;
    border: 1px solid #ff8e0e;
    color: #ff8e0e;
}
/* ノーマルボックス */
.normal-box {
    border: 1px solid #fcc00d;
    padding: 1em !important;
    border-radius: 10px;
    background: #fffcf6;
}

.normal-box>li:last-child, .border_bottom>li:last-child {
    border-bottom: none;
    margin-bottom: 0em;
    padding-bottom: 0em;
}
/* tableのボタン */
.postid-3370 [class*=is-style-btn_] a {
    background: #FF6129;
}

.postid-3370 .is-style-btn_solid a {
    box-shadow: 0 4px 0 #d65627;
}

/* cvボタンビビットな赤 */
.btn-vivid-red a {
    background: #FF6129 !important;
    border-radius: 35px !important;
    padding: 1.2em 2.5em !important;
}
.btn-vivid-red .sbd-btn-copy {
    color: #FF6129 !important;
}


/* tabeleを角丸に
.postid-17785 .wp-block-table {
    border-spacing: 0;
    border-radius: 10px;
}

.postid-17785 .wp-block-table table {
    outline: 1px solid #dfdfdf;
}
*/

.category-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.category-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  background: #fff;
}

.category-title a {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

.category-title a:hover {
  text-decoration: underline;
}

.child-category-list {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

.child-category-list .child-cat {
  color: #666;
  text-decoration: none;
  margin-right: 5px;
}

.child-category-list .child-cat:hover {
  text-decoration: underline;
}


.child-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.child-category-list .child-cat {
  margin: 0;
}
