@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
#header-in {
  padding: 10px;
}

/* アピールエリアタイトル文字の色とサイズ、影 */
.appeal-title {
	font-size:40px;
	font-weight: bold;
	color: #fff;
	margin-bottom: 7px;
	text-shadow: 0px 0px 2px #232020;
}
/* アピールエリアメッセージ文字の色とサイズ、影 */
.appeal-message { 
	font-size:18px;
	font-weight: bold;
	color: #fff;
	text-shadow: 0px 0px 2px #232020;
}

/* アピールエリアコンテンツ背景色 */
.appeal-content {  background-color: rgba(80, 80, 80, 0.00);}


/* 不要な情報を非表示 */
.date-tags,
.entry-categories-tags,
.author-info {
  display: none;
}

/*フッターロゴサイズ*/
.footer-bottom-logo .logo-image {
	padding: 0;
	max-width: 150px;
}

.footer-bottom-logo img {
	height: 30px;
	width: auto;
}


/************************************
** 全体のスタイル
************************************/
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.single p {
	margin-bottom: 10px;
}

.single.no-sidebar .wrap{
	max-width: 820px;
}

.highlight-text {
   font-weight: 500;
   background: linear-gradient(transparent 60%, rgba(24, 72, 160, 0.15));
   line-height: 1.4em;
   padding: 2px 4px;
   border-radius: 4px;
   transition: all 0.2s ease;
}

.h3-choice-header {
	font-size: 1.6rem;
	font-weight: bold;
	width: 100%;
	border-radius: 4px 4px 0px 0px;
	color: #fff;
	text-align: center;
	margin-top: -70px;
}

.h3-choice1 {
	background-image: -webkit-gradient(linear, left top, right top, from(#b88917), to(#fee140));
	background-image: -webkit-linear-gradient(left, #b88917 0%, #fee140 100%);
	background-image: linear-gradient(to right, #b88917 0%, #fee140 100%);
}

.h3-choice2 {
	background-image: -webkit-gradient(linear, left top, right top, from(#E44650), to(#f79298));
	background-image: -webkit-linear-gradient(left, #E44650 0%, #f79298 100%);
	background-image: linear-gradient(to right, #E44650 0%, #f79298 100%);
}

.h3-choice3 {
	background-image: -webkit-gradient(linear, left top, right top, from(#1848a0), to(#85a4de));
	background-image: -webkit-linear-gradient(left, #1848a0 0%, #85a4de 100%);
	background-image: linear-gradient(to right, #1848a0 0%, #85a4de 100%);
}

.h3-choice4 {
	background-image: -webkit-gradient(linear, left top, right top, from(#598D39), to(#abdb8c));
	background-image: -webkit-linear-gradient(left, #598D39 0%, #abdb8c 100%);
	background-image: linear-gradient(to right, #598D39 0%, #abdb8c 100%);
}


/************************************
** 見出しのスタイル（h1~h5）
************************************/
.article {
  font-weight: 390;
}

.article h1,
.article h2,
.article h3,
.article h4,
.article h5,
.article h6{ /*見出し初期化*/
  padding: 0;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  border-top: none;
  border-right: none;
  border-bottom: none;
  border-left: none;
  line-height: normal;
  position:relative;
}


.article h1 {
	margin-bottom: 20px;
}

.article h2 {
	margin-top: 50px;
	margin-bottom: 20px;
}

.article h3 {
	margin-top: 15px;
	margin-bottom: 15px;
	font-size: 20px;
	font-weight: 500;
	display: inline-block;
}

.h3-with-icon {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.h3_icon {
	width: 30px;
	height: 30px;
	vertical-align: middle;
	margin-right: 3px;
}




.kbf-checkpoint {
 margin-top: 20px;
 position: relative;
 border-radius: 10px;
 overflow: hidden;
 box-shadow: 
   -1px 1px 3px rgba(0, 0, 0, 0.05),
   -4px 4px 6px rgba(0, 0, 0, 0.02);
}

.tab-ul ul {
  border: none;
  padding: 10px;
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-top: none;
  border-radius: 0 10px 10px 10px;
  margin: 0;
}

.tab-ul ul li {
  line-height: 1.2;
  padding: 8px 0;
  list-style-type: none !important;
  position: relative;
  padding-left: 36px;
  color: #334155;
  font-weight: 500;
  transition: color 0.2s ease;
}

.tab-ul ul li:before {
  font-family: "Font Awesome 6 Free";
  content: "\f00c";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 10px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: all 0.3s ease;
}


.tab-ul-title {
  width: auto;
  display: inline-block;
  text-align: center;
  color: #fff;
  font-weight: 600;
  padding: 3px 24px;
  margin-bottom: 0 !important;
  letter-spacing: 0.02em;
  font-size: 1rem;
  border-radius: 10px 10px 0 0;
  position: relative;
  z-index: 1;
}

.kbf-checkpoint ul {
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-top: none;
}

.kbf-checkpoint-title {
  background: linear-gradient(135deg, #1848a0 0%, #85a4de 100%);
  position: relative;
}

.review-positive ul li:before {
  /*リストのアイコン*/
  color: #4CAF50;
}

.review-negative ul li:before {
  /*リストのアイコン*/
  color: #9E9E9E;
}


.review-positive-title {
 background: linear-gradient(135deg, #4CAF50 0%, #81C784 100%) !important;
}

.review-negative-title {
 background: linear-gradient(135deg, #9E9E9E 0%, #BDBDBD 100%) !important;
 margin-top: 20px;
}


.choice-product-area {
	margin-bottom: 30px;
	padding: 15px;
	border-radius: 0px 0px 4px 4px;
	border: 1px solid rgba(184, 137, 23, 0.3);
}

.choice-product-area-choice1 {
	border: 1px solid rgba(184, 137, 23, 0.3);
}

.choice-product-area-choice2 {
	border: 1px solid rgba(228, 70, 80, 0.3);
}

.choice-product-area-choice3 {
	border: 1px solid rgba(24, 72, 160, 0.3);
}

.choice-product-area-choice4 {
	border: 1px solid rgba(89, 141, 57, 0.3);
}

.choice-product-area-others {
	margin-top: -70px;
	border: 1px solid rgba(35, 32, 35, 0.3);
	border-radius: 4px 4px 4px 4px;
}

.product-toc {
	visibility: hidden;
	height: 50px;
	margin: 0;
	padding: 0;
}

.product-maker {
    font-size: 0.9em;
	color: #999;
    font-weight: bold;
}

.product-name {
	font-size: 1.2em;
    font-weight: bold !important;
    margin-top: -5px !important;
    margin-bottom: 0px !important;
}

.product-price-label {
	font-size: 0.7em;
	color: #999;
    font-weight: bold;
	margin-right: 5px;
}


.product-price-yen {
	font-size: 1.2em;
	color: #DC143C;
    font-weight: bold;
}

.product-score {
	width: 100%;
	border-radius: 4px;
	padding: 15px;
	margin-top: 10px;
}

.product-score-choice1 {
	background-color: rgba(184, 137, 23, 0.1);
}

.product-score-choice2 {
	background-color: rgba(228, 70, 80, 0.1);
}

.product-score-choice3 {
	background-color: rgba(24, 72, 160, 0.1);
}

.product-score-choice4 {
	background-color: rgba(89, 141, 57, 0.1);
}

.product-score-others {
	background-color: rgba(35, 32, 35, 0.1);
}

.product-score-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

.product-score-star {
	text-align: center;
	margin-bottom: 5px;
}

.product-score-star-choice1 {
	border-bottom: 0.5px solid rgba(184, 137, 23, 0.7);
}

.product-score-star-choice2 {
	border-bottom: 0.5px solid rgba(228, 70, 80, 0.7);
}

.product-score-star-choice3 {
	border-bottom: 0.5px solid rgba(24, 72, 160, 0.7);
}

.product-score-star-choice4 {
	border-bottom: 0.5px solid rgba(89, 141, 57, 0.7);
}

.product-score-star-others {
	border-bottom: 0.5px solid rgba(35, 32, 35, 0.7);
}

.product-score-label {
	font-size: 0.7em;
	color: #999;
    font-weight: bold;
	margin-left: -15px;
}

.product-score-value {
	font-size: 1.5em;
	color: #DC143C;
    font-weight: bold;
	margin-left: -25px;
	margin-top: -5px;
	margin-bottom: 5px;
}

.product-score-child {
	padding-top: 10px;
}

.product-score-child-value {
	font-size: 1.2em;
	color: #DC143C;
    font-weight: bold;
	margin-top: -5px;
}

.product-score-child-label {
	font-size: 0.7em;
	color: #999;
    font-weight: bold;
}

.product-recommend-title {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 15px;
	margin-bottom: 5px;
}

.product-recommend-comment {
	margin-bottom: 1.5em;
}

.product-button-amazon {
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: 100%;
	margin-top: 15px;
	padding: 0.6rem 4rem;
	font-weight: bold;
	border-radius: 0.3rem;
	border-bottom: 4px solid #DC741D;
	background: #F59645;
	color: #fff;
}


.product-button-amazon:hover {
	background: #F5AA6A;
	color: #fff;
}

/************************************
** 固定ページの基本スタイル
************************************/
/*フロント固定ページのタイトルを非表示*/
.home.page .entry-title{
  display: none;
}

/*フロント固定ページの目次を非表示*/
.home.page .toc{
  display: none;
}

.home.page h2 {
	margin-top: 0px;
	margin-bottom: 10px;
}

.home.page .main {
	padding-top: 0px;
}

.home.page .main {
	padding-top: 0px;
}

.home.page .wp-block-columns {
	margin: 0px;
}

.home.page .popular-entry-card-title {
	font-size: 0.8rem;
}

.home.page .wp-block-columns .wp-block-image {
	width: 100%;
	margin: 0px;
}

.category-area {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
  padding: 10px 0;
  margin: 0;
}

.category-area a {
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.category-area a:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.category-box {
  padding: 10px 10px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  position: relative;
  box-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.05),
    0 4px 6px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-sizing: border-box;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.category-box:hover::before {
  opacity: 1;
}

.category-box i {
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
  color: #1848a0;
  background: linear-gradient(135deg, #e8f2ff 0%, #d1e7ff 100%);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.category-box:hover i {
  background: linear-gradient(135deg, #1848a0 0%, #85a4de 100%);
  color: white;
  transform: scale(1.05);
}

.category-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  flex: 1;
  line-height: 1.4;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.category-box:hover .category-name {
  color: #0f172a;
}

/* 780px以上の場合は2列 */
@media (min-width: 781px) {
  .category-area {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 780px以下の場合は1列 */
@media (max-width: 780px) {
  .category-area {
    grid-template-columns: repeat(1, 1fr);
  }
}

/************************************
** タグのスタイル
************************************/


.post-tags {
  margin-top: 24px;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  line-height: 1.4;
}

.tags-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6b7280;
  font-weight: 500;
  margin-right: 4px;
  font-size: 0.9rem;
}

.tag-icon {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.post-tags a {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.025em;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.post-tags a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.post-tags a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.post-tags a:hover::before {
  left: 100%;
}

.post-tags a:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


/* モバイル対応 */
@media (max-width: 768px) {
  .post-tags {
    margin-top: 20px;
    gap: 6px;
  }
  
  .post-tags a {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

/************************************
** テーブルのスタイル
************************************/
table.nomad_table {
    max-width: 900px !important;
    width: 100%;
    height: 450px;
    margin: 15px auto !important;
    background: #FFF;
    text-align: left !important;
    font-size: 10px !important;
    display: block !important;
    overflow-x: auto !important;
    overflow-y: auto !important;    
    -webkit-overflow-scrolling: touch !important;
    color: #333 !important;
    border: none !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

table.nomad_table a {
    color: #333 !important;
    text-decoration: none !important;
    transition: .2s;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.25em !important;
    font-size: 10px !important;
    display: block !important;
    position: relative !important;
    text-align: left !important;
}

table.nomad_table a:hover {
    opacity: .8;
}

table.nomad_table tr td,
table.nomad_table tr th {
    padding: 0.5em 0.5em !important;
    line-height: 1.25em !important;
    font-size: 10px !important;
    border: none !important;
    position: relative !important;
    text-align: left !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #E07487 !important;
    overflow-wrap: break-word;
}

table.nomad_table tr th {
    background: #E07487 !important;
    color: #fff !important;
    width: 100% !important;
}

table.nomad_table tr td.rank-column,
table.nomad_table tr th.rank-column,
table.nomad_table tr td.product-info-column,
table.nomad_table tr th.product-info-column {
    position: sticky !important;
    z-index: 2;
    white-space: normal !important;
    word-break: break-word !important;
}

table.nomad_table tr td.rank-column,
table.nomad_table tr th.rank-column {
    left: 0 !important;
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    z-index: 3;
    text-align: center !important;
}

table.nomad_table tr td.product-info-column,
table.nomad_table tr th.product-info-column {
    left: 50px !important; /* rank-columnの幅に合わせて調整 */
    width: 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
    z-index: 2;
}

table.nomad_table tr th.rank-column,
table.nomad_table tr th.product-info-column {
    background: #E07487 !important;
    z-index: 6 !important; /* ヘッダーの上に表示 */
}

table.nomad_table tr td.rank-column {
    background: #FFF !important;
}

table.nomad_table tr td.product-info-column {
    background: #FFF !important;
}

/* スクロール時にヘッダーを固定 */
table.nomad_table thead th {
    position: sticky !important;
    top: 0 !important;
    z-index: 5 !important;
    background: #E07487 !important;
}

/* 2行目のヘッダーも固定 */
table.nomad_table thead tr:nth-child(2) th {
    top: 23px !important; /* 1行目のヘッダーの高さに応じて調整 */
}

/* rankカラムとproduct-infoカラムの2行目ヘッダーの固定 */
table.nomad_table thead tr:nth-child(2) th.rank-column,
table.nomad_table thead tr:nth-child(2) th.product-info-column {
    z-index: 7 !important; /* 1行目のヘッダーの上に表示 */
}

table.nomad_table::-webkit-scrollbar {
    width: 10px !important;
    height: 10px !important;
}

table.nomad_table::-webkit-scrollbar-track {
    background: #FAFAFA !important;
}

table.nomad_table::-webkit-scrollbar-thumb {
    border-radius: 5px !important;
    background: #E07487 !important;
}

table.nomad_table .table_img {
    display: block;
    max-width: 60px;
    margin: 0 auto;
}

table.nomad_table .product-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    font-size: 10px;    
}

table.nomad_table .maker-name {
    font-size: 8px;
    margin-bottom: -10px; 
    font-weight: bold;
    color: #999999;
}

table.nomad_table .product-name {
    font-size: 10px !important;
    font-weight: bold;
    text-decoration: underline !important;
}

table.nomad_table .wrap-column {
    max-width: 300px !important;
    min-width: 200px !important;    
    white-space: normal !important;
    word-break: break-all !important;
    overflow-wrap: break-word !important;
}

table.nomad_table .price-column {
    max-width: 100px !important;
    min-width: 80px !important;  
    font-weight: bold;    
    white-space: normal !important;
    word-break: break-all !important;
    overflow-wrap: break-word !important;
}

.product-rank1 {
    background-color: #FFD700; /* 金色 */
    color: white;
    padding: 5px 5px;
    border-radius: 5px;
    font-weight: bold;
}

.product-rank2 {
    background-color: #C0C0C0; /* 銀色 */
    color: white;
    padding: 5px 5px;
    border-radius: 5px;
    font-weight: bold;
}

.product-rank3 {
    background-color: #CD7F32; /* 銅色 */
    color: white;
    padding: 5px 5px;
    border-radius: 5px;
    font-weight: bold;
}

.product-rank-other {
    background-color: #E0E0E0; /* 灰色 */
    color: black;
    padding: 5px 5px;
    border-radius: 5px;
    font-weight: bold;
}

table.nomad_table .score-details-column {
    max-width: 50px !important;
    min-width: 50px !important;  
    font-weight: bold;    
    color: #E07487;
}

table.nomad_table .score-details {
    font-size: 12px;
    display: flex;    
    font-weight: bold;
    color: #E07487;
}

/************************************
** 星評価のスタイル
************************************/
.star-rating-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.star-rating {
    position: relative;
    white-space: nowrap;
    font-size: 0;
}

.star-rating .score {
    display: block;
    text-align: center;
    color: #E07487;
    font-weight: bold;
    font-size: 0.8rem;
    margin-bottom: -1.5em;
}

.star-rating::before {
    content: '★★★★★';
    font-size: 0.6rem;
    color: #ccc;
}

.star-rating span {
    display: inline-block;
    position: absolute;
    overflow: hidden;
    left: 0;
    top: 0;
    font-size: 0.6rem;
    color: #E07487;
}

.star-rating span::before {
    content: '★★★★★';
}

/************************************
** アフィリエイトカードのスタイル
************************************/
.affi_card {
    display: flex;
    border: 1px solid #eaeaea;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    align-items: flex-start;
}

.affi_img {
    text-align: center;
    margin-right: 30px;
}

.affi_img .item_img_main img {
    width: 350px;
    max-height: 300px;
    height: auto;
    object-fit: contain;
}

.affi_img .source_link {
    font-size: 14px;
    color: #888;
}

.affi_detail {
    text-align: left;
    flex: 1;
}

.affi_detail .item_info .title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.affi_detail .item_info .price {
    font-size: 18px;
    color: #e44d26;
}

.affi_detail .item_info .price-note {
    font-size: 0.6em;
    color: #666;
    margin-bottom: 10px;    
}

.affi_detail .detail_link {
    margin-bottom: 20px;
}

.affi_detail .detail_link a {
    display: inline-block;
    width: calc(100% - 5px);
    background-color: #ffa500;
    color: #ffffff;
    padding: 10px 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease-in-out;
    text-align: center;
    border: 1px solid transparent;
}

.affi_detail .detail_link a.btn_r {
    background-color: #e60033;
    margin-right: 0;
}

.affi_detail .detail_link a:hover {
    background-color: #ffffff;
    color: #ffa500;
    border: 1px solid #ffa500;
}

.affi_detail .detail_link a.btn_r:hover {
    color: #e60033;
    border: 1px solid #e60033;
}

.affi_detail .item_detail {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.item_detail p {
    font-size: 18px;
    margin-bottom: 0px;
}

.item_detail hr {
    margin-bottom: 10px;
}

.item_detail ul {
    list-style-type: disc;
    padding-left: 0;
    margin-left: 20px;
}

.item_detail li {
    margin-bottom: 5px;
}

/************************************
** プライバシーポリシーのスタイル
************************************/
.privacy_policy_text {
    font-size: 0.6em;
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 5px;
}

/************************************
** 吹き出しのスタイル
************************************/
.balloon5 {
    width: 100%;
    margin: 1.5em 0;
    overflow: hidden;
}

.balloon5 .faceicon {
    float: left;
    margin-right: -90px;
    width: 80px;
}

.balloon5 .faceicon img {
    width: 100%;
    height: auto;
    border: solid 3px #d7ebfe;
    border-radius: 50%;
}

.balloon5 .chatting {
    width: 100%;
}

.says {
    display: inline-block;
    position: relative; 
    margin: 5px 0 0 105px;
    padding: 17px 13px;
    border-radius: 12px;
    background: #d7ebfe;
}

.says:after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 18px; 
    left: -24px;
    border: 12px solid transparent;
    border-right: 12px solid #d7ebfe;
}

.says p {
    margin: 0;
    padding: 0;
}

.customer,
.recommendation {
    font-weight: bold; 
    margin-bottom: 10px; 
}

.recommendation .fa-lightbulb-o {
    color: #ffd700;
    margin-right: 5px;
    font-size: 1.2em;
    vertical-align: middle;
}

/************************************
** 画像のスタイル
************************************/
.image-select-point,
.image-summary {
    border: 1px solid #cccccc; 
    margin: 10px 0; 
}

/************************************
** Good/Badボックスのスタイル
************************************/
.box30-bad,
.box30-good {
    margin: 2em 0;
    background: #f1f1f1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.22);
    flex-basis: 48%;
}

.box30-bad .box-title,
.box30-good .box-title {
    font-size: 1.2em;
    padding: 4px;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.box30-bad .box-title {
    background: #5fc2f5;
}

.box30-good .box-title {
    background: #f5c4ce;
}

.box30-bad p,
.box30-good p {
    padding: 15px 20px;
    margin: 0;
}

.box30-bad ul,
.box30-good ul {
    padding: 10px 20px;
    margin-left: 20px; 
}

/************************************
** アフィリエイト広告のスタイル
************************************/
a[href*="a8.net"] img {
    display: block;
    max-width: 100%;
    height: auto;
}

/************************************
** 製品カードのスタイル
************************************/
.product-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.product-card .product-header {
    background-color: #ffffff;
    padding: 10px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e0e0e0;
}

.product-card .product-top {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.product-card .product-rank1 {
    background-color: #FFD700; /* 金色 */
    color: white;
    padding: 8px 8px;
    border-radius: 5px;
    font-weight: bold;
    margin-right: 10px;
}

.product-card .product-rank2 {
    background-color: #C0C0C0; /* 銀色 */
    color: white;
    padding: 8px 8px;
    border-radius: 5px;
    font-weight: bold;
    margin-right: 10px;
}

.product-card .product-rank3 {
    background-color: #CD7F32; /* 銅色 */
    color: white;
    padding: 8px 8px;
    border-radius: 5px;
    font-weight: bold;
    margin-right: 10px;
}

.product-card .product-rank-other {
    background-color: #E0E0E0; /* 灰色 */
    color: black;
    padding: 8px 8px;
    border-radius: 5px;
    font-weight: bold;
    margin-right: 10px;
}

.product-card .product-title {
    flex: 1;
}

.product-card .product-maker {
    font-size: 0.7em;
    color: #eee;
}

.product-card .product-name {
    font-size: 1em;
    font-weight: bold;
    margin-top: 2px;
}

.product-card .product-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}

.product-card .product-score-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-card .product-price {
    font-size: 1em;
    color: #333;
    text-align: right;
    white-space: nowrap;
    font-weight: bold;
}

.product-card .product-main {
    display: flex;
    gap: 20px;
}

.product-card .product-image-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 50%;
}

.product-card .product-image {
    background-color: #f0f0f0;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    color: #999;
}

.product-card .product-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-card .btn {
    display: inline-block;
    width: calc(100% - 5px);
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    text-decoration: none !important;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.product-card .btn-amazon {
    background-color: #ffa500;
    color: #ffffff;
	 text-decoration: none !important;
}

.product-card .btn-rakuten {
    background-color: #e60033;
    color: #ffffff;
}

.product-card .btn:hover {
    background-color: #ffffff;
}

.product-card .btn-amazon:hover {
    color: #ffa500;
    border-color: #ffa500;
}

.product-card .btn-rakuten:hover {
    color: #e60033;
    border-color: #e60033;
}

/* 最後のボタンの右マージンを0にする */
.product-card .product-buttons .btn:last-child {
    margin-right: 0;
}

/* .product-card .product-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-card .btn {
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.product-card .btn-amazon {
    background-color: #FF9900;
    color: white;
}

.product-card .btn-rakuten {
    background-color: #BF0000;
    color: white;
}

.product-card .btn-yahoo {
    background-color: #FF0033;
    color: white;
}
 */

.product-card .product-score-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 50%;
}


.product-card .recommend-score {
    text-align: center;
}

.product-card .radar-chart {
    width: 100%;
    height: auto;
}

.product-card .product-rating {
    margin-top: 20px;
}

.product-card .detailed-scores {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.product-card .detailed-scores th,
.product-card .detailed-scores td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.product-card .detailed-scores th {
    background-color: #f7d4d4;
}

.product-card .score-value-detail {
    color: #ff4500;
    font-weight: bold;
}

.product-card .recommend-comment {
    font-size: 1.2em;
    font-weight: bold;
    padding: 2px 0;
    border-bottom: 2px solid #666;
    margin-top: 10px;
	margin-bottom: 10px;
}

.product-card .product-description {
    margin-top: 3px;
    margin-bottom: 3px;
    padding: 5px 5px;
    border-radius: 5px;
    font-size: 1em;
}

.product-card .user-reviews {
    margin-top: 10px;
    display: flex;
    gap: 20px;
}

.product-card .review-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card .review-title {
    font-weight: bold;
    padding: 5px;
    color: white;
    text-align: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.review-content {
    background-color: white;
    padding: 10px;
    border: 1px solid #ddd;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    font-size: 1em;
}

.review-content ul {
    margin: 0;
    padding-left: 20px;
}

.review-content ul li {
    margin-bottom: 5px;
}

.review-content ul li:last-child {
    margin-bottom: 0;
}

.product-card .review-positive .review-title {
    background-color: #e3a5b0;
}

.product-card .review-negative .review-title {
    background-color: #4eafed;
}

/************************************
** おすすめスコア表示のスタイル
************************************/
.recommendation-score {
    background-color: #FFF5E6;
    padding: 8px;
    border-radius: 8px;
	margin-top: 6px;
    font-family: Arial, sans-serif;
}

.score-title {
    font-size: 12px;
    color: #333;
    margin-bottom: -6px;
    font-weight: normal;
}

.score-info {
    font-size: 10px;
    color: #999;
    border: 1px solid #999;
    border-radius: 50%;
    padding: 0 5px;
    margin-left: 5px;
}

.total-score {
    font-size: 24px;
    font-weight: bold;
    color: #FF5722;
}

.score-details {
    display: flex;
}

.score-item {
    font-size: 12px;
    color: #666;
    background-color: #FFF;
    padding: 4px 8px;
    border-radius: 4px;
}

/* 星マークのスタイル */
.total-score::before {
    content: '★';
    color: #FF5722;
    margin-right: 2px;
}


/************************************
** 商品画像スライダー
************************************/

.swiper-container {
	width: 100%;
	max-width: 400px; /* スライダーの最大幅を設定 */
	margin: 0 auto; /* 中央揃え */
	overflow: hidden; /* はみ出た部分を隠す */
	position: relative; /* 子要素の位置の基準にする */
}
.swiper-slide {
	display: flex;
	justify-content: center;
	align-items: center;
}
.swiper-slide img {
	max-width: 100%;
	height: auto;
 	max-height: 300px; /* 画像の最大高さを設定 */ 
	object-fit: contain; /* アスペクト比を維持しながら、指定サイズに収める */
}
/* ナビゲーションボタンのスタイル調整 */
.swiper-button-next,
.swiper-button-prev {
	color: #888 !important; /* ボタンの色を変更 */
}
.swiper-button-next:after,
.swiper-button-prev:after {
	font-size: 24px !important; /* ボタンのサイズを小さくする */
}
/* ページネーションのスタイル調整 */
.swiper-pagination-bullet {
	background: #000 !important; /* ページネーションの色を変更 */
}

.amazon_source_link a{
	font-size: 14px;
	color: #888;
	text-align: center !important;
  	margin-top: 10px; /* 上部に少し余白を追加 */ 
/*  	margin-bottom: 10px; /* 上部に少し余白を追加 */	 */
	display: block; /* 中央揃えのためにブロック要素にする */
}

.amazon-button {
	display: inline-block;
/* 	display: block; */
	text-align: center;	
	margin-top: 15px;
	padding: 10px 20px;
	background-color: rgba(0, 0, 0, 0.6);
	color: #fff;
	text-decoration: none;
	border-radius: 20px;
	font-weight: bold;
	transition: background-color 0.3s;
}
.amazon-button:hover {
	background-color: rgba(0, 0, 0, 0.8);
}

/************************************
** プロフィール
************************************/

.author-profile {
	--ap-gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	--ap-gradient-text: linear-gradient(135deg, #667eea, #764ba2);
	--ap-shadow-light: 0 20px 40px rgba(0, 0, 0, 0.1);
	--ap-shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.15);
	--ap-border-radius: 20px;
	--ap-spacing-base: 1rem;
	--ap-spacing-large: 2rem;

	margin: 2rem 0;  /* 上下のマージンを縮小 */
	background: var(--ap-gradient-primary);
	border-radius: var(--ap-border-radius);
	box-shadow: var(--ap-shadow-light);
	position: relative;
	padding: 2px;
}

.author-profile::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
	pointer-events: none;
	border-radius: var(--ap-border-radius);
}

.author-profile .author-profile__container {
	padding: 1.5rem;  /* パディングを縮小 */
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	margin: 0;
	border-radius: 18px;
	position: relative;
	z-index: 1;
	border: 1px solid #e0e0e0;
}

/* 上部セクション: 画像と基本情報 */
.author-profile .author-profile__header {
	display: flex;
	align-items: center;
	gap: var(--ap-spacing-large);
	margin-bottom: 1.5rem;  /* 下部マージンを縮小 */
	min-height: 100px;  /* 画像の高さを調整 */
}

/* アバター */
.author-profile .author-profile__avatar {
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

.author-profile .author-profile__avatar img {
	width: 100px;  /* 画像サイズを縮小 */
	height: 100px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #fff;  /* ボーダーを少し細く */
	box-shadow: var(--ap-shadow-medium);
}

/* 基本情報（肩書き+名前+実績） */
.author-profile .author-profile__basic-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100px;  /* アバター画像と同じ高さに調整 */
}

.author-profile .credential {
	font-size: 0.85rem;  /* フォントサイズを少し縮小 */
	color: #7f8c8d;
	font-weight: 500;
	margin-bottom: 0.4rem;  /* マージンを縮小 */
}

.author-profile .author-profile__name {
	font-size: 1.75rem;  /* フォントサイズを縮小 */
	font-weight: 700;
	margin: 0 0 0.5rem 0;  /* マージンを縮小 */
	background: var(--ap-gradient-text);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* 実績をヘッダー部分に配置 */
.author-profile .author-profile__achievements {
	display: flex;
	align-items: center;
}

.author-profile .author-profile__stats {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0;
	white-space: nowrap;  /* 空白を削除 */
}

.author-profile .stat-item {
	font-size: 0;
	color: #667eea;
	font-weight: 500;
	display: inline-block;  /* インライン要素として表示 */
}

.author-profile .stat-number {
	font-size: 0.75rem;
	color: #667eea;
	font-weight: 600;
	display: inline-block;  /* インライン要素として表示 */
}

.author-profile .stat-text {
	font-size: 0.75rem;
	color: #95a5a6;
	font-weight: 400;
	display: inline-block;  /* インライン要素として表示 */
}

/* 詳細情報セクション */
.author-profile .author-profile__details {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;  /* ギャップを縮小 */
}

.author-profile .author-profile__description p {
	font-size: 0.95rem;  /* フォントサイズを縮小 */
	line-height: 1.5;  /* 行間を縮小 */
	color: #555;
	margin: 0;
}

/* 専門分野と実績のコンテナ */
.author-profile .author-profile__expertise-achievements {
	display: flex;
	gap: 2rem;  /* ギャップを縮小 */
	align-items: flex-start;
}

.author-profile .author-profile__expertise {
	flex: 1;
}

.author-profile .author-profile__achievements {
	flex-shrink: 0;
	min-width: 200px;
}

/* 専門分野 */
.author-profile .author-profile__expertise .expertise-title {
	font-size: 0.95rem;  /* フォントサイズを縮小 */
	font-weight: 600;
	margin: 0 0 0.5rem;  /* マージンを縮小 */
	color: #2c3e50;
}

.author-profile .expertise-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;  /* ギャップを縮小 */
	justify-content: flex-start;  /* 左寄せに変更 */
}

.author-profile .expertise-tag {
	background: var(--ap-gradient-primary);
	color: white;
	padding: 0.3rem 0.75rem;  /* パディングを縮小 */
	border-radius: 20px;
	font-size: 0.8rem;  /* フォントサイズを縮小 */
	font-weight: 500;
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* レスポンシブ */
@media (max-width: 768px) {
	.author-profile .author-profile__container {
		padding: 1.25rem;  /* パディングをさらに縮小 */
	}

	.author-profile .author-profile__header {
		flex-direction: column;
		text-align: center;
		min-height: auto;
		gap: 1rem;  /* ギャップを縮小 */
	}

	.author-profile .author-profile__basic-info {
		height: auto;
		align-items: center;
		min-height: 100px;  /* アバター画像と同じ高さを維持 */
	}

	.author-profile .author-profile__avatar {
		height: 100px;  /* アバター画像の高さを明示的に指定 */
	}

	.author-profile .author-profile__name {
		font-size: 1.5rem;  /* フォントサイズをさらに縮小 */
	}

	.author-profile .author-profile__achievements {
		flex-direction: column;
		gap: 0.25rem;  /* ギャップを縮小 */
	}

	.author-profile .author-profile__stats {
		flex-direction: row;  /* 横並びに変更 */
		gap: 0.75rem;  /* ギャップを調整 */
		text-align: left;  /* 左寄せに変更 */
	}

	.author-profile .expertise-tags {
		justify-content: flex-start;  /* 左寄せに変更 */
	}
}

@media (max-width: 480px) {
	.author-profile .author-profile__container {
		padding: 1rem;  /* パディングをさらに縮小 */
	}

	.author-profile .author-profile__name {
		font-size: 1.35rem;  /* フォントサイズをさらに縮小 */
		margin-bottom: 0.4rem;  /* マージンを縮小 */
	}

	.author-profile .achievements-intro {
		font-size: 0.7rem;  /* フォントサイズをさらに縮小 */
	}

	.author-profile .stat-item {
		font-size: 0.7rem;  /* フォントサイズをさらに縮小 */
	}
}

/* アクセシビリティ */
@media (prefers-reduced-motion: reduce) {
	.author-profile .author-profile__avatar img {
		transition: none;
	}
}


/************************************
** 筆者体験レポート
************************************/

.author-story-card {
	--asc-gradient-primary: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
	--asc-gradient-tag: linear-gradient(135deg, #ff6b6b, #ff8e8e);
	--asc-gradient-title: linear-gradient(135deg, #ff6b6b, #ff8e8e, #ffa8a8);

	margin: 1.5rem 0;
	background: var(--asc-gradient-primary);
	border-radius: 16px;
	box-shadow: 
		0 15px 30px rgba(255, 154, 158, 0.12),
		0 4px 15px rgba(254, 207, 239, 0.08);
	position: relative;
	overflow: hidden;
	padding: 2px;
}

.author-story-card .story-card__container {
	padding: 1.25rem 2rem;  /* 左右のパディングを増加 */
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(20px) saturate(180%);
	margin: 0;
	border-radius: 14px;
	border: 1px solid #e0e0e0;
	position: relative;
	z-index: 1;
}

.author-story-card .story-card__header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid rgba(255, 154, 158, 0.1);
	position: relative;
}

.author-story-card .story-icon {
	font-size: 1.5rem;
	line-height: 1;
}

.author-story-card .story-title {
	font-size: 1.2rem;
	font-weight: 700;
	margin: 0;
	background: var(--asc-gradient-title);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.author-story-card .story-message p {
	margin: 0 0 0.75rem;
	font-size: 0.95rem;
	color: #444;
	text-align: justify;
	position: relative;
	line-height: 1.6;
	max-width: 800px;  /* 本文の最大幅を設定 */
	margin-left: auto;  /* 中央寄せ */
	margin-right: auto;  /* 中央寄せ */
}

/* レスポンシブ対応の調整 */
@media (max-width: 768px) {
	.author-story-card .story-card__container {
		padding: 1rem 1.5rem;  /* モバイルでの左右パディングを調整 */
	}

	.author-story-card .story-card__header {
		gap: 0.5rem;
		margin-bottom: 0.75rem;
		padding-bottom: 0.5rem;
	}

	.author-story-card .story-title {
		font-size: 1.1rem;
	}

	.author-story-card .story-message p {
		max-width: 100%;  /* モバイルでは最大幅を解除 */
	}
}

@media (max-width: 480px) {
	.author-story-card .story-card__container {
		padding: 0.875rem 1.25rem;  /* さらに小さい画面での左右パディングを調整 */
	}

	.author-story-card .story-message p {
		font-size: 0.9rem;
		line-height: 1.5;
	}
}

/* アクセシビリティ */
@media (prefers-reduced-motion: reduce) {
    .author-story-card .story-card__container {
        transition: none;
    }
} 


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	
	/* アピールエリアタイトル文字の色とサイズ、影 */
	.appeal-title {
		font-size:30px;
		font-weight: bold;
		color: #fff;
		margin-bottom: 7px;
		text-shadow: 0px 0px 2px #232020;
	}
	/* アピールエリアメッセージ文字の色とサイズ、影 */
	.appeal-message { 
		font-size:13px;
		font-weight: bold;
		color: #fff;
		text-shadow: 0px 0px 2px #232020;
	}
	
	.article h3 {
		font-size: 18px;
	}
	
}
