@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
*/

.display_none {
	display: none !important;
}

.small {
	font-size: 0.9em;
}

.mb0 { margin-bottom: 0px !important; }
.mb10 { margin-bottom: 10px !important; }
.mb20 { margin-bottom: 20px !important; }
.mb30 { margin-bottom: 30px !important; }
.mb40 { margin-bottom: 40px !important; }
.mb50 { margin-bottom: 50px !important; }

.mt0 { margin-top: 0px !important; }
.mt10 { margin-top: 10px !important; }
.mt20 { margin-top: 20px !important; }
.mt30 { margin-top: 30px !important; }
.mt40 { margin-top: 40px !important; }
.mt50 { margin-top: 50px !important; }

.mr0 { margin-right: 0px !important; }
.mr5 { margin-right: 5px !important; }
.mr3 { margin-right: 3px !important; }
.mr10 { margin-right: 10px !important; }
.mr20 { margin-right: 20px !important; }
.mr30 { margin-right: 30px !important; }
.mr40 { margin-right: 40px !important; }
.mr50 { margin-right: 50px !important; }

.ml0 { margin-left: 0px !important; }
.ml3 { margin-left: 3px !important; }
.ml5 { margin-left: 5px !important; }
.ml10 { margin-left: 10px !important; }
.ml20 { margin-left: 20px !important; }
.ml30 { margin-left: 30px !important; }
.ml40 { margin-left: 40px !important; }
.ml50 { margin-left: 50px !important; }

.bold {
	font-weight: bold;
}

.big {
	font-size: 1.3em;
}

.big2 {
	font-size: 1.1em;
}
.big3 {
	font-size: 1.5em;
}

.mark_yellow {
	font-weight: 700;
    background: linear-gradient(transparent 20%, #ffffdd 80%);
}

.mark_blue {
	font-weight: 700;
    background: linear-gradient(transparent 60%, #d7e7ef 60%);
}

/* セクションの背景 */

.section-full-bgcol-gray {
background: #f7f7f7;
}
.section-full-bgcol-white {
background: #fff;
}
.section-full-bgcol-blue {
background: #eff5ff;
}
.section-full-bgcol-yellow {
background: #fffdf6;
}
.section-full-bgcol-cyan {
background: #e2ecfc;
}
.section-full-headline-title {
	display: block; 
	font-size: 1.5em !important; 
	font-weight: bold !important; 
	color: var(--color_text) !important; 
	background: transparent !important;
	margin-top: 0px !important; 
}

.section-full-headline-title::before {
border-top: none !important;
border-bottom: none !important;
}

.cyan {
color: #00668f;
}
.red {
	color: #ff2e31;
}

.home-header {
text-align: center;
}

.home-header-ttl {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
 
  /* カード画像（スマホ） */
  .card-left .card-img,
  .card-right .card-img {
    width: 70px;
    height: auto;
    display: block;
  }
  .card-left .card-img {
    transform: rotate(-8deg);
  }
  .card-right .card-img {
    transform: rotate(8deg);
  }
 
  /* 中央テキスト・hikaku画像（スマホ） */
  .center-col {
    text-align: center;
    line-height: 1.4;
  }
  .text-line {
    display: block;
font-weight: bold;
color: var(--color_main);
line-height: 1.6;
font-size: 1.1em;
  }
  .hikaku-img {
    display: block;
    width: 180px;
    height: auto;
    margin: 0 auto;
  }
  .hikaku-text {
    opacity: 0;
    font-size: 0;
    line-height: 0;
    display: block;
  }
 
  /* PC（769px以上） */
  @media (min-width: 769px) {
    .wrap {
      gap: 16px;
    }
    .card-left .card-img,
    .card-right .card-img {
      width: 100px;
    }
    .text-line {
      font-size: 1.3em;
    }
    .hikaku-img {
      width: 300px;
    }
  }

.cyan-cir {
padding: 6px 14px 7px;
width: auto;
margin: 0 auto;
max-width: unset;
text-align: center;
border-radius: 100vh;
background: linear-gradient(90deg, #6cbfac 0%, #00668f 100%);
color: #fff;
font-weight: bold;
}

/* PC（769px以上） */
@media (min-width: 769px) {
.cyan-cir {
max-width: 600px;
}
}

/* ふきだし */

[data-col="gray"] .c-balloon__text {
	background: #f1ecdd;
}
[data-col="gray"] .c-balloon__before {
	border-right-color: #f1ecdd;	
}

/* ランキングボックス */

.item-box {
margin: 10px auto;
padding: 10px; 
	background: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
	border-radius: 20px; 
}

.item-box p {
	margin-bottom: 20px;
}

.item-box-num {
display: inline-block;
    background: var(--color_main);
    opacity: 0.9;
    color: #fff;
    font-weight: 700;
    line-height: 1;
    padding: 16px 20px;
}

.item-box-title {
text-align: center;
font-size: 1.5em !important;
margin-bottom: 10px;
}

.item-box-img {
text-align: center;
margin-bottom: 0px;
}

.item-box-eval {
text-align: center;
margin-bottom: 20px;
}

.padding20 {
	padding: 20px; 
}


/* 著者情報ボックス */

.author-box2 {
	background: #fff;
	border-radius: 10px;
	padding: 20px;
}

.author-box {
	padding: 20px 16px;
            background-color: #fff;
            transition: all 0.3s ease;
		border-radius: 20px;
        }

        .author-box:hover {
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        .author-content {
            display: grid;
            grid-template-columns: 80px 1fr;
            gap: 20px;
            align-items: start;
        }



        .author-info {
            min-width: 0;
        }

        .author-name {
            font-weight: bold;
            margin-bottom: 20px;
            line-height: 1.3;
			font-size: 1.1em;
        }

        .author-role {
            font-size: 1em;
            color: #7f8c8d;
            margin-bottom: 12px;
            font-weight: 500;
        }

        .author-description {
            font-size: 1em;
            line-height: 1.5;
            margin-bottom: 12px;
        }

        .description-text {
            display: inline;
        }

        .description-hidden {
            display: none;
        }

        .description-hidden.show {
            display: inline;
        }

        .ellipsis {
            display: inline;
        }

        .ellipsis.hide {
            display: none;
        }

        .read-more-btn {
            background: none;
            border: none;
            color: var(--color_text);
            font-size: 0.9em;
            cursor: pointer;
            text-decoration: underline;
            padding: 0;
            font-weight: 500;
            transition: color 0.3s ease;
            margin-left: 4px;
        }
        .read-more-btn:hover {
opacity: 0.8;
        }

        .author-meta-expanded {
            display: none;
            margin-top: 12px;
        }

.author-meta-expanded a { color: #000 !important; }

        .author-meta-expanded.show {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 6px;
            color: #7f8c8d;
            background-color: #ecf0f1;
            padding: 5px 10px;
            border-radius: 12px;
			font-size: 0.85em;
        }
.meta-item a:hover { opacity: 0.8; }
        .meta-icon {
            width: 14px;
            height: 14px;
            opacity: 0.7;
        }

        /* スマホ対応（レスポンシブ） */
        @media (max-width: 768px) {
            .container {
                padding: 20px;
                margin: 10px;
            }

            .author-content {
                grid-template-columns: 1fr;
                gap: 16px;
                text-align: center;
            }

            .author-image {
                justify-self: center;
                width: 100px;
                height: 100px;
            }

            .author-description {
                text-align: left;
            }

            .author-meta-expanded {
                justify-content: center;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 16px;
                margin: 5px;
            }

            .author-box {
                padding: 20px 16px;
            }

            .author-content {
                gap: 12px;
            }

            .author-image {
                width: 80px;
                height: 80px;
            }

            .meta-item {
                padding: 3px 6px;
            }
        }


/* 吹き出し本体 */
.toc__bubble {
    display: inline-flex;
    align-items: center;
    position: relative;
    margin-left: 12px;
    padding: 2px 8px 2px 10px;
    background: #00668f;
    color: #fff;
    font-size: 0.75em;
    font-weight: bold;
    border-radius: 3px;
    white-space: nowrap;
    line-height: 1.6;
}

/* 左側の三角（しっぽ） */
.toc__bubble::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-style: solid;
    border-width: 5px 6px 5px 0;
    border-color: transparent #00668f transparent transparent;
}

/* セクションh2 */
.section-h2-ttl {
    text-align: center;
    font-weight: bold;
    line-height: 1.6;
    margin-bottom: 30px;
background: none !important;
color: #00668f !important;
	font-size: 1.3em;
}

.section-h2-ttl::before {
border-top: none !important;
border-bottom: none !important;
}

.post_content h3 {
	border-left: solid 3px var(--color_htag);
}

.swell-block-faq .faq_q {
	border-left: none !important;
}

.h3designnone {
background: none !important;
padding: 0px !important;
color: var(--color_text) !important;
font-size: 1em !important;
margin: 0px !important;
	border-left: none !important;
}

.h3designnone::before {
background: none !important;
}

.jump { cursor: pointer; text-decoration: underline; color: var(--color_link); } .jump:hover { color: #ccc; }

.max-width {
	max-width: 750px !important;
}
.margin-auto {
	margin: 0 auto !important;
}

/* 星 */

.sy {
	color: #fdcb6e;
}

/* ボタン*/
.btn-red {
  display: inline-block;
  padding: 15px 80px;
	font-size: 1.1em;
  font-weight: bold;
  border-radius: 999px;
  text-decoration: underline;
  background: linear-gradient(
    135deg,
    #ffddb1 0%,
    #ffaf42 50%,
    #ff8414 100%
  );/* グラデーションの設定*/
  transition: 0.3s;
	color: #fff !important;
}

.btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}


/* ============================================================
   比較表
   style.css に追記してください
   ============================================================ */

.aht-container {
    position: relative;
    margin: 20px 0;
}
.aht-wrap {
    overflow-x: auto;
	margin-bottom: 40px !important;
}
.aht-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
    line-height: 1.5;
    min-width: 560px;
}
.aht-table thead tr { background: #1a1a2e; }
.aht-table thead th {
    color: #fff;
    font-weight: 700;
    padding: 12px 10px;
    text-align: center;
    white-space: nowrap;
}
.aht-table thead th:first-child {
    text-align: left;
    min-width: 130px;
    position: sticky;
    left: 0;
    z-index: 2;
    background: var(--color_htag);
}
.aht-table thead th.aht-th-app { min-width: 90px; }
.aht-table tbody tr {

    transition: background .15s;
}
.aht-table tbody tr { background: #fff; }
.aht-table tbody tr:hover { background: #fafafa; }
.aht-table tbody tr:nth-child(even) { background: #f8f8f8; }
.aht-table tbody tr:nth-child(even):hover { background: #f2f2f2; }
.aht-table tbody td {
    padding: 12px 10px;
    text-align: center;
    border: 1px solid #eee;
    vertical-align: middle;
}
.aht-table tbody td:first-child {
    text-align: left;
    font-weight: 700;
    position: sticky;
    left: 0;
    z-index: 1;
    background: #fff;
}
.aht-table tbody tr:nth-child(even) td:first-child { background: #f8f8f8; }
.aht-table tbody tr:hover td:first-child { background: #fafafa; }
.aht-table tbody tr:nth-child(even):hover td:first-child { background: #eee; }

/* 業者名セル */
.aht-shop-cell {
    position: relative;
    padding-left: 4px;
}

/* 番号バッジ */
.aht-rank {
    display: inline-block;
    background: var(--color_main);
    opacity: 0.9;
    color: #fff;
    font-weight: 700;
    line-height: 1;
    padding: 8px;
    margin-bottom: 6px;
    letter-spacing: .03em;
}

.aht-shop-link { color: #1a1a2e; text-decoration: none; font-weight: 700; }
.aht-shop-link:hover { color: #e8380d; text-decoration: underline; }
.aht-table tbody tr.aht-hidden { display: none; }
.aht-more-wrap {
    text-align: center;
    padding: 12px 0;
}
.aht-more-btn {
    display: inline-block;
    padding: 10px 32px;
    background: linear-gradient(
    135deg,
    #a6f1e2 0%,
    #2bad93 30%,
    #11937a 100%
  );
	opacity: 0.9;
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background .2s;
}
.aht-more-btn:hover { opacity: 0.8; }
.aht-no-review { color: #ccc; }
.aht-scroll-hint {
    display: none;
    font-size: 15px;
    text-align: right;
}
@media (max-width: 600px) {
    .aht-scroll-hint { display: block; }
}



/* キラキラボタン */

.btn-down {
    width: 222px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100vh;
    margin: 26px auto 0;
    background: linear-gradient(90deg, #78db15 0%, #4cced7 100%);
    font-size: 18px;
    font-weight: 700;
    padding-right: 17px;
    color: #fff;
    position: relative;
color: #fff !important;
text-decoration: none !important;
}



.btn-down::before {
    background: url(https://niigata-stamp.jp/images/down.png) no-repeat center center / contain;
    content: '';
    height: 28px;
    right: 9px;
    position: absolute;
    top: 50%;
    width: 28px;
    transform: translate(0, -50%);
}

.btn-up {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100vh;
    margin: 26px auto 0;
    background: linear-gradient(90deg, #fdc42c 0%, #fd7f53 100%);
    font-size: 18px;
    font-weight: 700;
    padding-right: 17px;
    color: #fff;
    position: relative;
color: #fff !important;
text-decoration: none !important;
	width: 250px;
}



.btn-up::before {
    background: url(https://niigata-stamp.jp/images/up.png) no-repeat center center / contain;
    content: '';
    height: 28px;
    right: 9px;
    position: absolute;
    top: 50%;
    width: 28px;
    transform: translate(0, -50%);
}


/* レスポンシブテーブル */
.response-table {
  width: 100%;
  border-collapse: collapse;
}

.response-table th,
.response-table td {
  padding: 5px 10px;
  border: 1px solid #ddd;
  text-align: center;
  vertical-align: middle;
width: 25%;
}

/* ヘッダーのスタイル */
.response-table th {
  background-color: var(--thead-color--bg,var(--color_main));
  color: #ffffff;
}

/* サービス行ラッパー（PC表示） */
.service-wrapper {
  width: 100%;
}

.service-row {
  width: 100%;
  display: flex;
}

.service-name {
  flex: 0 0 70%;

  padding: 5px;

}

.service-status {
  flex: 0 0 30%;
  text-align: left;
  padding: 5px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 600px) {
  /* テーブル全体 */
  .response-table {
    width: 100%;
    border: none;
  }
  
  /* ヘッダー非表示 */
  .response-table thead {
    display: none;
  }
  
  /* 行を通常のブロック要素として表示 */
  .response-table tr.main-row {
    display: block;
    width: 100%;
    border: none;
  }
  
  /* セルの基本スタイル */
  .response-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: none;
    border-bottom: 1px solid #ddd;
    margin: 0;
    padding: 5px 10px;
  }
  
  /* データラベル表示 */
  .response-table td[data-label]:before {
    content: attr(data-label);
    display: block;
    width: 100%;
    background-color: var(--thead-color--bg,var(--color_main));
    color: #ffffff;
    font-weight: bold;
    padding: 5px 10px;
    margin: -8px -8px 8px -8px;
    box-sizing: content-box;
    text-align: center;
  }
  
  /* サービス行のスタイル維持 */
  .service-wrapper {
    width: 100%;
    margin-top: 8px;
  }
  
  .service-row {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #eee;
  }
  
  .service-row:last-child {
    border-bottom: none;
  }
  
  .service-name {
    flex: 0 0 70%;

    padding: 8px;

  }
  
  .service-status {
    flex: 0 0 30%;
    text-align: left;
    padding: 8px;
  }
}

/* 内部リンク */

.related {
padding: 8px;
margin-right: 6px;
color: white;
white-space: nowrap;
background: var(--color_main);
font-size: 0.85em;
font-weight: bold;
}

/* タブ全体 */
.tab-switch {
	--tab-color: var(--color_htag); /* タブ色 */
	display: flex; /* 横並び */
  flex-wrap: wrap; /* 折り返し */
  margin: auto; /* 中央寄せ */
  justify-content: center; /* 中央寄せ */
  gap: 10px 5px; /* タブ間 */
	--tab-bg-color: #f4f4f4; /* タブ色 */
}

.tab-switch > label {
  flex: 1 1 auto; /* 均等幅 */
  order: -1; /* 上部 */
  position: relative; /* 擬似要素基準 */
  padding: 10px 15px;
	color: var(--color_htag); /* 文字色 */
  text-align: center; /* 中央揃え */
  cursor: pointer; /* ポインター */
  transition: 0.3s all; /* 滑らか */
  background: #eee;
	border-radius: 50px;
	    touch-action: manipulation; /* タップ遅延除去 */
    -webkit-tap-highlight-color: transparent;
}

.tab-switch > label:hover,
.tab-switch label:has(:checked) {
  background-color: var(--tab-color); 
  color: #fff; 
}
.tab-switch label:has(:checked)::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 10px;
  background-color: var(--tab-color);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.tab-switch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.tab-switch > div {
  display: none;
  width: 100%;
	padding: 20px 0px 0px 0px;
}

.tab-switch label:has(:checked) + div {
  display: block;
}


/* 比較表 */

.ar-rate-table { table-layout: fixed; }
.ar-rate-table th, .ar-rate-table td { border: none !important; background: transparent; }
.ar-rate-table th { background: var(--color_main); font-size: 1em; padding: 5px 10px; color: #fff !important; text-align: center; }
/* .ar-rate-table tr:nth-child(even) td { background: #fff !important; } */
.ar-rate-table td { text-align: center; }
.ar-rate-table tr:nth-child(odd) td { background: #f4f4f4 !important; }


.ar-hidden { display: none; }
.ar-more-wrap { text-align: center; margin: 16px 0; }
.ar-more-btn {
    display: inline-block;
    padding: 10px 32px;
    background: #f39c12;
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: opacity .2s;
}
.ar-more-btn:hover { opacity: 0.8; }
.ar-app-logos { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

.l-content {
	margin: 0 auto 1em !important;
}

/* 引用 */

.blockquote-simple {
background: #fff !important;
padding: 10px !important;
text-align: center !important;
}
.blockquote-simple::before {
content: initial !important;
}

.blockquote-simple a {
	color: #000 !important;
}
.post_content blockquote cite {
	margin-top: 0px !important;
}

.wp-block-table thead {
	border-bottom: none !important;
}

.swell-block-step__item .swell-block-step__title {
	border-left: none; 
}

.c-balloon__body {
	padding: 4px 0px 4px 20px;
}





/* 口コミ */

.kuchikomi_box {
box-shadow: 0 0 5px rgba(0,0,0,.2);
padding: 15px;
display: flex;
position: relative; /* 子要素を基準に位置を指定するため */
align-items: center; /* 子要素を中央縦寄せ */
margin-bottom: 20px;
background: #f9f9f9;
}
.kuchikomi_box_pickup {
	font-size: 0.8em;
	font-weight: bold;
	position: absolute;
	top: 5px;
	left: 10px;
}
.kuchikomi_box_left {
width: 15%;
    display: flex; /* 子要素を中央寄せするためにflexを設定 */
    flex-direction: column; /* 子要素を縦方向に配置 */
    justify-content: center; /* 縦方向の中央寄せ */
    align-items: center; /* 横方向の中央寄せ */
}
.kuchikomi_box_right {
width: 85%;
}
.kuchikomi_box_left span.reveiw_system_img {
height: 80px; 
}
.kuchikomi_box_right {
margin-left: 10px; 
}
.kuchikomi_box_title {
font-weight: bold;
/*border-bottom: 2px solid #EB2353;*/
margin-top: 30px; 
}
.kuchikomi_box_star {
margin-right: 10px; 
}
.kuchikomi_published {
margin-right: 10px; 
}
.kuchikomi_box_tag {
font-size: 0.8em; 
padding-right: 10px; 
}

/* 右上に配置するためのスタイル */
.kuchikomi_box_up {
    position: absolute; /* 親要素の位置を基準に配置 */
color: #888;

border-radius: 50px !important; 
    top: 7px; /* 上端から10px離す */
    right: 5px; /* 右端から10px離す */
    padding: 5px 15px; /* 内側の余白 */
    font-size: 0.7em; /* 文字サイズ調整 */
    border-radius: 5px; /* 角を丸める */
    cursor: pointer; /* マウスホバー時にポインタ表示 */
	background: #eee;
    font-weight: bold;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .kuchikomi_box {
        flex-direction: column; /* 子要素を縦に並べる */
    }
.kuchikomi_box_title {
margin-top: 0px; 
}
    .kuchikomi_box_left,
    .kuchikomi_box_right {
        width: 100%; /* 幅を100%に */
        margin-left: 0; /* 右側の余白をリセット */
    }
    .kuchikomi_box_left {
padding-top: 20px; 
}
    .kuchikomi_box_right {
        margin-top: 10px; /* 左側のコンテンツとの間に余白を追加 */
    }
}

.kuchikomi_headline {
display: flex;
border: 1px solid var(--color_htag);
background: var(--color_htag);
		max-width: 300px; 
}

.kuchikomi_headline_left {
width: 100px;
padding: 5px 10px; 
background: #fff;
    display: flex; /* フレックスボックスを有効化 */
    align-items: center; /* 垂直方向の中央寄せ */
    justify-content: center; /* 水平方向の中央寄せ */
	color: var(--color_htag);
}
.kuchikomi_headline_right {
width: 200px;
color: #fff;
padding: 5px 10px; 
    display: flex; /* フレックスボックスを有効化 */
    align-items: center; /* 垂直方向の中央寄せ */
	    justify-content: center; /* 水平方向の中央寄せ */
}

.displayblock {
	display: block !important;
}

.textalignleft {
	text-align: left;
}

.top #content {
	padding-top: 0px !important;
}