/*
Theme Name: MEVIUS BLOG
Theme URI: https://mevius.blog/theme/
Description:自信の制作物の公表などに使う、その世界観を形にしたもの。
Author:Mevius/トラぱんち
Author URI:https://mevius.blog/
Version: 1.0.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mevius-blog
Tags: blog, minimal, responsive, modern, light, dark, photography
*/

@charset "utf-8";
@import 'reset.css';

html, body {}


/*-----------------------------------
TODO:header ロゴ タイトル メニュー
-----------------------------------*/

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(28, 58, 88, 0.95), rgba(6, 128, 148, 0.95));
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* 境界線を少し見せたい場合 */
	z-index: 1000;
}

/* スクロール時のヘッダー変化 */
.site-header.scrolled {
	background: linear-gradient(135deg, rgba(23, 19, 52, 0.97), rgba(46, 38, 102, 0.95), rgba(0, 150, 255, 0.95));
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  padding: 0;
  max-width: 1400px;
  margin: 0 auto;
  height: 80px;
  transition: height 0.4s ease;
}

.site-header.scrolled .header-inner {
  height: 65px;
}

.site-logo {
  padding: 0 30px;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
  margin: 0;
  background: none;
  border: none;
  box-shadow: none;
  z-index: 1000;
}

.site-logo::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 100%;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.1), transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.site-logo:hover::before {
  opacity: 1;
}

.site-logo:hover::before {
  opacity: 1;
}

.site-logo a {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  position: relative;
  transition: all 0.4s ease;
  text-decoration: none;
  z-index: 1;
}

.site-logo img {
  width: 45px;
  height: 45px;
  filter: brightness(1.1) drop-shadow(0 0 20px rgba(125, 211, 252, 0.5));
  transition: all 0.4s ease;
  object-fit: contain;
}

.site-logo:hover img {
  transform: rotate(360deg) scale(1.1);
  filter: brightness(1.3) drop-shadow(0 0 30px rgba(125, 211, 252, 0.8));
}

/* ロゴテキストのグラデーション */

.site-logo a {
  background: linear-gradient(135deg, #7dd3fc, #a78bfa, #f472b6);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ナビゲーションエリア */

.header-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  padding: 0 20px;
  background: none;
  border: none;
  box-shadow: none;
  margin: 0;
  z-index: 1000;
}

/* メニューボタン */

.menu-trigger {
  width: 60px;
  height: 60px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: all 0.4s ease;
}

.menu-trigger::before {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.1), transparent);
  border: 1px solid rgba(125, 211, 252, 0.3);
  border-radius: 50%;
  transition: all 0.4s ease;
}

.menu-trigger:hover::before {
  transform: scale(1.2);
  background: radial-gradient(circle, rgba(125, 211, 252, 0.2), transparent);
  border-color: rgba(125, 211, 252, 0.6);
}

.menu-trigger span {
  position: relative;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  margin: 3px 0;
  box-shadow: 0 0 10px rgba(125, 211, 252, 0.3);
}

.menu-trigger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-trigger.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.menu-trigger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.menu-trigger-text {
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  transition: all 0.3s ease;
}

.menu-trigger:hover .menu-trigger-text {
  color: #7dd3fc;
}

/* お問い合わせボタン */

/* PCサイズでアドレス消し */
.bottom-fixed-menu {
  display: none;
}

.header-inquiry {
  padding: 0 30px;
  height: 100%;
  display: flex;
  align-items: center;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.header-inquiry a {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.1), rgba(167, 139, 250, 0.1));
  border: 1px solid rgba(125, 211, 252, 0.3);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  text-decoration: none;
}

.header-inquiry a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.3), transparent);
  transition: all 0.6s ease;
  transform: translate(-50%, -50%);
}

.header-inquiry a:hover::before {
  width: 300%;
  height: 300%;
}

.header-inquiry a:hover {
  border-color: rgba(125, 211, 252, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(125, 211, 252, 0.2);
  color: #ffffff;
  text-shadow: 0 0 10px rgba(125, 211, 252, 0.5);
}

/*-----------------------------------
　header スマホ
-----------------------------------*/

@media screen and (min-width: 768px) {
  .nav-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 70px;
  }

  .site-header {
    position: static;
    width: 100%;
    height: 70px;
    /* PCと同じグラデーション背景を適用 */
    background: linear-gradient(135deg, rgba(23, 19, 52, 0.97), rgba(46, 38, 102, 0.95), rgba(0, 150, 255, 0.95));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }

  /* スクロール時のヘッダー変化（スマホ版） */
  .site-header.scrolled {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(28, 58, 88, 0.95), rgba(6, 128, 148, 0.95));
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  }

  .header-inner {
    position: static;
    width: 100%;
    height: 70px;
    transition: height 0.4s ease;
  }

  .site-header.scrolled .header-inner {
    height: 60px;
  }

  .site-logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    padding: 0 15px;
    border: none;
    /* PCと同じ透明背景を適用 */
    background: none;
    /* ロゴのホバーエフェクトを維持 */
  }

  .site-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle, rgba(125, 211, 252, 0.1), transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .site-logo:hover::before {
    opacity: 1;
  }

  /* ロゴテキストのグラデーション（スマホでも適用） */
  .site-logo a {
    background: linear-gradient(135deg, #7dd3fc, #a78bfa, #f472b6);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
  }

  .site-logo img {
    width: 40px;
    height: 40px;
    /* PCと同じフィルター効果を適用 */
    filter: brightness(1.1) drop-shadow(0 0 20px rgba(125, 211, 252, 0.5));
    transition: all 0.4s ease;
  }

  .site-logo:hover img {
    transform: rotate(360deg) scale(1.1);
    filter: brightness(1.3) drop-shadow(0 0 30px rgba(125, 211, 252, 0.8));
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 70px;
    padding: 15px;
    z-index: 1002;
  }

/* スクロール時の背景変化 */
.header-nav.scrolled {
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(28, 58, 88, 0.98), rgba(6, 128, 148, 0.98));
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	height: auto;
	padding: 5px;
	border-radius: 30px;
}

  /* メニューボタンのスタイルを維持 */
  .menu-trigger {
    width: 50px;
    height: 50px;
  }

  .menu-trigger::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(125, 211, 252, 0.1), transparent);
    border: 1px solid rgba(125, 211, 252, 0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
  }

  .menu-trigger:hover::before {
    transform: scale(1.2);
    background: radial-gradient(circle, rgba(125, 211, 252, 0.2), transparent);
    border-color: rgba(125, 211, 252, 0.6);
  }

  .menu-trigger span {
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(125, 211, 252, 0.3);
  }

  .menu-trigger-text {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
  }

  .menu-trigger:hover .menu-trigger-text {
    color: #7dd3fc;
  }

  .header-inner .header-tel,
  .header-inner .header-inquiry {
    display: none;
  }

  .bottom-fixed-menu {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(135deg, rgba(23, 19, 52, 0.97), rgba(46, 38, 102, 0.95), rgba(0, 150, 255, 0.95));	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 15px;
	display: flex;
	justify-content: center;
	z-index: 998;
	box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* グラデーションボーダーをPCのテーマカラーに合わせて調整 */
  .bottom-fixed-menu .header-tel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    /* PCのテーマカラーに合わせたグラデーション */
    background: linear-gradient(to right, rgba(125, 211, 252, 0.6), rgba(167, 139, 250, 0.6));
  }

  .bottom-fixed-menu .header-tel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 1px;
    /* PCのテーマカラーに合わせたグラデーション */
    background: linear-gradient(to bottom, rgba(125, 211, 252, 0.6), rgba(167, 139, 250, 0.6));
  }

  /* 電話ボタンのテキストスタイルも統一 */
  .bottom-fixed-menu .header-tel a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
  }

  .bottom-fixed-menu .header-tel:hover a {
    color: #7dd3fc;
    text-shadow: 0 0 10px rgba(125, 211, 252, 0.5);
  }
}


/*-----------------------------------
global-nav グローバルナビ
-----------------------------------*/


.global-nav {
	position: fixed;
	top: 0;
	right: -100%;
	width: 100%;
	background: linear-gradient(135deg, rgba(10, 10, 20, 0.98), rgba(20, 20, 40, 0.95));
	backdrop-filter: blur(30px);
	padding: 80px 20px 120px 20px;
	height: 100vh;
	transition: right 0.6s cubic-bezier(0.22, 1, 0.36, 1);
	overflow-y: auto;
	z-index: 990;
	box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
	border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* 動画背景 */
.global-nav .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.global-nav.active {
  right: 0;
}

.global-nav .video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    filter: blur(2px);
}

/* 画像背景 */
.global-nav .background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/00007-2487405829.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: luminosity;
    opacity: 0.7;
    filter: blur(2px);
    z-index: -2; /* 動画より後ろに配置 */
}

/* 動画が再生できない場合に画像を表示 */
.video-background video:not([playsinline]):not([autoplay]),
.video-background video:not([playsinline])[autoplay="false"],
.video-background video[playsinline]:not([autoplay]),
.video-background video[playsinline][autoplay="false"] {
    display: none;
}

.global-nav.active {
    right: 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); /* アクティブ時のbox-shadowを調整 */
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease; /* transition duration を 0.3s に短縮 (cubic-bezier を削除) */
    z-index: 900; /* z-index を 999 に設定 (グローバルナビの背面に配置) */
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ナビゲーションリスト */

.nav-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 20px;
    position: relative;
    z-index: 10;
}

.nav-list li {
  margin: 0 0 5px 0;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
    border-radius: 8px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(200, 220, 240, 0.1));
    box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(180, 200, 220, 0.3);
}

.global-nav.active .nav-list li {
  opacity: 1;
  transform: translateX(0);
}

.global-nav.active .nav-list li:nth-child(1) { transition-delay: 0.1s; }
.global-nav.active .nav-list li:nth-child(2) { transition-delay: 0.2s; }
.global-nav.active .nav-list li:nth-child(3) { transition-delay: 0.3s; }
.global-nav.active .nav-list li:nth-child(4) { transition-delay: 0.4s; }
.global-nav.active .nav-list li:nth-child(5) { transition-delay: 0.5s; }
.global-nav.active .nav-list li:nth-child(6) { transition-delay: 0.6s; }
.global-nav.active .nav-list li:nth-child(7) { transition-delay: 0.7s; }
.global-nav.active .nav-list li:nth-child(8) { transition-delay: 0.8s; }

.nav-list li:hover {
    transform: translateY(-3px);
    box-shadow: 4px 8px 18px rgba(0, 0, 0, 0.1);
}

.nav-list a {
    text-decoration: none;
    color: #cceeff;
    font-size: 18px;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding: 10px 0;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.nav-list a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 10%;
    width: 80%;
    height: 3px;
    background: linear-gradient(to right, #88aacc, #ffffff);
    border-radius: 3px;
    transition: width 0.5s ease, background-color 0.3s ease, left 0.5s ease, width 0.5s ease;
}

.nav-list a:hover {
    color: #ffffff;
    text-shadow: 0px 0px 5px #ffffff, 0px 0px 10px #ffffff;
}

.nav-list a:hover:after {
    width: 80%;
    left: 10%;
}

.nav-list .current-menu-item > a,
.nav-list .current-page-ancestor > a {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0px 0px 5px #ffffff, 0px 0px 15px #ffffff;
}

.nav-list .current-menu-item > a:after,
.nav-list .current-page-ancestor > a:after {
    width: 80%;
    left: 10%;
    background: linear-gradient(to right, #aaccdd, #ffffff);
    height: 4px;
}

.nav-category-title {
    font-size: 14px;
    text-transform: uppercase;
    color: #cceeff;
    margin-bottom: 5px;
    letter-spacing: 1px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-list a.has-icon {
    display: flex;
    align-items: center;
}

.nav-list a.has-icon svg,
.nav-list a.has-icon i {
    margin-right: 10px;
    color: #cceeff;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-list a.has-icon:hover svg,
.nav-list a.has-icon:hover i {
    transform: translateX(3px);
    text-shadow: 0px 0px 5px #ffffff, 0px 0px 10px #ffffff;
}

/* サブメニュー（子メニュー）のスタイル */
.nav-list li ul {
    text-align: left;
    margin-top: 10px;
    padding-left: 20px;
    border-left: 2px dotted rgba(150, 180, 200, 0.5);
    list-style: none;
}

/* サブメニューの項目 */
.nav-list li ul li {
    margin: 6px 0;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 1px 2px 8px rgba(0, 0, 0, 0.03);
    border-radius: 6px;
}

/* サブメニューのリンク */
.nav-list li ul li a {
    font-size: 15px;
    font-weight: 500;
    padding: 6px 0;
    letter-spacing: 0.3px;
}

/* サブメニューのアンダーライン */
.nav-list li ul li a:after {
    height: 2px;
    bottom: -1px;
}

/* サブメニューのホバー効果 */
.nav-list li ul li:hover {
    transform: translateY(-2px);
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.07);
}

/* サブメニューの現在のページ表示 */
.nav-list li ul li.current-menu-item > a {
    text-shadow: 0px 0px 3px #ffffff, 0px 0px 8px #ffffff;
}

.nav-list li ul li.current-menu-item > a:after {
    height: 3px;
}

/* サブメニューのアイコン付きリンク */
.nav-list li ul li a.has-icon svg,
.nav-list li ul li a.has-icon i {
    font-size: 0.9em;
    margin-right: 8px;
}

/* グローバルナビ　スマホサイズ */

@media (max-width: 768px) {
    .global-nav {
        padding: 30px 20px 30px 20px;
    }

    .nav-list {
        gap: 10px;
        margin-top: 50px;
    }

    .nav-list li {
        padding: 8px;
        margin: 0 0 3px 0;
    }

    .nav-list a {
        font-size: 16px; 
        padding: 8px 0;
    }

    .nav-list li ul li {
        padding: 6px 10px;
        margin: 4px 0;
    }

    .nav-list li ul li a {
        font-size: 13px;
        padding: 4px 0;
    }
}

/*-----------------------------------
ヘッダー画像とキャッチコピーエリア
-----------------------------------*/


.header-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.header-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.site-description-container {
    max-width: 800px;
    padding: 30px;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center center;
    cursor: pointer;
}

/* ゼリーのようなアニメーション用のキーフレーム */
@keyframes jellyEffect {
    0% {
        transform: scale(1, 1);
    }
    30% {
        transform: scale(1.15, 0.9);
    }
    40% {
        transform: scale(0.95, 1.1);
    }
    50% {
        transform: scale(1.05, 0.95);
    }
    65% {
        transform: scale(0.98, 1.02);
    }
    80% {
        transform: scale(1.02, 0.98);
    }
    100% {
        transform: scale(1, 1);
    }
}

/* ホバー時のアニメーション（デスクトップ） */
@media (hover: hover) {
    .site-description-container:hover {
        animation: jellyEffect 0.8s ease forwards;
    }
}

/* タッチ操作時のアニメーション（モバイル） - JavaScriptで制御 */
.jelly-animation {
    animation: jellyEffect 0.8s ease forwards;
}

.site-description-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 背景グラデーション (RGBAで透明度を指定) */
    background: linear-gradient(to bottom, rgba(52, 152, 219, 0.4), rgba(106, 17, 203, 0.4)); /* アルファ値を0.8に */
    backdrop-filter: blur(10px);
    border-radius: 150px 0 150px 0;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    z-index: -1;
    transform: skewY(0deg);
    border: 1px solid rgba(220, 220, 220, 0.2);
    transition: all 0.5s ease;
}

/* ホバー時の背景効果（デスクトップ） */
@media (hover: hover) {
    .site-description-container:hover::before {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        background: linear-gradient(to bottom, rgba(52, 152, 219, 0.5), rgba(106, 17, 203, 0.5));
    }
}

.site-description {
    color: #fff; /* テキスト色を白にすると青背景に映えます */
    font-size: 30px;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
    text-shadow: none;
    letter-spacing: 0.08em;
    text-align: center;
    padding: 30px 20px;
    position: relative;
    overflow: hidden;
    font-family: '游明朝', YuMincho, 'Hiragino Mincho ProN W3', 'HGS明朝E', 'メイリオ', Meiryo, serif;
}

.site-description::before,
.site-description::after {
    content: '';
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-description {
    animation: fadeIn 1.2s ease-out forwards;
}

/* レスポンシブデザイン (変更なし) */
@media (max-width: 1024px) {
    .header-hero {
        height: 400px;
        background-attachment: scroll;
    }
    .site-description {
        font-size: 30px;
        padding: 20px;
    }
    .site-description-container {
        width: 90%;
        padding: 20px;
    }
}
@media (max-width: 768px) {
    .header-hero {
        height: 300px;
        background-attachment: scroll;
    }
    .site-description {
        font-size: 26px;
        padding: 20px;
    }
    .site-description-container {
        padding: 15px;
    }
}
@media (max-width: 480px) {
    .header-hero {
        height: 250px;
    }
    .site-description {
        font-size: 22px;
        padding: 15px;
    }
    .header-hero-content {
        padding: 15px;
    }
    .site-description-container {
        padding: 15px;
    }
}


/*-----------------------------------
 セクション全体: 明るく幻想的な背景
-----------------------------------*/
.music-promo-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    /* イラストの淡い水色とクリーム色を基調とした、明るいグラデーション背景 */
    background: linear-gradient(160deg, #eafaff 0%, #fff0f5 100%);
    font-family: 'Helvetica Neue', 'Arial', 'Hiragino Sans', 'Meiryo', sans-serif;
}

/* 背景に流れるオーロラのようなエフェクトを追加 */
.music-promo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(137, 247, 254, 0.4), /* シアン */
        rgba(102, 166, 255, 0.3), /* ブルー */
        rgba(246, 211, 101, 0.4), /* ゴールド */
        rgba(200, 182, 255, 0.3)  /* パープル */
    );
    background-size: 400% 400%;
    animation: gradientAnimation 20s ease infinite;
    opacity: 0.6;
    z-index: 0;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.promo-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/*-----------------------------------
 ヘッダータイトル: グラデーションテキスト
-----------------------------------*/
.promo-header {
    text-align: center;
    margin-bottom: 70px;
}

.promo-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    /* イラストのキーカラーを反映した鮮やかなグラデーション */
    background: linear-gradient(135deg, #29B6F6, #8E24AA, #FDD835);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent; /* 標準プロパティ */
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
    padding-bottom: 15px;
    text-shadow: 0px 2px 20px rgba(137, 247, 254, 0.3);
}

.promo-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #89f7fe, #66a6ff);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(102, 166, 255, 0.5);
}

.promo-subtitle {
    font-size: 1.1rem;
    color: #556270; /* 少し青みがかったグレーで可読性を確保 */
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/*-----------------------------------
 音楽プラットフォーム: グラスモーフィズムカード (4カラム版)
-----------------------------------*/
.music-platforms {
    margin-bottom: 60px;
}

.platforms-grid {
    display: grid;
    /* モバイル（デフォルト）では1カラム */
    grid-template-columns: 1fr;
    gap: 20px;
}

.platform-link {
    display: flex;
    align-items: center;
    /* 4カラム用に少しコンパクトに調整 */
    padding: 20px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.platform-link:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 16px 40px 0 rgba(31, 38, 135, 0.15);
}

.platform-icon {
    /* 4カラム用に少しコンパクトに調整 */
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.platform-link:hover .platform-icon {
    transform: rotate(-10deg);
}

.platform-logo {
    max-width: 30px;
    max-height: 30px;
    object-fit: contain;
}

.platform-info h3 {
    /* 4カラム用に少しコンパクトに調整 */
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: #2c3e50;
}

.platform-info p {
    /* 4カラム用に少しコンパクトに調整 */
    font-size: 0.85rem;
    color: #556270;
    margin: 0;
}

/* ホバー時にカードの縁を各プラットフォームの色に */
.youtube-topic-link:hover { border-color: #FF0000; }
.youtube-music-link:hover { border-color: #FF0000; }
.spotify-link:hover { border-color: #1DB954; }
.x-link:hover { border-color: #000000; }

.platform-glow { display: none; } /* 元のグローは無効化 */


/* --- 4カラム用のレスポンシブ設定 --- */

/* タブレットサイズ: 2カラム表示 */
@media (min-width: 600px) {
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* デスクトップサイズ: 4カラム表示 */
@media (min-width: 1024px) {
    .platforms-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}


/*-----------------------------------
 ダウンロード販売セクション
-----------------------------------*/
.download-section {
    margin-top: 60px;
    text-align: center;
}

.section-header {
    margin-bottom: 40px;
}

.download-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #6A1B9A, #4A148C, #1A237E); /* 深いパープルとインディゴ */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.download-subtitle {
    font-size: 1.1rem;
    color: #556270;
}

.download-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    justify-content: center;
}

.download-link {
    display: flex;
    align-items: center;
    padding: 20px;
    text-decoration: none;
    position: relative;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.download-link:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 16px 40px 0 rgba(31, 38, 135, 0.15);
}

.download-icon {
    width: 60px;
    height: 60px;
    margin-right: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.download-info {
    text-align: left;
    flex-grow: 1;
}

.download-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 5px;
    color: #2c3e50;
}

.download-info p {
    font-size: 0.9rem;
    color: #556270;
    margin: 0;
}

.download-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    margin-left: 15px;
    flex-shrink: 0;
    /* イラストのゴールドとパープルをイメージしたグラデーション */
    background: linear-gradient(135deg, #f6d365, #b388eb);
    border: none;
    position: static; /* 元のCSSから変更 */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ホバー時のボーダーカラー */
.mora-link:hover { border-color: #0066CC; }
.ototoy-link:hover { border-color: #FF8C00; }

.download-glow { display: none; } /* 元のグローは無効化 */


/*-----------------------------------
 最新リリース (YouTube)
-----------------------------------*/


.latest-release {
    margin: 50px 0 80px 0;
    background: #ffffff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 12px 50px -12px rgba(31, 38, 135, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.release-header {
    padding: 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(224, 247, 250, 0.5), rgba(253, 226, 228, 0.5));
    box-shadow: 0px 10px 10px 0px rgba(0,0,0,0.9);
}

.release-header h3 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 10px;
    background: linear-gradient(135deg, #0288D1, #512DA8); /* ブルーから深いパープルへ */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.release-header p {
    font-size: 1.1rem;
    color: #556270;
    margin: 0;
}

.release-embed {
    padding: 0;
    /* 動画のアスペクト比を16:9で維持 */
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

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

/*-----------------------------------
 レスポンシブ対応
-----------------------------------*/
@media (max-width: 992px) {
    .promo-title {
        font-size: 3rem;
    }
    .download-platforms{
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .music-promo-section {
        padding: 60px 0;
    }
    .promo-header {
        margin-bottom: 50px;
    }
    .promo-title {
        font-size: 2.5rem;
    }
    .promo-subtitle {
        font-size: 1rem;
    }
    .download-title {
        font-size: 2rem;
    }
    .release-header h3 {
        font-size: 1.75rem;
    }
    .download-platforms {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .promo-container {
        padding: 0 15px;
    }
    .promo-title {
        font-size: 2.2rem;
    }
    /* スマホではカード内要素を縦積みに */
    .platform-link, .download-link {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .platform-icon, .download-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .download-badge {
        margin-left: 0;
        margin-top: 10px;
    }
    .release-header {
        padding: 30px 20px;
    }
}


/*-----------------------------------
TODO:post 表示部分 スタイル
-----------------------------------*/


/* マソンリーグリッドのコンテナ - 海中表現 */
.masonry-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative; /* 擬似要素の基準位置 */
	/* 海のグラデーション: 上下が深い青、中心が淡いシアン */
	background: linear-gradient(180deg, 
	    #4a91d1 0%,      /* 上部の深い青 */
	    #7db9e8 20%,     /* 上部から中央への中間色 */
	    #e0f7fa 50%,     /* 中央の淡いシアン（最も明るい部分） */
	    #7db9e8 80%,     /* 中央から下部への中間色 */
	    #4a91d1 100%     /* 下部の深い青 */
	);    z-index: 1; /* コンテンツが手前に来るように */
    padding: 60px 0; /* 上下の余白を確保、左右のpaddingは削除 */
}

/* 水面から差し込む光の表現 */
.masonry-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 複数の放射状グラデーションで光のスポットを表現 */
    background: 
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 255, 255, 0.2) 0%, transparent 70%),
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    /* 光がゆっくり揺れ動く */
    animation: lightWobble 15s ease-in-out infinite alternate;
    pointer-events: none; /* クリックイベントを阻害しない */
    z-index: 0;
    mix-blend-mode: screen; /* 光の効果を自然に */
}

/* 泡の表現 */
.masonry-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* SVGデータURIで複数サイズの泡を表現 */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><circle cx="30" cy="30" r="8" fill="rgba(255,255,255,0.4)"/><circle cx="70" cy="120" r="5" fill="rgba(255,255,255,0.3)"/><circle cx="150" cy="50" r="6" fill="rgba(255,255,255,0.4)"/><circle cx="110" cy="160" r="4" fill="rgba(255,255,255,0.3)"/><circle cx="180" cy="80" r="7" fill="rgba(255,255,255,0.35)"/></svg>');
    background-size: 200px 200px;
    /* 泡が下から上へ流れる */
    animation: bubbleFloat 30s linear infinite;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

/* グリッドを前面に */
.masonry-container .grid {
    position: relative;
    z-index: 2;
}

/* 光の揺らめきアニメーション */
@keyframes lightWobble {
    0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
    50% { transform: scale(1.05) translate(10px, -5px); opacity: 1; }
    100% { transform: scale(1) translate(-5px, 5px); opacity: 0.9; }
}

/* 泡の上昇アニメーション */
@keyframes bubbleFloat {
    0% { background-position: 0% 100%; }
    100% { background-position: -50% -100%; } /* 少し横にもずれながら上昇 */
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .masonry-container {
        padding: 40px 0;
    }
    
    .masonry-container::before {
        animation-duration: 20s; /* モバイルでは少し遅く */
    }
}

/* モーション低減設定 */
@media (prefers-reduced-motion: reduce) {
    .masonry-container::before,
    .masonry-container::after {
        animation: none; /* アニメーションを無効化 */
    }
}


/*-----------------------------------
 記事一覧のboxここから
-----------------------------------*/


.grid {
    width: 100%;
}

/* グリッドアイテム */
.grid-item {
    width: 25%;
    box-sizing: border-box;
    transition: width 0.3s ease; /* 幅の変更をスムーズに */
}

/* 記事内部のスタイリング */
.article-inner {
    position: relative;
    overflow: hidden;
    margin: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 軽い影を追加 */
}

/* サムネイル画像のコンテナ */
.thumbnail-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 0;
    padding-top: 100%; /* 正方形のアスペクト比 */
}

/* サムネイル画像 */
.article-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像が引き延ばされたりつぶれたりしないように */
    transition: transform 0.3s ease;
}

/* ホバー時のサムネイル拡大効果 */
.article-inner:hover .article-thumbnail {
    transform: scale(1.05);
}

/* サムネイルなしの場合のプレースホルダー */
.no-thumbnail-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 24px;
}

.no-thumbnail-placeholder:after {
    content: "\f03e"; /* Font Awesome のアイコン */
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
}

/* 記事タイトル */
.article-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 12px 15px;
    background: linear-gradient(to right, rgba(102, 204, 255, 0.8), rgba(153, 102, 255, 0.8)); /* ターコイズブルーとパープルのグラデーション */
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    z-index: 2;
    transition: all 0.3s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.5); /* 薄いホワイトのボーダー */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

.article-title:hover {
    background: linear-gradient(to right, rgba(77, 190, 255, 0.9), rgba(128, 77, 255, 0.9));
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}

/* 記事抜粋 */
.article-excerpt {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 245, 250, 0.92), rgba(250, 240, 245, 0.97)); /* グラデーション背景 */
    color: #553366; /* より落ち着いた紫色のテキスト */
    padding: 25px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(20px); /* 少し控えめな移動効果 */
    transition: all 0.35s cubic-bezier(0.25, 0.1, 0.25, 1); /* スムーズなイージング */
    overflow-y: auto;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: left; /* 左揃えに変更してより読みやすく */
    font-family: 'Quicksand', 'Meiryo', sans-serif; /* モダンでクリーンなフォント */
    font-size: 15px;
    line-height: 1.7;
    border: none; /* ボーダーを削除 */
    border-radius: 0;
    box-shadow: inset 0 0 15px rgba(204, 153, 204, 0.2); /* 内側の柔らかい影 */
}

/* スクロールバーのカスタマイズ */
.article-excerpt::-webkit-scrollbar {
    width: 5px;
}

.article-excerpt::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

.article-excerpt::-webkit-scrollbar-thumb {
    background: rgba(204, 153, 204, 0.5);
    border-radius: 10px;
}

/* ホバー時の記事抜粋表示 */
.article-inner:hover .article-excerpt {
    opacity: 1;
    transform: translateY(0);
    box-shadow: inset 0 0 20px rgba(204, 153, 204, 0.3); /* ホバー時に影を強調 */
}

/* 抜粋テキストのコンテナ */
.article-excerpt-content {
    max-width: 90%;
    margin: 0 auto;
    position: relative;
}

/* 抜粋テキストの装飾 */
.article-excerpt p {
    margin-bottom: 15px;
    position: relative;
    padding: 0 5px;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8); /* テキストを読みやすく */
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* 装飾アイコンを控えめに */
.article-excerpt p:before,
.article-excerpt p:after {
    content: '★'; /* よりシンプルな装飾 */
    position: absolute;
    font-size: 1em;
    opacity: 0.4;
    color: #cc99cc;
}

.article-excerpt p:before {
    left: -15px;
    top: 0;
}

.article-excerpt p:after {
    right: -15px;
    bottom: 0;
}

/* 記事タイトル（抜粋内） */
.article-excerpt h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #442255; /* より濃い紫色 */
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

/* タイトル下の装飾線 */
.article-excerpt h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, #cc99cc, #9966cc);
    border-radius: 2px;
}

.article-excerpt .read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(153, 102, 153, 0.4);
    background: linear-gradient(to right, #bb88bb, #8855bb);
}

/* ホバー時のタイトル */
.article-inner:hover .article-title {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-5px); /* タイトルを少し上に移動 */
    transition: all 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
    color: #553366; /* ホバー時のタイトル色を変更 */
}

/* 記事リンク */
.article-link {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

/* リンクホバー時のカーソル表示 */
.article-link:hover {
    cursor: pointer;
}

/* 抜粋内のメタ情報 */
.article-excerpt .meta-info {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    font-size: 12px;
    color: #886688;
    opacity: 0.8;
}

.article-excerpt .meta-info span {
    margin: 0 8px;
    display: flex;
    align-items: center;
}

.article-excerpt .meta-info i {
    margin-right: 5px;
    font-size: 14px;
}

/* 抜粋内のカテゴリータグ */
.article-excerpt .category-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
}

.article-excerpt .category-tag {
    padding: 3px 10px;
    background-color: rgba(204, 153, 204, 0.2);
    border-radius: 15px;
    font-size: 11px;
    color: #663399;
    font-weight: 500;
}

/* 記事抜粋のアニメーション効果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-inner:hover .article-excerpt {
    animation: fadeInUp 0.4s forwards;
}

/* 記事抜粋の装飾要素 */
.article-excerpt:before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(204, 153, 204, 0.3);
    pointer-events: none;
}

/* レスポンシブ対応 - 抜粋テキストの調整 */
@media (max-width: 1200px) {
    /* 3列グリッドに変更 */
    .grid-item {
        width: 33.333%;
    }
    
    .article-excerpt {
        padding: 20px;
        font-size: 14px;
    }
    
    .article-excerpt h3 {
        font-size: 17px;
    }
}

@media (max-width: 900px) {
    /* 2列グリッドに変更 */
    .grid-item {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .article-excerpt {
        padding: 15px;
    }
    
    .article-excerpt p:before,
    .article-excerpt p:after {
        display: none; /* 装飾を非表示に */
    }
    
    .article-excerpt .read-more {
        padding: 6px 15px;
        font-size: 13px;
    }
    
    .article-title {
        font-size: 15px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    /* 1列グリッドに変更 */
    .grid-item {
        width: 100%;
    }
    
    .article-excerpt {
        padding: 15px 10px;
        font-size: 13px;
    }
    
    .article-excerpt h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .article-excerpt-content {
        max-width: 95%;
    }
}


/*-----------------------------------
TODO:single スタイル (修正・統合済み)
-----------------------------------*/


/* ファンタジーブルーテーマ - 記事ページ背景 */
#single-wrapper {
  padding-bottom: 40px;
  background: linear-gradient(135deg, #b3e0e8 0%, #cce8f0 25%, #d4e3ee 50%, #dcd9f0 75%, #e6d5f2 100%);
  background-size: cover;
  background-position: center;
  background-repeat: repeat-y;
}

/* 背景に浮かぶ球体エフェクト */
#single-wrapper::before {
  content: "";
  position: fixed;
  top: 20%;
  right: 15%;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(187,221,230,0.6) 50%, rgba(187,221,230,0) 100%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  animation: float 15s ease-in-out infinite;
}

#single-wrapper::after {
  content: "";
  position: fixed;
  top: 40%;
  right: 30%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(187,221,230,0.5) 50%, rgba(187,221,230,0) 100%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  animation: float 20s ease-in-out infinite reverse;
}

/* 風のようなエフェクト - 追加の要素として実装 */
.fantasy-wind-effect-1 {
  content: "";
  position: fixed;
  top: 10%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: linear-gradient(to right, rgba(122, 199, 218, 0.4), rgba(122, 199, 218, 0));
  transform: rotate(45deg);
  z-index: -1;
  pointer-events: none;
  animation: wind 15s ease-in-out infinite;
}

.fantasy-wind-effect-2 {
  content: "";
  position: fixed;
  bottom: 5%;
  right: -5%;
  width: 250px;
  height: 250px;
  background: linear-gradient(to left, rgba(186, 167, 222, 0.4), rgba(186, 167, 222, 0));
  transform: rotate(-45deg);
  z-index: -1;
  pointer-events: none;
  animation: wind2 18s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-15px) translateX(15px); }
  50% { transform: translateY(0) translateX(0); }
  75% { transform: translateY(15px) translateX(-15px); }
  100% { transform: translateY(0) translateX(0); }
}

@keyframes wind {
  0% { transform: rotate(45deg) translateX(0); }
  50% { transform: rotate(45deg) translateX(100px); }
  100% { transform: rotate(45deg) translateX(0); }
}

@keyframes wind2 {
  0% { transform: rotate(-45deg) translateX(0); }
  50% { transform: rotate(-45deg) translateX(-100px); }
  100% { transform: rotate(-45deg) translateX(0); }
}

/* サムネイル背景 */
.featured-image-background {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    transform: translateZ(0);
    box-shadow: 1px 1px 15px rgba(0,0,0,0.5);
}

.featured-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
    filter: brightness(0.95) contrast(1.05);
}

.featured-image-background:hover .featured-bg-img {
    transform: scale(1.03);
}

.featured-image-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9のアスペクト比 */
    overflow: hidden;
    border-radius: 0 0 5px 5px;
}

.featured-image-container .featured-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
        rgba(0,0,0,0.7) 0%,
        rgba(0,0,0,0.5) 30%,
        rgba(0,0,0,0.3) 60%,
        rgba(0,0,0,0.1) 100%);
    opacity: 0.9;
    transition: opacity 0.5s ease;
}

#template-single {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 10px;
    margin-top: -250px;
    z-index: 10;
}

/* パンくずリスト */
.breadcrumbs {
    padding: 15px 0;
    font-size: 14px;
    color: #333;
    width: 100%;
    position: relative;
    margin-bottom: 25px;
    z-index: 5;
}

.breadcrumbs-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumbs-content {
    position: relative;
    background: linear-gradient(120deg, rgba(255,255,255,0.9), rgba(220,240,255,0.85));
    padding: 12px 25px;
    border-radius: 40px;
    display: inline-block;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08), inset 0 1px 2px rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.8);
    transition: all 0.3s ease;
    overflow: hidden;
}

.breadcrumbs-content:before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(74, 192, 220, 0.3), transparent);
    border-radius: 50%;
    z-index: -1;
}

.breadcrumbs-content:after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, transparent, rgba(186, 167, 222, 0.3));
    border-radius: 50%;
    z-index: -1;
}

.breadcrumbs-content:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15), inset 0 1px 2px rgba(255,255,255,0.9);
    transform: translateY(-3px);
}

.breadcrumbs a {
    color: #4a7adc;
    text-decoration: none;
    transition: all 0.3s;
    text-shadow: 0 1px 1px rgba(255,255,255,0.8);
    font-weight: 500;
    position: relative;
    padding: 0 2px;
}

.breadcrumbs a:hover {
    color: #3a5dbc;
}

.breadcrumbs a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, #4ac0dc, #7a6ad8);
    transition: width 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 2px;
}

.breadcrumbs a:hover::after {
    width: 100%;
}

.breadcrumbs .separator {
    margin: 0 10px;
    color: #777;
    opacity: 0.7;
    position: relative;
    top: -1px;
}

.breadcrumbs .current {
    color: #222;
    font-weight: 600;
    text-shadow: 0 1px 1px rgba(255,255,255,0.8);
    position: relative;
    display: inline-block;
    padding: 0 4px;
}

.breadcrumbs .current:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #4ac0dc, #7a6ad8);
    border-radius: 2px;
}

/* 記事ヘッダー */
.entry-header {
    margin-bottom: 40px;
    position: relative;
    width: 100%;
    padding: 0;
    z-index: 5;
}

.entry-header-content {
    position: relative;
    background: linear-gradient(135deg, rgba(179, 224, 232, 0.6), rgba(220, 217, 240, 0.6));
    padding: 40px 35px 35px;
    border-radius: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15), inset 0 1px 3px rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.3);
    max-width: 100%;
    margin: 0 auto;
    animation: fadeInUp 0.9s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
    overflow: hidden;
}

.entry-header-content::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.entry-header-content::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.sparkle-effect {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}
.sparkle-effect:nth-child(1) { top: 20%; left: 10%; animation: sparkle 4s ease-in-out infinite; animation-delay: 0s; }
.sparkle-effect:nth-child(2) { top: 40%; left: 20%; animation: sparkle 5s ease-in-out infinite; animation-delay: 1s; }
.sparkle-effect:nth-child(3) { top: 30%; right: 15%; animation: sparkle 6s ease-in-out infinite; animation-delay: 2s; }
.sparkle-effect:nth-child(4) { bottom: 25%; right: 10%; animation: sparkle 4.5s ease-in-out infinite; animation-delay: 1.5s; }

@keyframes sparkle {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(0); opacity: 0; }
}

.entry-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 25px;
    position: relative;
    letter-spacing: -0.02em;
    z-index: 2;
    background: linear-gradient(135deg, #2a5298, #4a7adc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.entry-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #4ac0dc, #7a6ad8);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(74, 192, 220, 0.3);
}

/* 記事メタ情報 */
.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 0;
    font-size: 15px;
    color: #666;
    position: relative;
    z-index: 2;
}

.entry-meta i {
    margin-right: 7px;
    color: #7a6ad8;
    transition: transform 0.3s ease, color 0.3s ease;
}

.entry-meta > div:hover i {
    transform: translateY(-2px) scale(1.1);
    color: #4ac0dc;
}

.entry-meta > div {
    position: relative;
    padding: 5px 12px;
    background: rgba(255,255,255,0.4);
    border-radius: 30px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.entry-meta > div:hover {
    background: rgba(255,255,255,0.6);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.entry-meta a {
    color: #555;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    font-weight: 500;
}

.entry-meta a:hover {
    color: #4a7adc;
}

.entry-meta a:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4ac0dc, #7a6ad8);
    transition: width 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 2px;
}

.entry-meta a:hover:after {
    width: 100%;
}


/*-----------------------------------
 記事コンテンツエリア (視認性向上・スタイル統合)
-----------------------------------*/


.entry-content {
    background: rgba(255, 255, 255, 0.9); /* 背景の不透明度を上げて文字を読みやすく */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(109, 73, 255, 0.1);
    padding: 40px;
    margin-top: 30px;
    margin-bottom: 50px;
    position: relative;
    border: 1px solid rgba(116, 209, 234, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 17px;
    line-height: 1.9;
    color: #333;
}

.entry-content:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

/* 本文テキスト */
.entry-content p {
    margin-bottom: 1.5em; /* 行間の約1.8倍の余白 */
    color: #333; /* 段落の文字色を明確化 */
}

/* 記事内の見出し */
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #2a5298; /* 見出しの色を統一 */
    font-weight: 700;
}

.entry-content h2 {
    font-size: 28px;
    margin: 2.5rem 0 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(74, 192, 220, 0.3);
    position: relative;
}

.entry-content h2::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 10px;
    background: radial-gradient(circle, #4ac0dc 0%, #78d4e6 70%);
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(74, 192, 220, 0.5);
    vertical-align: middle;
    position: relative;
    top: -2px;
}

.entry-content h3 {
    font-size: 24px;
    color: #3a5dbc;
    margin: 2rem 0 1.2rem;
    padding-left: 1rem;
    border-left: 4px solid #7a6ad8;
}

.entry-content h4 {
    font-size: 20px;
    color: #4a7adc;
    margin: 1.8rem 0 1rem;
}

/* 記事内のリンク */
.entry-content a {
    color: #4a7adc;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
}

.entry-content a:hover {
    color: #7a6ad8;
}

.entry-content a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -3px;
    left: 0;
    background: linear-gradient(90deg, #4ac0dc, #7a6ad8);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.entry-content a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* 引用 */
.entry-content blockquote {
    border-left: 4px solid #4ac0dc;
    background: linear-gradient(to right, rgba(179, 224, 232, 0.2), rgba(255, 255, 255, 0.1));
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    position: relative;
    color: #555;
    font-style: italic;
}

.entry-content blockquote::before {
    content: "“";
    font-family: Georgia, serif;
    font-size: 4rem;
    position: absolute;
    top: -0.5rem;
    left: 0.5rem;
    color: rgba(74, 192, 220, 0.2);
    line-height: 1;
}

.entry-content blockquote p {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

/* コードブロック */
.entry-content pre {
    background: rgba(40, 44, 52, 0.95);
    color: #abb2bf;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-top: 3px solid #4ac0dc;
}

.entry-content code {
    font-family: 'Fira Code', monospace;
    font-size: 0.9em;
    background-color: rgba(220,220,220,0.3);
    padding: 0.2em 0.4em;
    border-radius: 4px;
}

.entry-content pre code {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
}


/* テーブル */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(155, 184, 215, 0.2);
}

.entry-content th {
    background: linear-gradient(135deg, #4ac0dc, #7a6ad8);
    color: white;
    font-weight: 600;
    text-align: left;
    padding: 1rem;
}

.entry-content td {
    padding: 1rem;
    border-bottom: 1px solid rgba(155, 184, 215, 0.2);
}

.entry-content tr:last-child td {
    border-bottom: none;
}

.entry-content tr:nth-child(even) {
    background: rgba(179, 224, 232, 0.1);
}

/* リスト */
.entry-content ul, .entry-content ol {
    padding-left: 2rem;
    margin: 1.5rem 0;
}

.entry-content li {
    margin-bottom: 0.8em;
    position: relative;
}

.entry-content ul li::before {
    content: "";
    position: absolute;
    left: -1.5rem;
    top: 0.7em;
    width: 6px;
    height: 6px;
    background: #4ac0dc;
    border-radius: 50%;
}

.entry-content ol {
    list-style-type: none;
    counter-reset: item;
}

.entry-content ol li::before {
    content: counter(item);
    counter-increment: item;
    position: absolute;
    left: -2rem;
    top: 0;
    color: #fff;
    background: #7a6ad8;
    border-radius: 50%;
    width: 1.5em;
    height: 1.5em;
    text-align: center;
    line-height: 1.5em;
    font-size: 0.9em;
    font-weight: bold;
}

/* 画像とキャプション */
.entry-content img,
.entry-content .wp-caption {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 2rem auto;
    display: block;
}

.entry-content img:hover,
.entry-content .wp-caption:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.wp-caption-text {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-top: 0.5em;
    font-style: italic;
}


/*-----------------------------------
 埋め込みコンテンツ (YouTube, Twitter/X等) - エディタと同じ表示
-----------------------------------*/

/* 全ての埋め込みコンテンツの基本スタイル */
.entry-content .wp-block-embed {
    margin: 2rem 0;
    clear: both;
}

/* 埋め込みのキャプション */
.entry-content .wp-block-embed figcaption {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-top: 0.8em;
}

/* YouTube埋め込み */
.entry-content .wp-block-embed-youtube .wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.entry-content .wp-block-embed-youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Twitter/X埋め込み */
.entry-content .wp-block-embed-twitter {
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.entry-content .twitter-tweet {
    margin: 0 auto !important;
}

.entry-content .wp-block-embed-twitter .wp-block-embed__wrapper {
    /* Twitter用のラッパーはそのまま */
}

/* blockquote形式のTwitter埋め込み（JavaScript読み込み前） */
.entry-content blockquote.twitter-tweet {
    border: 1px solid #cfd9de;
    border-radius: 12px;
    padding: 16px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* モバイル対応 */
@media (max-width: 600px) {
    .entry-content .wp-block-embed {
        margin: 1.5rem 0;
    }
}


/* 記事フッター */
.entry-footer {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(179, 224, 232, 0.4), rgba(220, 217, 240, 0.4));
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(155, 184, 215, 0.2);
    position: relative;
    overflow: hidden;
}

.entry-footer::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

/* シェアボタン */
.entry-share {
    margin: 40px 0px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(109, 73, 255, 0.05);
}

.share-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.share-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    transition: transform 0.3s, background-color 0.3s;
}

.share-twitter { background-color: #1DA1F2; }
.share-facebook { background-color: #1877F2; }
.share-linkedin { background-color: #0077B5; }
.share-email { background-color: #EA4335; }

.share-buttons a:hover {
    transform: translateY(-3px) scale(1.1);
    opacity: 0.9;
}

/* 前後の記事リンク */
.entry-pager {
    margin: 40px 0;
}

.pager-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pager-prev, .pager-next {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(109, 73, 255, 0.05);
}

.pager-prev:hover, .pager-next:hover {
    background-color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(109, 73, 255, 0.1);
}

.pager-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.pager-prev .pager-thumb { margin-right: 15px; }
.pager-next .pager-thumb { margin-left: 15px; order: 2; }


.pager-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-thumb {
    width: 100%;
    height: 100%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 20px;
}

.pager-content {
    flex-grow: 1;
}

.pager-label {
    display: block;
    font-size: 12px;
    font-weight: bold;
    color: #666;
    margin-bottom: 5px;
}
.pager-next .pager-content { text-align: right; }

.pager-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 関連記事 */
.related-posts {
    margin: 60px 0 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(109, 73, 255, 0.05);
}

.related-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 25px;
    text-align: center;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.related-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #74d1ea, #6d49ff);
    border-radius: 2px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.related-item {
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.related-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #eee;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.related-item:hover .related-thumb img {
    transform: scale(1.05);
}


.related-content {
    padding: 15px;
}

.related-item-title {
    font-size: 15px;
    font-weight: bold;
    line-height: 1.4;
    margin: 0 0 5px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.related-date {
    font-size: 12px;
    color: #777;
    margin: 0;
}


/* モバイル対応 */
@media (max-width: 768px) {
    .featured-image-background {
        height: auto;
    }
    #template-single {
        margin-top: -150px;
    }
    .entry-header-content {
        padding: 30px 25px;
    }
    .entry-title {
        font-size: 28px;
    }
    .breadcrumbs-content {
        padding: 10px 20px;
        width: 100%;
        box-sizing: border-box;
    }
    .entry-meta {
        gap: 10px;
    }
    .entry-meta > div {
        padding: 4px 10px;
        font-size: 13px;
    }
    .entry-content {
        padding: 25px;
        font-size: 16px;
    }
    .entry-content h2 { font-size: 24px; }
    .entry-content h3 { font-size: 20px; }

    .pager-links {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .featured-image-container {
        padding-top: 75%;
    }
    #template-single {
        margin-top: -70px;
    }
    .entry-title {
        font-size: 24px;
    }
    .entry-content {
        padding: 20px;
    }
    .entry-content h2 {
        font-size: 22px;
        margin: 35px 0 20px;
    }
    .entry-content h3 {
        font-size: 18px;
        margin: 25px 0 15px;
    }
    .entry-content blockquote {
        padding: 15px 20px;
        margin: 25px 0;
    }
    .related-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    }
}

/* アニメーション定義 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*-----------------------------------
カテゴリーページ - 1カラム & 改良フィルター（完全版）
-----------------------------------*/

/* カテゴリーヘッダーをアーカイブタイトルと統合 */
.category-header {
  margin-bottom: 40px;
  background: none;
  border-radius: 0;
  box-shadow: none;
  border: none;
  padding: 0;
}

.category-header-inner {
  padding: 0;
  background: none;
  border: none;
}

.category-header .archive-title-container {
  position: relative;
  padding: 0 30px;
  margin: 0 auto;
  max-width: 800px;
}

/* カテゴリー説明文 */
.category-description {
  text-align: center;
  margin-top: 20px;
  font-size: 16px;
  color: #666699;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* 改良されたフィルターデザイン */
.category-filter-enhanced {
  margin-bottom: 40px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.category-filter-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(102, 204, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(153, 102, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.filter-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.filter-left {
  display: flex;
  gap: 30px;
  align-items: center;
}

.filter-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.filter-option {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #4a5568;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.filter-label i {
  color: #667eea;
  font-size: 16px;
}

.sort-select-enhanced,
.category-select-enhanced {
  padding: 12px 16px;
  border: 2px solid rgba(102, 126, 234, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  color: #2d3748;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 180px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.sort-select-enhanced:hover,
.category-select-enhanced:hover {
  border-color: rgba(102, 126, 234, 0.4);
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.sort-select-enhanced:focus,
.category-select-enhanced:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.filter-stats {
  display: flex;
  align-items: center;
}

.posts-count {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(153, 102, 255, 0.1));
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  color: #4a5568;
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.posts-count i {
  color: #667eea;
}

.view-toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  padding: 4px;
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #718096;
}

.view-btn:hover {
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
}

.view-btn.active {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* 1カラムレイアウト */
.category-posts-single {
  width: 100%;
}

.category-posts-single .grid-sizer,
.category-posts-single .grid-item {
  width: 100%;
}

@media (min-width: 768px) {
  .category-posts-single .grid-sizer,
  .category-posts-single .grid-item {
    width: 50%;
  }
}

@media (min-width: 1200px) {
  .category-posts-single .grid-sizer,
  .category-posts-single .grid-item {
    width: 33.333%;
  }
}


/* リスト表示時の2カラムレイアウト（カテゴリーページ専用） */
.category-posts-single .grid.list-view .article-inner {
  height: auto;
  min-height: 200px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.category-posts-single .grid.list-view .article-inner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* 記事リンク全体をフレックスコンテナにして横並び配置 */
.category-posts-single .grid.list-view .article-link {
  display: flex;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* サムネイル部分（左側） */
.category-posts-single .grid.list-view .thumbnail-container {
  width: 260px;
  flex-shrink: 0;
  padding-top: 0;
  height: 200px;
  position: relative;
  overflow: hidden;
  background: #f8f9fa;
}

.category-posts-single .grid.list-view .article-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-posts-single .grid.list-view .article-inner:hover .article-thumbnail {
  transform: scale(1.05);
}

.category-posts-single .grid.list-view .no-thumbnail-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-size: 32px;
}

/* コンテンツ部分（右側） */
.category-posts-single .grid.list-view .article-content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 24px;
  justify-content: space-between;
}

/* タイトル（リスト表示専用スタイル） */
.category-posts-single .grid.list-view .article-title {
  position: static;
  background: none;
  color: #2d3748;
  padding: 0;
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  transform: none;
  text-shadow: none;
  border: none;
  box-shadow: none;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-posts-single .grid.list-view .article-inner:hover .article-title {
  color: #667eea;
  background: none;
  transform: none;
}

/* 抜粋部分（リスト表示専用スタイル） */
.category-posts-single .grid.list-view .article-excerpt {
  position: static;
  opacity: 1;
  transform: none;
  background: none;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: none;
  border: none;
  color: #4a5568;
}

/* 重複するタイトル（h3）を非表示 */
.category-posts-single .grid.list-view .article-excerpt-content h3 {
  display: none;
}

/* 抜粋テキスト */
.category-posts-single .grid.list-view .article-excerpt-content p {
  font-size: 14px;
  line-height: 1.6;
  color: #718096;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* メタ情報 */
.category-posts-single .grid.list-view .meta-info {
  display: flex;
  gap: 16px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  font-size: 12px;
  color: #a0aec0;
}

.category-posts-single .grid.list-view .meta-info span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.category-posts-single .grid.list-view .meta-info i {
  color: #667eea;
  font-size: 12px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .category-posts-single .grid.list-view .article-link {
    flex-direction: column;
  }
  
  .category-posts-single .grid.list-view .thumbnail-container {
    width: 100%;
    height: 200px;
  }
  
  .category-posts-single .grid.list-view .article-content-wrapper {
    padding: 16px 20px;
  }
  
  .category-posts-single .grid.list-view .article-title {
    font-size: 16px;
    margin-bottom: 8px;
  }
  
  .category-posts-single .grid.list-view .article-excerpt-content p {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }
  
  .category-posts-single .grid.list-view .meta-info {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .category-posts-single .grid.list-view .thumbnail-container {
    height: 180px;
  }
  
  .category-posts-single .grid.list-view .article-content-wrapper {
    padding: 12px 16px;
  }
  
  .category-posts-single .grid.list-view .article-title {
    font-size: 15px;
  }
}  


/*-----------------------------------
固定ページのスタイル
-----------------------------------*/

/* 固定ページの全体レイアウト */
.page-content {
  position: relative;
  padding: 20px 0 60px;
  background-color: rgba(240, 248, 255, 0.8); /* 淡い青色の背景 */
  color: #333366; /* 濃い青色のテキスト */
}

.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* パンくずリスト */
.breadcrumbs-wrapper {
  margin-bottom: 30px;
}

.breadcrumbs-inner {
  padding: 15px 0;
  border-bottom: 1px solid rgba(153, 102, 255, 0.2); /* 薄い紫色のボーダー */
}

.breadcrumbs {
  font-size: 14px;
  color: #6688aa; /* 青色のテキスト */
}

.breadcrumbs a {
  color: #6688aa; /* 青色のテキスト */
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumbs a:hover {
  color: #446688; /* より濃い青色のテキスト */
  text-decoration: underline;
}

.breadcrumbs .separator {
  margin: 0 8px;
  color: #cc99cc; /* 薄い紫色のテキスト */
}

.breadcrumbs .current {
  color: #333366; /* 濃い青色のテキスト */
  font-weight: 500;
}

/* ページヘッダー */
.page-header {
  margin-bottom: 40px;
  text-align: center;
}

.page-title {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 15px;
  color: #333366; /* 濃い青色のテキスト */
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.page-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #66ccff, #9966ff); /* ターコイズブルーとパープルのグラデーション */
  border-radius: 3px;
}

.page-subtitle {
  font-size: 18px;
  color: #666699; /* 少し濃い青色のテキスト */
  margin-top: 10px;
  font-style: italic;
}

/* ページコンテンツ */
.page-content-wrapper {
  margin-bottom: 60px;
  background-color: rgba(250, 240, 245, 0.8); /* 薄いピンク色の背景 */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #cc99cc; /* 薄い紫色のボーダー */
}

.page-content-inner {
  padding: 40px;
  font-size: 17px;
  line-height: 1.8;
  color: #333366; /* 濃い青色のテキスト */
}

/* ページコンテンツ内の要素 */
.page-content-inner p {
  margin-bottom: 20px;
}

.page-content-inner h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 40px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(153, 102, 255, 0.2); /* 薄い紫色のボーダー */
  color: #333366; /* 濃い青色のテキスト */
}

.page-content-inner h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 30px 0 15px;
  color: #333366; /* 濃い青色のテキスト */
  position: relative;
  padding-left: 15px;
}

.page-content-inner h3:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(to bottom, #66ccff, #9966ff); /* ターコイズブルーとパープルのグラデーション */
  border-radius: 2px;
}

.page-content-inner h4 {
  font-size: 20px;
  font-weight: 600;
  margin: 25px 0 15px;
  color: #333366; /* 濃い青色のテキスト */
}

.page-content-inner h5, .page-content-inner h6 {
  font-size: 18px;
  font-weight: 600;
  margin: 20px 0 10px;
  color: #333366; /* 濃い青色のテキスト */
}

.page-content-inner ul, .page-content-inner ol {
  margin: 20px 0 20px 20px;
  padding-left: 20px;
}

.page-content-inner ul li, .page-content-inner ol li {
  margin-bottom: 10px;
}

.page-content-inner a {
  color: #6688aa; /* 青色のテキスト */
  text-decoration: underline;
  transition: color 0.3s;
}

.page-content-inner a:hover {
  color: #446688; /* より濃い青色のテキスト */
}

.page-content-inner blockquote {
  margin: 30px 0;
  padding: 20px 30px;
  background-color: rgba(240, 248, 255, 0.8); /* 淡い青色の背景 */
  border-left: 4px solid #66ccff; /* ターコイズブルーのボーダー */
  font-style: italic;
  color: #666699; /* 少し濃い青色のテキスト */
  border-radius: 0 8px 8px 0;
}

.page-content-inner img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.page-content-inner table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.page-content-inner table th {
  background-color: rgba(102, 204, 255, 0.2); /* 薄いターコイズブルーの背景 */
  color: #333366; /* 濃い青色のテキスト */
  font-weight: 600;
  text-align: left;
  padding: 12px 15px;
  border: 1px solid #cc99cc; /* 薄い紫色のボーダー */
}

.page-content-inner table td {
  padding: 12px 15px;
  border: 1px solid #cc99cc; /* 薄い紫色のボーダー */
  color: #333366; /* 濃い青色のテキスト */
}

.page-content-inner table tr:nth-child(even) {
  background-color: rgba(250, 240, 245, 0.5); /* 薄いピンク色の背景 */
}

.page-content-inner table tr:hover {
  background-color: rgba(153, 102, 255, 0.1); /* 薄い紫色の背景 */
}

/* ページリンク */
.page-links {
  margin: 30px 0;
  padding: 15px 0;
  border-top: 1px solid #cc99cc; /* 薄い紫色のボーダー */
  border-bottom: 1px solid #cc99cc; /* 薄い紫色のボーダー */
  text-align: center;
}

.page-links a, .page-links span {
  display: inline-block;
  padding: 5px 10px;
  margin: 0 5px;
  background-color: rgba(102, 204, 255, 0.2); /* 薄いターコイズブルーの背景 */
  color: #333366; /* 濃い青色のテキスト */
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-links a:hover {
  background-color: rgba(102, 204, 255, 0.4); /* やや濃いターコイズブルーの背景 */
  transform: translateY(-2px);
}

.page-links span {
  background-color: rgba(153, 102, 255, 0.3); /* 薄い紫色の背景 */
  color: #333366; /* 濃い青色のテキスト */
}


/* アイキャッチ画像 */
.page-featured-image {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin-bottom: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.page-featured-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(102, 204, 255, 0.3), rgba(153, 102, 255, 0.3)); /* ターコイズブルーとパープルのグラデーション */
}

.page-article:hover .page-thumbnail {
  transform: scale(1.02);
}


/* コンテンツが見つからない場合 */
.no-content {
  text-align: center;
  padding: 80px 20px;
  background-color: rgba(250, 240, 245, 0.8); /* 薄いピンク色の背景 */
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #cc99cc; /* 薄い紫色のボーダー */
}

.no-content h2 {
  font-size: 28px;
  color: #333366; /* 濃い青色のテキスト */
  margin-bottom: 20px;
}

.no-content p {
  color: #666699; /* 少し濃い青色のテキスト */
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.button-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(to right, #66ccff, #9966ff); /* ターコイズブルーとパープルのグラデーション */
  color: #ffffff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.button-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  background: linear-gradient(to right, #33bbff, #7744ff); /* より濃いグラデーション */
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
  .page-featured-image {
    height: 350px;
  }
  
  .page-title {
    font-size: 32px;
  }
  
  .page-content-inner {
    padding: 30px;
  }
  
  .page-comments {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-content {
    padding: 10px 0 40px;
  }
  
  .page-featured-image {
    height: 300px;
  }
  
  .page-title {
    font-size: 28px;
  }
  
  .page-subtitle {
    font-size: 16px;
  }
  
  .page-content-inner {
    padding: 25px;
    font-size: 16px;
  }
  
  .page-content-inner h2 {
    font-size: 24px;
  }
  
  .page-content-inner h3 {
    font-size: 20px;
  }
  
  .page-comments {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .page-content {
    padding: 10px 0 30px;
    margin-bottom
  }
  
  .page-featured-image {
    height: 250px;
  }
  
  .page-title {
    font-size: 24px;
  }
  
  .page-content-inner {
    padding: 20px;
    font-size: 15px;
  }
  
  .page-content-inner h2 {
    font-size: 22px;
  }
  
  .page-content-inner h3 {
    font-size: 18px;
  }
  
  .page-content-inner blockquote {
    padding: 15px 20px;
  }
  
  .page-comments {
    padding: 20px;
  }
  
  .comment {
    padding: 15px;
  }
  
  .comment-respond {
    padding: 20px;
  }
}



/*-----------------------------------
 アーカイブセクションのスタイル
-----------------------------------*/


.archive-section {
  margin: 60px 0;
  padding: 0;
}

.archive-container {
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.archive-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #3498db, #9b59b6, #e74c3c);
}

.archive-title {
  font-size: 1.8rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 30px;
  color: #2c3e50;
  position: relative;
  padding-bottom: 15px;
}

.archive-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #3498db;
  border-radius: 3px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.archive-box {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}

.archive-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.archive-box h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #3498db;
  padding-bottom: 8px;
  border-bottom: 2px solid #ecf0f1;
  position: relative;
}

.archive-box h4::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #3498db;
}

.archive-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.archive-list li {
  margin-bottom: 10px;
  position: relative;
}

.archive-list li:last-child {
  margin-bottom: 0;
}

.archive-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  color: #34495e;
  text-decoration: none;
  transition: all 0.2s;
  font-weight: 500;
}

.archive-list a:hover {
  color: #3498db;
  transform: translateX(5px);
}

.archive-list a span {
  background-color: #f1f5f9;
  color: #7f8c8d;
  border-radius: 20px;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 600;
}

.more-link a {
  color: #3498db;
  font-size: 0.9rem;
  font-style: italic;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-item {
  display: inline-block;
  padding: 5px 12px;
  background-color: #f1f5f9;
  color: #34495e;
  border-radius: 20px;
  font-size: var(--size, 0.9em);
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
}

.tag-item:hover {
  background-color: #3498db;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(52, 152, 219, 0.2);
}

.tag-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #ecf0f1;
  color: #7f8c8d;
  border-radius: 50%;
  text-decoration: none;
  font-weight: bold;
}

.archive-footer {
  text-align: center;
  margin-top: 30px;
}

.archive-btn {
  display: inline-block;
  margin: 5px 15px;
  padding: 12px 30px;
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.archive-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
  background: linear-gradient(135deg, #2980b9, #3498db);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .archive-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .archive-container {
    padding: 25px 20px;
  }
}


/*-----------------------------------
 プロフィールリンクセクションのスタイル
-----------------------------------*/


.mevius-profile-link {
  margin: 60px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.profile-link-inner {
  display: flex;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-link-inner:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.profile-image-container {
  flex: 0 0 300px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #3d4070 0%, #6a11cb 100%);
}

.profile-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.profile-link-inner:hover .profile-image-wrapper img {
  transform: scale(1.05);
}

.profile-content {
  flex: 1;
  padding: 40px;
  position: relative;
}

.profile-content h2 {
  font-size: 28px;
  color: #3d4070;
  margin: 0 0 5px 0;
  font-weight: 700;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-title {
  font-size: 16px;
  font-weight: 500;
  color: #6a11cb;
  background: rgba(106, 17, 203, 0.1);
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
}

.profile-description {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin: 15px 0;
}

.profile-interests {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.profile-interests span {
  background: #f5f5f7;
  color: #3d4070;
  font-size: 14px;
  padding: 5px 12px;
  border-radius: 20px;
  transition: background 0.3s ease, color 0.3s ease;
}

.profile-interests span:hover {
  background: #3d4070;
  color: white;
}

.profile-link-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #3d4070 0%, #6a11cb 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-link-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(61, 64, 112, 0.3);
}

.profile-link-button svg {
  transition: transform 0.3s ease;
}

.profile-link-button:hover svg {
  transform: translateX(3px);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .profile-link-inner {
    flex-direction: column;
  }
  
  .profile-image-container {
    flex: 0 0 200px;
    width: 100%;
  }
  
  .profile-content {
    padding: 30px;
  }
}

@media (max-width: 480px) {
  .profile-content h2 {
    font-size: 24px;
  }
  
  .profile-description {
    font-size: 15px;
  }
  
  .profile-content {
    padding: 25px 20px;
  }
}


/*-----------------------------------
TODO:archive スタイル
-----------------------------------*/


/* アーカイブタイトルのスタイリング */
.archive-title {
    position: relative;
    text-align: center;
    margin: 30px 0 40px;
    padding: 15px 0;
    font-size: 28px;
    font-weight: 600;
    color: #553366;
    letter-spacing: 1px;
    line-height: 1.4;
}

/* グラデーションの下線 */
.archive-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, #66ccff, #9966ff);
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(153, 102, 255, 0.2);
}

/* 装飾要素（左側） */
.archive-title:before {
    content: '☆';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(204, 153, 204, 0.6);
    font-size: 24px;
}

/* 装飾要素（右側） */
.archive-title span:after {
    content: '☆';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(204, 153, 204, 0.6);
    font-size: 24px;
}

/* タイトルの周りに薄いボーダー */
.archive-title-container {
    position: relative;
    padding: 0 30px;
    margin: 0 auto;
    max-width: 800px;
}

/* アニメーション効果 */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ホバー時のエフェクト */
.archive-title:hover:after {
    width: 150px;
    background: linear-gradient(90deg, #66ccff, #9966ff, #cc99ff, #9966ff, #66ccff);
    background-size: 300% 300%;
    animation: gradientShift 3s ease infinite;
    transition: width 0.5s ease;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .archive-title {
        font-size: 24px;
        margin: 25px 0 30px;
        padding: 12px 0;
    }
    
    .archive-title:before,
    .archive-title span:after {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .archive-title {
        font-size: 20px;
        margin: 20px 0 25px;
        padding: 10px 0;
    }
    
    .archive-title:before,
    .archive-title span:after {
        display: none; /* モバイルでは装飾要素を非表示 */
    }
    
    .archive-title:after {
        width: 80px;
    }
}

/* グリッドレイアウト */
.grid {
  width: 100%;
}

.grid-sizer,
.grid-item {
  width: 100%;
}

@media (min-width: 576px) {
  .grid-sizer,
  .grid-item {
    width: 50%;
  }
}

@media (min-width: 992px) {
  .grid-sizer,
  .grid-item {
    width: 33.333%;
  }
}

.grid-item article {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
  overflow: hidden;
  margin: 2px;
}

.grid-item article:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.grid-item a {
  color: #333;
  text-decoration: none;
  display: block;
}

.grid-item .post-thumbnail {
  overflow: hidden;
}

.grid-item .post-thumbnail img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.grid-item article:hover .post-thumbnail img {
  transform: scale(1.05);
}

.grid-item .post-content {
  padding: 15px;
}

.grid-item .entry-title {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.4;
}

.grid-item .entry-meta {
  font-size: 12px;
  color: #888;
  margin-bottom: 10px;
}

.grid-item .cat-links {
  margin-left: 10px;
}

.grid-item .cat-links a {
  display: inline-block;
  margin-right: 5px;
  color: #007bff;
}

.grid-item .entry-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* ページネーション */
.pagination {
  margin: 30px 0;
  display: flex;
  justify-content: center;
}

.pagination .page-numbers {
  padding: 5px 12px;
  margin: 0 3px;
  border: 1px solid #ddd;
  color: #333;
  text-decoration: none;
  border-radius: 3px;
}

.pagination .page-numbers.current {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

.pagination .page-numbers:hover:not(.current) {
  background-color: #f5f5f5;
}


/*-----------------------------------
TODO:footer スタイル
-----------------------------------*/

footer {
  /* 縞々パターン（格子）はそのまま維持 */
  background-image: linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    /* ここだけ新しいグラデーションに変更 */
    linear-gradient(135deg, rgba(23, 19, 52, 0.97), rgba(46, 38, 102, 0.95), rgba(0, 150, 255, 0.95));
  background-size: 20px 20px, 20px 20px, 100% 100%;
  background-position: 0 0, 0 0, 0 0;
  position: relative; /* 相対位置指定を維持 */
  box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.1); /* 上部の影も維持 */
}

/* 上部の影をより強調する擬似要素も維持 */
footer::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.05));
  pointer-events: none;
}

/* 上部の影をより強調したい場合は、擬似要素を使用 */
footer::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.05));
  pointer-events: none;
}


.footer-navigation {
  padding: 20px 0;
  text-align: center;
  width: 100%;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-menu li {
  margin: 8px 15px;
  position: relative;
}

.footer-menu a {
  color: #aaccdd; /* 明るい青色に変更 */
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 20px;
  transition: all 0.3s ease;
  background-color: rgba(50, 50, 50, 0.7);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
  display: block;
  border: 1px solid rgba(100, 100, 100, 0.3);
}

.footer-menu a:hover,
.footer-menu a:focus {
  background-color: rgba(70, 70, 70, 0.8);
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.footer-menu a:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.footer-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #88aacc; /* 明るい青色に変更 */
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.footer-menu a:hover::after {
  width: 70%;
  background-color: #aaccdd; /* さらに明るい青色に変更 */
}

@media screen and (max-width: 768px) {
  .footer-menu {
    flex-direction: column;
    align-items: center;
  }

  .footer-menu li {
    margin: 5px 0;}

  .footer-menu a {
    padding: 10px;
    text-align: center;
    width: 100%;
    font-size: 15px;
  }
}

@media screen and (max-width: 480px) {
  .footer-menu li {}

  .footer-menu a {
    font-size: 14px;
    padding: 8px;
  }
}

/* プライバシーポリシーリンクのスタイル */
.privacy-policy-link {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 10px 0;
}

.privacy-policy-link a {
  color: #bbbbbb;
  text-decoration: underline;
  transition: all 0.3s ease;
  font-size: 14px;
}

.privacy-policy-link a:hover {
  color: #ffffff;
  text-decoration: none;
}

.site-info {
  padding: 0 0 20px;
  font-size: 16px;
  text-align: center;
  color: #aaccdd; /* 明るい青色に変更 */
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}

.site-info p {
  margin: 0 0 20px;
}

ul.company-info {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  padding-left: 20px;
  color: #88aacc; /* 明るい青色に変更 */
}

.site-info a {
  color: #bbbbbb;
  text-decoration: underline;
  transition: all 0.3s ease;
}

.site-info a:hover {
  color: #ffffff;
  text-decoration: none;
}

.page-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(to right, rgba(0, 172, 238, 0.9), rgba(109, 73, 255, 0.9));
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #dddddd;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-top-btn:hover {
  background-color: #555555;
  transform: translateY(0) scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

.page-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media screen and (max-width: 768px) {
  .page-top-btn {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }
}

@media screen and (max-width: 480px) {
  .page-top-btn {
    width: 40px;
    height: 40px;
    bottom: 15px;
    right: 15px;
  }
}

