@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/
/* =========================================
   TOP のすべて　LIFRELL DESIGN SYSTEM (Meiryo Style)
   ========================================= */
:root {
    --color-bg: #f8fafc;        /* slate-50 */
    --color-surface: #ffffff;
    --color-text-main: #111111;
    --color-text-sub: #555555;
    --color-accent-blue: #2563eb;
    --color-accent-purple: #7c3aed;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #9333ea 100%);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 30px rgba(37, 99, 235, 0.15);
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.8;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.04em;
}

h1, h2, h3, h4 {
    margin: 0;
    line-height: 1.4;
    font-weight: 700;
}

p {
    margin: 0 0 1.5em 0;
}

/* Utility Classes */
.l-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

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

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 48px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
    opacity: 0.95;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
}
.btn-secondary:hover {
    background: #fff;
    color: var(--color-text-main);
}
.btn-secondary-light {
    background: transparent;
    color: #555;
    border: 1px solid #cbd5e1;
    padding: 14px 40px;
}
.btn-secondary-light:hover {
    background: #1e293b;
    color: #fff;
    border-color: #1e293b;
}

/* Section Styling */
.section {
    padding: 100px 0;
    position: relative;
}
.section-header {
    margin-bottom: 60px;
    text-align: center;
}
.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text-main);
}
.section-desc {
    font-size: 16px;
    color: var(--color-text-sub);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    padding: 140px 0 100px;
    overflow: hidden;
    position: relative;
}
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}
.blob-blue { top: -10%; right: -5%; width: 500px; height: 500px; background: #dbeafe; }
.blob-purple { bottom: -10%; left: -10%; width: 600px; height: 600px; background: #f3e8ff; }

.hero-tag {
    display: inline-block;
    padding: 8px 24px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: var(--color-text-sub);
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-soft);
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 32px;
    color: var(--color-text-main);
}

.hero-desc {
    font-size: 18px;
    color: var(--color-text-sub);
    max-width: 720px;
    margin: 0 auto 48px;
}

/* =========================================
   STATS SECTION
   ========================================= */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    background: #fff;
    padding: 60px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid #f1f5f9;
}
.stat-item {
    text-align: center;
    border-right: 1px solid #f1f5f9;
}
.stat-item:last-child { border-right: none; }

.stat-number {
    display: block;
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
    font-family: Arial, sans-serif;
}
.stat-unit {
    font-size: 18px;
    font-weight: 700;
    margin-left: 4px;
    color: var(--color-text-sub);
    -webkit-text-fill-color: var(--color-text-sub);
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
.stat-label {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* =========================================
   SERVICES (GRID)
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: #cbd5e1;
}

.card-num {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    font-weight: 700;
    color: #f1f5f9;
    font-family: Arial, sans-serif;
    line-height: 1;
}

.card-icon {
    width: 56px;
    height: 56px;
    background: #eff6ff;
    color: var(--color-accent-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}
.card:nth-child(2n) .card-icon { background: #f3e8ff; color: var(--color-accent-purple); }
.card:nth-child(3n) .card-icon { background: #ccfbf1; color: #0f766e; }
.card:nth-child(4n) .card-icon { background: #ffedd5; color: #ea580c; }

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.card-text {
    font-size: 15px;
    color: var(--color-text-sub);
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

/* =========================================
   INDUSTRIES
   ========================================= */
.industries-wrapper {
    display: flex;
    gap: 40px;
}
.industry-col {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding: 48px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-soft);
}
.industry-head {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}
.industry-head span {
    display: block;
    font-size: 14px;
    color: var(--color-text-sub);
    font-weight: 400;
    margin-top: 8px;
}

.industry-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 24px;
}
.industry-list li {
    font-size: 14px;
    font-weight: 400;
    color: #475569;
    display: flex;
    align-items: center;
}
.industry-list li::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    background: #cbd5e1;
    border-radius: 0;
    margin-right: 10px;
}

/* =========================================
   NEWS LIST SECTION (Text Based for WP)
   ========================================= */
.news-section {
    background: #fff;
    padding: 100px 0;
}

/* リスト全体の枠 */
.news-list {
    max-width: 960px;
    margin: 0 auto 48px;
    border-top: 2px solid #f1f5f9;
}

/* 各ニュース項目 */
.news-item {
    display: flex;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}
.news-item:hover {
    background-color: #f8fafc;
    padding-left: 10px; /* ホバーで少し右へ */
}

/* 日付・カテゴリのラッパー */
.news-meta {
    display: flex;
    align-items: center;
    min-width: 200px; /* PCでの幅確保 */
    gap: 16px;
}

.news-date {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    color: #64748b;
    letter-spacing: 0.05em;
}

/* カテゴリラベル */
.news-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 99px; /* 角丸のカプセル型 */
    background: #eff6ff;
    color: var(--color-accent-blue);
    white-space: nowrap;
}
/* カテゴリごとの色分け（WPでクラスが出力される想定） */
.news-tag.cat-event { background: #fff1f2; color: #e11d48; }
.news-tag.cat-release { background: #f0fdf4; color: #16a34a; }

/* タイトル */
.news-title {
    flex: 1;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0;
    padding: 0 24px;
    line-height: 1.6;
    transition: color 0.3s;
}
.news-item:hover .news-title {
    color: var(--color-accent-blue);
}

/* 矢印アイコン */
.news-arrow {
    color: #cbd5e1;
    font-size: 14px;
    transition: all 0.3s;
}
.news-item:hover .news-arrow {
    color: var(--color-accent-blue);
    transform: translateX(4px);
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
    background: #0f172a;
    color: #fff;
    text-align: center;
    overflow: hidden;
    padding: 120px 0;
}
.cta-bg-effect {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.2) 0%, rgba(0,0,0,0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 24px;
}
.cta-desc {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer-copy {
    margin-top: 80px;
    font-size: 12px;
    color: #475569;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 32px; }
    .hero-tag { margin-bottom: 24px; }
    .stats-grid { grid-template-columns: 1fr 1fr; padding: 30px; gap: 40px 20px; }
    .stat-number { font-size: 36px; }
    .stat-item { border-right: none; }

    .industries-wrapper { flex-direction: column; }
    .industry-list { grid-template-columns: 1fr; }

    /* ニュースリストのスマホ対応 */
    .news-item { flex-direction: column; align-items: flex-start; padding: 20px 0; }
    .news-meta { margin-bottom: 8px; min-width: auto; }
    .news-title { padding: 0; margin-bottom: 8px; font-size: 15px; }
    .news-arrow { display: none; /* スマホでは矢印消すか、右下に配置するなど */ }

    .cta-title { font-size: 28px; }
    .btn { width: 100%; }
    .btn-container { flex-direction: column; width: 100%; }
}

/* ============================================
   LIFRELL TOP：ヘッダー直下の余白を消す
   ============================================ */

/* SWELL がトップページ用に付けている余白を上書き */
.top #content {
    padding-top: 0 !important;
}

/* 念のためコンテンツ側のマージンも殺す */
.page-template-page-lifrell-top .lifrell-top {
    margin-top: 0 !important;
}

/* ヒーローセクションの余白を再定義（お好みで調整可） */
.page-template-page-lifrell-top .hero {
    padding-top: 40px;   /* もっと詰めたければ 20〜30px などに */
    padding-bottom: 80px;
}

/* スマホでボタン内テキストの折り返しを防ぐ */
@media (max-width: 768px) {
    .btn {
        white-space: nowrap;         /* 改行させない */
        justify-content: center;     /* 中央寄せのまま */
    }

    .btn i {
        flex-shrink: 0;              /* アイコンが潰れないように */
    }
}
