/*
Theme Name: towanone
Theme URI: https://towanone.com
Author: towanone
Description: 「技術の風が吹いて、霞んでいた伝統が色鮮やかになる」- シンプルでエモーショナルなブログテーマ
Version: 1.0.0
Text Domain: towanone
*/

/* ==========================================================================
   towanone カスタムテーマ
   「伝統を、技術でつなぐ。」
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS変数
   -------------------------------------------------------------------------- */
:root {
    /* ベースカラー - シックなライトモード */
    --towa-bg: #FFFFFF;
    --towa-bg-alt: #F5F7F8;
    --towa-bg-subtle: #EDF1F3;
    --towa-text: #2D3748;
    --towa-text-light: #5A6A7A;
    --towa-heading: #1A2332;

    /* アクセントカラー - ティールグリーン */
    --towa-primary: #2A7B7B;
    --towa-primary-light: #3D9494;
    --towa-primary-dark: #1F5F5F;
    --towa-secondary: #7A6B4E;         /* 和楽器用：落ち着いた茶 */
    --towa-secondary-light: #9A8B6E;
    --towa-accent: #2A7B7B;

    /* 機能カラー */
    --towa-border: #DDE3E8;
    --towa-code-bg: #F5F7F8;
    --towa-table-stripe: #F8FAFB;
    --towa-success: #2F855A;
    --towa-warning: #B7791F;

    /* シャドウ - より繊細に */
    --towa-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --towa-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --towa-shadow-lg: 0 8px 24px rgba(0,0,0,0.1);

    /* アニメーション */
    --towa-transition: 0.25s ease;
    --towa-transition-slow: 0.4s ease;

    /* タイポグラフィ */
    --towa-font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
    --towa-font-heading: "Noto Sans JP", "Hiragino Sans", "メイリオ", sans-serif;
    --towa-font-code: "Source Code Pro", "Menlo", "Consolas", monospace;

    --towa-line-height: 1.9;
    --towa-line-height-heading: 1.4;

    /* 角丸 - モダンな統一感 */
    --towa-radius-sm: 6px;
    --towa-radius-md: 10px;
    --towa-radius-lg: 16px;
}

/* --------------------------------------------------------------------------
   2. リセット・ベース
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--towa-font-body);
    font-size: 16px;
    line-height: var(--towa-line-height);
    color: var(--towa-text);
    background-color: var(--towa-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--towa-accent);
    text-decoration: none;
    transition: color var(--towa-transition);
}

a:hover {
    color: var(--towa-primary-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--towa-font-heading);
    font-weight: 600;
    line-height: var(--towa-line-height-heading);
    color: var(--towa-heading);
    margin: 0 0 0.5em;
}

p {
    margin: 0 0 1.5em;
}

ul, ol {
    margin: 0 0 1.5em;
    padding-left: 1.5em;
}

li {
    margin-bottom: 0.5em;
}

/* --------------------------------------------------------------------------
   3. レイアウト
   -------------------------------------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* レイアウト */
.content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.content-area--full {
    max-width: 800px;
}

.primary-content {
    min-width: 0;
}

.towa-posts-grid--archive {
    grid-template-columns: repeat(3, 1fr);
}

.archive-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--towa-border);
}

.archive-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--towa-heading);
}

.no-posts {
    text-align: center;
    padding: 60px 20px;
    color: var(--towa-text-light);
}

@media (max-width: 1024px) {
    .towa-posts-grid--archive {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .towa-posts-grid--archive {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   4. ヘッダー（フルスクリーンメニュー対応）
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--towa-shadow-sm);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.site-branding {
    flex-shrink: 0;
    z-index: 1001;
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.site-title a {
    color: var(--towa-heading);
}

.site-title a:hover {
    color: var(--towa-primary);
}

.site-title-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--towa-heading);
    text-decoration: none;
    letter-spacing: 0.05em;
}

/* ハンバーガーボタン */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--towa-heading);
    transition: all 0.3s ease;
    transform-origin: center;
}

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

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

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

.menu-toggle.active span {
    background: #ffffff;
}

/* 旧ナビゲーション（非表示） */
.main-navigation {
    display: none;
}

.main-navigation ul {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--towa-text);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--towa-primary);
    transition: width var(--towa-transition);
}

.main-navigation a:hover {
    color: var(--towa-primary);
}

.main-navigation a:hover::after {
    width: 100%;
}

/* モバイルメニュー */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--towa-heading);
    margin: 5px 0;
    transition: all var(--towa-transition);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--towa-bg);
        border-bottom: 1px solid var(--towa-border);
        padding: 20px;
    }

    .main-navigation.active {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }

    .main-navigation li {
        border-bottom: 1px solid var(--towa-border);
    }

    .main-navigation li:last-child {
        border-bottom: none;
    }

    .main-navigation a {
        display: block;
        padding: 12px 0;
    }
}

/* --------------------------------------------------------------------------
   5. フッター
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--towa-bg-alt);
    border-top: 1px solid var(--towa-border);
    padding: 40px 0;
    margin-top: 60px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.site-footer p {
    margin: 0;
    color: var(--towa-text-light);
    font-size: 0.85rem;
}

.site-footer a {
    color: var(--towa-text-light);
}

.site-footer a:hover {
    color: var(--towa-primary);
}

/* --------------------------------------------------------------------------
   6. ヒーローセクション（トップページ）
   「技術の風が吹いて、霞んでいた伝統が色鮮やかになる」
   -------------------------------------------------------------------------- */
.towa-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: #1a1a2e url('images/hero_front.jpg') center center / cover no-repeat;
    color: #fff;
}

/* 背景スライドショー */
.towa-hero__slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.towa-hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: subtleZoom 20s ease-in-out infinite;
}

.towa-hero__slide.active {
    opacity: 1;
}

/* 5つのテーマ背景（抽象的なグラデーション） */
.towa-hero__slide--nature {
    background:
        radial-gradient(ellipse at 20% 80%, rgba(34, 139, 34, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(144, 238, 144, 0.2) 0%, transparent 40%),
        linear-gradient(135deg, #1a2f1a 0%, #2d4a3e 50%, #1a3a2f 100%);
}

.towa-hero__slide--tradition {
    background:
        radial-gradient(ellipse at 30% 70%, rgba(139, 69, 19, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(205, 133, 63, 0.25) 0%, transparent 45%),
        linear-gradient(135deg, #2a1f1a 0%, #4a3728 50%, #3a2a1f 100%);
}

.towa-hero__slide--sound {
    background:
        radial-gradient(ellipse at 50% 50%, rgba(147, 112, 219, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 30%, rgba(186, 85, 211, 0.2) 0%, transparent 40%),
        linear-gradient(135deg, #1a1a2e 0%, #2d2a4a 50%, #1f1a3a 100%);
}

.towa-hero__slide--tech {
    background:
        radial-gradient(ellipse at 70% 60%, rgba(0, 150, 199, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 40%, rgba(0, 191, 255, 0.2) 0%, transparent 45%),
        linear-gradient(135deg, #0a1628 0%, #1a3a5c 50%, #0f2840 100%);
}

.towa-hero__slide--it {
    background:
        radial-gradient(ellipse at 60% 40%, rgba(0, 255, 127, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 70%, rgba(0, 206, 209, 0.2) 0%, transparent 45%),
        linear-gradient(135deg, #0a1a1a 0%, #1a3a3a 50%, #0f2828 100%);
}

@keyframes subtleZoom {
    0%, 100% { transform: scale(1.05); }
    50% { transform: scale(1.1); }
}

/* オーバーレイ（霞のエフェクト） */
.towa-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background:
        radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.3) 100%),
        linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}

/* パーティクル（風を表現） */
.towa-hero__particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.towa-hero__particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateX(-100px) translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(100vw + 100px)) translateY(-50px) rotate(360deg);
        opacity: 0;
    }
}

/* コンテンツ */
.towa-hero__content {
    position: relative;
    z-index: 10;
    padding: 40px 20px;
    max-width: 800px;
}

.towa-hero__tagline {
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    opacity: 0;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.7);
    animation: fadeInUp 1.2s ease-out 0.5s forwards;
}

.towa-hero__catchphrase {
    font-size: 3rem;
    font-weight: 200;
    letter-spacing: 0.2em;
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.towa-hero__catchphrase-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
}

.towa-hero__catchphrase-line:nth-child(1) {
    animation: revealText 1s ease-out 0.8s forwards;
}

.towa-hero__catchphrase-line:nth-child(2) {
    animation: revealText 1s ease-out 1.2s forwards;
}

@keyframes revealText {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.towa-hero__sitename {
    font-size: 1rem;
    letter-spacing: 0.5em;
    opacity: 0;
    text-transform: uppercase;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 1.8s forwards;
}

/* スクロールインジケーター */
.towa-hero__scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeInUp 1s ease-out 2.5s forwards;
}

.towa-hero__scroll-chevrons {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.towa-hero__scroll-chevrons span {
    display: block;
    width: 12px;
    height: 12px;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
    animation: scrollChevron 2s ease-in-out infinite;
}

.towa-hero__scroll-chevrons span:nth-child(2) {
    animation-delay: 0.3s;
    margin-top: -4px;
}

@keyframes scrollChevron {
    0% {
        opacity: 0;
        margin-top: -8px;
    }
    50% {
        opacity: 1;
        margin-top: 0;
    }
    100% {
        opacity: 0;
        margin-top: 8px;
    }
}

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

@keyframes wind {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(25%); }
}

/* レスポンシブ */
@media (max-width: 768px) {
    .towa-hero {
        min-height: 100vh;
    }

    .towa-hero__tagline {
        font-size: 0.8rem;
        padding: 0 20px;
    }

    .towa-hero__catchphrase {
        font-size: 1.8rem;
        letter-spacing: 0.1em;
    }

    .towa-hero__sitename {
        font-size: 0.85rem;
        letter-spacing: 0.3em;
    }

    .towa-hero__scroll-indicator {
        bottom: 16px;
    }

    .towa-hero__scroll-chevrons span {
        width: 10px;
        height: 10px;
    }
}

/* --------------------------------------------------------------------------
   7. カテゴリカード（トップページ）
   -------------------------------------------------------------------------- */
.towa-categories {
    padding: 80px 20px;
    background: var(--towa-bg);
    position: relative;
    overflow: hidden;
}

/* 浮遊パーティクル */
.towa-categories__floating {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.towa-categories__floating-particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: floatingParticle 8s ease-in-out infinite;
}

@keyframes floatingParticle {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }
    20% {
        opacity: 0.6;
    }
    80% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: translateY(-60px) scale(1);
    }
}

.towa-categories__inner {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.towa-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 30px;
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
}

.towa-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.3) 0%, transparent 60%);
}

.towa-category-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255,255,255,0.1) 50%,
        transparent 60%
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.towa-category-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    color: #fff;
}

.towa-category-card:hover::before {
    opacity: 1;
}

.towa-category-card:hover::after {
    transform: translateX(100%);
}

.towa-category-card--wagakki {
    background: linear-gradient(135deg, rgba(93, 58, 26, 0.85) 0%, rgba(116, 66, 16, 0.85) 50%, rgba(139, 90, 43, 0.85) 100%),
                url('images/card_wagakki.jpg') center center / cover no-repeat;
}

.towa-category-card--tech {
    background: linear-gradient(135deg, rgba(31, 95, 95, 0.85) 0%, rgba(42, 123, 123, 0.85) 50%, rgba(61, 148, 148, 0.85) 100%),
                url('images/card_tech.jpg') center center / cover no-repeat;
}

.towa-category-card__icon {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.towa-category-card__icon svg {
    width: 100%;
    height: 100%;
}

.towa-category-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
    color: #fff;
}

.towa-category-card__description {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 24px;
    text-align: center;
}

.towa-category-card__link {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 24px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 30px;
    transition: all var(--towa-transition);
}

.towa-category-card:hover .towa-category-card__link {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.8);
}

@media (max-width: 768px) {
    .towa-categories {
        padding: 60px 20px;
    }

    .towa-categories__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .towa-category-card {
        padding: 40px 24px;
    }

    .towa-category-card__icon {
        width: 60px;
        height: 60px;
    }

    .towa-category-card__title {
        font-size: 1.3rem;
    }
}

/* --------------------------------------------------------------------------
   7.5. Aboutセクション（トップページ）
   -------------------------------------------------------------------------- */
.towa-about-cta {
    position: relative;
    padding: 100px 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.9) 50%, rgba(15, 52, 96, 0.9) 100%),
                url('images/cta_section.jpg') center center / cover no-repeat;
}

.towa-about-cta__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(42, 123, 123, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(122, 107, 78, 0.2) 0%, transparent 50%);
    animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.towa-about-cta__inner {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.towa-about-cta__content {
    flex: 1;
    max-width: 500px;
}

.towa-about-cta__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
}

.towa-about-cta__title {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 20px;
}

.towa-about-cta__text {
    font-size: 1rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.towa-about-cta__button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.towa-about-cta__button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.towa-about-cta__button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateX(5px);
    color: #fff;
}

.towa-about-cta__button:hover::before {
    left: 100%;
}

.towa-about-cta__button-text {
    position: relative;
    z-index: 1;
}

.towa-about-cta__button-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.towa-about-cta__button:hover .towa-about-cta__button-icon {
    transform: translateX(5px);
}

/* 装飾的な円 */
.towa-about-cta__visual {
    position: relative;
    width: 300px;
    height: 300px;
    flex-shrink: 0;
}

.towa-about-cta__circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.towa-about-cta__circle--1 {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    animation: circleRotate 20s linear infinite;
}

.towa-about-cta__circle--2 {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-color: rgba(42, 123, 123, 0.25);
    animation: circleRotate 15s linear infinite reverse;
}

.towa-about-cta__circle--3 {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    border-color: rgba(122, 107, 78, 0.25);
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    animation: circlePulse 4s ease-in-out infinite;
}

@keyframes circleRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes circlePulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

@media (max-width: 768px) {
    .towa-about-cta {
        padding: 60px 20px;
    }

    .towa-about-cta__inner {
        flex-direction: column;
        text-align: center;
    }

    .towa-about-cta__content {
        max-width: 100%;
    }

    .towa-about-cta__title {
        font-size: 1.5rem;
    }

    .towa-about-cta__visual {
        width: 200px;
        height: 200px;
        order: -1;
        margin-bottom: 20px;
    }

    .towa-about-cta__button {
        width: 100%;
        justify-content: center;
    }
}

/* --------------------------------------------------------------------------
   8. 最新記事セクション（トップページ）
   -------------------------------------------------------------------------- */
.towa-latest-posts {
    padding: 80px 20px;
    background: var(--towa-bg-alt);
}

.towa-latest-posts__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.towa-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--towa-heading);
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.towa-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--towa-primary);
    margin: 16px auto 0;
}

.towa-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 48px;
}

.towa-post-card {
    background: var(--towa-bg);
    border-radius: var(--towa-radius-md);
    overflow: hidden;
    box-shadow: var(--towa-shadow-sm);
    border: 1px solid var(--towa-border);
    transition: all var(--towa-transition);
}

.towa-post-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--towa-shadow-md);
}

.towa-post-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.towa-post-card__thumbnail {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--towa-bg-alt);
}

.towa-post-card__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--towa-transition);
}

.towa-post-card:hover .towa-post-card__thumbnail img {
    transform: scale(1.05);
}

.towa-post-card__thumbnail--noimage {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--towa-text-light);
    font-size: 0.85rem;
}

.towa-post-card__content {
    padding: 20px;
}

.towa-post-card__category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--towa-primary);
    background: rgba(42, 123, 123, 0.1);
    padding: 4px 12px;
    border-radius: var(--towa-radius-sm);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.towa-post-card__category--wagakki {
    color: var(--towa-secondary);
    background: rgba(122, 107, 78, 0.1);
}

.towa-post-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--towa-heading);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.towa-post-card__date {
    font-size: 0.8rem;
    color: var(--towa-text-light);
}

.towa-latest-posts__more {
    text-align: center;
}

@media (max-width: 1024px) {
    .towa-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .towa-latest-posts {
        padding: 60px 20px;
    }

    .towa-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .towa-section-title {
        font-size: 1.3rem;
    }
}

/* --------------------------------------------------------------------------
   9. 記事ページ
   -------------------------------------------------------------------------- */
.article-header {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--towa-border);
}

.article-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--towa-heading);
    line-height: var(--towa-line-height-heading);
    margin-bottom: 16px;
}

.article-meta {
    font-size: 0.85rem;
    color: var(--towa-text-light);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.article-meta a {
    color: var(--towa-text-light);
}

.article-meta a:hover {
    color: var(--towa-primary);
}

/* 記事本文 */
.entry-content {
    font-size: 1rem;
    line-height: var(--towa-line-height);
}

.entry-content a {
    border-bottom: 1px solid transparent;
}

.entry-content a:hover {
    border-bottom-color: var(--towa-primary-light);
}

/* 見出し */
.entry-content h2 {
    font-size: 1.5rem;
    border-left: 4px solid var(--towa-primary);
    padding-left: 16px;
    margin: 2.5em 0 1em;
}

.entry-content h3 {
    font-size: 1.25rem;
    border-bottom: 1px solid var(--towa-border);
    padding-bottom: 8px;
    margin: 2em 0 0.75em;
}

.entry-content h4 {
    font-size: 1.1rem;
    margin: 1.5em 0 0.5em;
}

/* 表 */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.95rem;
}

.entry-content th,
.entry-content td {
    padding: 12px 16px;
    border: 1px solid var(--towa-border);
    text-align: left;
}

.entry-content th {
    background: var(--towa-bg-alt);
    font-weight: 600;
    color: var(--towa-heading);
}

.entry-content tr:nth-child(even) td {
    background: var(--towa-table-stripe);
}

/* コードブロック */
.entry-content pre {
    background: var(--towa-code-bg);
    border: 1px solid var(--towa-border);
    border-radius: 6px;
    padding: 20px;
    overflow-x: auto;
    margin: 1.5em 0;
    font-family: var(--towa-font-code);
    font-size: 0.9em;
    line-height: 1.6;
}

.entry-content code {
    font-family: var(--towa-font-code);
    font-size: 0.9em;
}

.entry-content p code,
.entry-content li code {
    background: var(--towa-code-bg);
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid var(--towa-border);
}

/* 引用 */
.entry-content blockquote {
    border-left: 4px solid var(--towa-primary);
    background: var(--towa-bg-alt);
    padding: 20px 24px;
    margin: 1.5em 0;
    font-style: normal;
}

/* 画像 */
.entry-content figure {
    margin: 1.5em 0;
}

.entry-content figcaption {
    font-size: 0.85rem;
    color: var(--towa-text-light);
    text-align: center;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .article-title {
        font-size: 1.5rem;
    }

    .entry-content h2 {
        font-size: 1.25rem;
    }

    .entry-content h3 {
        font-size: 1.1rem;
    }

    .entry-content {
        font-size: 0.95rem;
    }
}

/* --------------------------------------------------------------------------
   10. サイドバー
   -------------------------------------------------------------------------- */
.sidebar .widget {
    margin-bottom: 30px;
    padding: 24px;
    background: var(--towa-bg);
    border: 1px solid var(--towa-border);
    border-radius: 8px;
}

.sidebar .widget-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--towa-heading);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--towa-primary);
}

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

.sidebar li {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--towa-border);
}

.sidebar li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar a {
    color: var(--towa-text);
    font-size: 0.9rem;
}

.sidebar a:hover {
    color: var(--towa-primary);
}

/* --------------------------------------------------------------------------
   11. Rinker
   -------------------------------------------------------------------------- */
.yyi-rinker-contents {
    border: 1px solid var(--towa-border) !important;
    border-radius: 8px !important;
    background: var(--towa-bg) !important;
    box-shadow: var(--towa-shadow-sm);
    margin: 1.5em 0;
    transition: box-shadow var(--towa-transition);
}

.yyi-rinker-contents:hover {
    box-shadow: var(--towa-shadow-md);
}

.yyi-rinker-title a {
    color: var(--towa-heading) !important;
    font-weight: 600;
}

.yyi-rinker-title a:hover {
    color: var(--towa-primary) !important;
}

.yyi-rinker-price-box .price {
    color: var(--towa-primary) !important;
    font-weight: bold;
}

.yyi-rinker-links li a {
    border-radius: 4px !important;
    transition: all var(--towa-transition) !important;
    font-weight: 500;
}

.yyi-rinker-links li a:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.yyi-rinker-links .amazonlink a {
    background: #FF9900 !important;
}

.yyi-rinker-links .rakutenlink a {
    background: #BF0000 !important;
}

.yyi-rinker-links .yahoolink a {
    background: #FF0033 !important;
}

.yyi-rinker-links .amazonkindlelink a {
    background: #1A1A1A !important;
}

/* --------------------------------------------------------------------------
   12. ボタン
   -------------------------------------------------------------------------- */
.towa-btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--towa-primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--towa-transition);
    text-decoration: none;
}

.towa-btn:hover {
    background: var(--towa-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--towa-shadow-md);
    color: #fff;
}

.towa-btn--secondary {
    background: var(--towa-secondary);
}

.towa-btn--secondary:hover {
    background: var(--towa-secondary-light);
}

/* --------------------------------------------------------------------------
   13. ページネーション
   -------------------------------------------------------------------------- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--towa-border);
    border-radius: 4px;
    color: var(--towa-text);
    font-size: 0.9rem;
    transition: all var(--towa-transition);
}

.pagination a:hover {
    background: var(--towa-primary);
    border-color: var(--towa-primary);
    color: #fff;
}

.pagination .current {
    background: var(--towa-primary);
    border-color: var(--towa-primary);
    color: #fff;
}

/* --------------------------------------------------------------------------
   14. パンくずリスト
   -------------------------------------------------------------------------- */
.breadcrumb {
    font-size: 0.8rem;
    color: var(--towa-text-light);
    padding: 16px 0;
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--towa-text-light);
}

.breadcrumb a:hover {
    color: var(--towa-primary);
}

.breadcrumb span {
    margin: 0 8px;
}

/* --------------------------------------------------------------------------
   15. ユーティリティ
   -------------------------------------------------------------------------- */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

.text-center {
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   自己紹介ページ
   ========================================================================== */

/* ヒーローセクション */
.towa-about-hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(22, 33, 62, 0.85) 100%),
                url('images/hero_about.jpg') center center / cover no-repeat;
    color: #fff;
}

.towa-about-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(122, 107, 78, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(42, 123, 123, 0.15) 0%, transparent 50%);
    animation: heroBgMove 10s ease-in-out infinite;
}

@keyframes heroBgMove {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(2deg); }
}

.towa-about-hero__content {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
}

.towa-about-hero__label {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.towa-about-hero__title {
    font-size: 2.5rem;
    font-weight: 200;
    letter-spacing: 0.15em;
    line-height: 1.6;
    margin-bottom: 24px;
}

.towa-about-hero__title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
}

.towa-about-hero__title-line:nth-child(1) {
    animation: revealText 1s ease-out 0.5s forwards;
}

.towa-about-hero__title-line:nth-child(2) {
    animation: revealText 1s ease-out 0.8s forwards;
}

.towa-about-hero__location {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.6);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.2s forwards;
}

.towa-about-hero__subtitle {
    font-size: 1rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.7);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.2s forwards;
}

.towa-about-hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.8s forwards;
}

.towa-about-hero__scroll span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 12px;
    position: relative;
}

.towa-about-hero__scroll span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.6);
    border-radius: 2px;
    animation: scrollBounce 1.5s ease-in-out infinite;
}

/* サイトコンセプトセクション */
.towa-about-concept {
    padding: 100px 20px;
    background: var(--towa-bg);
}

.towa-about-concept__inner {
    max-width: 800px;
    margin: 0 auto;
}

.towa-about-concept__text {
    text-align: center;
    margin-bottom: 60px;
}

.towa-about-concept__text p {
    font-size: 1.3rem;
    color: var(--towa-text);
    line-height: 2.2;
    margin: 0;
    letter-spacing: 0.1em;
}

.towa-about-concept__blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.towa-about-concept__block {
    text-align: center;
    padding: 40px 30px;
    background: var(--towa-bg-alt);
    border-radius: 12px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.towa-about-concept__block.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

.towa-about-concept__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--towa-primary);
}

.towa-about-concept__block:nth-child(2) .towa-about-concept__icon {
    color: var(--towa-secondary);
}

.towa-about-concept__heading {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--towa-heading);
    margin-bottom: 16px;
    letter-spacing: 0.1em;
}

.towa-about-concept__desc {
    font-size: 0.95rem;
    color: var(--towa-text-light);
    line-height: 1.9;
    margin: 0;
}

/* ストーリーセクション */
.towa-about-story {
    padding: 100px 20px;
    background: var(--towa-bg);
}

.towa-about-story__inner {
    max-width: 700px;
    margin: 0 auto;
}

.towa-about-story__intro-text {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(20px);
}

.towa-about-story__intro-text.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

.towa-about-story__intro-text p {
    font-size: 1.1rem;
    color: var(--towa-text-light);
    line-height: 2;
    margin: 0;
}

.towa-about-story__block {
    display: flex;
    gap: 30px;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(40px);
}

.towa-about-story__block.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

.towa-about-story__icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--towa-bg-alt);
    color: var(--towa-primary);
}

.towa-about-story__block--mission .towa-about-story__icon {
    color: var(--towa-secondary);
}

.towa-about-story__content {
    flex: 1;
}

.towa-about-story__heading {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--towa-heading);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.towa-about-story__text {
    font-size: 1rem;
    line-height: 2;
    color: var(--towa-text-light);
    margin-bottom: 16px;
}

.towa-about-story__text:last-child {
    margin-bottom: 0;
}

/* コンテンツカテゴリ */
.towa-about-contents {
    padding: 80px 20px;
    background: var(--towa-bg-alt);
}

.towa-about-contents__inner {
    max-width: 800px;
    margin: 0 auto;
}

.towa-about-contents__title {
    font-size: 1.5rem;
    font-weight: 300;
    text-align: center;
    color: var(--towa-heading);
    margin-bottom: 50px;
    letter-spacing: 0.1em;
    opacity: 0;
    transform: translateY(20px);
}

.towa-about-contents__title.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

.towa-about-contents__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.towa-about-contents__card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--towa-shadow-sm);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.towa-about-contents__card.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

.towa-about-contents__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--towa-shadow-lg);
}

.towa-about-contents__card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    padding: 20px;
    border-radius: 50%;
}

.towa-about-contents__card-icon--wagakki {
    background: linear-gradient(135deg, rgba(116, 66, 16, 0.1) 0%, rgba(139, 90, 43, 0.1) 100%);
    color: var(--towa-secondary);
}

.towa-about-contents__card-icon--tech {
    background: linear-gradient(135deg, rgba(42, 123, 123, 0.1) 0%, rgba(61, 148, 148, 0.1) 100%);
    color: var(--towa-primary);
}

.towa-about-contents__card-icon svg {
    width: 100%;
    height: 100%;
}

.towa-about-contents__card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--towa-heading);
    margin-bottom: 12px;
}

.towa-about-contents__card-text {
    font-size: 0.9rem;
    color: var(--towa-text-light);
    line-height: 1.8;
}

/* 運営者セクション */
.towa-about-author {
    padding: 80px 20px;
    background: var(--towa-bg);
}

.towa-about-author__inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.towa-about-author__title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--towa-text-light);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 30px;
}

.towa-about-author__content {
    padding: 40px;
    background: var(--towa-bg-alt);
    border-radius: 12px;
}

.towa-about-author__name {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--towa-heading);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.towa-about-author__location {
    font-size: 0.9rem;
    color: var(--towa-text-light);
    margin-bottom: 24px;
}

.towa-about-author__note {
    font-size: 0.95rem;
    color: var(--towa-text-light);
    line-height: 2;
    margin: 0;
}

/* アクティビティセクション */
.towa-about-activity {
    padding: 100px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.towa-about-activity__inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.towa-about-activity__content {
    flex: 1;
}

.towa-about-activity__title {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateX(-30px);
}

.towa-about-activity__title.fade-in-up {
    opacity: 1;
    transform: translateX(0);
}

.towa-about-activity__item {
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateX(-20px);
}

.towa-about-activity__item.fade-in-up {
    opacity: 1;
    transform: translateX(0);
}

.towa-about-activity__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.towa-about-activity__text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
}

.towa-about-activity__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.towa-about-activity__link:hover {
    color: #fff;
    transform: translateX(5px);
}

.towa-about-activity__visual {
    position: relative;
    width: 200px;
    height: 200px;
    flex-shrink: 0;
}

.towa-about-activity__circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: circleRotate 15s linear infinite;
}

.towa-about-activity__circle:nth-child(1) {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.towa-about-activity__circle:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    animation-direction: reverse;
    animation-duration: 12s;
}

.towa-about-activity__circle:nth-child(3) {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    animation: circlePulse 4s ease-in-out infinite;
}

/* フッターセクション */
.towa-about-footer {
    padding: 60px 20px;
    background: var(--towa-bg);
}

.towa-about-footer__inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.towa-about-footer__note {
    flex: 1;
}

.towa-about-footer__note h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--towa-heading);
    margin-bottom: 12px;
}

.towa-about-footer__note p {
    font-size: 0.85rem;
    color: var(--towa-text-light);
    line-height: 1.8;
}

.towa-about-footer__links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.towa-about-footer__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--towa-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.towa-about-footer__link:hover {
    transform: translateX(5px);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .towa-about-hero__title {
        font-size: 1.8rem;
    }

    .towa-about-concept__blocks {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .towa-about-concept__block {
        padding: 30px 24px;
    }

    .towa-about-concept__text p {
        font-size: 1.1rem;
    }

    .towa-about-story__block {
        flex-direction: column;
        gap: 20px;
    }

    .towa-about-story__icon {
        width: 50px;
        height: 50px;
    }

    .towa-about-contents__grid {
        grid-template-columns: 1fr;
    }

    .towa-about-author__content {
        padding: 30px 24px;
    }

    .towa-about-author__name {
        font-size: 1.1rem;
    }

    .towa-about-activity__inner {
        flex-direction: column;
        text-align: center;
    }

    .towa-about-activity__item {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 20px;
    }

    .towa-about-activity__visual {
        order: -1;
        width: 150px;
        height: 150px;
    }

    .towa-about-footer__inner {
        flex-direction: column;
    }
}

/* ==========================================================================
   フルスクリーンメニュー
   ========================================================================== */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--towa-primary) 0%, #1a365d 100%);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow-y: auto;
}

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

.fullscreen-menu__inner {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 40px 60px;
}

.fullscreen-menu__content {
    width: 100%;
    max-width: 900px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* メインナビゲーション */
.fullscreen-menu__nav {
    grid-column: 1 / -1;
}

.fullscreen-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.fullscreen-menu__item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fullscreen-menu.active .fullscreen-menu__item {
    opacity: 1;
    transform: translateY(0);
}

.fullscreen-menu.active .fullscreen-menu__item:nth-child(1) { transition-delay: 0.1s; }
.fullscreen-menu.active .fullscreen-menu__item:nth-child(2) { transition-delay: 0.15s; }
.fullscreen-menu.active .fullscreen-menu__item:nth-child(3) { transition-delay: 0.2s; }

.fullscreen-menu__link {
    display: flex;
    flex-direction: column;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.fullscreen-menu__link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.fullscreen-menu__link-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.fullscreen-menu__link-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

/* セクション（カテゴリ、最新記事） */
.fullscreen-menu__section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fullscreen-menu.active .fullscreen-menu__section:nth-of-type(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.fullscreen-menu.active .fullscreen-menu__section:nth-of-type(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.fullscreen-menu__section-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* カテゴリリスト */
.fullscreen-menu__category-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fullscreen-menu__category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.fullscreen-menu__category--wagakki {
    background: rgba(122, 107, 78, 0.6);
    border: 1px solid rgba(154, 139, 110, 0.5);
}

.fullscreen-menu__category--tech {
    background: rgba(42, 123, 123, 0.6);
    border: 1px solid rgba(61, 148, 148, 0.5);
}

.fullscreen-menu__category:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.fullscreen-menu__category--wagakki:hover {
    background: rgba(122, 107, 78, 0.8);
}

.fullscreen-menu__category--tech:hover {
    background: rgba(42, 123, 123, 0.8);
}

.fullscreen-menu__category-count {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* 最新記事リスト */
.fullscreen-menu__recent-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fullscreen-menu__recent-link {
    display: block;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.fullscreen-menu__recent-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
    color: #ffffff;
}

/* メニュー開いた時のbody */
body.menu-open {
    overflow: hidden;
}

/* メニュー開いた時のハンバーガーの色 */
.menu-toggle.active span {
    background: #ffffff;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .fullscreen-menu__inner {
        padding: 80px 20px 40px;
    }

    .fullscreen-menu__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .fullscreen-menu__list {
        flex-direction: column;
        gap: 12px;
    }

    .fullscreen-menu__link {
        padding: 16px 20px;
    }

    .fullscreen-menu__link-text {
        font-size: 1rem;
    }

    .fullscreen-menu__category-list {
        gap: 8px;
    }

    .fullscreen-menu__category {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
}

/* 本文エリアのヘッダー分のpadding */
.site-main {
    padding-top: 80px;
}

/* フロントページと自己紹介ページはヒーローがあるので不要 */
.towa-front-page,
.towa-about-page {
    padding-top: 0;
}

/* --------------------------------------------------------------------------
   PR表記（アフィリエイト広告表示）
   -------------------------------------------------------------------------- */
.towa-affiliate-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 16px;
    background: var(--towa-bg-alt);
    border: 1px solid var(--towa-border);
    border-radius: var(--towa-radius-sm);
    font-size: 0.85rem;
    line-height: 1.5;
}

.towa-affiliate-notice__label {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    background: var(--towa-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 3px;
    letter-spacing: 0.05em;
}

.towa-affiliate-notice__text {
    color: var(--towa-text-light);
}

@media (max-width: 768px) {
    .towa-affiliate-notice {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 10px 14px;
    }

    .towa-affiliate-notice__text {
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   3カテゴリレイアウト（トップページ）
   ========================================================================== */

/* 3カテゴリ用グリッド */
.towa-categories--three .towa-categories__inner {
    max-width: 1200px;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* カードアイコン画像 */
.towa-category-card__icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--towa-transition), filter var(--towa-transition);
}

/* 霧→鮮やか効果 */
.towa-category-card {
    filter: grayscale(20%) brightness(0.95);
    opacity: 0.9;
}

.towa-category-card:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

.towa-category-card:hover .towa-category-card__icon-img {
    transform: scale(1.1);
}

/* カテゴリカード - シマーエフェクト */
.towa-category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    transform: skewX(-20deg);
    pointer-events: none;
}

.towa-category-card--wagakki::after {
    animation: cardShimmer 15s ease-in-out infinite;
}

.towa-category-card--fusion::after {
    animation: cardShimmer 15s ease-in-out 5s infinite;
}

.towa-category-card--tech::after {
    animation: cardShimmer 15s ease-in-out 10s infinite;
}

@keyframes cardShimmer {
    0%, 90%, 100% {
        left: -100%;
    }
    95% {
        left: 150%;
    }
}

/* 和楽器×テック（融合）カード */
.towa-category-card--fusion {
    background: linear-gradient(135deg,
        rgba(122, 107, 78, 0.85) 0%,
        rgba(80, 100, 90, 0.85) 50%,
        rgba(42, 123, 123, 0.85) 100%);
}

.towa-category-card--fusion::before {
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.3) 0%, transparent 60%);
}

/* ヒーローサブコピー */
.towa-hero__subcopy {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 16px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.2s forwards;
}

/* 3カテゴリレスポンシブ */
@media (max-width: 1024px) {
    .towa-categories--three .towa-categories__inner {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .towa-category-card__title {
        font-size: 1.2rem;
    }

    .towa-category-card__description {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .towa-categories--three .towa-categories__inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .towa-category-card__icon {
        width: 60px;
        height: 60px;
    }
}

/* ========================================
   About Intro Section
   ======================================== */

.towa-about-intro {
    padding: 40px 20px;
    text-align: center;
    background: linear-gradient(180deg,
        rgba(245, 247, 248, 0) 0%,
        rgba(245, 247, 248, 1) 100%);
}

.towa-about-intro__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    text-decoration: none;
    color: var(--towa-text, #2D3748);
    border: 1px solid rgba(42, 123, 123, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
    position: relative;
    overflow: hidden;
}

.towa-about-intro__link:hover {
    background: rgba(42, 123, 123, 0.08);
    border-color: var(--towa-primary, #2A7B7B);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(42, 123, 123, 0.15);
}

.towa-about-intro__label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--towa-primary, #2A7B7B);
    padding: 4px 10px;
    background: rgba(42, 123, 123, 0.1);
    border-radius: 20px;
}

.towa-about-intro__text {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.towa-about-intro__arrow {
    font-size: 1.1rem;
    color: var(--towa-primary, #2A7B7B);
    transition: transform 0.3s ease;
}

.towa-about-intro__link:hover .towa-about-intro__arrow {
    transform: translateX(4px);
}

/* About リンク - 脈動グロー */
.towa-about-intro__link::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50px;
    background: linear-gradient(90deg,
        transparent,
        rgba(42, 123, 123, 0.3),
        transparent);
    opacity: 0;
    animation: aboutPulse 5s ease-in-out infinite;
}

@keyframes aboutPulse {
    0%, 80%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    90% {
        opacity: 1;
        transform: scale(1.02);
    }
}

@media (max-width: 768px) {
    .towa-about-intro {
        padding: 30px 15px;
    }

    .towa-about-intro__link {
        padding: 12px 24px;
        gap: 10px;
    }

    .towa-about-intro__text {
        font-size: 0.85rem;
    }
}

/* --------------------------------------------------------------------------
   PR表示・広告明示
   -------------------------------------------------------------------------- */
.pr-notice {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--towa-text-light, #5A6A7A);
    background-color: var(--towa-bg-alt, #F5F7F8);
    border: 1px solid var(--towa-border, #DDE3E8);
    border-radius: 4px;
    padding: 6px 12px;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.pr-notice::before {
    content: "PR";
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    color: #fff;
    background-color: var(--towa-text-light, #5A6A7A);
    border-radius: 2px;
    padding: 2px 6px;
    margin-right: 8px;
    vertical-align: middle;
}
