@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ — ゆさんぽカスタム
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/* ============================================
   ゆさんぽ — 泉こはるデザインテーマ
   温泉の温もり × やさしさ × 読みやすさ
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@500;700;900&family=M+PLUS+Rounded+1c:wght@400;500;700&display=swap');

/* --- CSS Variables --- */
:root {
  --yu-primary: #d4764e;        /* 温泉オレンジ — メインアクセント */
  --yu-primary-light: #f0a97a;  /* 明るいオレンジ */
  --yu-primary-pale: #fdf2eb;   /* うすいピーチ（背景用） */
  --yu-secondary: #5b8a72;      /* 和のグリーン — 落ち着きの差し色 */
  --yu-secondary-light: #e8f2ec;
  --yu-warm-bg: #faf7f4;        /* 温かいオフホワイト */
  --yu-card-bg: #ffffff;
  --yu-text: #3a3332;           /* 温かみのある黒 */
  --yu-text-light: #7a706c;
  --yu-border: #e8e0da;
  --yu-header-bg: #3d2e29;      /* ダーク木目ブラウン */
  --yu-header-text: #fff5ee;
  --yu-shadow: 0 2px 12px rgba(60, 46, 41, 0.08);
  --yu-shadow-hover: 0 6px 24px rgba(60, 46, 41, 0.14);
  --yu-radius: 12px;
  --yu-radius-sm: 8px;
}

/* ============================================
   1. ベース — 全体の色・フォント
   ============================================ */

body {
  background-color: var(--yu-warm-bg) !important;
  color: var(--yu-text) !important;
}

/* Cocoonスキンのグレー背景を上書き */
.body,
.public-page .body {
  background-color: var(--yu-warm-bg) !important;
}

/* 記事本文・サイドバー内のリンクのみアクセントカラー */
.article a,
.sidebar a,
.breadcrumb a,
.footer a {
  color: var(--yu-primary) !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}
.article a:hover,
.sidebar a:hover,
.breadcrumb a:hover {
  color: var(--yu-secondary) !important;
}

/* SNSシェアボタンはオリジナル色を維持 */
.sns-share-buttons a,
.sns-follow-buttons a {
  color: #fff !important;
}

/* カルーセルのリンクは通常テキスト色 */
.carousel a,
.carousel-entry-card-wrap a {
  color: var(--yu-text) !important;
}
.carousel a:hover {
  color: var(--yu-primary) !important;
}

/* 新着記事ウィジェットのリンク */
.new-entry-card-title a,
.new-entry-card a {
  color: var(--yu-text) !important;
}
.new-entry-card a:hover {
  color: var(--yu-primary) !important;
}

/* ============================================
   2. ヘッダー — スキン完全上書き
   ============================================ */

/* ヘッダー全体 */
.header,
.skin-simple-blue .header,
.wp-child-theme-cocoon-child-master .header {
  background: linear-gradient(160deg, #3d2e29 0%, #5a4037 50%, #4a3530 100%) !important;
  box-shadow: 0 4px 20px rgba(61, 46, 41, 0.2) !important;
  border-bottom: none !important;
}

.header-in {
  padding: 28px 0 12px !important;
}

/* サイトタイトル — Zen Maru Gothicで温かく個性的に */
.site-name-text,
.site-name-text a,
.header a.site-name-text,
.logo-header a,
.header .site-name-text {
  font-family: 'Zen Maru Gothic', 'M PLUS Rounded 1c', sans-serif !important;
  color: #fff !important;
  font-weight: 900 !important;
  font-size: 1.5em !important;
  letter-spacing: 0.1em !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
  display: inline-block !important;
}

/* タイトルの「ゆさんぽ」部分を際立たせる装飾 */
.header .logo-header {
  position: relative !important;
  text-align: center !important;
}

/* キャッチフレーズ */
.tagline,
.header .tagline {
  font-family: 'M PLUS Rounded 1c', sans-serif !important;
  color: rgba(255, 245, 238, 0.7) !important;
  font-size: 0.82em !important;
  letter-spacing: 0.15em !important;
  font-weight: 400 !important;
}

/* ============================================
   2-B. ナビゲーション — スキンの青を完全排除
   ============================================ */

.navi,
#navi,
.skin-simple-blue .navi,
.wp-child-theme-cocoon-child-master .navi,
.navi-wrap,
.navi-wrap .navi {
  background: #2c1f1a !important;
  border: none !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.navi-in,
.navi-in > ul {
  background: transparent !important;
}

.navi-in a,
.navi-in > ul > li > a,
.navi-in > .menu-mobile > li > a,
.navi a {
  font-family: 'M PLUS Rounded 1c', sans-serif !important;
  color: rgba(255, 245, 238, 0.9) !important;
  font-weight: 500 !important;
  font-size: 0.92em !important;
  padding: 14px 24px !important;
  letter-spacing: 0.06em !important;
  transition: all 0.25s ease !important;
  background: transparent !important;
  border: none !important;
}

.navi-in a:hover,
.navi-in > ul > li > a:hover,
.navi-in > ul > li:hover > a {
  background: rgba(212, 118, 78, 0.2) !important;
  color: var(--yu-primary-light) !important;
}

/* アクティブなメニュー項目 */
.navi-in > ul > .current-menu-item > a,
.navi-in > ul > .current-menu-ancestor > a {
  border-bottom: 2px solid var(--yu-primary-light) !important;
  color: var(--yu-primary-light) !important;
}

/* ドロップダウンメニュー */
.navi-in ul ul,
.navi-in > ul > li > ul {
  background: #2c1f1a !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-top: 2px solid var(--yu-primary) !important;
  border-radius: 0 0 var(--yu-radius-sm) var(--yu-radius-sm) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
}

.navi-in ul ul a,
.navi-in ul ul li a {
  color: rgba(255, 245, 238, 0.85) !important;
  padding: 12px 20px !important;
  font-size: 0.88em !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.navi-in ul ul a:hover {
  background: rgba(212, 118, 78, 0.15) !important;
  color: var(--yu-primary-light) !important;
}

/* ナビメニューのテキスト省略を解除・幅を文字に合わせる */
.navi-in > ul li {
  width: auto !important;
}
.navi-in .item-label {
  overflow: visible !important;
  text-overflow: unset !important;
  white-space: nowrap !important;
}

/* ナビ矢印の非表示（Cocoonデフォルト） */
.navi-in > .menu-mobile > li > a::after,
.navi-in > ul > li > a::after {
  border-color: transparent !important;
}

/* ============================================
   3. メインコンテンツ エリア
   ============================================ */

.main {
  background: var(--yu-card-bg) !important;
  border-radius: var(--yu-radius) !important;
  box-shadow: var(--yu-shadow) !important;
  padding: 32px !important;
  border: none !important;
}

/* ============================================
   4. カルーセル
   ============================================ */

.carousel {
  margin: 20px 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.carousel-in {
  padding: 0 !important;
}

.carousel .slick-slide {
  margin: 0 8px !important;
}

.carousel-entry-card-wrap .entry-card {
  border-radius: var(--yu-radius-sm) !important;
  overflow: hidden !important;
  box-shadow: var(--yu-shadow) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.carousel-entry-card-wrap .entry-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--yu-shadow-hover) !important;
}

.carousel-entry-card-wrap .entry-card-title {
  font-size: 0.85em !important;
  line-height: 1.5 !important;
  color: var(--yu-text) !important;
  font-weight: 600 !important;
}

/* カテゴリーラベル */
.cat-label {
  border-radius: 4px !important;
  font-size: 0.7em !important;
  font-weight: 600 !important;
  padding: 2px 8px !important;
  background: var(--yu-primary) !important;
  color: #fff !important;
  opacity: 0.92 !important;
}

/* ============================================
   5. 記事カード（一覧ページ）
   ============================================ */

.entry-card-wrap {
  border-radius: var(--yu-radius) !important;
  overflow: hidden !important;
  margin-bottom: 20px !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.entry-card-wrap:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--yu-shadow-hover) !important;
}

.entry-card {
  border: none !important;
  border-radius: var(--yu-radius) !important;
  background: var(--yu-card-bg) !important;
  box-shadow: var(--yu-shadow) !important;
}

.entry-card-title {
  color: var(--yu-text) !important;
  font-weight: 700 !important;
  font-size: 1.05em !important;
  line-height: 1.6 !important;
}

.entry-card-snippet {
  color: var(--yu-text-light) !important;
  font-size: 0.88em !important;
}

.entry-card-meta {
  color: var(--yu-text-light) !important;
  font-size: 0.8em !important;
}

/* ============================================
   6. 記事ページ — 見出し
   ============================================ */

.article h2 {
  background: none !important;
  color: var(--yu-text) !important;
  border: none !important;
  border-left: 5px solid var(--yu-primary) !important;
  border-bottom: 2px solid var(--yu-border) !important;
  padding: 12px 0 12px 18px !important;
  margin: 48px 0 24px !important;
  font-size: 1.45em !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  position: relative;
}

.article h3 {
  background: none !important;
  color: var(--yu-text) !important;
  border: none !important;
  border-left: 3px solid var(--yu-secondary) !important;
  padding: 8px 0 8px 14px !important;
  margin: 36px 0 18px !important;
  font-size: 1.2em !important;
  font-weight: 700 !important;
}

.article h4 {
  color: var(--yu-text) !important;
  font-weight: 700 !important;
  padding-bottom: 6px !important;
  border-bottom: 1px dashed var(--yu-border) !important;
  margin: 28px 0 14px !important;
}

/* ============================================
   7. 記事ページ — 目次（TOC）
   ============================================ */

.toc {
  background: var(--yu-primary-pale) !important;
  border: none !important;
  border-radius: var(--yu-radius) !important;
  padding: 24px 28px !important;
  margin: 28px 0 !important;
  box-shadow: inset 0 0 0 1px rgba(212, 118, 78, 0.15) !important;
}

.toc-title {
  color: var(--yu-primary) !important;
  font-weight: 700 !important;
  font-size: 1.05em !important;
  text-align: center !important;
  margin-bottom: 12px !important;
}

.toc a {
  color: var(--yu-text) !important;
  font-size: 0.92em !important;
}

.toc a:hover {
  color: var(--yu-primary) !important;
}

.toc-list > li::before {
  color: var(--yu-primary) !important;
}

/* ============================================
   8. サイドバー
   ============================================ */

.sidebar {
  background: transparent !important;
  border: none !important;
}

.widget {
  background: var(--yu-card-bg) !important;
  border: none !important;
  border-radius: var(--yu-radius) !important;
  box-shadow: var(--yu-shadow) !important;
  margin-bottom: 20px !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.widget-sidebar-title,
.widget-title {
  background: linear-gradient(135deg, var(--yu-primary) 0%, var(--yu-primary-light) 100%) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 0.95em !important;
  padding: 14px 18px !important;
  margin: 0 !important;
  border: none !important;
  letter-spacing: 0.04em;
}

.widget-sidebar-title::before,
.widget-title::before {
  display: none !important;
}

.widget_categories ul,
.widget_recent_entries ul,
.widget_archive ul,
.widget_nav_menu ul {
  padding: 12px 18px !important;
  margin: 0 !important;
}

.widget_categories li,
.widget_recent_entries li,
.widget_archive li,
.widget_nav_menu li {
  border-bottom: 1px solid var(--yu-border) !important;
  padding: 10px 0 !important;
}

.widget_categories li:last-child,
.widget_recent_entries li:last-child,
.widget_archive li:last-child,
.widget_nav_menu li:last-child {
  border-bottom: none !important;
}

.widget_categories a,
.widget_recent_entries a,
.widget_archive a,
.widget_nav_menu a {
  color: var(--yu-text) !important;
  font-size: 0.9em !important;
}

.widget_categories a:hover,
.widget_recent_entries a:hover,
.widget_archive a:hover,
.widget_nav_menu a:hover {
  color: var(--yu-primary) !important;
  padding-left: 4px !important;
  transition: all 0.2s ease !important;
}

/* 新着記事ウィジェット */
.new-entry-cards .new-entry-card {
  border-bottom: 1px solid var(--yu-border) !important;
  padding: 12px 16px !important;
  transition: background 0.2s ease !important;
}

.new-entry-cards .new-entry-card:hover {
  background: var(--yu-primary-pale) !important;
}

.new-entry-cards .new-entry-card:last-child {
  border-bottom: none !important;
}

.new-entry-card-title {
  color: var(--yu-text) !important;
  font-size: 0.88em !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
}

/* 検索ウィジェット */
.search-box input[type="text"],
.search-edit {
  border: 2px solid var(--yu-border) !important;
  border-radius: var(--yu-radius-sm) !important;
  padding: 10px 14px !important;
  background: var(--yu-warm-bg) !important;
  transition: border-color 0.2s ease !important;
}

.search-box input[type="text"]:focus,
.search-edit:focus {
  border-color: var(--yu-primary) !important;
  outline: none !important;
}

.search-submit {
  background: var(--yu-primary) !important;
  border: none !important;
  border-radius: 0 var(--yu-radius-sm) var(--yu-radius-sm) 0 !important;
  color: #fff !important;
  font-weight: 600 !important;
  transition: background 0.2s ease !important;
}

.search-submit:hover {
  background: var(--yu-secondary) !important;
}

/* ============================================
   9. フッター
   ============================================ */

.footer {
  background: var(--yu-header-bg) !important;
  color: rgba(255, 245, 238, 0.8) !important;
  border-top: 3px solid var(--yu-primary) !important;
}

.footer a {
  color: rgba(255, 245, 238, 0.8) !important;
}

.footer a:hover {
  color: var(--yu-primary-light) !important;
}

.copyright {
  color: rgba(255, 245, 238, 0.6) !important;
  font-size: 0.82em !important;
}

/* ============================================
   10. パンくずリスト
   ============================================ */

.breadcrumb {
  background: transparent !important;
  border: none !important;
  font-size: 0.82em !important;
  color: var(--yu-text-light) !important;
  padding: 12px 0 !important;
}

.breadcrumb a {
  color: var(--yu-text-light) !important;
}

.breadcrumb a:hover {
  color: var(--yu-primary) !important;
}

/* ============================================
   11. ボタン・その他UI
   ============================================ */

.btn,
.ranking-item-link-buttons a,
.pagination .page-numbers,
.pager-post-navi a {
  border-radius: var(--yu-radius-sm) !important;
  transition: all 0.25s ease !important;
}

.btn-wrap a {
  background: var(--yu-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 12px 32px !important;
  font-weight: 600 !important;
  box-shadow: 0 3px 10px rgba(212, 118, 78, 0.3) !important;
  transition: all 0.25s ease !important;
}

.btn-wrap a:hover {
  background: var(--yu-secondary) !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 16px rgba(91, 138, 114, 0.3) !important;
}

/* ページネーション */
.pagination .current {
  background: var(--yu-primary) !important;
  color: #fff !important;
  border-color: var(--yu-primary) !important;
}

.pagination .page-numbers {
  border-color: var(--yu-border) !important;
  color: var(--yu-text) !important;
}

.pagination .page-numbers:hover {
  background: var(--yu-primary-pale) !important;
  border-color: var(--yu-primary) !important;
  color: var(--yu-primary) !important;
}

/* ============================================
   12. SNSシェアボタン
   ============================================ */

.sns-share-buttons {
  column-gap: 8px !important;
}

.sns-share-buttons a {
  border-radius: var(--yu-radius-sm) !important;
  font-weight: 600 !important;
}

/* ============================================
   13. ブログパーツ画像（こはるイラスト）
   ============================================ */

.blog-parts-img {
  text-align: center;
  margin: 24px auto;
}

.blog-parts-img img {
  max-width: 480px !important;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(212, 118, 78, 0.12);
  transition: transform 0.3s ease;
}

.blog-parts-img img:hover {
  transform: scale(1.02);
}

/* ============================================
   14. ブログカード
   ============================================ */

.blogcard {
  border: none !important;
  border-radius: var(--yu-radius) !important;
  box-shadow: var(--yu-shadow) !important;
  overflow: hidden !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.blogcard:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--yu-shadow-hover) !important;
}

.blogcard-title {
  color: var(--yu-text) !important;
  font-weight: 600 !important;
}

.blogcard-snippet {
  color: var(--yu-text-light) !important;
}

/* ============================================
   15. フロントページ固有
   ============================================ */

.front-top-page .main {
  padding: 36px 32px !important;
}

.front-top-page .article h2 {
  background: var(--yu-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--yu-radius-sm) !important;
  padding: 14px 22px !important;
  font-size: 1.25em !important;
  margin: 36px 0 20px !important;
}

.front-top-page .article h3 {
  color: var(--yu-primary) !important;
  border-left: 4px solid var(--yu-primary) !important;
  font-size: 1.1em !important;
}

.front-top-page .article ul {
  padding-left: 0 !important;
  list-style: none !important;
}

.front-top-page .article ul li {
  padding: 10px 16px !important;
  margin-bottom: 6px !important;
  background: var(--yu-primary-pale) !important;
  border-radius: var(--yu-radius-sm) !important;
  font-size: 0.95em !important;
  position: relative;
  padding-left: 36px !important;
}

.front-top-page .article ul li::before {
  content: "♨" !important;
  position: absolute;
  left: 12px;
  color: var(--yu-primary);
}

/* ============================================
   16. 吹き出し（Cocoon機能）
   ============================================ */

.speech-balloon {
  border-color: var(--yu-primary) !important;
  background: var(--yu-primary-pale) !important;
  border-radius: var(--yu-radius) !important;
}

.speech-balloon::before {
  border-right-color: var(--yu-primary) !important;
}

.speech-balloon::after {
  border-right-color: var(--yu-primary-pale) !important;
}

/* ============================================
   17. 記事内の装飾ボックス
   ============================================ */

.blank-box {
  border-radius: var(--yu-radius-sm) !important;
}

.information-box,
.question-box,
.alert-box {
  border-radius: var(--yu-radius-sm) !important;
}

/* ============================================
   18. Cocoon感を消すカスタマイズ
   ============================================ */

/* 全体のフォントを丸ゴシックベースに */
body,
.body,
.article,
.sidebar,
.footer {
  font-family: 'M PLUS Rounded 1c', 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'BIZ UDPGothic', sans-serif !important;
}

/* Cocoon特有の角張った要素を丸く */
.entry-card,
.pagination-next-link,
.comment-btn,
.search-submit,
.blogcard,
.ranking-item,
.appeal-content,
.tab-caption,
.index-tab-buttons .index-tab-button {
  border-radius: var(--yu-radius) !important;
}

/* Cocoon特有のボーダーラインを控えめに */
.main,
.sidebar,
.content,
.entry-card,
.article {
  border: none !important;
}

/* 投稿日・更新日の見た目 */
.post-date,
.post-update {
  color: var(--yu-text-light) !important;
  font-size: 0.82em !important;
}

/* タグリンクのスタイル */
.tag-link,
.entry-categories-tags .tag-link {
  background: var(--yu-warm-bg) !important;
  color: var(--yu-text-light) !important;
  border: 1px solid var(--yu-border) !important;
  border-radius: 50px !important;
  padding: 4px 14px !important;
  font-size: 0.78em !important;
  transition: all 0.2s ease !important;
}

.tag-link:hover {
  background: var(--yu-primary-pale) !important;
  border-color: var(--yu-primary) !important;
  color: var(--yu-primary) !important;
}

/* Cocoonのインデックスタブ */
.index-tab-buttons {
  border: none !important;
}

.index-tab-buttons .index-tab-button {
  background: var(--yu-card-bg) !important;
  color: var(--yu-text-light) !important;
  border: 1px solid var(--yu-border) !important;
  font-family: 'M PLUS Rounded 1c', sans-serif !important;
}

.index-tab-buttons .index-tab-button.index-tab-button-active {
  background: var(--yu-primary) !important;
  color: #fff !important;
  border-color: var(--yu-primary) !important;
}

/* 記事内の段落の行間・余白 */
.article p {
  line-height: 1.9 !important;
  margin-bottom: 1.4em !important;
}

/* 「トップへ戻る」ボタン */
.go-to-top-button {
  background: var(--yu-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50% !important;
  box-shadow: 0 3px 12px rgba(212, 118, 78, 0.3) !important;
  transition: all 0.25s ease !important;
}

.go-to-top-button:hover {
  background: var(--yu-secondary) !important;
  transform: translateY(-3px) !important;
}

/* 著者情報ボックス */
.author-box {
  border: none !important;
  background: var(--yu-primary-pale) !important;
  border-radius: var(--yu-radius) !important;
  padding: 24px !important;
}

/* 関連記事 */
.related-entries {
  margin-top: 40px !important;
}

.related-entry-card {
  border-radius: var(--yu-radius-sm) !important;
  overflow: hidden !important;
  transition: transform 0.25s ease !important;
}

.related-entry-card:hover {
  transform: translateY(-2px) !important;
}

/* 前の記事・次の記事ナビ */
.pager-post-navi {
  border: none !important;
  margin-top: 32px !important;
}

.pager-post-navi a {
  background: var(--yu-card-bg) !important;
  border: 1px solid var(--yu-border) !important;
  border-radius: var(--yu-radius-sm) !important;
  padding: 16px !important;
  color: var(--yu-text) !important;
  transition: all 0.25s ease !important;
}

.pager-post-navi a:hover {
  border-color: var(--yu-primary) !important;
  box-shadow: var(--yu-shadow) !important;
}

/* コメント欄 */
.comment-area {
  margin-top: 40px !important;
}

.comment-area textarea,
.comment-area input[type="text"],
.comment-area input[type="email"],
.comment-area input[type="url"] {
  border: 2px solid var(--yu-border) !important;
  border-radius: var(--yu-radius-sm) !important;
  background: var(--yu-warm-bg) !important;
  transition: border-color 0.2s ease !important;
}

.comment-area textarea:focus,
.comment-area input:focus {
  border-color: var(--yu-primary) !important;
}

/* ============================================
   19. スクロールバー（Chrome/Edge）
   ============================================ */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--yu-warm-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--yu-border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--yu-primary-light);
}

/* ============================================
   19. モバイルフッター固定メニュー
   ============================================ */

.mobile-menu-buttons {
  background: var(--yu-card-bg) !important;
  border-top: 1px solid var(--yu-border) !important;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.06) !important;
}

.mobile-menu-buttons .menu-button > a {
  color: var(--yu-text-light) !important;
}

.mobile-menu-buttons .menu-button.menu-button-in > a {
  color: var(--yu-primary) !important;
}

/* ============================================
   レスポンシブ — タブレット（1023px以下）
   ============================================ */

@media screen and (max-width: 1023px) {
  .main {
    padding: 24px !important;
  }

  .front-top-page .main {
    padding: 24px 20px !important;
  }

  .article h2 {
    font-size: 1.3em !important;
  }
}

/* ============================================
   レスポンシブ — スマートフォン（834px以下）
   ============================================ */

@media screen and (max-width: 834px) {
  .header-in {
    padding: 14px 12px 8px !important;
    text-align: center !important;
  }

  .site-name-text,
  .site-name-text a,
  .header .site-name-text {
    font-size: 1.2em !important;
  }

  .main {
    border-radius: 0 !important;
    padding: 20px 16px !important;
    box-shadow: none !important;
  }

  .front-top-page .main {
    padding: 20px 16px !important;
  }

  .front-top-page .article h2 {
    font-size: 1.1em !important;
    padding: 12px 16px !important;
  }

  .article h2 {
    font-size: 1.2em !important;
    padding: 10px 0 10px 14px !important;
    margin: 36px 0 18px !important;
  }

  .article h3 {
    font-size: 1.05em !important;
    margin: 28px 0 14px !important;
  }

  .widget {
    border-radius: var(--yu-radius-sm) !important;
    margin-bottom: 16px !important;
  }

  .blog-parts-img img {
    max-width: 360px !important;
  }

  .toc {
    padding: 18px 16px !important;
    margin: 20px 0 !important;
  }
}

/* ============================================
   レスポンシブ — 小型スマホ（480px以下）
   ============================================ */

@media screen and (max-width: 480px) {
  .site-name-text,
  .site-name-text a,
  .header .site-name-text {
    font-size: 1em !important;
    letter-spacing: 0.06em !important;
  }

  .tagline {
    font-size: 0.68em !important;
  }

  .navi-in a {
    padding: 10px 12px !important;
    font-size: 0.85em !important;
  }

  .article h2 {
    font-size: 1.1em !important;
  }

  .blog-parts-img img {
    max-width: 280px !important;
  }

  .front-top-page .article ul li {
    font-size: 0.88em !important;
    padding: 8px 12px 8px 32px !important;
  }
}
