.breadcrumb {
  font-size: 0.9em;
  margin-bottom: 16px;
  color: #666;
}

.breadcrumb a {
  color: #0077aa;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.article-thumbnail {
  text-align: center;
  margin-bottom: 1em;
}

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

.caption {
  margin: 0;
  font-size: 14px;
}

.caption a {
  text-decoration: none;
  color: #0077aa;
}

.article-intro {
  margin-bottom: 30px;
}

.article-intro p {
  line-height: 1.8;
  font-size: 1em;
  letter-spacing: -0.5px;
}

.article-toc {
  background-color: #fff;
  margin-bottom: 30px;
  border: 4px solid #0077aa;
}

.article-toc .toc-title {
  font-weight: bold;
  color: #fff;
  margin-top: 0px;
  margin-bottom: 10px;
  background-color: #0077aa;
  padding: 3px 20px;
  font-size: 1.2em;
}

.article-toc ol {
  margin: 0;
  padding-left: 20px;
  list-style-type: decimal;
  padding: 0px 20px 16px 40px;
}

.article-toc ol li {
  margin-bottom: 8px;
}

.article-toc .toc-number {
  font-weight: bold;
  color: #0077aa;
}

.article-toc a {
  text-decoration: none;
  color: #0077aa;
}

.article-toc a:hover {
  text-decoration: underline;
}

.toc-level-2 {
  margin-left: 1em;
  font-size: 0.82em;
}

.article-index-list {
  padding-left: 20px;
  margin: 30px 0;
}

.article-index-list li {
  margin-bottom: 10px;
  font-size: 1em;
}

.article-index-list a {
  color: #0077aa;
  text-decoration: none;
}

.article-index-list a:hover {
  text-decoration: underline;
}

.guide-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 0 20px;
  background-color: #fff;
  color: #333;
}

.guide-title {
  font-size: 1.6em;
  margin-bottom: 1em;
  text-align: center;
  border-bottom: 2px solid #ddd;
  padding-bottom: 10px;
  color: #222;
}

.guide-section {
  margin-bottom: 2.5em;
}

.guide-section h2 {
  font-size: 1.25em;
  color: #444;
  margin-bottom: 0.5em;
  border-left: 5px solid #90E2E4;
  padding: 7px 0 7px 12px;
  background-color: #eee;
}

.guide-section h3 {
  font-size: 1.1em;
  color: #555;
  margin-top: 1.2em;
  margin-bottom: 0.4em;
  border-bottom: solid #cce4ff;
  padding-left: 10px;
}

.guide-section p {
  line-height: 1.8;
  font-size: 1em;
  letter-spacing: -0.5px;
}

.guide-list {
  padding-left: 1.5em;
  list-style: disc;
  line-height: 1.8;
  font-size: 1em;
}

.re-search-note {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  margin: 24px 0;
}

.re-search-note a {
  color: #0073aa;
  text-decoration: underline;
}

.re-search-note a:hover {
  text-decoration: none;
}

/* 今度消す */
.guide-links {
  text-align: center;
  display: flex;
  justify-content: center;
}

/* 今度消す */
.guide-link-button {
  display: inline-block;
  background-color: #21ACDC;
  color: #fff;
  text-decoration: none;
  padding: 12px 10px;
  margin: 10px;
  border-radius: 6px;
  transition: background-color 0.2s, color 0.2s;
  font-size: 15px;
}

/* 今度消す */
.guide-link-button:hover {
  background-color: #4FBCE4;
  color: #fff;
}

.scene-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.95em;
  background-color: #fff;
  border: 1px solid #ddd;
}

.scene-table th,
.scene-table td {
  padding: 12px 16px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
}

.scene-table thead {
  background-color: #f2f7fb;
  color: #333;
  font-weight: bold;
}

.scene-table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.season-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.95em;
  background-color: #fff;
  border: 1px solid #ddd;
}

.season-table th,
.season-table td {
  padding: 12px 16px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
}

.season-table th:first-child,
.season-table td:first-child {
  min-width: 80px;
  white-space: nowrap;
}

.season-table thead {
  background-color: #f2f7fb;
  color: #333;
  font-weight: bold;
}

.season-table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.similar-level {
  padding-left: 20px;
  margin: 0;
}

.stars-outer {
  position: relative;
  display: inline-block;
  font-family: Arial, sans-serif;
  font-size: 1.2em;
  color: #ccc;
  /* 背景の星 */
  letter-spacing: 2px;
}

.stars-outer::before {
  content: "★★★★★";
}

.stars-inner {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #ffc107;
  /* 塗りつぶしの色 */
  letter-spacing: 2px;
}

.stars-inner::before {
  content: "★★★★★";
}

.notes-list {
  list-style: none;
  margin: 0 0 20px 0;
  padding-left: 20px;
  letter-spacing: -0.5px;
}

.ec-buttons-article {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  margin-left: 0;
  justify-content: center;
}

.similar-image {
  text-align: center;
  margin-bottom: 1em;
}

.similar-image img.perfume-img-article {
  height: 150px;
  width: auto;
  display: block;
  margin: 0 auto;
}

.image-credit-article {
  font-size: 0.7em;
  color: #777;
  margin-top: 6px;
  line-height: 1.2;
  max-width: 150px;
  word-break: break-word;
  display: inline-block;
}

.image-credit-article a {
  text-decoration: none;
  color: #777;
}

.howtosearch-image {
  text-align: center;
  margin-bottom: 1em;
}

.howtosearch-image img {
  width: 500px;
  height: auto;
}

.site-hikaku {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.95em;
  background-color: #fff;
  border: 1px solid #ddd;
  white-space: nowrap;
}

.site-hikaku th,
.site-hikaku td {
  padding: 12px 16px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
}

.site-hikaku th:first-child,
.site-hikaku td:first-child {
  min-width: 80px;
  white-space: nowrap;
}

.site-hikaku thead {
  background-color: #f2f7fb;
  color: #333;
  font-weight: bold;
}

.site-hikaku tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.howtosearch-list {
  border: solid 2px #ffb03f;
  padding: 0.5em 1em 0.5em 2.3em;
  position: relative;
}

.howtosearch-list li {
  line-height: 1.5;
  padding: 0.5em 0;
  list-style-type: none!important;/*ポチ消す*/
}

.howtosearch-list i {
  color: #ffb03f;
}

.guide-links i {
  color: #fff;
}

.related-article-list {
  list-style: none;
  padding-left: 0;
  margin: 1em 0 2em;
}

.related-article-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 12px;
}

.related-article-item a {
  display: flex;
  text-decoration: none;
  color: inherit;
  gap: 16px;
}

.related-thumb {
  width: 120px;
  height: 75px;
  object-fit: cover;
  border: 1px solid #ccc;
  flex-shrink: 0;
}

.related-text {
  display: flex;
  flex-direction: column;
}

.related-title {
  font-weight: bold;
  margin-bottom: 4px;
  font-size: 14px;
}

.related-date {
  font-size: 0.85rem;
  color: #777;
}

.footer-article-section {
  margin: 0px auto 20px auto;
  max-width: 800px;
}

.footer-article-heading {
  font-size: 18px;
  margin-bottom: 16px;
  border-left: solid 4px #ccc;
  padding: 0.25em 0.5em;
}

/* グリッド：2列×3行 */
.footer-article-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0px 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 各記事項目：リンク全体が横並び（左サムネ・右テキスト） */
.footer-article-item a {
  display: flex;
  align-items: center;
  text-decoration: none;
  background: #fff;
  padding: 8px;
  transition: box-shadow 0.2s ease;
}

.footer-article-item a:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* サムネイル画像 */
.footer-thumb {
  width: 140px;
  height: 80px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #ccc;
}

/* テキスト部分 */
.footer-article-text {
  padding-left: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-title {
  font-size: 15px;
  font-weight: bold;
  color: #333;
  margin-bottom: 6px;
  line-height: 1.4;
}

.footer-date {
  font-size: 13px;
  color: #888;
}

/* 著者ボックスのベース */
.author-inner{
  display: grid;
  grid-template-columns: 120px 1fr;
  grid-column-gap: 16px;
  align-items: start;
  padding: 16px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fafafa;
  margin-bottom: 24px;
}

/* 左側：アイコンだけ */
.author-icon{
  grid-column: 1;
  grid-row: 1 / 3; /* 縦に2行分占有 → 右側の name＋text と高さ合わせ */
}

.author-icon img{
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}

/* 右側：著者名（テキストの上） */
.author-name{
  grid-column: 2;
  grid-row: 1;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

/* 右側：本文 */
.author-text{
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  line-height: 1.9;
  color: #333;
  font-size: 0.95rem;
}

/* タグページ */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.article-item {
  display: flex;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.article-item img {
  width: 150px;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

.article-info h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

.article-info a {
  text-decoration: none;
  color:#333;
}

.article-info a:hover {
  color: #21ACDC;
}

.article-info .article-date {
  color: #777;
  font-size: 14px;
}

.brand-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em;
}

.brand-list li {
  background: #f5f5f5;
  padding: 5px 10px;
  border-radius: 6px;
}

.brand-list li a {
  text-decoration: none;
  color: #333;
}

.similar-link {
  font-size: 0.9em;
  color: #555;
  margin-left: 0.25em;
}

.similar-link a {
  color: #0077aa;
  text-decoration: none;
}

.similar-link a:hover {
  text-decoration: none;
}

.brand-name {
  padding-left: 20px;
  margin: 0;
}

.brand-name a {
  color: #0077aa;  
  text-decoration: none;
}

.price-size {
  padding-left: 20px;
  margin: 0;
}

.article-date {
  font-size: 0.85em;
  color: #666;
}

.fa-regular {
  margin-right: 5px;
}

h1 + .article-date::before{
  content: "PR";
  display: inline-block;
  margin-right: 8px;
  padding: 2px 6px;
  border: 1px solid currentColor; /* 文字色と同じ枠色 */
  border-radius: 3px;
  font-size: 0.85em;
  line-height: 1;
  vertical-align: middle;
}

.intro-search-note {
  margin: 12px 0 20px;
  padding: 10px 12px;
  background: #f7f7f7;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #555;
}

.intro-search-note a {
  font-weight: 600;
}

.similar2-heading, .related-heading {
  margin-top: 24px;
  font-weight: 700;
  font-size: 1em;
  letter-spacing: 0.02em;
}

.similar2-sub {
  font-weight: 400;
  font-size: 0.95em;
  color: #666;
}

.similar2-note {
  margin-top: 4px;
  font-size: 13px;
  color: #888;
}

/* リスト全体 */
.similar-perfumes-2 {
  margin-top: 10px;
  margin-bottom: 20px;
}

.similar2-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #eee;
}

/* 各行 */
.similar2-list li {
  border-bottom: 1px solid #eee;
}

/* リンク：背景は付けない。行として見せる */
.similar2-list li a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;

  padding: 10px 2px 10px 10px;
  text-decoration: none;
  color: #222;
  line-height: 1.5;
}

/* 左の細いアクセントで“情報ブロック感”だけ出す */
.similar2-list li a {
  border-left: 3px solid #ddd;
}

/* 文字側（ブランド＋香水名）が伸びる */
.similar2-list li a .similar2-name {
  flex: 1;
  min-width: 0;
}

/* 類似度：右寄せ・小さめ・落ち着いた強調 */
.similar2-list li a .similar2-score {
  flex: 0 0 auto;
  font-size: 12px;
  color: #555;
  white-space: nowrap;
}

/* hover：背景ベタ塗りはせず、線と下線で反応 */
.similar2-list li a:hover {
  border-left-color: #999;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 右端にさりげない矢印（アンケの“選択肢枠”感を避けるため控えめ） */
.similar2-list li a::after {
  content: "›";
  flex: 0 0 auto;
  color: #888;
  margin-left: 6px;
}

.related-one a {
  color: #0077aa;  
  text-decoration: none;
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 40
}

.material-symbols-outlined {
  font-size: 13px;
  vertical-align: middle;
}

.article-tags {
  margin: 6px 0 14px;
}

.article-tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  background: #f0f0f0;
  color: #555;
  margin-right: 6px;
}

/* ===============================
   フローティング検索ボタン
   =============================== */

.floating-search-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  width: 120px;                /* 丸ボタン全体のサイズ */
  height: 120px;
  background: #ffd70d;        /* 黄色背景 */
  border-radius: 50%;         /* 完全な丸 */
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;           /* ←画像がはみ出すのを防ぐため重要！ */
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

/* リンク要素が丸ボタンの中で中央揃え */
.floating-search-btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* アイコン画像サイズ（400px画像用に最適化） */
.floating-search-btn img {
  width: 70%;     /* ←400pxアイコンなら「70%」が最も自然に見える */
  height: auto;
  display: block;
}

.brand-h3 {
  border-bottom: solid 1px #ccc;
}

/* hover時の効果（PCのみ） */
@media (hover: hover) {
  .floating-search-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.28);
  }
}


@media (max-width: 768px) {
  .guide-title {
    font-size: 1.2em;
  }

  .guide-section h2 {
    font-size: 1.2em;
  }

  .guide-section h3 {
    font-size: 1.1em;
  }

  .toc-title {
    font-size: 1.1em;
  }

  .article-toc ol {
    padding-left: 20px;
    font-size: 14px;
  }

  .notes-list {
    font-size: 14px;
  }

  .ec-buttons-article {
    flex-wrap: wrap;
    width: 100%;
    gap: 6px;
    margin-top: 10px;
    padding-left: 0px;
  }

  .howtosearch-table{
    overflow-y: scroll;
  }

  .howtosearch-list {
    padding: 0.5em 1em 0.5em 1em;
  }

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

  .related-title {
  font-size: 13px;
  }

  .footer-article-section {
  margin: 0px 20px;
  }

  .footer-article-list {
    grid-template-columns: 1fr;
  }

  .footer-thumb {
    width: 120px;
    height: 70px;
  }
  
  .footer-title {
  font-size: 13px;
  }

  .author-inner{
    grid-template-columns: 1fr;
    grid-row-gap: 12px;
    text-align: left;
  }

  .author-icon{
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
  }

  .author-name{
    grid-column: 1;
    grid-row: 2;
    text-align: center;
    margin-top: 4px;
    font-size: 14px;
  }

  .author-text{
    grid-column: 1;
    grid-row: 3;
    font-size: 13px;
  }

  .article-item {
    padding-bottom: 5px;
  }

  .article-item img {
    width: 120px;
  }

  .article-info h3 {
    font-size: 15px;
  }

  .article-info .article-date {
    font-size: 12px;
    margin: 2px;
  }

  .brand-h2 {
    font-size: 17px;
  }

  .brand-name {
    font-size: 14px !important;
  }

  .price-size {
    font-size: 14px !important;
  }

  .floating-search-btn {
    width: 100px;
    height: 100px;
    right: 14px;
    bottom: 14px;
  }
  .floating-search-btn img {
    width: 75%;   /* スマホでは少し大きめにして視認性UP */
  }

  .guide-article .ec-actions {
    margin-left: 0;
    margin-right: 0; /* 必要なら */
  }

  .similar2-list {
    font-size:  0.9em;
  }

  .related-one {
    font-size: 0.9em;
  }
}