body {
  margin: 0 5px;
  padding: 0;
  color: #272727;
  font-family: "Noto Sans JP", "Hiragino Sans", "Meiryo", sans-serif;
}
/* =========================
   ヘッダー全体
   ========================= */
.site-header {
  background: #00248d;
  color: #fff;
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.logo img {
  height: 100px;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: auto;
}
/* 検索フォーム */
.search-form {
  display: flex;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
}
.search-form input {
  border: none;
  padding: 8px 12px;
  font-size: 0.9rem;
  outline: none;
}
.search-form button {
  background: transparent;
  border: none;
  padding: 0 10px;
  cursor: pointer;
}
/* SNSアイコン */
.sns-icon {
  color: #fff;
  font-size: 1.3rem;
  margin-left: 15px;
  transition: opacity 0.3s;
}
.sns-icon:hover {
  opacity: 0.7;
}
/* =========================
   PCナビゲーション
   ========================= */
.header-nav {
  background: #00248d;
  border-bottom: 1px solid #fff3;
  display: block;
  width: 100%;
}
.header-nav ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 80px;
  margin: 0;
  padding: 16px 0;
  list-style: none;
}
.header-nav li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  transition: 0.3s;
}
.header-nav li a:hover {
  text-decoration: underline;
}
/* （今はHTMLにないけど）PCで翻訳を置く用のラッパー */
.header-nav__translate {
  margin-left: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Language ラベル */
.translate-label {
  margin-bottom: 15px;
  font-size: 0.75rem;
  color: #fff;
  transition: color 0.3s ease;
}
.mobile-language {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 15px;
}
.mobile-language .translate-label {
  margin-top: 4px;
}
.mobile-language-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  margin-left: 12px;
}
.mobile-language-btn .translate-label {
  font-size: 0.7rem;
  margin-top: 3px;
  opacity: 0.9;
}
/* =========================
   モバイルメニュー共通
   ========================= */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  cursor: pointer;
  margin-left: auto;
}
.hamburger span {
  height: 3px;
  background: #fff;
  border-radius: 2px;
}
/* モバイルスライドメニュー */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background: #00248d;
  padding: 60px 20px;
  transition: right 0.3s ease;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-menu.open {
  right: 0;
}
.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-nav-links li a {
  color: #fff;
  font-size: 1.1rem;
  text-decoration: none;
  font-weight: bold;
}
/* モバイルSNS */
.mobile-social {
  display: flex;
  gap: 16px;
  font-size: 1.4rem;
  align-items: center;
}
.mobile-social,
.mobile-social a,
.mobile-social i,
.mobile-social svg {
  color: #fff !important;
  fill: #fff !important;
  transition: color 0.2s, fill 0.2s;
}
/* モバイルの翻訳ブロック（使うなら） */
.mobile-menu__translate {
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mobile-menu__translate .translate-label {
  margin-top: 6px;
  font-size: 0.85rem;
}
/* 問い合わせリンクの強調 */
.header-nav a.contact-link,
.mobile-nav-links a.contact-link {
  color: #ecb000;
  font-weight: bold;
}
.contact-link:hover {
  color: #ecb000;
  text-decoration: underline;
}
/* =========================
   モバイルレイアウト
   ========================= */
@media (max-width: 768px) {
  .header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .logo img {
    height: 55px;
    padding: 30px 10px;
  }
  .header-tools {
    display: none !important;
  }
  .header-nav {
    display: none !important;
  }
  /* Google翻訳アイコンを少し横長に */
  #google_translate_element .goog-te-gadget-simple a {
    width: 45px;
    height: 35px;
  }
  /* 並び順：ロゴ → Language → ハンバーガー */
  .logo {
    order: 1;
  }
  .mobile-language {
    display: none !important;
  }
  .hamburger {
    display: block;
    order: 3;
    flex-shrink: 0;
  }
  .hamburger span {
    display: block;
    height: 3px;
    background: #fff;
    margin: 5px 0;
  }
  .site-logo {
    flex-shrink: 0;
  }
  /* モバイルメニュー閉じるボタン */
  .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
  }
}

/* ===== レートバー ===== */
.rate-marquee {
  overflow: hidden;
  background: #000;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  white-space: nowrap;
  color: #fff;
}
.rate-track {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 30s linear infinite;
}
.rate-item {
  display: inline-block;
  padding: 10px 30px;
  font-weight: bold;
  font-size: 0.95rem;
  white-space: nowrap;
}
.price-up {
  color: #00e676;
}
.price-down {
  color: #ff3d00;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
@media (max-width: 768px) {
  .single-rate-marquee {
    margin-top: 125px;
  }
}
/* ===== Hero ===== */
.hero {
  background: url('../img/Hero-pc.png') center center/cover no-repeat;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  margin-left: auto;
  margin-right: 10vw;
  text-align: center;
}
.hero-title {
  font-size: clamp(1.4rem, 6vw, 2.5rem);
  line-height: 1.4;
  margin-bottom: 30px;
}
/* ===== Hero CTAエリア ===== */
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
}
.hero-caption {
  font-size: 1rem;
  color: #fff;
  opacity: 0.85;
}
.hero-main-btn i {
  margin-right: 10px;
  font-size: 22px;
  vertical-align: middle;
}
.hero-main-btn {
  background: linear-gradient(
    135deg,
    #00e600 0%,
    #00b900 100%
  );
  color: #fff;
  padding: 20px 50px;
  font-size: 19px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 8px 20px rgba(0, 185, 0, 0.35);
  transition: 
    transform 0.25s ease, 
    box-shadow 0.3s ease,
    background 0.3s ease;
  display: inline-block;
  position: relative;
}
.hero-main-btn:hover {
  background: linear-gradient(
    135deg,
    #39ff39 0%,
    #00d200 100%
  );
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 185, 0, 0.45);
}
.hero-main-btn:active {
  transform: translateY(1px);
  box-shadow: 0 4px 10px rgba(0, 185, 0, 0.3);
}
@media (max-width: 768px) {
  .site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    transition: transform 0.3s ease;
  }
  .hide-header {
    transform: translateY(-100%);
  }
  body {
    padding-top: 80px;
  }
  .hero {
    background: url('../img/Hero-sp.png') center center / cover no-repeat;
    min-height: calc(80vh - 80px);
    height: auto;
    margin-top: 0;
    padding: 0 16px;
  }
  .hero-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 8px;
    text-align: center;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
  }
  .hero-title {
    font-size: 1.3rem;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  .hero-main-btn {
    font-size: 15px;
    padding: 14px 26px;
    border-radius: 999px;
    max-width: 90vw;
    width: auto;
    white-space: nowrap;
  }
  .hero-main-btn i {
    font-size: 18px;
    margin-right: 8px;
  }
  .hero-caption {
    font-size: 0.9rem;
  }
}
/* ===== 人気記事エリア ===== */
.popular-slider-section {
  background: #f4f7fe;
  padding: 60px 20px;
  position: relative;
}
.popular-slider-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.popular-slider-container .section-title {
  font-size: 24px;
  margin-bottom: 25px;
  color: #272727;
  font-weight: 700;
}
.popular-slider-container .swiper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.popular-slider-container .swiper-slide {
  list-style: none;
}
.popular-slider-container .post-card {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  color: inherit;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.popular-slider-container .post-card:hover {
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}
.popular-slider-container .thumb {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}
.popular-slider-container .thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
/* カテゴリバッジ */
.popular-slider-container .cat-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #ecb000;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8em;
}
/* 日付・タイトル・タグ */
.popular-slider-container .post-meta {
  padding: 4px 4px 2px;
  font-size: 13px;
  font-weight: 500;
  color: #272727;
}
.popular-slider-container .post-title {
  padding: 0 4px 6px;
  font-weight: bold;
  font-size: 1em;
  line-height: 1.4;
}
.popular-slider-container .post-tags {
  padding: 0 4px 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.popular-slider-container .post-tags .tag {
  background: #ecb000;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8em;
}
/* ===== 記事一覧エリア ===== */
.top-category-posts {
  padding: 48px 0;
  background: #fff;
}
.container {
  max-width: 1200px;
  margin: auto;
}
/* グリッドはそのまま */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 36px;
  margin-bottom: 32px;
}
/* ▼カード本体：通常は透明でカード感を消す */
.post-card {
  border-radius: 16px;
  padding: 12px;
  background: transparent;
  box-shadow: none;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
  display: flex;
  flex-direction: column;
  min-height: 360px;
}
/* 中のリンクをカードいっぱいに広げる */
.post-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
/* ▼ホバー時にだけカード化＆浮かせる */
.post-card:hover {
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}
/* サムネはカード内側に収めるイメージ */
.post-card .thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e7eaf3;
  position: relative;
  border-radius: 12px;
  margin-bottom: 10px;
}
.post-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* カテゴリバッジ */
.cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ecb000;
  color: #fff;
  font-size: 0.88em;
  border-radius: 4px;
  padding: 2px 8px;
  font-weight: bold;
  box-shadow: 0 1px 6px #0002;
  letter-spacing: 0.02em;
}
/* 日付・タイトル・タグまわりは少しだけ余白調整 */
.post-meta {
  color: #272727;
  padding: 4px 4px 0;
  font-size: 12px;
}
.post-title {
  padding: 6px 4px 4px;
  font-size: 1.07em;
  color: #111;
  font-weight: bold;
  line-height: 1.4;
  min-height: 56px;
}
.single-post-title {
  padding: 8px 22px 4px 22px;
  font-size: 2em;
  font-weight: bold;
  line-height: 1.4;
  min-height: 56px;
}
.post-tags {
  padding: 2px 4px 8px;
  margin-top: 3px;
}
.post-tags .tag {
  display: inline-block;
  background: #ecb000;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: .8em;
  margin-right: 5px;
  margin-bottom: 2px;
  font-weight: bold;
  letter-spacing: 0.02em;
  transition: background 0.18s, color 0.18s;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 36px 0;
  flex-wrap: wrap;
  font-size: 1.07em;
}
.pagination a,
.pagination span {
  display: inline-block;
  padding: 10px 18px;
  color: #fff;
  background: #ecb000;
  border-radius: 24px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.18s;
  box-shadow: 0 2px 6px #0001;
  min-width: 40px;
  text-align: center;
  margin: 0 2px;
}
/* 現在のページ */
.pagination .current {
  background: linear-gradient(
    135deg,
    #ffdf47 0%,
    #edc000 100%
  );
  color: #fff;
  pointer-events: none;
  border: none;
  box-shadow: 0 4px 18px rgba(237, 192, 0, 0.35);
}
/* ホバー時 */
.pagination a:hover {
  background: #ecb000;
  color: #fff;
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 6px 20px #0263ea22;
}
.pagination a:first-child,
.pagination a:last-child {
  font-size: 1.03em;
  padding: 10px 18px;
}
.category-tabs {
  text-align: center;
  margin: 70px 0;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.category-tabs a {
  display: inline-block;
  min-width: 120px;
  margin: 10px;
  padding: 15px 30px;
  background: #ecb000;
  border-radius: 10px;
  color: #fff;
  font-weight: bold;
  font-size: 1.07em;
  text-decoration: none;
  box-shadow: 0 2px 8px #0001;
  transition: background .18s, color .18s, transform .18s;
  letter-spacing: 0.03em;
}
.category-tabs a:hover {
  background: linear-gradient(
    135deg,
    #ffdf47 0%,
    #edc000 100%
  );
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 18px rgba(237, 192, 0, 0.35);
}
.swiper-wrapper {
  display: flex;
  align-items: stretch;
}
.swiper-slide {
  display: flex;
  align-items: stretch;
  height: auto !important;
}
@media (max-width: 900px) {
  .container {
    padding: 0 12px;
  }
  .post-grid {
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .category-tabs a {
    min-width: 80px;
    padding: 10px 18px;
    font-size: 0.98em;
  }
  .post-grid {
    grid-template-columns: 1fr;
  }
  .category-tabs-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }
  .category-tabs-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
  }
  .category-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .category-tabs a {
    flex: 0 0 auto;
  }
}
/* ===== フィナンシェ特集エリア ===== */
.feature-banner {
  background-color: #efffff;
  padding: 60px 20px;
}
.feature-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.feature-banner__img {
  max-width: 100%;
  height: auto;
  width: 600px;
  display: inline-block;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
.feature-banner__inner a {
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-banner__inner a:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
@media (max-width: 768px) {
  .feature-banner__img {
    width: 80%;
  }
}
@media (max-width: 480px) {
  .feature-banner {
    padding: 40px 10px;
  }
  .feature-banner__img {
    width: 100%;
  }
}
/* ===== CTAエリア ===== */
.cta-section {
  background: url('../img/CTA-pc.png') center center/cover no-repeat;
  color: #fff;
  padding: 60px 20px;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cta-text {
  max-width: 600px;
}
.cta-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 10px;
}
.cta-desc {
  font-size: 1rem;
  margin-bottom: 20px;
}
.cta-buttons {
  display: flex;
  flex-direction: column; /* ← 縦に並べる！ */
  gap: 15px;
  align-items: center;
  margin-top: 20px;
}
.btn {
  display: inline-block;
  padding: 16px 30px; /* ← 縦横に広め */
  border-radius: 40px;
  font-size: 1.05rem; /* ← 通常よりやや大きめ */
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  max-width: 100%;
  width: 100%;
  max-width: 300px;
}
.btn.orange {
  background: linear-gradient(
    135deg,
    #edc000 0%,
    #c79600 100% 
  );
  color: #fff;
  box-shadow: 0 4px 12px rgba(237, 192, 0, 0.35);
  transition: all 0.3s ease;
  font-weight: bold;
}
.btn.orange:hover {
  transform: translateY(-2px);
  background: linear-gradient(
    135deg,
    #ffdf47 0%,
    #edc000 100%
  );
  box-shadow: 0 6px 18px rgba(237, 192, 0, 0.5);
}
.btn.white {
  color: #272727;
  background: #fff;
  border: 3px solid #edc000;
  font-weight: bold;
  transition: all 0.3s ease;
}
.btn.white:hover {
  background: #fff8cc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(237, 192, 0, 0.25);
}
/* SP背景切り替え */
@media (max-width: 768px) {
  .cta-section {
    background: url('../img/CTA-sp.png') center center/cover no-repeat;
  }
}
/* ===== Footer ===== */
.site-footer {
  background: #00248d;
  padding-top: 40px;
  font-size: 0.9rem;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}
.footer-home {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #f0f0f0;
  font-weight: bold;
  margin-bottom: 10px;
}
.footer-home img {
  width: 310px;
  height: auto;
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.footer-links li {
  margin: 0;
  list-style: none;
}
.footer-links a {
  padding: 0.5rem 0.75rem;
  display: inline-block;
  text-decoration: none;
  color: #f0f0f0;
  font-weight: 500;
}
.footer-bottom {
  text-align: center;
  padding: 20px 10px;
  background: #00248d;
}
.footer-bottom .copyright {
  color:  #fff;
  font-size: 0.85rem;
}
@media (max-width: 768px) {
  .footer-nav {
    padding: 0 16px;
  }
  .footer-links {
    flex-direction: column !important;
    gap: 12px;
    align-items: center;
  }
  .footer-links li {
    width: 100%;
    text-align: center;
  }
  .footer-links a {
    display: block;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }
}


/* ================================== single.php ================================== */
/* ======= 構成ベース ========= */
.layout-two-col {
  display: grid;
  grid-template-columns: 800px 400px;
  column-gap: 32px;
  margin: 0 auto;
  padding: 24px 0;
  max-width: 1220px;
}
.single-article {
  background: #fff;
}
/* ======= パンくず ========= */
.breadcrumbs {
  font-size: 0.98em;
  color: #16336f;
  margin-bottom: 12px;
}
/* ======= 記事タイトル ========= */
.post-title {
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 18px;
  color: #222;
}
/* ======= メタ情報（日付・カテゴリ）========= */
.post-meta {
  font-size: 0.96em;
  margin-bottom: 6px;
}
/* ====== アイキャッチ ======== */
.eyecatch img,
.eyecatch .wp-post-image {
  border-radius: 12px;
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  box-shadow: 0 2px 16px #0001;
}
/* ======= 本文 ======== */
.post-content {
  font-size: 1.06em;
  line-height: 1.8;
  color: #222;
  margin-bottom: 28px;
}
/* ======= 注意書き・PRラベル ========== */
.notice {
  background: #fffcf0;
  padding: 14px 20px 30px 20px;
  border-left: 4px solid #ffc107;
  color: #222;
  border-radius: 4px;
  margin: 30px 0 10px;
  font-size: 0.96em;
  line-height: 1.6;
  text-align: left;
}
.notice-lead {
  font-weight: bold;
  margin-bottom: 4px;
  color: #111;
}
.notice-sub {
  margin: 0;
  font-size: 0.95em;
  color: #444;
}
@media screen and (max-width: 768px) {
  .notice {
    padding: 12px 14px;
    font-size: 0.92em;
    border-left: 3px solid #ffc107;
  }
  .notice-lead {
    font-size: 0.9em;
    margin-bottom: 6px;
  }
  .notice-sub {
    font-size: 0.8em;
  }
}
/* =======================================
   監修者セクション（dynamic supervisor）
======================================= */
.author-section {
  background: #fff;
  padding: 60px 20px;
}
.author-container {
  max-width: 720px;
  margin: auto;
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 12px 32px rgba(236, 176, 0, 0.20);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  transition: box-shadow 0.25s ease;
}
.author-container:hover {
  box-shadow: 0 16px 44px rgba(236, 176, 0, 0.28);
}
.author-icon {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.author-icon img.author-img {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  margin: 0 auto;
  object-fit: cover;
  border: 3px solid rgba(236, 176, 0, 0.35);
  box-shadow: 0 6px 20px rgba(236, 176, 0, 0.18);
}
.author-info {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.author-name {
  font-size: 1.5rem;
  font-weight: 900;
  color: #00248d;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  padding-bottom: 6px;
  border-bottom: 2px solid #ecb00044;
}
.author-bio {
  font-size: 1rem;
  color: #272727;
  line-height: 1.8;
  text-align: left;
  margin-top: 10px;
}
.author-social {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 15px;
}
.sns {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  text-decoration: none;
  transition: 0.3s ease;
}
.sns:hover {
  transform: scale(1.1);
  opacity: 0.85;
}
@media (max-width: 900px) {
  .author-container {
    padding: 28px 18px;
    gap: 20px;
  }
  .author-icon img.author-img {
    width: 160px;
    height: 160px;
  }
  .author-bio {
    font-size: 0.95rem;
  }
}
@media (max-width: 600px) {
  .author-section {
    padding: 24px 0;
  }
  .author-container {
    border-radius: 14px;
    padding: 20px 16px;
    gap: 18px;
  }
  .author-icon img.author-img {
    width: 130px;
    height: 130px;
  }
  .author-name {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }
  .author-bio {
    font-size: 13px;
    line-height: 1.9;
    padding: 0 6px;
  }
  .sns {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
}

/* ======= 関連記事 ========== */
.card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.card {
  width: 260px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px #0002;
  overflow: hidden;
  transition: box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: 0 4px 16px #0003;
}
.card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  margin-bottom: 0;
}
.card a {
  color: #16336f;
  text-decoration: none;
  font-size: 1em;
  transition: color .2s;
}
.card a:hover {
  color: #0263ea;
}
@media (max-width: 400px) {
  .related-articles .card {
    width: 95vw;
    min-width: unset;
  }
  .related-articles .card-list {
    display: flex;
    flex-direction: column;
    align-items: center;  
    gap: 20px;
  }
  .related-articles .card {
    width: 320px;
    margin: 0 auto;
  }
}
/* ======= ページネーション ========== */
.post-navigation {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 56px 0 44px 0;
  font-size: 1.08em;
}
.post-navigation .nav-btn {
  flex: 0 0 210px;
  display: flex;
  justify-content: center;
}
.post-navigation a {
  color: #fff;
  background: linear-gradient(
    135deg,
    #ffe98d 0%,
    #edc000 100%
  );
  padding: 13px 32px;
  border-radius: 28px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.08em;
  box-shadow: 0 3px 12px rgba(237, 192, 0, 0.28);
  transition:
    transform .25s ease,
    background .25s ease,
    box-shadow .25s ease;
  display: inline-block;
  text-align: center;
  min-width: 120px;
}
.post-navigation a:hover {
  background: linear-gradient(
    135deg,
    #ffdf47 0%,
    #edc000 100% 
  );
  transform: translateY(-3px) scale(1.05);
  color: #fff;
  box-shadow: 0 6px 20px rgba(237, 192, 0, 0.45);
}
/* ======= カテゴリー一覧 ========== */
.categories {
  margin: 38px 0 34px 0;
}
/* ▼カテゴリボタン（通常時：落ち着いた月の金色） */
.categories a {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(
    135deg,
    #ffe98d 0%,   /* 月光のやわらぎ */
    #edc000 100%  /* 本来の月の黄金 */
  );
  color: #fff;
  border-radius: 15px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.97em;
  margin: 10px;
  letter-spacing: 0.02em;
  justify-content: center;
  transition:
    background .25s ease,
    color .25s ease,
    box-shadow .25s ease,
    transform .25s ease;
  box-shadow: 0 3px 12px rgba(237, 192, 0, 0.28);
}
/* ▼ホバー時（月光が強まってふわっと浮く） */
.categories a:hover {
  background: linear-gradient(
    135deg,
    #ffdf47 0%,  /* より明るい月光 */
    #edc000 100%
  );
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(237, 192, 0, 0.45);
}
/* ▼カテゴリタブ全体のラップ */
.category-tab-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}
/* ▼小さめのカテゴリタブ（通常時） */
.category-tab-btn {
  display: inline-block;
  padding: 8px 24px;

  background: linear-gradient(
    135deg,
    #ffe98d 0%,
    #edc000 100%
  );
  color: #fff;
  border-radius: 24px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.97em;
  letter-spacing: 0.02em;
  transition:
    background .25s ease,
    color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
  box-shadow: 0 3px 10px rgba(237, 192, 0, 0.28);
}
.category-tab-btn:hover,
.category-tab-btn.active {
  background: linear
}
/* ======= 広告バナー ========== */
.ad-banner {
  margin: 28px 0;
  border-radius: 10px;
  box-shadow: 0 2px 12px #0001;
  background: #f8fafd;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90px;
  min-width: 320px;
  position: static !important;
}
/* ======= 検索バー ========== */
.custom-search-form {
  display: flex;
  align-items: center;
  background: #fffceb;
  border-radius: 15px;
  box-shadow: 0 4px 16px rgba(237, 192, 0, 0.25), 
              0 1.5px 8px rgba(0, 0, 0, 0.08);
  padding: 5px 8px 5px 20px;
  max-width: 440px;
  margin: 0 auto;
  transition: box-shadow .25s;
}
.custom-search-form:focus-within {
  box-shadow: 0 6px 28px rgba(237, 192, 0, 0.45);
}
.custom-search-form input[type="search"] {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 1.05em;
  padding: 11px 10px;
  color: #222;
  border-radius: 15px 0 0 15px;
  font-family: inherit;
}
.custom-search-form input[type="search"]::placeholder {
  color: #bfae75;
  font-size: 1em;
}
.custom-search-form button {
  display: flex;
  align-items: center;
  gap: 6px;

  background: linear-gradient(
    135deg,
    #ffdf47 0%,
    #edc000 100%
  );
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 0 15px 15px 0;
  padding: 10px 22px;
  font-size: 1.04em;
  cursor: pointer;

  transition: background .25s, box-shadow .25s, transform .2s;
  box-shadow: 0 2px 8px rgba(237, 192, 0, 0.35);
}
.custom-search-form button:hover {
  background: linear-gradient(
    135deg,
    #ffeb80 0%,
    #edc000 100%
  );
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(237, 192, 0, 0.45);
}
.search-icon {
  display: flex;
  align-items: center;
  margin-right: 2px;
  color: #fff;
}
.search-section {
  margin: 45px 0;
}
@media (max-width: 900px) {
  .card-list {
    gap: 10px;
  }
  .card {
    width: 47%;
    min-width: 180px;
  }
}
@media (max-width: 600px) {
  .single-article {
    padding: 0 5px;
  }
  .card {
    width: 100%;
    min-width: unset;
  }
}
@media (max-width: 900px) {
  .single-article {
    max-width: 100%;
    padding: 0 8px;
  }
  .card-list {
    gap: 12px;
  }
  .card {
    width: 47%;
    min-width: 170px;
    font-size: 0.98em;
  }
  .post-navigation {
    gap: 18px;
  }
}
@media (max-width: 700px) {
  .post-title {
    font-size: 1.1em;
  }
  .card {
    width: 100%;
    min-width: unset;
    margin-bottom: 16px;
  }
  .card-list {
    gap: 8px;
    flex-direction: column;
  }
  .ad-banner img {
    max-width: 95vw;
    height: auto;
  }
  .post-navigation a {
    padding: 10px 0;
    font-size: 0.96em;
    min-width: 90px;
  }
  .category-tab-wrap {
    gap: 6px;
  }
  .category-tab-btn {
    font-size: 0.96em;
    padding: 7px 12px;
  }
  .notice {
    font-size: 0.97em;
    padding: 10px 8px;
  }
}
@media (max-width: 500px) {
  .single-article {
    padding: 0 2px;
    font-size: 0.97em;
  }
  .card-list {
    gap: 6px;
  }
  .post-title {
    font-size: 1em;
  }
  .post-meta {
    font-size: 0.91em;
  }
  .eyecatch img,
  .eyecatch .wp-post-image {
    border-radius: 8px;
  }
  .post-navigation {
    flex-direction: column;
    gap: 10px;
    margin: 30px 0 20px 0;
  }
  .post-navigation .nav-btn {
    width: 100%;
    flex: 1 1 100%;
  }
  .post-navigation a {
    width: 100%;
    font-size: 0.98em;
    min-width: 0;
    border-radius: 20px;
    padding: 10px 0;
  }
  .categories {
    margin: 28px 0 20px 0;
  }
  .category-tab-btn {
    font-size: 0.95em;
    padding: 7px 7vw;
    border-radius: 16px;
  }
}
@media (max-width: 400px) {
  .ad-banner img {
    max-width: 88vw;
    height: auto;
  }
}
/* ======== サイドバー ========= */
.sidebar {
  position: sticky;
  top: 88px;
  align-self: start;
}
.widget {
  margin-bottom: 24px;
}
.widget h2 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #00248d;
}
.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.widget li {
  margin-bottom: 8px;
}
.widget a {
  color: #16336f;
  text-decoration: none;
}
.widget a:hover {
  text-decoration: underline;
  color: #ecb000;
}
.widget.popular-posts h2,
.widget.recommended-posts h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 16px;
  color: #00248d;
}
.widget.popular-posts h2::after,
.widget.recommended-posts h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200px;
  height: 3px;
  background: #00248d;
  border-radius: 2px;
}
.ad-banner {
  text-align: center;
  margin-bottom: 24px;
  background: #f5f5f5;
  padding: 16px 0;
  border-radius: 8px;
}
.ad-banner img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
@media (max-width: 1024px) {
  .layout-two-col {
    display: block;
    padding: 16px;
    max-width: 100%;
  }
  .sidebar {
    display: none;
  }
}
body.admin-bar .sidebar {
  top: 120px;
}


/* ================================== category & archive.php ================================== */
.categories a {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(
    135deg,
    #ffe98d 0%,   /* 明るい月光の反射 */
    #edc000 100%  /* 月本体のゴールド */
  );

  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.97em;
  margin: 10px;
  letter-spacing: 0.02em;

  transition:
    background .25s ease,
    color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;

  box-shadow: 0 3px 10px rgba(237, 192, 0, 0.25);
}
.categories a:hover {
  background: linear-gradient(
    135deg,
    #ffdf47 0%,
    #edc000 100%
  );
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(237, 192, 0, 0.45);
}
.categories a {
  background: linear-gradient(
    135deg,
    #ffdf47 0%, 
    #edc000 100%
  );
  color: #fff;
  box-shadow: 0 6px 20px rgba(237, 192, 0, 0, 0.45);
  transform: translateY(-2px);
}
.category-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-bottom: 36px;
  justify-content: flex-start;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.category-tabs::-webkit-scrollbar {
  display: none;
}
.category-tabs a {
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 700px) {
  .category-tabs {
    gap: 6px;
    padding-bottom: 4px;
    margin-bottom: 26px;
    max-width: 100vw;
  }
}


/* ================================== Contact ================================== */
.wpcf7 {
  max-width: 480px;
  margin: 40px auto;
  padding: 36px 26px 30px 26px;
  background: #fffef5;
  border-radius: 20px;
  box-shadow: 0 6px 32px rgba(237, 192, 0, 0.18);
  border: 1px solid #f3e9b6;
}
/* ===========================
   ラベル
=========================== */
.wpcf7 label {
  display: block;
  font-size: 1em;
  font-weight: bold;
  color: #b78a00;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
/* 必須マーク */
.wpcf7 label .required {
  color: #e0134b;
  font-size: 0.98em;
  font-weight: bold;
  margin-left: 5px;
}
/* ===========================
   テキスト入力 / テキストエリア
=========================== */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  border: 1.7px solid #e7d686;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 1.02em;
  margin-bottom: 24px;
  background: #fffef9;
  color: #5c4b00;
  box-sizing: border-box;
  transition: border 0.2s, box-shadow 0.25s, background 0.25s;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
  border-color: #edc000;
  background: #fff8d9;
  outline: none;
  box-shadow: 0 0 10px rgba(237, 192, 0, 0.35);
}
/* ===========================
   セレクト
=========================== */
.wpcf7 select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1.7px solid #e7d686;
  background: #fffef9;
  font-size: 1em;
  color: #5c4b00;
  margin-bottom: 24px;
}
/* ===========================
   チェックボックス & ラジオ
=========================== */
.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
  accent-color: #edc000;
  margin-right: 7px;
  margin-bottom: 3px;
  transform: scale(1.15);
}
/* 同意の文章 */
.consent-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 18px;
  font-size: 0.95em;
  color: #5c4b00;
  gap: 8px;
}
.consent-wrapper input[type="checkbox"] {
  transform: scale(1.2);
  accent-color: #edc000;
  margin-right: 6px;
}
/* ===========================
   送信ボタン（月グラデ）
=========================== */
.wpcf7 input[type="submit"] {
  background: linear-gradient(135deg, #ffdf47 0%, #edc000 100%);
  color: #fff;
  font-size: 1.13em;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  padding: 16px 45px;
  cursor: pointer;
  margin-top: 10px;
  letter-spacing: 0.03em;

  transition: 
    background 0.25s ease,
    box-shadow 0.25s,
    transform 0.2s;

  box-shadow: 0 3px 18px rgba(237, 192, 0, 0.38);
}
.wpcf7 input[type="submit"]:hover {
  background: linear-gradient(135deg, #ffeb80 0%, #edc000 100%);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 32px rgba(237, 192, 0, 0.45);
}
/* ===========================
   レスポンスメッセージ
=========================== */
.wpcf7-response-output {
  padding: 15px;
  border-radius: 8px;
  margin-top: 18px;
  font-size: 1em;
  background: #ffefef;
  color: #d0323a;
  border: 1.5px solid #f7b0b0;
}
.wpcf7-mail-sent-ok {
  background: #fff9d4;
  color: #8c6f00;
  border: 1.5px solid #edc000;
}
/* エラー表示は赤のままでOK */
.wpcf7-not-valid-tip,
.wpcf7-validation-errors {
  background: #ffefef;
  color: #d0323a;
  border: 1.5px solid #f7b0b0;
}
/* 送信ボタン中央配置 */
.wpcf7 .wpcf7-form-control.wpcf7-submit {
  display: block;
  margin: 22px auto 0 auto;
}


/* ================================== financie特集 ================================== */
.page-feature {
  background-color: #efffff; /* 基本背景 */
  font-family: Avenir, sans-serif; /* フォント */
  color: #000; /* 基本文字色（必要に応じて調整） */
}
.page-feature .btn-primary,
.page-feature .hero-title,
.page-feature .highlight {
  color: #fff;
  background-color: #00aeeb; /* メインカラー */
}
/* サブカラーのアクセント */
.page-feature .btn-secondary,
.page-feature .badge,
.page-feature a:hover {
  color: #fff;
  background-color: #e60012; /* サブカラー */
}
/* テキストリンク */
.page-feature a {
  color: #00aeeb;
  text-decoration: none;
}
.page-feature a:hover {
  text-decoration: underline;
}
/* フォントサイズ例 */
.page-feature h1,
.page-feature .hero-title {
  font-size: 2.5rem;
}
.page-feature h2 {
  font-size: 2rem;
}
.page-feature p,
.page-feature .body-text {
  font-size: 1rem;
  line-height: 1.6;
}

/* page-feature.css */
.feature-fv {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 460px;
  background-image: url('../img/feature-FV.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.feature-fv-inner {
  position: absolute;
  bottom: 8%;
  right: 5%;
  transform: none;
  text-align: left;
  font-family: Avenir, sans-serif;
  opacity: 0;
  animation: fadeInContent 1s ease-out forwards;
}
.feature-fv-logo {
  max-width: 300px;
  width: 60%;
  height: auto;
  margin-bottom: 1rem;
}
.feature-fv-tagline {
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: .04em;
  color: #000;
}
@keyframes fadeInContent {
  to { opacity: 1; }
}
/* ===== SP版レイアウト ===== */
@media (max-width: 768px) {
  .feature-fv {
    height: 100vh;
    min-height: 600px;
    background-image: url('../img/feature-FV-sp.png');
    background-size: cover;
    background-position: top center;
  }
  .feature-fv-inner {
    left: 50%;
    right: auto;
    bottom: 10%;
    transform: translateX(-50%);
    width: 90%;
    text-align: center;
  }
  .feature-fv-tagline {
    font-size: 15px;
    line-height: 1.8;
  }
}

/* 導入セクション共通 */
.intro-section {
  background-color: #efffff;
  padding: 4rem 1rem;
}
.intro-section .intro-wrap {
  max-width: 1000px;
  margin: 0 auto;
  font-family: Avenir, sans-serif;
  color: #000;
  line-height: 1.75;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.intro-inner {
  max-width: 800px; 
  margin: 0 auto;
  padding: 20px 0;
}
/* ロゴ */
.intro-logo {
  display: block;
  margin: 0 auto 1rem;
  max-width: 240px;
  width: 50%;
}
/* セクション見出し */
.intro-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}
/* 本文テキスト */
.intro-text p {
  margin-bottom: 1rem;
  font-size: 1rem;
}
/* スペック一覧 */
.intro-spec {
  list-style: disc inside;
  margin: 2rem 0;
  padding: 0;
}
.intro-spec li {
  margin-bottom: 0.5rem;
}
.intro-logo {
  margin: 20px auto;
  text-align: center;
}
.intro-logo img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
/* 画像 */
.intro-image {
  margin: 2rem 0;
  text-align: center;
}
.intro-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
/* 役割リスト */
.intro-roles h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.intro-roles ol {
  padding-left: 2.5rem;
}
.intro-roles li {
  margin: 10px 0;
}
.intro-roles li strong {
  display: block;
  color: #00aeeb; /* メインカラー */
  margin-bottom: 10px;
  margin-left: 10px;
}
/* ===== Me-Moon Guild CTAセクション ===== */
.mmg-cta-section {
  background-color: #fff;
  padding: 64px 16px 80px;
}
.mmg-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
/* ロゴ */
.mmg-cta-logo-wrap {
  margin-bottom: 32px;
}
.mmg-cta-logo {
  max-width: 420px;
  width: 70%;
  height: auto;
}
/* テキスト */
.mmg-cta-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #222;
  margin: 0 0 40px;
}
.mmg-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(
    135deg,
    #27c5ff 0%,
    #00aeeb 50%,
    #008ac2 100%
  );
  color: #fff;
  font-family: Avenir, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.9rem 2.8rem;
  border-radius: 999px; /* pill型 */
  text-decoration: none;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  box-shadow:
    0 10px 24px rgba(0, 174, 235, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.5);
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.mmg-cta-button:hover {
  transform: translateY(-3px);
  background: linear-gradient(
    135deg,
    #4fd5ff 0%,
    #00aeeb 45%,
    #0072a3 100%
  );
  box-shadow:
    0 14px 32px rgba(0, 174, 235, 0.45),
    0 0 0 2px rgba(230, 0, 18, 0.35);
}
.mmg-cta-button:active {
  transform: translateY(0);
  box-shadow:
    0 6px 16px rgba(0, 174, 235, 0.3),
    0 0 0 1px rgba(230, 0, 18, 0.25);
}
.mmg-cta-button:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 6px rgba(230, 0, 18, 0.7);
}
@media (max-width: 768px) {
  .mmg-cta-section {
    padding: 48px 16px 64px;
  }
  .mmg-cta-logo {
    width: 80%;
  }
  .mmg-cta-text {
    font-size: 0.98rem;
    margin-bottom: 32px;
  }
  .mmg-cta-button {
    width: 100%;
    max-width: 320px;
    padding: 0.9rem 1.2rem;
    font-size: 1.02rem;
  }
}
@media (max-width: 480px) {
  .mmg-cta-text {
    font-size: 0.95rem;
  }
  .mmg-cta-logo {
    width: 86%;
  }
}

/* ====== Chart ====== */
.chart-section {
  background-color: #efffff;
  padding: 4rem 1rem;
}
.chart-wrap {
  max-width: 1000px;
  margin: 0 auto;
}
/* チャートタイトル */
.chart-title {
  text-align: center;
  font-family: Avenir, sans-serif;
  font-size: 1.75rem;
  margin-bottom: 50px;
}
/* TradingView コンテナ微調整 */
.tradingview-widget-container {
  margin-bottom: 3rem;
}
/* ====== CTAボタン ====== */
.fnct-cta-section {
  background-color: #efffff;
  padding: 2.5rem 1.5rem;
}
.fnct-cta-wrap {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.fnct-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  background: linear-gradient(
    135deg,
    #27c5ff 0%,
    #00aeeb 50%,
    #008ac2 100%
  );
  color: #fff;
  font-family: Avenir, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  padding: 0.9rem 2.4rem;
  border-radius: 999px; /* Pill型 */

  text-decoration: none;
  letter-spacing: 0.03em;

  border: none;
  cursor: pointer;

  /* 立体感 */
  box-shadow:
    0 10px 24px rgba(0, 174, 235, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.4);

  /* アニメーション */
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.fnct-cta-button:hover {
  transform: translateY(-3px);
  background: linear-gradient(
    135deg,
    #4fd5ff 0%,
    #00aeeb 45%,
    #0072a3 100%
  );
  box-shadow:
    0 14px 32px rgba(0, 174, 235, 0.45),
    0 0 0 2px rgba(230, 0, 18, 0.35);
}
.fnct-cta-button:active {
  transform: translateY(0);
  box-shadow:
    0 6px 16px rgba(0, 174, 235, 0.3),
    0 0 0 1px rgba(230, 0, 18, 0.25);
}
.fnct-cta-button:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 6px rgba(230, 0, 18, 0.7);
}
/* ====== コミュニティセクション ====== */
.community-section {
  background-color: #efffff;
  padding: 4rem 1rem;
}
.community-title {
  text-align: center;
  font-family: Avenir, sans-serif;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}
/* タブ */
.community-tabs {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0 auto 2rem;
  max-width: 800px;
  border-radius: 4px;
  overflow: hidden;
}
.community-tabs .tab {
  flex: 1;
  text-align: center;
  padding: 0.75rem 0;
  font-family: Avenir, sans-serif;
  cursor: pointer;
  background-color: #00aeeb;
  color: #fff;
  transition: background-color 0.2s;
}
.community-tabs .tab:not(.active):hover {
  background-color: #0096ce;
}
.community-tabs .tab.active {
  background-color: #e60012;
}
/* カード群 */
.community-list {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
/* 個別カード */
.community-card {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 8px;
  padding: 1rem;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.community-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.community-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 80px;
}
.community-card .info {
  flex: 1;
  font-family: Avenir, sans-serif;
}
.community-card .info .name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.community-card .info .token {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}
.community-card .info .stats {
  font-size: 0.85rem;
  color: #333;
}
.community-card .info .stats .cap {
  display: block;
}
.community-card .info .stats .change-up {
  color: #0f0;
}
.community-card .info .stats .change-down {
  color: #f00;
}

/* 詳細ボタン */
.community-cta {
  text-align: center;
  margin-top: 2.5rem;
}
/* ====== ガイドセクション ====== */
.guide-section {
  background-color: #efffff;
  padding: 4rem 1rem;
}
.guide-header {
  text-align: center;
  margin-bottom: 3rem;
}
.guide-label {
  display: inline-block;
  background-color: #00aeeb;
  color: #fff;
  font-family: Avenir, sans-serif;
  font-size: 23px;
  padding: 0.5rem 1.5rem;
}
/* ステップコンテナ */
.guide-steps {
  background-color: #fff;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 55px;
  gap: 4rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
/* 各ステップ */
.guide-step {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.guide-reverse {
  flex-direction: row-reverse;
}
/* 画像 */
.guide-image img {
  width: 100%;
  max-width: 360px;
  border-radius: 8px;
  display: block;
}
/* テキスト */
.guide-text {
  flex: 1;
  font-family: Avenir, sans-serif;
}
.guide-text h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #00aeeb;
}
.guide-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #000;
}
/* 詳細ボタン */
.guide-cta {
  text-align: center;
  margin-top: 3rem;
}
.guide-cta .btn-primary {
  background-color: #00aeeb;
  color: #fff;
  font-family: Avenir, sans-serif;
  font-size: 1.125rem;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.guide-cta .btn-primary:hover {
  background-color: #e60012;
}
/* ====== FAQセクション ====== */
.faq-section {
  background-color: #efffff;
  padding: 4rem 1rem;
}
.faq-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.faq-label {
  display: inline-block;
  background-color: #00aeeb;
  color: #fff;
  font-family: Avenir, sans-serif;
  font-size: 25px;
  padding: 0.5rem 1.5rem;
  letter-spacing: .08em;
}
/* FAQリスト */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}
/* 質問部分 */
.faq-question {
  width: 100%;
  padding: 1rem 1.5rem;
  font-family: Avenir, sans-serif;
  font-size: 18px;
  color: #000;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.faq-question:hover {
  background-color: rgba(0, 174, 235, 0.1);
}
/* 矢印アイコン */
.faq-arrow {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border-right: 2px solid #e60012;
  border-bottom: 2px solid #e60012;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-left: 0.5rem;
}
/* 回答部分 */
.faq-answer {
  padding: 0 1.5rem 1rem;
  font-family: Avenir, sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  display: none;
}
/* 開いた状態 */
.faq-item.open .faq-answer {
  display: block;
}
.faq-item.open .arrow {
  transform: rotate(135deg); /* 下向き */
}
@media (max-width: 600px) {
  .wrap,
  .chart-wrap,
  .buy-cta-wrap {
    padding: 0 1rem;
  }
  .fv {
    background-image: url('../img/fv-mobile.png') !important;
  }
  /* HERO周り */
  .fv-logo {
    width: 230px;
  }
  .fv-tagline {
    font-size: 15px;
  }
  /* 導入セクション */
  .intro-section {
    padding: 1rem;
  }
  .intro-wrap {
    margin: 0;
    box-shadow: none;
    padding: 1rem;
  }
  /* CTAボタン */
  .feature-cta-section {
    padding: 10px 0;
  }
  .feature-cta-inner {
    padding: 10px 16px;
  }
  .feature-cta-icon img {
    width: 100px;
    height: 100px;
  }
  .feature-cta-button {
    width: 70%;
    padding: 0.75rem;
  }
  .feature-cta-text {
    font-size: 15px;
  }
  .faq-label {
    font-size: 15px;
  }
  /* チャートセクション */
  .chart-section {
    padding: 2rem 0;
  }
  .chart-wrap {
    /* 横スクロールが出てもOKに */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .chart-title {
    font-size: 17px;
    margin-bottom: 1.5rem;
    line-height: 1.4;
  }
  /* Coingecko ウィジェット */
  coingecko-coin-price-chart-widget {
    display: block;
    width: 100% !important;      /* 親幅にフィット */
    max-width: 480px;            /* 最大横幅を制限 */
    height: 300px !important;    /* モバイルでは高さを抑える */
    margin: 0 auto;
  }
  /* 購入CTA */
  .buy-cta-button {
    display: block;
    width: 100%;
    font-size: 1rem;
    padding: 0.75rem 0;
  }
  .buy-cta-wrap {
    text-align: center;
  }
  .guide-cta .btn-primary {
    width: 70%;
  }
  .community-tabs .tab {
    font-size: 12px;
  }
  /* コミュニティカード */
  .community-title{
    font-size: 20px;
  }
  .community-list {
    grid-template-columns: 1fr;
  }
  .community-card {
    flex-direction: column;
  }
  .community-card img {
    margin: 0 auto 0.5rem;
  }
  .top-category-posts .post-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  /* ガイドステップ */
  .guide-steps {
    padding: 2rem;
  }
  .guide-step {
    flex-direction: column !important;
  }
  /* FAQ */
  .faq-section {
    padding: 20px;
  }
  .faq-label {
    font-size: 20px;
  }
  .faq-question {
    font-size: 16px;
    padding: 0.75rem 1rem;
  }
  .faq-answer {
    font-size: 0.9rem;
  }
}


/* ================================== others ================================== */
html, body {
  margin: 0 !important;
  padding: 0 !important;
}
.post-content {
  overflow-x: hidden;
}