/* ==============================
   Variables & Theme
   ============================== */
   :root {
    --primary: #FF8A00;
    --primary-hover: #E07900;
    --secondary: #FFF1E0;
    
    --text-main: #333333;
    --text-muted: #666666;
    
    --bg-main: #FFFFFF;
    --bg-light: #FAFAFB;
    
    --font-heading: 'Outfit', 'Noto Sans JP', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .outfit-font {
    font-family: var(--font-heading);
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

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

.text-orange {
    color: var(--primary);
}

.text-yellow {
    color: #FFD60A;
}

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

.mt-4 {
    margin-top: 1rem;
}

.mt-auto {
    margin-top: auto;
}

/* ==============================
   Typography
   ============================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

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

/* ==============================
   Buttons & UI Elements
   ============================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(255, 138, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 138, 0, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--secondary);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 138, 0, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(255, 138, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 138, 0, 0); }
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
}

.hover-lift {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* ==============================
   Navbar
   ============================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 0.5rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 48px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .nav-links a:not(.btn) {
        display: none;
    }
}

/* ==============================
   Hero Section
   ============================== */
.hero {
    position: relative;
    padding: 180px 0 100px;
    background-image: url('morukoimage/hero_background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.5); /* 背景が見えつつ文字を読みやすくするオーバーレイ */
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(255, 138, 0, 0.1);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.highlight-badge {
    background-color: #FF3B30;
    color: #FFF;
    border: 2px solid #FFF;
    box-shadow: 0 4px 12px rgba(255, 59, 48, 0.4);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(255, 59, 48, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

.urgency-banner {
    display: inline-block;
    background: linear-gradient(90deg, #FF3B30, #FF8A00);
    color: #FFF;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 1.125rem;
    font-weight: 700;
    margin: 1rem auto 2rem;
    box-shadow: 0 6px 16px rgba(255, 138, 0, 0.4);
    border: 2px solid #FFF;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 
        0 0 10px rgba(255,255,255,1), 
        0 0 20px rgba(255,255,255,1), 
        0 0 40px rgba(255,255,255,0.9),
        0 0 80px rgba(255,255,255,0.8);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 2.5rem;
    text-shadow: 
        0 0 5px rgba(255,255,255,1), 
        0 0 15px rgba(255,255,255,1), 
        0 0 30px rgba(255,255,255,0.9);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.glow-bg {
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,138,0,0.3) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
    animation: glow-pulse 4s infinite alternate;
}

@keyframes glow-pulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.1); opacity: 1; }
}

.char-img {
    max-height: 500px;
    z-index: 2;
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

/* Geometric Blobs Background */
.blob {
    position: absolute;
    filter: blur(80px);
    z-index: 0;
    border-radius: 50%;
}
.blob-1 {
    width: 500px;
    height: 500px;
    background: rgba(255, 138, 0, 0.15);
    top: -100px;
    right: -100px;
}
.blob-2 {
    width: 400px;
    height: 400px;
    background: rgba(255, 200, 100, 0.15);
    bottom: -100px;
    left: -100px;
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .badge {
        margin: 0 auto 1.5rem;
    }
}

/* ==============================
   Sections
   ============================== */
.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.pc-illustration {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border: 8px solid #EAEAEA;
    border-radius: 32px;
}

.about-logo {
    width: 150px;
    margin-bottom: 2rem;
}

.pc-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 600;
}
.pc-specs span {
    background: #FF8A0020;
    color: #FF8A00;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

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

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: left;
    padding: 2.5rem 2rem;
}

.feature-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

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

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ==============================
   Flash News Section
   ============================== */
.flash-news-section {
    background-color: #111111;
    color: #FFF;
    padding: 4rem 0;
    border-top: 6px solid #FF3B30;
    border-bottom: 6px solid #FF3B30;
    margin-bottom: 3rem;
}

.flash-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
}

.flash-title .blink {
    color: #FF3B30;
    animation: blinker-red 1.2s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes blinker-red {
    50% { opacity: 0.3; text-shadow: 0 0 20px #FF3B30; }
}

.flash-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.flash-content p {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #FFD60A;
}

.flash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.flash-item {
    background: #FFF;
    color: var(--text-main);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.flash-item:hover {
    transform: scale(1.05);
}

.flash-label {
    display: block;
    font-weight: 800;
    color: #FF3B30;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.flash-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 900;
}

.old-price {
    font-size: 1.25rem;
    text-decoration: line-through;
    color: var(--text-muted);
    font-weight: 600;
}

.arrow {
    color: #FF3B30;
    font-size: 1.5rem;
}

.new-price {
    font-size: 1.75rem;
    color: #FF3B30;
}

.new-price small {
    font-size: 1rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .flash-title {
        font-size: 1.75rem;
    }
    .flash-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .flash-item {
        transform: scale(1);
    }
}

/* Pricing Section */
.cancel-warning {
    background-color: rgba(255, 59, 48, 0.05);
    border-left: 3px solid #FF3B30;
    padding: 0.75rem;
    margin: 1rem 0 1.5rem;
    text-align: left;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.cancel-warning strong {
    color: #FF3B30;
}

.pricing-story {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 2.5rem;
    text-align: left;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 241, 224, 0.8));
    border-top: 4px solid var(--primary);
    display: grid;
    grid-template-columns: 1fr 300px;
    align-items: center;
    gap: 3rem;
}

.story-visual img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .pricing-story {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
}

.story-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--text-main);
    color: #FFF;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.story-title {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: var(--primary);
    font-weight: 800;
}

.story-desc {
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.8;
}

.pricing-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto 2rem;
}

.pricing-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 3rem 2.5rem;
    position: relative;
    background: #FFF;
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    z-index: 10;
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.875rem;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #EEE;
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.plan-initial {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.plan-price .currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.plan-price .tax, .plan-price .period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.plan-subtitle {
    margin-top: 1rem;
    color: var(--primary);
    font-weight: 600;
}

.plan-features {
    list-style: none;
    margin-bottom: 3rem;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 1rem;
    color: var(--text-main);
}

.pricing-note {
    font-size: 0.875rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .pricing-grid {
        flex-direction: column;
    }
    .pricing-card.popular {
        transform: scale(1);
    }
}

/* Support Section */
.support-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem;
}

.support-steps {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step-item p {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .support-content {
        padding: 2rem;
    }
}

/* ==============================
   Footer
   ============================== */
.footer {
    background-color: var(--text-main);
    color: #FFFFFF;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 3rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
    color: #FFF;
}

.footer-bottom {
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ==============================
   How it Works Section
   ============================== */
.howto-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.howto-step {
    flex: 1;
    min-width: 140px;
    max-width: 180px;
    text-align: center;
    padding: 1.5rem 1rem;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid #F0F0F0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.howto-step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.howto-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.howto-num {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.howto-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.howto-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.howto-desc small {
    display: block;
    margin-top: 0.4rem;
    color: var(--primary);
    font-weight: 600;
}

.howto-arrow {
    flex-shrink: 0;
    align-self: center;
    color: var(--primary);
    font-size: 1.25rem;
    padding: 0 0.5rem;
    margin-top: -1rem;
}

.howto-notes {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 2.5rem;
}

.howto-notes h4 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.howto-notes ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.howto-notes li {
    font-size: 0.95rem;
    color: var(--text-main);
}

.howto-subscnote {
    background: rgba(255, 59, 48, 0.05);
    border-left: 3px solid #FF3B30;
    padding: 0.75rem 1rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.howto-subscnote strong {
    color: #FF3B30;
}

@media (max-width: 768px) {
    .howto-steps {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    .howto-step {
        max-width: 100%;
        width: 100%;
    }
    .howto-arrow {
        transform: rotate(90deg);
        padding: 0;
        margin: 0;
    }
}

/* Mobile Responsiveness Rules */
.pc-only { display: inline-block; }
.sp-only { display: none; }

@media (max-width: 768px) {
    .pc-only { display: none !important; }
    .sp-only { display: block !important; }
    
    .hero-title {
        font-size: 2rem !important;
    }
    .hero-subtitle {
        font-size: 1.125rem !important;
    }
    .hero {
        padding: 130px 0 60px !important;
    }
    .section {
        padding: 60px 0 !important;
    }
    .pricing-story {
        padding: 1.5rem !important;
    }
    .support-content {
        padding: 1.5rem !important;
    }
}
