/*
Theme Name: ORIGENIC
Theme URI: https://getorigenic.com
Author: mediancreate
Author URI: https://mediancreate.com
Description: License management and digital content sales platform theme. Custom EC implementation with Elementor support. / ライセンス管理・デジタルコンテンツ販売プラットフォーム用テーマ。独自EC実装、Elementor対応。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: origenic
Tags: custom-background, custom-colors, custom-header, custom-menu, e-commerce, flexible-header, right-sidebar, theme-options
Update URI: false
*/

/* =========================================
   1. Variables & Reset
   ========================================= */
:root {
    /* Colors */
    --color-primary: #00BCD4;
    /* Cyan Blue */
    --color-primary-dark: #0097a7;
    --color-secondary: #2C3E50;
    /* Dark Blue Gray */
    --color-accent-pink: #E91E63;
    --color-accent-orange: #FF9800;
    --color-accent-green: #4CAF50;
    --color-accent-purple: #9C27B0;

    --color-text: #333333;
    --color-text-light: #757575;
    --color-white: #FFFFFF;
    --color-light-gray: #F5F5F5;
    --color-border: #E0E0E0;

    /* Fonts */
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-en: 'Poppins', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --section-padding: 80px;
    --border-radius: 8px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-jp);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-en);
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   2. Utilities & Components
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding) 0;
}

.bg-gray {
    background-color: var(--color-light-gray);
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-family: var(--font-en);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.4);
}

.btn--primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.btn--secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn--secondary:hover {
    background-color: #1a252f;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.4);
}

.btn--outline {
    background-color: transparent;
    border: 2px solid var(--color-text-light);
    color: var(--color-text-light);
}

.btn--outline:hover {
    background-color: var(--color-text-light);
    color: white;
}

.btn--full {
    width: 100%;
    border-radius: 8px;
    text-align: center;
}

.btn--lg {
    padding: 16px 40px;
    font-size: 16px;
}

/* Badges */
.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    color: white;
    z-index: 2;
}

.badge--sale {
    background-color: var(--color-accent-pink);
}

.badge--new {
    background-color: var(--color-primary);
}

/* Animation Utilities */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Section Headers */
.section-badge {
    color: var(--color-primary);
    font-weight: bold;
    font-family: var(--font-en);
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 32px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--color-primary);
    margin: 0 auto 50px;
    border-radius: 2px;
}

/* Breadcrumb (Global) */
.breadcrumb-area {
    padding: 20px 0;
    background-color: #fafafa;
    border-bottom: 1px solid var(--color-border);
    margin-top: 80px;
    /* Offset fixed header */
}

.ec-breadcrumb {
    font-size: 14px;
    color: var(--color-text-light);
    font-family: var(--font-en);
}

.ec-breadcrumb a {
    color: var(--color-secondary);
    font-weight: 500;
}

.ec-breadcrumb a:hover {
    color: var(--color-primary);
}

.ec-breadcrumb .delimiter {
    margin: 0 8px;
    color: #ccc;
}

/* Terms Page Styles */
.terms-section {
    padding: 60px 0;
}

.terms-content {
    background: #fff;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    /* 外側の薄いシャドウ */
    max-width: 900px;
    margin: 0 auto;
}

.terms-content h2 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-light-gray);
}

.terms-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.terms-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style: disc;
}

.terms-content li {
    margin-bottom: 10px;
}

/* =========================================
   Note: Additional styles are loaded from
   assets/css/ directory on a per-page basis
   ========================================= */