@charset "UTF-8";

blockquote {
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
  padding: 0;
  border: none;
  background: none;
  font-size: inherit;
}


.entry-content {
    text-align: justify;
    letter-spacing: 0.04em;
}
/*============================== 本文 ==============================*/
.entry-content h2 {
  /* font-weight: bold; */
  margin: 48px 0 0.25em;
}

.entry-content h3 {
  /* font-weight: bold; */
  margin: 36px 0 0.25em;
}

.entry-content h4 {
  /* font-weight: bold; */
  margin: 28px 0 0;
}

.entry-content h5 {
  /* font-weight: bold; */
  margin: 16px 0 0;
}

.entry-content h6 {
  /* font-weight: bold; */
  margin: 12px 0 0;
}


/*============================== 画像 ==============================*/
.article-image {
  margin: 28px 0;
}

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

.article-image__caption {
  font-size: 13px;
  color: #888;
  text-align: center;
  margin-top: 8px;
  line-height: 1.5;
}


/*============================== YouTube ==============================*/
.youtube-embed {
  margin: 32px 0;
}

.youtube-embed__container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.youtube-embed__container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.youtube-embed__caption {
  font-size: 13px;
  color: #888;
  text-align: center;
  margin-top: 8px;
}


/*============================== 箇条リスト ==============================*/
.entry-content :not(.toc-container) > ul:not(> li),
.entry-content ol,
.post-ul, .post-ol {
  margin: 1em 0 1.5em;
  padding-left: 0;
  list-style: none;
}


.entry-content :not(.toc-container) > ul > li,
.post-ul > li {
  position: relative;
  padding: 8px 12px 8px 36px;
  line-height: 1.7;
}

.entry-content :not(.toc-container) > ul > li::before,
.post-ul > li::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 1.1em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #333;
}

.entry-content ol,
.post-ol {
  counter-reset: ol-counter;
}

.entry-content ol > li,
.post-ol > li {
  counter-increment: ol-counter;
  position: relative;
  padding: 10px 14px 10px 48px;
  line-height: 1.7;
}

.entry-content ol > li::before,
.post-ol > li::before {
  counter-increment: none;
  content: counter(ol-counter);
  position: absolute;
  left: 12px;
  top: 0.8em;
  width: 26px;
  height: 26px;
  background: #fff;
  border: 1px solid var(--accent-color);
  font-size: 13px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}


/*============================== テーブル ==============================*/
.table-wrapper {
  margin: 28px 0;
  overflow-x: auto;
}

table,
.styled-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
}

table th,
.styled-table thead th,
.styled-table th {
  background-color: var(--bg-light);
  font-weight: normal;
  padding: 12px 16px;
  text-align: center;
  position: relative;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

table tbody td,
.styled-table tbody td,
.styled-table td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

table tbody tr:hover td,
.styled-table tbody tr:hover td {
  /* background: #e8f2ff; */
	background-color: #e6e6e6;
}

table tbody td:nth-child(1),
.styled-table td:nth-child(1) {
  font-weight: bold;
  font-size: 0.85rem;
	text-align: left;
}


@media (max-width: 600px) {
  .styled-table {
    min-width: 600px;
  }
}


/*============================== FAQ ==============================*/
.faq {
  margin: 32px 0;
}

.faq__item {
  margin-bottom: 16px;
  overflow: hidden;
}

.faq__question {
  font-weight: bold;
  padding: 14px 20px 14px 52px;
  position: relative;
  margin: 0;
  border-bottom: 1px dotted var(--border-color);

}

.faq__question::before {
  font-family: Arial, sans-serif;
  content: 'Q';
  position: absolute;
  top: 16px;
  left: 12px;
  width: 30px;
  height: 30px;
  background: #fff;
  border: 1px solid var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  filter: drop-shadow(0 2px 0 var(--accent-color));
}

.faq__answer {
  padding: 16px 20px 16px 52px;
  position: relative;
  margin: 0;
}

.faq__answer::before {
	font-family: Arial, sans-serif;
  content: 'A';
  position: absolute;
  left: 12px;
  top: 16px;
  width: 30px;
  height: 30px;
  background: #fff;
  border: 1px solid var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  filter: drop-shadow(0 2px 0 var(--accent-color));
}



/* 1つのQ&Aセット */
.pt-faq-item {
    margin-bottom: 32px;
    border-bottom: 1px solid #c5bebe;
    border-top: 1px solid #c5bebe;
    padding-bottom: 24px;
}

/* 質問（Q）のスタイル */
.pt-faq-question {
    position: relative;
    padding-left: 40px; /* Qマークの余白 */
    font-size: 1rem;
    margin-bottom: 18px;
    line-height: 1.5;
}

/* Qのアイコン（擬似要素で自動付与） */
.pt-faq-question::before {
    content: "Q";
    position: absolute;
    left: 0;
    top: 0;
    /* color: #ffffff; */
    font-size: 16px;
    font-family: Arial, sans-serif;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    justify-content: center;
    border: 1px solid #8d8c8c;
    font-weight: 500;
}

/* 回答（A）のスタイル */
.pt-faq-answer {
    position: relative;
    padding-left: 40px; /* Aマークの余白 */
    line-height: 1.7;
    margin: 0;
}

/* Aのアイコン（擬似要素で自動付与） */
.pt-faq-answer::before {
   content: "A";
    position: absolute;
    left: 0;
    top: 0;
    color: #F17020;
    font-size: 16px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    /* background: #EE4444; */
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: 1px solid #F17020;
}





/*============================== 吹き出し ==============================*/
.balloon-wrap {
  margin: 28px 0;
}

.balloon {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.balloon__icon {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.balloon__icon-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}

.balloon__icon-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.balloon__icon-name {
  margin: 0;
  font-size: 12px;
  text-align: center;
  font-weight: bold;
  white-space: nowrap;
}

.balloon__text {
  position: relative;
  background: #fff3e0;
  padding: 18px;
  line-height: 1.75;
  max-width: calc(100% - 90px);
  margin: 0;
}

.balloon__text::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 20px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 12px solid #fff3e0;
}

/* 右側 */
.balloon--right {
  flex-direction: row-reverse;
}

.balloon--right .balloon__text {
  background: #eef3ff;
}

.balloon--right .balloon__text::before {
  left: auto;
  right: -12px;
  border-right: none;
  border-left: 12px solid #eef3ff;
}

/* 監修者コメント全体のラッパー */
.p-expert-comment {
    margin: 2em 0;
    font-family: sans-serif;
}

/* アイコンと名前のエリア（横並び） */
.p-expert-meta {
    display: flex;
    align-items: center;
    margin-bottom: 12px; /* 吹き出しとの隙間 */
}

/* アイコン画像（正円にくり抜く） */
.p-expert-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 16px 0 0;
    flex-shrink: 0;
}

.p-expert-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 名前と肩書のエリア */
.p-expert-text {
    display: flex;
    flex-direction: column;
}

/* 肩書（小さい文字） */
.p-expert-title {
    font-size: 13px;
    color: #555;
}

/* 名前 */
.p-expert-name {
    font-size: 18px;
    color: #333;
    margin: 0;
    line-height: 1.4;
    margin: 0 !important;
}

/* 吹き出し部分 */
.p-expert-bubble {
    position: relative;
    background-color: #F6F5F3; /* 画像に合わせた薄い背景色 */
    padding: 20px 30px;
    border-radius: 4px;
    color: #333;
    line-height: 1.7;
}

.p-expert-bubble p {
    margin: 0;
}

/* 吹き出しの尻尾（上向きの三角） */
.p-expert-bubble::before {
    content: "";
    position: absolute;
    top: -13px; /* 三角形の高さ分だけ上にずらす */
    left: 24px; /* アイコンの中心あたりに配置 */
    /* CSSで三角形を描画 */
    border-style: solid;
    border-width: 0 12px 16px 12px;
    border-color: transparent transparent #F6F5F3 transparent;
}

/* スマホ表示用の微調整 */
@media screen and (max-width: 600px) {
    .p-expert-icon {
        width: 50px;
        height: 50px;
    }
    .p-expert-name {
        font-size: 16px;
    }
    .p-expert-bubble {
        padding: 15px 20px;
        font-size: 14px;
    }
    .p-expert-bubble::before {
        left: 25px; /* スマホ時の尻尾の位置調整 */
    }
}

/*============================== アフィリエイト用カード ==============================*/
.affiliate-card {
  padding: 1.5em;
  margin: 2em 0;
  border: 1px solid var(--border-color);
}

.affiliate-card__inner {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.affiliate-card__image {
  width: 180px;
  height: 180px;
  overflow: hidden;
}

.affiliate-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.affiliate-card__info {
  flex: 1;
  min-width: 0;
}

.affiliate-card__brand {
  color: #888;
	margin-top: 0;
  margin-bottom: 0;
}

.affiliate-card__name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: underline;
  margin: 0;
}

.affiliate-card__name a {
  color: #000;
}

.affiliate-card__name:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  text-decoration: none;
}

.affiliate-card__text {
  font-size: 14px;
  line-height: 1.3;
}

.affiliate-card__rating {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 8px 0;
}

.affiliate-card__rating p {
  margin: 0;
}

.stars {
  display: flex;
  gap: 1px;
}

.star {
  width: 16px;
  height: 16px;
}

.star::before {
  content: '★';
  color: #e0e0e0;
  font-size: 16px;
  line-height: 1;
}

.star.filled::before {
  color: #f5a623;
}

.star.half::before {
  color: #f5a623;
  clip-path: inset(0 50% 0 0); 
}

.rating-value {
  font-size: 16px;
  font-weight: 700;
  color: #f5a623;
}

.rating-count {
  font-size: 13px;
  color: #888;
}

.affiliate-card_price {
  display: flex;
  align-items: center;
}

.affiliate-card__price {
  font-size: 13px;
  color: #888;
  margin-bottom: 12px;
}

.affiliate-card__price strong {
  font-size: 22px;
  color: #1a1a1a;
  font-weight: 900;
}

.shop-btn {
  border: none;
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  padding: 0;
}

.shop-btn a {
  padding: 8px 14px;
  font-size: 16px;
  font-weight: 700;
  color: #fff ;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
  background: #f39700;
  border: none;
}

.shop-btn a:hover { 
  opacity: 0.88;
  transform: translateY(-1px);
  text-decoration: none;
  color: #fff;
}

.affiliate-card__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.shop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}

.shop:hover { 
  opacity: 0.88;
  transform: translateY(-1px);
  text-decoration: none;
}

.shop-amazon {
  background: #ff9900;
  color: #1a1a1a;
}

.shop-rakuten { 
  background: #bf0000;
}

.shop-yahoo { 
  background: #ff0033;
}

.shop-price {
	font-family: Arial, sans-serif;
  font-weight: normal;
  /* opacity: 0.85; */
}

.entry-content * + h2 {
	margin-top: 2em;
}

.entry-content .faq__item + .faq__item {
	margin-top: 2em;
}

.entry-content p + p:not(.faq__answer):not(.affiliate-card__name) {
	margin-top: 1.6em;
}

@media (max-width: 600px) {
  .affiliate-card__inner {
    flex-direction: column;
  }
}

hr {
	display: block;
	padding: 1em 0;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
}
