.content--right-none{
    font-family: sans-serif;
}
h1{
    font-size: 23px;
}
@media (max-width: 768px){
h1{
    font-size: 16px;
    padding: 0 15px 0;
}
}

/* ランキング */
@media screen and (min-width: 768px) {
    .ranking-list_inr ul {
        width: 100%;
        gap: 30px;
        display: flex;
        flex-wrap: wrap;
    }
}
@media screen and (min-width: 768px) {
    .ranking-list_inr li {
        width: calc((100% - 120px) / 5) !important;
    }
}
.ranking-list_inr li {
    border-right: 0 !important;
}

/* ナビゲーション */
.heading-1 {
    padding: .5em .7em;
    border-left: 5px solid #2589d0;
    color: #333333;
    font-size: 20px;
    margin-bottom: 20px;
}
.block-toc__list_sagasu {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.block-toc__list_sagasu > li {
    width: calc((100% - 60px) / 4);
    text-align: center;
}

@media (max-width: 768px){
.block-toc__list_sagasu  {
    flex-direction: column;
}
.block-toc__list_sagasu > li{
    width: auto;
}
}

.block-toc__list_yakudatu {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
    list-style: none;
    /* margin-bottom: 30px; */
}

.block-toc__list_sagasu > li > a {
    display: block; 
}

.button-3 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: #ffffff;
    color: #222;
    font-weight: bold;
    font-size: 17px;
    border: 2px solid #2589d0;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
    flex-direction: column;
}

.button-3:hover {
    background-color: #2589d0;
    color: #fff;
    opacity: 1;
}

.button-3::after {
    content: '';
    position: absolute;
    right: 15px;
    width: 5px;
    height: 5px;
    border-top: 2px solid #2589d0;
    border-right: 2px solid #2589d0;
    transform: rotate(135deg);
    transition: all 0.2s;
}

.button-3:hover::after {
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.block-toc__list_yakudatu > li {
    width: calc((100% - 40px) / 3);
    text-align: center;
}

@media (max-width: 768px){
.block-toc__list_yakudatu  {
    flex-direction: column;
}
.block-toc__list_yakudatu > li{
    width: auto;
}
}

/* 大見出し */
.heading-11 {
    font-size: 22px;
    position: relative;
    padding: .5em .7em;
    background-color: #2589d0;
    color: #fff;
}

.heading-11::before {
    position: absolute;
    top: 100%;
    left: 0;
    border-bottom: solid 10px transparent;
    border-right: solid 20px #0061ac;
    content: '';
}

.block-toc__list_category {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
    list-style: none;
    /* margin-bottom: 30px; */
}
.block-toc__list_category > li {
    width: calc((100% - 60px) / 4);
    text-align: center;
}

@media (max-width: 768px){
.block-toc__list_category {
    flex-direction: column;
}
.block-toc__list_category > li {
    width: auto;
}
}

/* 小見出し */
.heading-21 {
    position: relative;
    padding: .5em .7em .4em;
    border-bottom: 3px solid #2589d0;
    font-size: 20px;
}

.heading-21::before,
.heading-21::after {
    position: absolute;
    left: 30px;
    bottom: -15px;
    width: 30px;
    height: 15px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
}

.heading-21::before {
    background-color: #2589d0;
}

.heading-21::after {
    bottom: -11px;
    background-color: #fff;
}

/* table of contents */
.block-toc__wrap{
    padding: 20px;
    border-top: solid;
    border-bottom: solid;
    border-width: 1px;
    border-color: #28abe6;
    /* margin: 50px 0; */
    background-image: linear-gradient(-45deg, #fff 25%, #f8f8f8 25%, #f8f8f8 50%, #fff 50%, #fff 75%, #f8f8f8 75%, #f8f8f8);
    background-size: 4px 4px;
}
.block-toc__title{
    margin-bottom: 10px;
    color: #28abe6;
    font-weight: bold;
    font-size: 2rem;
    text-align: center;
}
.block-toc__list{
    list-style: auto;
    margin: auto;
    display: block;
    width: fit-content;
}
.block-toc__list > li a{
    text-decoration: none;
    color: #4a4646;
    font-size: 1.4rem;
    font-weight: bold;
}
.block-toc__list > li{
    margin-top: 20px;
    padding-left: 35px;
    display: flex;
    align-items: center;
    line-height: 1.2;
    position: relative;
}
.block-toc__list > li::before{
    content: "";
    position: absolute;
    margin: auto;
    top: 0px;
    bottom: 0;
    left: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #28abe6;
}
.block-toc__list > li::after {
    content: "";
    position: absolute;
    margin: auto;
    top: -5px;
    bottom: 0;
    left: 10px;
    width: 8px;
    height: 8px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: rotate(135deg);
}
@media (min-width: 768px){
    .block-toc__wrap {
        /* margin: 60px 0; */
        padding: 30px;
    }
    .block-toc__list > li a{
        font-size: 1.6rem;
    }
}


/* 別ページリンクボタン */
.all-item_btn a {
    display: flex;
    justify-content: center;
    position: relative;
    padding: 20px 30px 20px 15px;
    border: 3px solid #d9c48b;
    border-radius: 5px;
    color: #222;
    font-size: 1.6rem;
    font-weight: bold;
    max-width: 600px;
    margin: auto;
}

.all-item_btn a:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    width: 10px;
    height: 10px;
    transform: rotate(-45deg) translate(0, -50%);
    border-bottom: 3px solid #d9c48b;
    border-right: 3px solid #d9c48b;
}

.all-item_btn a:hover{
    opacity: 0.7;
}

/* 遷移ボタン */
.button__column {
    display: flex;
    gap: 30px;
    padding: 0 30px 0;
}
.button-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 550px;
    margin:0 auto;
    padding: .9em 2em;
    border: 2px solid #2589d0;
    border-radius: 25px;
    background-color: #fff;
    color: #2589d0;
    font-size: 1.5em;
    margin-top: 30px;
/*    margin-bottom: 30px;*/
}

.button-1::after {
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    margin-left: 10px;
    border-top: 2px solid #2589d0;
    border-right: 2px solid #2589d0;
    content: '';
}

.button-1 a {
    color: #222;
    font-weight: bold;
}

@media screen and (min-width: 600px) {
    [class*=button]:hover {
        opacity: 1;
    }
}

@media screen and (min-width: 600px) {
    .button__column > .button-1:hover {
        opacity: 0.5;
        cursor: pointer;
        transition: all 0.2s ease;
    }
}

@media screen and (max-width: 768px) {
.button__column {
    gap: 0;
    padding: 0;
    flex-direction: column;
}
.button-1 {
    width: 100%;
}
}


/* other */
.section-navi{
    margin-top: -100px;
    padding-top: 100px;
    padding-bottom: 50px;
}
/* メイン画像 */
.contents_top {
    display: flex;
    justify-content: center;
}
.breadcrumb {
    padding-top: 15px;
}

@media screen and (max-width: 768px) {
   .contents_top {
    display: block;
} 
.breadcrumb {
    padding: 0 15px 10px;
}
}



/* レビュー */
/* 行カード：横長・ホバーで少し浮かせる */
.review-row{
  display:flex;
  align-items:flex-start;
  gap:20px;
  margin: 20px 0;
  padding:20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background:#fff;
}

/* 左カラム：画像のみ */
.review-media{max-width:200px; flex:0 0 200px;}
.review-figure{margin:0;}
.review-img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:contain;
  border-radius:10px;
  background:#fff;
  transition:transform .25s ease;
}
.review-row:hover .review-img{ transform:scale(1.02); }

/* 右カラム：縦積み */
.review-content{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  flex-direction:column;
}

/* タイトル：疑似要素の赤ライン（文字幅だけ） */
.review-title{
  position:relative;
  display:inline;          /* 文字幅ベース */
  margin-bottom: 10px;
  padding-bottom:8px;
  font-size: 1.8rem;
  font-weight:800;
  line-height:1.2;
}
.review-title::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:3px;
  background:#2589d0;
  border-radius:2px;
}

/* 画像上オーバーレイは廃止するので旧クラスを無効化 */
.product-caption{ all:unset; } /* 念のための初期化 */

/* 右カラム用の商品リンク */
.product-link{
  font-weight:700;
  font-size: 1.5rem;
  color:#2563eb;
  margin-bottom: 5px;
  text-decoration:underline;
  text-underline-offset:3px;
  display:inline-block;
}

.product-link:hover{
  text-decoration:none;
}

/* 本文と星 */
.review-rating{ color:#ffcc00; font-size:1.1em; }
.review-text{font-size: 1.4rem;line-height: 1.6;color:#111827;}

/* スマホ：縦積み＆画像大きめ */
@media (max-width:768px){
  .review-row{ flex-direction:column; }
  .review-media{ max-width:60%; flex:none; margin:0 auto; }
  .review-content{ text-align:left; } /* 必要なら center に */
}

/* よくある質問 */
.faq__item{
    background: #eaf0f7;
    margin-bottom: 16px;
    padding: 24px;
    border-radius: 8px;
    margin-top: 30px;
}

.faq__question{
    position: relative;
    line-height: 1.4;
    font-size: 1.8rem;
}

.faq__question span{
    color:#2589d0;
    margin-right: 8px;
    font-size: 2.4rem;
}

.faq__reply{
    position: relative;
    margin-top: 8px;
    line-height: 1.4;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
}

.faq__reply span{
    width: calc(100% - 52px);
}

.faq__reply:before{
    content: 'A';
    display: flex;
    justify-content: center;
    align-items: center;
    background: #Fff;
    width: 32px;
    height: 32px;
    margin-right: 20px;
    border-radius: 100px;
    font-size: 1.8rem;
    font-weight: bold;
    color: #2589d0;
}

/* 関連特集 */
.feature_list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 24px;
    padding-bottom: 40px;
    margin-top: 30px;
}

.feature_list > li{
    width: 100%;
    -ms-flex-direction: row;
    flex-direction: row;
}

.feature_list > li a{
    display: flex;
  	flex-direction: column;
    color:#333;
}

.feature_list > li a:hover{
    opacity: 0.7;
}

.feature_list > li img{
    width: 100%;
    vertical-align: bottom;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.feature_list > li .name{
    margin: 8px 0;
    line-height: 1.4;
    font-size: 1.5rem;
    font-weight: bold;
}

.feature_list > li .comment{
    line-height: 1.4;
    color: #555;
    font-size: 1.2rem;
}

@media screen and (min-width: 600px){
    .feature_list > li {
        width: calc((100% - 24px) / 2);
        -ms-flex-direction: column;
        flex-direction: column;
    }
    
    .feature_list > li .name{
        font-size: 1.8rem;
    }
    
    .feature_list > li .comment{
        font-size: 1.3rem;
    }
}

/* sidenavi */
#side_navi{
    display: none;
}
/*.section-navi{*/
/*    margin-top: -70px;*/
/*    padding-top: 70px;*/
/*    margin-bottom: 70px;*/
/*    padding-bottom: 70px;*/
/*}*/

@media screen and (min-width: 1400px) and (min-height: 550px){
    /* 初期表示はサイドメニューが表示された状態 */
    #side_navi {
        position: fixed;
        display: block;
        z-index: 100;
        right: -130px; 
        bottom: 30px;
        transition: all 0.3s ease; 
    }
    /* 非表示時のスタイル */
    #side_navi.hidden {
        right: -130px;
    }
    #side_navi.visible{
        right: -130px; 
    }
    #side_navi.visible.hidden{
        right: 0; 
    }

    /* トグルボタンのスタイル */
    .toggle-btn {
        position: absolute;
        left: -34px;
        top: 50%;
        transform: translateY(-50%);
        background-color: #efefef;
        border: 1px solid #dfdfdf;
        border-radius: 5px 0 0 5px;
        border-right: none;
        padding: 25px 10px;
        cursor: pointer;
        z-index: 1000;
        transition: all 0.3s ease;
        font-size: 1.4rem;
    }
    #side_navi .toggle-btn {
        opacity: 0;
        cursor: default;
    }
    #side_navi.visible .toggle-btn,
    #side_navi.visible.hidden .toggle-btn{
        opacity: 1;
        cursor: pointer;
    }
    .item_navi {
        position: relative;
        border-radius: 10px 0 0 10px;
        width: 130px;
        padding: 15px 10px;
        text-align: center;
        background: #efefef;
        border: 1px solid #dfdfdf;
        border-right: none;
    }
    .snav li {
        margin-top: 5px;
        position: relative;
    }
    .snav li a {
        display: flex;
        align-items: center;
        position: relative;
        color: #222;
        padding: 2px 2px 2px 14px;
        min-height: 15px;
        border: 1px solid #b3b3b3;
        border-radius: 5px;
        background: #fff;
        line-height: 1.3;
        font-size: 1rem;
        font-weight: bold;
        text-align: left;
        transition: all 0.2s;
    }
    .snav li a:before{
        content: "";
        position: absolute;
        top: 39%;
        left: 5px;
        color: #bf0000;
        border-style: solid;
        border-color: transparent;
        border-width: 0.35em 0.5em;
        border-right-color: currentColor;
        border-left: 0;
    }
    .snav li a:hover {
        color: #fff;
        background: #bf0000;
    }
    .snav li a.active {
        color: #fff;
        background: #bf0000;
    }
    /*.section-navi{*/
    /*    margin-top: -100px;*/
        /*padding-top: 110px;*/
        /*margin-bottom: 100px;*/
    /*    padding-bottom: 100px;*/
    /*}*/
}
@media screen and (min-width: 1500px) and (min-height: 650px){
    #side_navi {
        right: -150px; 
    }
    /* 非表示時のスタイル */
    #side_navi.hidden {
        right: -150px;
    }
    #side_navi.visible{
        right: -150px; 
    }
    .item_navi {
        width: 150px;
        padding: 15px 10px;
    }
    .snav li {
        margin-top: 5px;
    }
    .snav li a {
        padding: 10px 5px 10px 17px;
        min-height: 15px;
        font-size: 1.2rem;
    }
}
/*花子　右下*/
#imageContainer {
    /* width: 300px; */
    cursor: pointer;
}

.ranking-list {
    list-style: none;
    padding: 0;
    margin: 0;
    /* 見切れ防止のため、上と左に余白を追加 */
    padding-top: 15px; 
    padding-left: 15px;
    
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.ranking-list > li {
    position: relative; 
}

.ranking-list > li::before {
    position: absolute;
    top: -15px;
    left: -12px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    z-index: 10;
}

.ranking-list > li:nth-child(1)::before {
    content: '1';
    background: #FFC107;
    border: 2px solid #FFD700;
}

.ranking-list > li:nth-child(2)::before {
    content: '2';
    background: #A6A6A6;
    border: 2px solid #C0C0C0;
}

.ranking-list > li:nth-child(3)::before {
    content: '3';
    background: #CD7F32;
    border: 2px solid #D2B48C;
}

.ranking-list > li:nth-child(n+4):nth-child(-n+10)::before {
    background: #888;
    border: none;
}

.ranking-list > li:nth-child(4)::before { content: '4'; }
.ranking-list > li:nth-child(5)::before { content: '5'; }
.ranking-list > li:nth-child(6)::before { content: '6'; }
.ranking-list > li:nth-child(7)::before { content: '7'; }
.ranking-list > li:nth-child(8)::before { content: '8'; }
.ranking-list > li:nth-child(9)::before { content: '9'; }
.ranking-list > li:nth-child(10)::before { content: '10'; }

/* product_list */
.block-product__list.product-list__tenjikai{
    display: flex;
    flex-wrap: wrap;
    gap: 20px ;
/*    padding: 30px 0;*/
}
.block-product__list.product-list__tenjikai > li{
    overflow: hidden;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.product-list__tenjikai .block-items__item__link{
    display: flex;
    flex-direction: column;
    padding: 10px;
    color: #222;
    transition: all 0.2s;
    box-sizing: border-box;
    /* height: 100%; */
}

@media (max-width: 767px){
    .product-list__tenjikai .block-items__item__link{
	    flex-direction: row;
    }
}

.product-list__tenjikai .block-items__item__link:hover{
    opacity: 0.7;
}
.product-list__tenjikai .block-items__item__img{
    text-align: center;
    padding: 0;
    position: relative;
}
.product-list__tenjikai .block-items__item__img img{
    position: static;
    vertical-align: bottom;
    width: 300px;
}
.product-list__tenjikai .block-items__item__info{
    width: 100%;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
}
@media (max-width: 767px){
    .product-list__tenjikai .block-items__item__info{
	  padding: 10px;
    }
}
.product-list__tenjikai .block-items__item__name{
    height: 4rem;
    word-break: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.4;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: bold;
}
.product-list__tenjikai .block-items__item__price{
    display: flex;
    gap: 10px;
    justify-content: left;
    align-items: baseline;
}
.product-list__tenjikai .block-items__item__price--unit{
    font-size: 1.6rem;
}
.product-list__tenjikai .block-items__item__price--count{
    font-size: 1.1rem;
}
.product-list__tenjikai .block-product__desc{
    color: #888888;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    line-height: 1.5;
    font-size: 1.1rem;
    margin: 5px 0 15px;
}
.product-list__tenjikai .block-product__link-btn{
    width: 100%;
    max-width: 300px;
    display: block;
    position: relative;
    background: #924238!important;
    margin: auto auto 0;
    padding: 7px 10px;
    text-align: center;
    border-radius: 4px;
    color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
}
.product-list__tenjikai .block-product__link-btn:after {
    content: "";
    position: absolute;
    top: 46%;
    right: 10px;
    width: 7px;
    height: 7px;
    border-bottom: 2px solid;
    border-right: 2px solid;
    border-color: #fff;
    transform: rotate(-45deg) translate(0, -50%);
}
@media (min-width: 768px){
    .block-product__list.product-list__tenjikai  > li{
        width: calc((100% - 80px) / 5);
    }
    .block-product__list.product-list__tenjikai > .col_2{
        width: calc((100% - 10px) / 2);
    }
    .product-list__tenjikai .block-items__item__name{
        font-size: 1.5rem;
    }
    .product-list__tenjikai .block-items__item__price--unit{
        font-size: 1.8rem;
    }
    .product-list__tenjikai .block-items__item__price--count{
        font-size: 1.3rem;
    }
    .product-list__tenjikai .block-product__desc{
        font-size: 1.2rem;
        -webkit-line-clamp: 4;
    }
}
@media (max-width: 767px){
    .block-product__list.product-list__tenjikai > li{
        width: 100%;
    }
}

/* 制作事例 */
.works_wrap{
    display: flex;
    gap:15px;
    flex-wrap: wrap;
    padding: 20px 0 40px;
}

.works_item{
    width:calc((100% - 20px) / 2);
}

.works_item img{
    vertical-align: bottom;
    border: 1px solid #ccc;
}

.works_item img:hover{
    opacity: 0.7;
}

.works_user{
    font-size: 1.5rem;
    font-weight: bold;
}

.works_product{
    font-size: 1.4rem;
}

.works_product a{
    display: block;
    color: #2563eb;
    text-decoration: underline;
}

@media (min-width: 768px) {
    .works_item{
        width:calc((100% - 30px) / 3);
    }
}

.works_product a:hover{
    text-decoration: none;
}