@charset "UTF-8";

/* ==========================================
   Variables & Reset
   ========================================== */
:root {
    --color-bg: #f9f8f6; /* 優しいオフホワイト/グレージュ */
    --color-main: #6b7a69; /* 深みのあるセージグリーン */
    --color-accent: #d4a395; /* 温かみのあるコーラルピンク */
    --color-text: #4a4a4a;
    --color-heading: #333333;
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-serif: 'Noto Serif JP', serif;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(107, 122, 105, 0.15);
}

*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.8;
    overflow-x: hidden;
    position: relative;
}
img { max-width: 100%; height: auto; }
.pc-only { display: block; }
.sp-only { display: none; }

@media (max-width: 768px) {
    .pc-only { display: none !important; }
    .sp-only { display: inline; }
    br.sp-only { display: block; }
}

/* ==========================================
   Background Blobs (Animated)
   ========================================== */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
    animation: float 20s infinite ease-in-out alternate;
}
.blob-1 {
    width: 600px; height: 600px;
    background: #e1e9e0; /* 薄いグリーン */
    top: -100px; left: -200px;
}
.blob-2 {
    width: 500px; height: 500px;
    background: #f5e4df; /* 薄いピンク */
    top: 30%; right: -150px;
    animation-delay: -5s;
}
.blob-3 {
    width: 700px; height: 700px;
    background: #e6ebf0; /* 薄いブルー */
    bottom: 10%; left: -300px;
    animation-delay: -10s;
}
@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 30px) scale(1.05); }
    100% { transform: translate(-30px, 80px) scale(0.95); }
}

/* ==========================================
   Common Styles & Glassmorphism
   ========================================== */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
}
section { padding: 100px 0; }
.section-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--color-main);
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0.1em;
}

/* ==========================================
   Header
   ========================================== */
.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 12px 0;
}
.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-heading);
    letter-spacing: 1px;
}
.header-btn a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #06C755;
    color: #fff;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(6, 199, 85, 0.3);
    transition: transform 0.2s;
}
.header-btn a:hover { transform: scale(1.05); }
.header-btn a i { font-size: 1.3rem; }

/* ==========================================
   Hero
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 20px 60px;
}
.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 30px;
}
.hero-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 15px 40px rgba(107, 122, 105, 0.15);
    border-radius: 30px;
    padding: 60px 40px;
}
.hero-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 30px;
    max-width: 450px;
}
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero-tag {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 25px;
}
.hero-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-heading);
    line-height: 1.6;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
}
.hero-title span {
    color: var(--color-main);
    display: inline-block;
    border-bottom: 3px solid var(--color-accent);
}
.hero-sub {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}
.hero-strong {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-main);
    background: rgba(107, 122, 105, 0.1);
    padding: 15px 25px;
    border-radius: 12px;
    display: inline-block;
}
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-main);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
}
.scroll-indicator .line {
    width: 1px;
    height: 40px;
    background: var(--color-main);
    margin-top: 10px;
    animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
    50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
    51% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* TOP Animations */
.floating-img {
    animation: floatImage 5s ease-in-out infinite;
}
@keyframes floatImage {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.shine-text {
    position: relative;
    overflow: hidden;
    display: inline-block;
}
.shine-text::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
    animation: shineSweep 3s infinite;
    animation-delay: 2s;
}
@keyframes shineSweep {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

.fade-in-left {
    animation: fadeInLeft 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.fade-in-right {
    animation: fadeInRight 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ==========================================
   Trouble Section
   ========================================== */
.trouble-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 50px;
}
.trouble-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 50px;
}
.trouble-card {
    flex: 1;
    background: #fff;
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: transform 0.3s;
}
.trouble-card:hover {
    transform: translateY(-10px);
}
.trouble-card i {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 20px;
}
.trouble-card p {
    font-weight: bold;
    color: var(--color-heading);
    font-size: 1.1rem;
    margin: 0;
}
.solution-box {
    text-align: center;
    padding: 40px;
    border: 2px solid rgba(107, 122, 105, 0.3);
}
.solution-box strong {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--color-main);
    display: block;
    margin-bottom: 15px;
}

/* ==========================================
   Parallax Section (Park)
   ========================================== */
.parallax-section {
    position: relative;
    padding: 120px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.parallax-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    z-index: -1;
    filter: brightness(0.85); /* Slightly darken to make text pop */
}
.parallax-content {
    max-width: 600px;
    padding: 50px;
    text-align: center;
    background: rgba(255, 255, 255, 0.85);
}
.parallax-content h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-main);
    margin-bottom: 20px;
}
.parallax-content p {
    font-size: 1.1rem;
    font-weight: bold;
}

/* ==========================================
   Strength Section
   ========================================== */
.strength-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.strength-item {
    display: flex;
    padding: 40px;
    align-items: flex-start;
    gap: 30px;
    transition: transform 0.3s;
}
.strength-item:hover {
    transform: translateX(10px);
}
.strength-icon-wrap {
    flex-shrink: 0;
    width: 100px; height: 100px;
    background: var(--color-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
    font-size: 2.5rem;
    box-shadow: 0 10px 20px rgba(107, 122, 105, 0.3);
}
.strength-num {
    position: absolute;
    top: -10px; left: -10px;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    background: var(--color-accent);
    color: #fff;
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
}
.strength-text h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-heading);
    margin-top: 0;
    margin-bottom: 15px;
}

/* ==========================================
   Environment Section
   ========================================== */
.env-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}
.photo-placeholder {
    flex: 1;
    height: 400px;
    padding: 10px;
}
.photo-inner {
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.5);
    border-radius: 12px;
    border: 2px dashed rgba(107, 122, 105, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-main);
    font-size: 1.1rem;
}
.photo-inner i { font-size: 3rem; margin-bottom: 15px; }
.env-text { flex: 1; font-size: 1.1rem; }

.video-container {
    max-width: 600px;
    margin: 0 auto;
}
.video-title {
    font-family: var(--font-serif);
    text-align: center;
    font-size: 1.4rem;
    color: var(--color-heading);
    margin-bottom: 25px;
}
.youtube-wrapper {
    padding: 20px;
}
.youtube-wrapper iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
}

/* ==========================================
   Flow Section
   ========================================== */
.flow-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.flow-step {
    flex: 1;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}
.flow-step:hover {
    transform: translateY(-10px);
}
.step-icon {
    width: 80px; height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--color-main);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.step-num {
    font-family: var(--font-serif);
    color: var(--color-accent);
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}
.step-content h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--color-heading);
}
.flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    color: var(--color-main);
    font-size: 1.5rem;
    margin: 40px 10px 0;
}

/* ==========================================
   Floating CTA
   ========================================== */
.floating-cta {
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 20px 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
    z-index: 1000;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.floating-cta.is-visible {
    transform: translateY(0);
}
.btn-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #06C755, #05b34c);
    color: #fff;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 50px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 25px rgba(6, 199, 85, 0.4);
    transition: all 0.3s ease;
}
.btn-line:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(6, 199, 85, 0.5);
}
.btn-line i.fa-line {
    font-size: 2.5rem;
    margin-right: 15px;
}
.btn-line .btn-text {
    text-align: left;
    line-height: 1.4;
    font-size: 1.3rem;
    font-weight: bold;
}
.btn-line small {
    display: block;
    font-size: 0.8rem;
    font-weight: normal;
    opacity: 0.9;
}
.btn-line .arrow {
    margin-left: auto;
    font-size: 1.2rem;
}
/* Pulse animation for CTA */
.pulse {
    animation: pulseGlow 2s infinite;
}
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(6, 199, 85, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(6, 199, 85, 0); }
    100% { box-shadow: 0 0 0 0 rgba(6, 199, 85, 0); }
}

/* ==========================================
   Scroll Animations (Intersection Observer)
   ========================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.is-active {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   Responsive (Smartphones)
   ========================================== */
@media (max-width: 768px) {
    .logo { font-size: 1.15rem; letter-spacing: 0; }
    .header-btn a { padding: 8px 16px; font-size: 0.9rem; }
    .header-btn a i { font-size: 1.1rem; }
    .section-title { font-size: 1.4rem; margin-bottom: 30px; letter-spacing: 0.05em; }
    .nowrap { white-space: normal; display: inline-block; }
    
    .hero-inner { flex-direction: column-reverse; }
    .hero { padding: 100px 15px 40px; }
    .hero-content { padding: 40px 20px; border-radius: 20px; }
    .hero-title { font-size: 1.5rem; }
    .hero-image { max-width: 100%; padding: 0; }
    
    .parallax-section { background-attachment: scroll; /* Mobile smooth scroll fix */ padding: 80px 15px;}
    .parallax-content { padding: 30px; }
    
    .trouble-cards { flex-direction: column; }
    .strength-item { flex-direction: column; align-items: center; text-align: center; padding: 30px 20px; }
    .strength-image { margin-left: 0 !important; margin-top: 20px; }
    .env-content { flex-direction: column; }
    .flow-wrapper { flex-direction: column; }
    .flow-arrow { height: auto; margin: 15px 0; }
    .btn-line .btn-text { font-size: 1.1rem; }
    .btn-line i.fa-line { font-size: 2rem; }
}

/* ==========================================
   Video Special Content
   ========================================== */
.youtube-special-content { margin-top: 50px; }
.video-desc { text-align: center; margin-bottom: 40px; font-size: 1.1rem; }
.mt-50 { margin-top: 50px; }

/* ロング動画（メイン） */
.video-card-large { display: flex; flex-direction: column; max-width: 800px; margin: 0 auto; text-decoration: none; color: var(--color-text); overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
@media (min-width: 768px) {
    .video-card-large { flex-direction: row; align-items: center; }
}
.video-card-large:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.video-card-large:hover .play-btn { transform: translate(-50%, -50%) scale(1.1); }
.video-thumb-large { position: relative; overflow: hidden; flex: 1; min-width: 50%; }
.video-thumb-large img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 20px 20px 0 0; }
@media (min-width: 768px) {
    .video-thumb-large img { border-radius: 20px 0 0 20px; }
}
.video-info-large { flex: 1; padding: 40px 30px; }

/* ショート動画 */
.shorts-inner { display: flex; flex-direction: column; max-width: 800px; margin: 0 auto; overflow: hidden; align-items: center; padding: 30px; gap: 30px;}
@media (min-width: 768px) {
    .shorts-inner { flex-direction: row; justify-content: space-between; }
}
.shorts-text { flex: 1; }
.shorts-video { width: 280px; height: 500px; flex-shrink: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.shorts-video iframe { width: 100%; height: 100%; }

/* 共通タグ・テキスト */
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: rgba(255, 0, 0, 0.9); font-size: 4rem; transition: transform 0.3s; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.tag-short { display: inline-block; background: #ff0000; color: #fff; padding: 3px 12px; border-radius: 4px; font-size: 0.8rem; font-weight: bold; margin-bottom: 12px; }
.tag-long { display: inline-block; background: #333; color: #fff; padding: 3px 12px; border-radius: 4px; font-size: 0.8rem; font-weight: bold; margin-bottom: 12px; }
.video-info-large h4, .shorts-text h4 { margin: 0 0 15px; font-size: 1.3rem; color: var(--color-heading); line-height: 1.5; }
.video-info-large p, .shorts-text p { margin: 0; font-size: 1rem; color: #666; }

/* ==========================================
   SDGs & Trademark Section
   ========================================== */
.trademark-section { margin: 80px 0; }
.trademark-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 992px) { .trademark-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .trademark-grid { grid-template-columns: 1fr; } }
.trademark-box { background: #fff; border: 2px solid #E6DCD5; border-radius: 12px; padding: 24px 18px; text-align: center; transition: transform 0.3s ease, border-color 0.3s; display: flex; flex-direction: column; justify-content: space-between; }
.trademark-box:hover { transform: translateY(-5px); border-color: var(--color-accent); }
.trademark-reg-num { font-size: 0.78rem; font-weight: 800; color: #999; margin-bottom: 14px; }
.trademark-title { font-size: 1.4rem; font-weight: 900; color: var(--color-heading); margin-bottom: 8px; }
.trademark-type { font-size: 0.85rem; color: #ff5252; font-weight: 800; margin-bottom: 14px; }
.trademark-desc { font-size: 0.85rem; color: #666; line-height: 1.6; }
.sdgs-highlight-box { background: linear-gradient(135deg, #1A3C2B 0%, #2F6A4F 100%); color: #FFF; border-radius: 20px; padding: 40px; margin-bottom: 48px; display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: center; border: 3px solid #D4AF37; box-shadow: 0 15px 30px rgba(0,0,0,0.15); }
@media (max-width: 992px) { .sdgs-highlight-box { grid-template-columns: 1fr; text-align: center; } .sdgs-highlight-box > div:last-child { flex-direction: column; } }
.section-tag { display: inline-block; background: var(--color-accent); color: #FFF; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; margin-bottom: 15px; }

/* 🤖 彦やAI × アンチ 公式特設バナー */
.hikoya-ai-widget-box { background: linear-gradient(135deg, #161D2B 0%, #202F46 50%, #38212C 100%); padding: 36px 42px; border-radius: 24px; color: #FFF; box-shadow: 0 20px 45px rgba(22, 29, 43, 0.4), 0 0 30px rgba(212, 175, 55, 0.15); display: flex; align-items: center; justify-content: space-between; gap: 28px; text-decoration: none; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); margin: 60px 0; border: 2px solid rgba(212, 175, 55, 0.5); position: relative; overflow: hidden; }
.hikoya-ai-widget-box::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, transparent 70%); pointer-events: none; }
.hikoya-ai-widget-box:hover { transform: translateY(-5px); border-color: #D4AF37; box-shadow: 0 25px 55px rgba(22, 29, 43, 0.5), 0 0 40px rgba(212, 175, 55, 0.3); }
.widget-badge-anti { background: linear-gradient(90deg, #D4AF37, #FFDF73); color: #161D2B; font-size: 0.78rem; font-weight: 900; padding: 5px 16px; border-radius: 30px; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3); letter-spacing: 0.5px; }
.widget-title-anti { font-size: 1.45rem; font-weight: 900; color: #FFF; margin: 0 0 8px 0; line-height: 1.35; letter-spacing: -0.5px; }
.widget-btn-anti { background: linear-gradient(135deg, #D4AF37 0%, #FFDF73 50%, #C62828 100%); color: #111; font-weight: 900; padding: 16px 32px; border-radius: 50px; font-size: 1rem; box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35); white-space: nowrap; transition: transform 0.2s ease; flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 768px) {
  .hikoya-ai-widget-box { padding: 26px 20px !important; flex-direction: column !important; text-align: center !important; gap: 20px !important; border-radius: 20px !important; }
  .widget-title-anti { font-size: 1.18rem !important; line-height: 1.45 !important; word-break: keep-all !important; }
  .widget-btn-anti { width: 100% !important; justify-content: center !important; padding: 15px 20px !important; font-size: 0.96rem !important; }
}

/* ==========================================
   Real-Time Simulator (Divorce Pattern)
   ========================================== */
.sim-wrapper { display: flex; background: #FFF; border-radius: 20px; box-shadow: 0 15px 40px rgba(0,0,0,0.08); overflow: hidden; margin-top: 40px; border: 1px solid #E6DCD5; }
.sim-input-panel { flex: 6; padding: 40px; background: #FFF; }
.sim-result-panel { flex: 4; background: linear-gradient(135deg, var(--color-main) 0%, #4a5749 100%); color: #FFF; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 992px) { .sim-wrapper { flex-direction: column; } .sim-input-panel, .sim-result-panel { padding: 30px 20px; } }
.sim-group { margin-bottom: 25px; }
.sim-row-2 { display: flex; gap: 20px; }
.sim-row-2 .sim-group { flex: 1; }
@media (max-width: 768px) { .sim-row-2 { flex-direction: column; gap: 0; } }
.sim-label { display: block; font-size: 0.95rem; font-weight: 800; color: var(--color-heading); margin-bottom: 12px; }
.sim-area-desc { margin-top: 10px; font-size: 0.85rem; color: #666; background: #f9f8f6; padding: 10px 15px; border-radius: 8px; border-left: 4px solid var(--color-accent); }
.area-btn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(65px, 1fr)); gap: 8px; }
.area-pill { background: #FFF; border: 1px solid #ddd; color: #555; padding: 6px 4px; border-radius: 6px; font-size: 0.8rem; font-weight: 700; cursor: pointer; transition: all 0.2s; text-align: center; }
.area-pill:hover, .area-pill.active { background: var(--color-accent); color: #FFF; border-color: var(--color-accent); }
.sim-toggles { display: flex; gap: 8px; background: #f2f0ec; padding: 4px; border-radius: 10px; }
.sim-toggle-btn { flex: 1; background: transparent; border: none; padding: 10px; border-radius: 6px; font-size: 0.9rem; font-weight: 700; color: #666; cursor: pointer; transition: all 0.2s; }
.sim-toggle-btn.active { background: #FFF; color: var(--color-accent); box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.slider-group { margin-top: 15px; }
.slider-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.slider-val { font-size: 1.1rem; font-weight: 900; color: var(--color-accent); background: #fff3ec; padding: 4px 12px; border-radius: 20px; }
.range-input { width: 100%; accent-color: var(--color-accent); cursor: pointer; }
.result-inner { text-align: center; }
.result-title { font-size: 1.4rem; font-weight: 900; margin-bottom: 5px; }
.result-subtitle { font-size: 0.85rem; opacity: 0.8; margin-bottom: 30px; }
.result-item { background: rgba(255,255,255,0.1); padding: 25px 20px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.2); }
.result-item h4 { font-size: 1rem; margin-bottom: 10px; opacity: 0.9; line-height: 1.4; }
.result-price-main { font-size: 3.5rem; font-weight: 900; color: #FFE6A0; line-height: 1; margin-bottom: 10px; text-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.result-price-main .unit { font-size: 1.2rem; margin-left: 5px; }
.result-price-sub { font-size: 2.2rem; font-weight: 900; color: #FFF; line-height: 1; margin-bottom: 10px; }
.result-price-sub .unit { font-size: 1rem; margin-left: 5px; }
.result-note { font-size: 0.8rem; opacity: 0.8; text-align: left; line-height: 1.5; margin-top: 10px; }
.mt-30 { margin-top: 30px; }
.result-disclaimer { font-size: 0.75rem; opacity: 0.6; margin-top: 25px; margin-bottom: 25px; line-height: 1.5; }
.btn-result-cta { display: inline-block; width: 100%; background: linear-gradient(135deg, #FFE6A0 0%, #D4AF37 100%); color: #111; padding: 16px 20px; border-radius: 50px; font-weight: 900; font-size: 1.05rem; text-decoration: none; box-shadow: 0 8px 20px rgba(0,0,0,0.2); transition: transform 0.2s; }
.btn-result-cta:hover { transform: translateY(-3px); }

/* ==========================================
   Future Funds Simulator
   ========================================== */
.linked-price-box { background: #f9f8f6; padding: 15px 20px; border-radius: 10px; border-left: 5px solid #6b7a69; font-size: 1.8rem; font-weight: 900; color: #444; }
.linked-price-box .unit { font-size: 1rem; margin-left: 5px; font-weight: normal; }
.expense-box { background: #fdf5e6; padding: 15px; border-radius: 10px; border: 1px dashed #d4af37; }
.expense-breakdown { font-size: 0.75rem; color: #888; margin-top: 5px; }
/* オーバーローン（赤字警告）用のスタイル */
.result-item.over-loan { background: #fff0f0 !important; border-color: #ffcccc !important; }
.result-item.over-loan .result-price-main { color: #e60000 !important; font-size: 2.8rem; }
.result-item.over-loan .result-note { color: #e60000 !important; font-weight: bold; }

/* ==========================================
   Floating Sidebars (PC) & Bottom Nav (SP)
   ========================================== */
.fixed-left-sidebar { position: fixed; left: 15px; top: 50%; transform: translateY(-50%); width: 240px; z-index: 100; display: flex; flex-direction: column; gap: 15px; }
@media (max-width: 1400px) {
    /* 画面幅が狭い場合は左サイドバーを非表示（コンテンツ被り防止） */
    .fixed-left-sidebar { display: none !important; }
}
.sidebar-card { background: #111; color: #FFF; border-radius: 12px; padding: 15px; box-shadow: 0 10px 25px rgba(0,0,0,0.2); font-size: 0.85rem; line-height: 1.4; }
.sidebar-card-white { background: #FFF; color: #333; border-radius: 12px; padding: 15px; border: 2px solid #1A4480; box-shadow: 0 10px 25px rgba(0,0,0,0.1); font-size: 0.85rem; line-height: 1.4; }

.fixed-right-nav { position: fixed; right: 15px; top: 50%; transform: translateY(-50%); z-index: 100; display: flex; flex-direction: column; gap: 12px; width: 220px; }
.f-nav-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 12px; border-radius: 50px; text-decoration: none; font-weight: 900; font-size: 1.05rem; box-shadow: 0 5px 15px rgba(0,0,0,0.2); transition: transform 0.2s; text-align: center; }
.f-nav-btn:hover { transform: scale(1.05); }
.f-nav-tel { background: linear-gradient(135deg, #E65100 0%, #BF360C 100%); color: #FFF; }
.f-nav-line { background: linear-gradient(135deg, #D4AF37 0%, #AA8529 100%); color: #FFF; }
.f-nav-ai { background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 2px solid #FFF; color: #111; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); }
.f-nav-mail { background: linear-gradient(135deg, #1A4480 0%, #112F5C 100%); color: #FFF; }

.sp-only { display: none !important; }

@media (max-width: 1000px) {
    .sp-only { display: flex !important; }
    .pc-only { display: none !important; }
    
    .fixed-right-nav {
        top: auto; bottom: 0; right: 0; left: 0; width: 100%; transform: none; flex-direction: row; gap: 5px; padding: 10px 5px;
        background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid rgba(0,0,0,0.1); box-shadow: 0 -5px 20px rgba(0,0,0,0.05); border-radius: 0;
    }
    .f-nav-btn {
        flex: 1; padding: 8px 2px; font-size: 0.7rem; flex-direction: column; gap: 2px; border-radius: 8px; box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    }
    .f-nav-btn .icon { font-size: 1.3rem; }
    .f-nav-btn .text { font-size: 0.65rem; font-weight: 800; line-height: 1.1; margin-top: 0; }
}

/* ==========================================
   Top Anchor Navigation
   ========================================== */
.top-anchor-nav { padding: 30px 0; background: transparent; position: relative; z-index: 10; margin-top: -20px; }
.anchor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.anchor-card { background: rgba(255, 255, 255, 0.9); border: 2px solid #E6DCD5; border-radius: 16px; padding: 18px 15px; text-decoration: none; color: #333; display: flex; align-items: center; gap: 12px; transition: all 0.3s ease; box-shadow: 0 6px 15px rgba(0,0,0,0.06); backdrop-filter: blur(5px); }
.anchor-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); border-color: #D4AF37; }
.anchor-card .icon { font-size: 2.4rem; flex-shrink: 0; }
.anchor-card .text { display: flex; flex-direction: column; font-weight: 900; font-size: 0.95rem; line-height: 1.3; color: #2C2523; }
.anchor-card .text small { font-size: 0.75rem; font-weight: 700; color: #6b7a69; margin-top: 4px; }
.anchor-card.anchor-line { border-color: #C1E8C1; }
.anchor-card.anchor-line:hover { border-color: #06C755; background: #F2FDF5; }

@media (max-width: 1000px) {
    .top-anchor-nav { padding: 20px 0; margin-top: 0; }
    .anchor-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .anchor-card { padding: 12px; gap: 10px; border-radius: 12px; }
    .anchor-card .icon { font-size: 1.8rem; }
    .anchor-card .text { font-size: 0.85rem; }
    .anchor-card .text small { font-size: 0.65rem; }
}

/* ==========================================
   HP Design: Solutions Section
   ========================================== */
.hp-solutions-section { padding: 80px 0; background: #fff; }
.solution-tabs { display: flex; justify-content: center; border-bottom: 2px solid #E6DCD5; margin-bottom: 30px; overflow-x: auto; white-space: nowrap; padding-bottom: 5px; scrollbar-width: none; }
.solution-tabs::-webkit-scrollbar { display: none; }
.tab-btn { background: none; border: none; padding: 15px 30px; font-size: 1.05rem; font-weight: bold; color: #999; cursor: pointer; transition: all 0.3s ease; position: relative; font-family: 'Noto Sans JP', sans-serif; }
.tab-btn:hover { color: #1A4480; }
.tab-btn.active { color: #1A4480; }
.tab-btn.active::after { content: ''; position: absolute; bottom: -7px; left: 0; width: 100%; height: 4px; background: #1A4480; border-radius: 2px; }
.solution-content-area { background: rgba(255, 255, 255, 0.95); border: 1px solid #E6DCD5; border-radius: 20px; padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.solution-pane { display: none; align-items: center; gap: 40px; animation: fadeIn 0.5s ease; }
.solution-pane.active { display: flex; }
.sol-text { flex: 1; }
.sol-tag { display: inline-block; background: #E6F0FF; color: #1A4480; font-size: 0.8rem; font-weight: bold; padding: 6px 16px; border-radius: 50px; margin-bottom: 15px; }
.sol-title { font-size: 1.8rem; font-weight: 800; color: #111; line-height: 1.5; margin-bottom: 20px; }
.sol-desc { font-size: 1rem; color: #444; line-height: 1.7; margin-bottom: 20px; }
.sol-list { list-style: none; padding: 0; }
.sol-list li { margin-bottom: 10px; font-weight: bold; display: flex; align-items: center; gap: 10px; color: #333; }
.sol-list li i { color: #06C755; }
.sol-image { flex: 1; text-align: right; }
.sol-image img { max-width: 100%; border-radius: 16px; box-shadow: 0 15px 35px rgba(0,0,0,0.1); object-fit: cover; aspect-ratio: 4/3; }

@media (max-width: 900px) {
    .solution-pane { flex-direction: column-reverse; gap: 20px; }
    .solution-tabs { justify-content: flex-start; }
    .tab-btn { padding: 12px 15px; font-size: 0.9rem; }
    .sol-title { font-size: 1.4rem; }
    .solution-content-area { padding: 25px 20px; }
    .sol-image { text-align: center; }
}

/* ==========================================
   HP Design: Flow Section
   ========================================== */
.hp-flow-section { padding: 60px 0 100px; background: #FAFAFA; }
.flow-grid { display: flex; justify-content: space-between; align-items: stretch; gap: 20px; }
.flow-card { flex: 1; background: #fff; padding: 40px 20px; border-radius: 20px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.03); border: 1px solid #EFEFEF; display: flex; flex-direction: column; }
.flow-icon { width: 80px; height: 80px; background: #F4F7F4; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 2.2rem; color: #5B6A56; margin: 0 auto 20px; }
.flow-step { font-family: 'Noto Serif JP', serif; color: #D4AF37; font-size: 1.1rem; font-weight: bold; margin-bottom: 15px; letter-spacing: 2px; }
.flow-title { font-size: 1.1rem; font-weight: 800; line-height: 1.5; margin-bottom: 20px; color: #333; }
.flow-desc { font-size: 0.9rem; color: #666; line-height: 1.6; text-align: left; }
.flow-arrow { font-size: 2rem; color: #ccc; align-self: center; }
@media (max-width: 900px) {
    .flow-grid { flex-direction: column; }
    .flow-arrow { transform: rotate(90deg); margin: 10px 0; }
}

/* ==========================================
   HP Design: Voice Section
   ========================================== */
.hp-voice-section { padding: 60px 0 100px; background: #fff; }
.voice-card { display: flex; gap: 50px; align-items: center; max-width: 1000px; margin: 0 auto; }
.voice-image { flex: 0 0 45%; position: relative; }
.voice-image::after { content: '北区在住 / A様（30代）'; position: absolute; bottom: 20px; left: 20px; background: rgba(0,0,0,0.7); color: #fff; padding: 8px 15px; border-radius: 50px; font-size: 0.8rem; font-weight: bold; }
.voice-content { flex: 1; }
.voice-tag { display: inline-block; background: #FFF0F0; color: #E74C3C; font-size: 0.75rem; font-weight: bold; padding: 6px 15px; border-radius: 50px; margin-bottom: 15px; letter-spacing: 1px; }
.voice-title { font-size: 1.6rem; font-weight: 900; line-height: 1.5; color: #111; margin-bottom: 25px; }
.voice-text { font-size: 0.95rem; color: #444; line-height: 1.8; }
.voice-quote { background: #FDF9F0; padding: 25px; border-radius: 12px; margin-top: 25px; border-left: 4px solid #D4AF37; }
@media (max-width: 900px) {
    .voice-card { flex-direction: column; gap: 30px; }
    .voice-title { font-size: 1.4rem; }
}

/* ==========================================
   HP Design: Company Section
   ========================================== */
.hp-company-section { padding: 60px 0 100px; background: #F8FBFF; }
.company-grid { display: flex; gap: 40px; align-items: flex-start; }
.company-info { flex: 1; background: #fff; padding: 30px; border-radius: 16px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); }
.company-table { width: 100%; border-collapse: collapse; }
.company-table th, .company-table td { padding: 15px 10px; border-bottom: 1px solid #EEE; font-size: 0.9rem; text-align: left; }
.company-table th { width: 35%; color: #333; font-weight: bold; }
.company-table td { color: #666; }
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: none; }
.company-map { flex: 1; }
.map-wrap { padding: 10px; background: #fff; border-radius: 16px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); margin-bottom: 15px; }
.map-btns { display: flex; gap: 15px; }
.map-btns a { flex: 1; display: flex; justify-content: center; align-items: center; gap: 10px; padding: 12px; border-radius: 50px; text-decoration: none; font-weight: bold; font-size: 0.95rem; transition: transform 0.2s; color: #fff; }
.map-btns a:hover { transform: translateY(-2px); }
.btn-route { background: #D4AF37; }
.btn-review { background: #1A4480; }
@media (max-width: 900px) {
    .company-grid { flex-direction: column; }
    .company-table th, .company-table td { display: block; width: 100%; }
    .company-table th { padding-bottom: 5px; border-bottom: none; padding-top: 15px; }
    .company-table td { padding-top: 0; padding-bottom: 15px; }
}

/* ==========================================
   HP Design: 3 Channels Contact
   ========================================== */
.channel-grid { display: flex; gap: 20px; align-items: stretch; }
.channel-card { flex: 1; background: #fff; padding: 40px 30px; border-radius: 20px; text-align: center; border: 2px solid #E6DCD5; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.channel-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.08); }
.channel-card.channel-center { border-color: #D4AF37; box-shadow: 0 10px 25px rgba(212,175,55,0.15); position: relative; top: -10px; }
.channel-tag { display: inline-block; background: #FDEFEF; color: #C0392B; font-size: 0.75rem; font-weight: bold; padding: 6px 15px; border-radius: 50px; margin: 0 auto 20px; }
.channel-icon { font-size: 3.5rem; margin-bottom: 20px; }
.channel-title { font-size: 1.3rem; font-weight: 900; color: #111; margin-bottom: 15px; }
.channel-tel { font-size: 2.2rem; font-weight: 900; color: #D4AF37; margin-bottom: 15px; letter-spacing: 2px; }
.channel-desc { font-size: 0.85rem; color: #666; line-height: 1.6; margin-bottom: 30px; flex: 1; text-align: left; }
.channel-btn { display: inline-block; width: 100%; padding: 15px; border-radius: 50px; color: #fff; font-weight: bold; text-decoration: none; font-size: 1rem; transition: opacity 0.2s; }
.channel-btn:hover { opacity: 0.8; }
.btn-web { background: #D35400; }
.btn-line { background: linear-gradient(135deg, #E6C27A 0%, #D4AF37 100%); color: #111; }
.btn-tel { background: #C0392B; }

@media (max-width: 900px) {
    .channel-grid { flex-direction: column; }
    .channel-card.channel-center { top: 0; }
    .channel-card { padding: 30px 20px; }
}
