/*
Theme Name: Tabitetsu Theme
Theme URI: https://tabi-no-tetsuzuki.com
Author: Tabitetsu
Description: 旅行をもっと楽しむための情報メディア専用テーマ。Cocoon非依存の完全オリジナル設計。
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: tabitetsu
*/

/* ============================================================
 * CSS Variables
 * ============================================================ */
:root {
  --color-primary:    #1a6b3a;
  --color-primary-dark: #145530;
  --color-accent:     #f5a623;
  --color-accent-dark: #e0941a;
  --color-text:       #2c2c2c;
  --color-text-light: #666;
  --color-border:     #e5e5e5;
  --color-bg:         #f8f8f6;
  --color-bg-white:   #ffffff;
  --color-link:       #1a6b3a;
  --font-sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  --radius:    6px;
  --shadow:    0 2px 12px rgba(0,0,0,.08);
  --shadow-hover: 0 6px 24px rgba(0,0,0,.14);
  --transition: .2s ease;
  --max-width: 1140px;
  --content-width: 760px;
}

/* ============================================================
 * Reset & Base
 * ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-link); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-dark); }
ul, ol { padding-left: 1.5em; }

/* ============================================================
 * Layout
 * ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.site-main {
  padding: 40px 0 60px;
}

/* 2カラムレイアウト */
.layout-2col {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

@media (max-width: 900px) {
  .layout-2col { grid-template-columns: 1fr; }
}

/* ============================================================
 * Skip Link
 * ============================================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  background: var(--color-primary);
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--radius);
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 8px; }

/* ============================================================
 * Header
 * ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* ロゴ */
.site-logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -.02em;
}
.site-logo a:hover { color: var(--color-primary-dark); }
.site-logo .logo-icon {
  width: 36px; height: 36px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* PCナビ */
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.site-nav a:hover,
.site-nav a.current-menu-item {
  background: #f0f7f3;
  color: var(--color-primary);
}

/* ハンバーガーボタン */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none;
  cursor: pointer; padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* SPナビ */
.mobile-nav {
  display: none;
  background: var(--color-bg-white);
  border-top: 1px solid var(--color-border);
  padding: 12px 0;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 12px 24px;
  font-size: .95rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { background: #f0f7f3; color: var(--color-primary); }

@media (max-width: 768px) {
  .site-nav { display: none; }
  .menu-toggle { display: flex; }
}

/* ============================================================
 * Hero（トップページ）
 * ============================================================ */
.hero {
  background: linear-gradient(135deg, #1a6b3a 0%, #2d9e60 60%, #f5a623 100%);
  color: #fff;
  padding: 64px 0 56px;
  text-align: center;
}
.hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.hero-subtitle {
  font-size: 1.05rem;
  opacity: .9;
  max-width: 540px;
  margin: 0 auto 28px;
}
.hero-search {
  display: flex;
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 20px;
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--color-text);
}
.hero-search button {
  background: var(--color-accent);
  border: none;
  padding: 14px 24px;
  cursor: pointer;
  font-size: 1rem;
  color: #fff;
  font-weight: 600;
  transition: background var(--transition);
}
.hero-search button:hover { background: var(--color-accent-dark); }

/* ============================================================
 * カテゴリタブ
 * ============================================================ */
.category-tabs {
  background: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 64px;
  z-index: 900;
}
.category-tabs-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.category-tabs-inner::-webkit-scrollbar { display: none; }
.category-tab {
  display: inline-flex;
  align-items: center;
  padding: 14px 20px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--color-text-light);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  text-decoration: none;
}
.category-tab:hover,
.category-tab.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

/* ============================================================
 * セクションタイトル
 * ============================================================ */
.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 4px solid var(--color-primary);
  color: var(--color-text);
}
.section-title span {
  font-size: .85rem;
  color: var(--color-text-light);
  font-weight: 400;
  margin-left: 8px;
}

/* ============================================================
 * 記事カード
 * ============================================================ */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
@media (max-width: 900px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .post-grid { grid-template-columns: 1fr; }
}

.post-card {
  background: var(--color-bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.post-card-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--color-border);
  flex-shrink: 0;
}
.post-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .3s ease;
  display: block;
}
.post-card:hover .post-card-thumb img { transform: scale(1.04); }

.post-card-thumb .no-image {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e8f5ee, #d0eadb);
  color: var(--color-primary);
  font-size: 2rem;
}

.post-card-body {
  padding: 14px 16px 16px;
  background: #fff;
  border-top: 2px solid #e8f5ee;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.post-card-cat {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  color: var(--color-primary);
  background: #e8f5ee;
  border-radius: 3px;
  padding: 2px 8px;
  margin-bottom: 8px;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.post-card-title {
  font-size: 1.0rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #1a1a1a;
}
.post-card-title a { color: #1a1a1a; text-decoration: none; }
.post-card-title a:hover { color: var(--color-primary); }
.post-card-meta {
  font-size: .78rem;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ============================================================
 * もっと読むボタン
 * ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 28px;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}
.btn-outline:hover { background: #f0f7f3; }
.btn-center { text-align: center; margin-top: 16px; }

/* ============================================================
 * パンくず
 * ============================================================ */
.breadcrumb {
  font-size: .82rem;
  color: var(--color-text-light);
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.breadcrumb a { color: var(--color-text-light); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb .sep { color: #ccc; }

/* ============================================================
 * 記事詳細ページ
 * ============================================================ */
.entry-header { margin-bottom: 32px; }

.entry-cat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.entry-cat {
  font-size: .75rem;
  font-weight: 600;
  color: var(--color-primary);
  background: #e8f5ee;
  border-radius: 3px;
  padding: 3px 10px;
}

.entry-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
  color: var(--color-text);
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .82rem;
  color: var(--color-text-light);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.entry-thumbnail {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
  aspect-ratio: 16/9;
}
.entry-thumbnail img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* 記事本文 */
.entry-content {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-text);
}
.entry-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2em 0 .8em;
  padding: 12px 16px;
  background: #f0f7f3;
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.entry-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.8em 0 .6em;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--color-border);
  position: relative;
}
.entry-content h3::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--color-primary);
}
.entry-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.5em 0 .5em;
  color: var(--color-primary);
}
.entry-content p { margin-bottom: 1.4em; }
.entry-content ul,
.entry-content ol { margin-bottom: 1.4em; }
.entry-content li { margin-bottom: .4em; }
.entry-content a {
  color: var(--color-link);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.entry-content a:hover { color: var(--color-primary-dark); }
.entry-content strong { font-weight: 700; color: var(--color-text); }
.entry-content blockquote {
  margin: 1.6em 0;
  padding: 16px 20px;
  background: #f8f8f6;
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--color-text-light);
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.4em;
  font-size: .9rem;
  overflow-x: auto;
  display: block;
}
.entry-content th,
.entry-content td {
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  text-align: left;
}
.entry-content th {
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
}
.entry-content tr:nth-child(even) td { background: #f8f8f6; }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption { font-size: .82rem; color: var(--color-text-light); margin-top: 6px; }
.entry-content img { border-radius: var(--radius); }
.entry-content iframe { max-width: 100%; border-radius: var(--radius); }

/* アフィリエイトボタン */
.entry-content .tabi-aff-btn-wrap {
  margin: 1.6em 0;
  text-align: center;
}
.entry-content .tabi-aff-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border-radius: 50px;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.entry-content .tabi-aff-btn:hover { opacity: .9; transform: translateY(-2px); color: #fff; }
.entry-content .tabi-aff-pr-note {
  display: block;
  font-size: .72rem;
  color: var(--color-text-light);
  margin-top: 6px;
}

/* 記事ページフッター */
.entry-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}
.entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.entry-tag {
  font-size: .8rem;
  color: var(--color-text-light);
  background: #f0f0f0;
  border-radius: 50px;
  padding: 4px 12px;
}
.entry-tag:hover { background: #e8f5ee; color: var(--color-primary); }

/* 前後記事ナビ */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
@media (max-width: 560px) { .post-nav { grid-template-columns: 1fr; } }
.post-nav-item {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px;
  transition: box-shadow var(--transition);
}
.post-nav-item:hover { box-shadow: var(--shadow); }
.post-nav-label {
  font-size: .75rem;
  color: var(--color-text-light);
  margin-bottom: 6px;
}
.post-nav-title {
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-nav-item:hover .post-nav-title { color: var(--color-primary); }

/* ============================================================
 * サイドバー
 * ============================================================ */
.sidebar { position: sticky; top: 100px; }
.widget {
  background: var(--color-bg-white);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.widget-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
  color: var(--color-text);
}

/* サイドバー最近の記事 */
.widget-recent-posts { list-style: none; padding: 0; }
.widget-recent-posts li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}
.widget-recent-posts li:last-child { border-bottom: none; }
.widget-recent-posts .thumb {
  width: 68px; height: 48px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--color-border);
}
.widget-recent-posts .thumb img { width: 100%; height: 100%; object-fit: cover; }
.widget-recent-posts .info { flex: 1; min-width: 0; }
.widget-recent-posts .info a {
  font-size: .85rem;
  font-weight: 500;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.widget-recent-posts .info a:hover { color: var(--color-primary); }
.widget-recent-posts .date {
  font-size: .72rem;
  color: var(--color-text-light);
  margin-top: 4px;
}

/* サイドバーカテゴリ */
.widget-categories { list-style: none; padding: 0; }
.widget-categories li {
  border-bottom: 1px solid var(--color-border);
}
.widget-categories li:last-child { border-bottom: none; }
.widget-categories a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 4px;
  font-size: .88rem;
  color: var(--color-text);
}
.widget-categories a:hover { color: var(--color-primary); }
.widget-categories .count {
  font-size: .78rem;
  color: var(--color-text-light);
  background: #f0f0f0;
  border-radius: 50px;
  padding: 2px 8px;
}

/* ============================================================
 * アーカイブ・カテゴリページ
 * ============================================================ */
.archive-header {
  background: var(--color-bg-white);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 16px;
}
.archive-header-icon {
  width: 48px; height: 48px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem;
  flex-shrink: 0;
}
.archive-header-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.archive-header-desc { font-size: .88rem; color: var(--color-text-light); }

/* ============================================================
 * ページネーション
 * ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  border: 1px solid var(--color-border);
  background: var(--color-bg-white);
  color: var(--color-text);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.pagination a:hover { background: #f0f7f3; border-color: var(--color-primary); color: var(--color-primary); }
.pagination .current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* ============================================================
 * Footer
 * ============================================================ */
.site-footer {
  background: #1a2e20;
  color: #ccc;
  margin-top: 60px;
}
.footer-main {
  padding: 48px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand { }
.footer-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-desc { font-size: .88rem; line-height: 1.7; color: #aaa; max-width: 280px; }

.footer-col-title {
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: .85rem;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before {
  content: '›';
  color: var(--color-accent);
  font-weight: 700;
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
}
.footer-bottom-links a { font-size: .8rem; color: #888; }
.footer-bottom-links a:hover { color: #ccc; }
.copyright { font-size: .8rem; color: #888; }

/* ============================================================
 * 404ページ
 * ============================================================ */
.not-found-wrap {
  text-align: center;
  padding: 80px 20px;
}
.not-found-code {
  font-size: 6rem;
  font-weight: 700;
  color: var(--color-primary);
  opacity: .2;
  line-height: 1;
  margin-bottom: 16px;
}
.not-found-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.not-found-desc { color: var(--color-text-light); margin-bottom: 32px; }

/* ============================================================
 * Utility
 * ============================================================ */
.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }

/* ============================================================
 * 楽天CTA ボタン (auto-blog.js 生成記事用)
 * ============================================================ */
.rakuten-cta-wrap {
  margin: 20px 0;
  text-align: center;
}
.rakuten-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #bf0000, #e60012);
  color: #fff !important;
  text-decoration: none !important;
  padding: 15px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(230, 0, 18, .3);
  letter-spacing: .02em;
  transition: opacity .2s, transform .15s, box-shadow .2s;
  max-width: 100%;
  word-break: break-word;
}
.rakuten-cta-btn:hover,
.rakuten-cta-btn:focus {
  opacity: .88;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 0, 18, .42);
  color: #fff !important;
  text-decoration: none !important;
}
.rakuten-cta-btn:active {
  transform: translateY(0);
  opacity: .95;
}
.rakuten-cta-wrap p,
.rakuten-cta-final p {
  font-size: .75rem;
  color: #999;
  margin: 8px 0 0;
}
.rakuten-cta-final {
  margin: 28px 0;
  text-align: center;
  background: #fff8f8;
  border: 2px solid #e60012;
  border-radius: 10px;
  padding: 24px 16px;
}
.rakuten-cta-final .rakuten-cta-btn {
  padding: 15px 28px;
}
@media (max-width: 600px) {
  .rakuten-cta-btn {
    padding: 14px 20px;
    font-size: .9rem;
    width: 100%;
    box-sizing: border-box;
    display: block;
    text-align: center;
  }
}
