/*
Theme Name: Lightning
Text Domain: lightning
Theme URI: https://lightning.vektor-inc.co.jp/en/
Description: Lightning is a very simple & easy to customize theme which is based on the Bootstrap. It is also very friendly with custom post types and custom taxonomies. When you add a new one, the breadcrumbs will be adjusted and posts will look beautifully without editing or adding a template files.
Author: Vektor,Inc.
Author URI: https://www.vektor-inc.co.jp
Version: 15.30.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Lightning WordPress theme, Copyright (C) 2015-2025 Vektor,Inc.
Lightning WordPress theme is licensed under the GPL.

Lightning WordPress Theme bundles the following third-party resources:

Font Awesome icon font, Copyright 2012 Fonticons, Inc.
its fonts are licensed under the terms of the SIL OFL License 1.1, and its code is licensed under the terms of the MIT license
Source: https://fontawesome.com/

Bootstrap framework, Copyright 2011 Bootstrap Authors and Twitter, Inc.
Bootstrap is licensed under the terms of the MIT license
Source: https://getbootstrap.com/

CSS Simple Tree Shaking
CSS Simple Tree Shaking is licensed under the terms of the GNU General Public License v2 license
Source: https://celtislab.net/
*/


/* === 全体の配色・フォント === */
body {
    color: #333;
    background-color: #fff;
    font-family: "Helvetica Neue", sans-serif;
  }
  
  /* === ① ジャンル帯（青帯の代替：ダークオレンジ） === */
  .genre-menu {
    background-color: #E65100;
    display: flex;
    overflow-x: auto;
    padding: 0.5em 1em;
    gap: 1em;
  }
  .genre-menu a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
  }
  
  /* === ② ヒーローバナー（Swiper スライド画像） === */
  .hero-slider {
    width: 100%;
    aspect-ratio: 16/9;
  }
  .hero-slider img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
  }
  
  /* === ③ CTA ボタン（LINE登録） === */
  .line-cta {
    background-color: #e53935;
    color: #fff;
    font-weight: bold;
    padding: 0.75em 1.5em;
    border-radius: 4px;
    display: inline-block;
  }
  
  /* === ④ 案件カード共通 === */
  .cards, .ranking {
    display: flex;
    overflow-x: auto;
    gap: 1em;
    padding: 1em 0;
  }
  .card {
    flex: 0 0 250px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fafafa;
    padding: 1em;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  }
  .card img {
    width: 100%;
    height: auto;
    border-radius: 4px;
  }
  .card-button {
    display: inline-block;
    margin-top: 0.5em;
    padding: 0.5em 1em;
    background: #388E3C;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
  }
  
  /* === ⑤ ランキングアイコン === */
  .crown-icon {
    width: 24px;
    vertical-align: middle;
    margin-right: 4px;
  }
  
  /* === ⑥ フッター前CTA === */
  .footer-cta {
    background: #FFE6E6;
    padding: 2em 1em;
    text-align: center;
  }
  .cta-icons span {
    margin: 0 0.5em;
    font-size: 1.1em;
  }
  .footer-cta a {
    display: inline-block;
    margin-top: 1em;
    padding: 1em 2em;
    background: #e53935;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
  }
  
  /* === ⑦ フッター === */
  .site-footer {
    background: #f2f2f2;
    padding: 1.5em 1em;
    text-align: center;
  }
  .site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .site-footer li {
    display: inline-block;
    margin: 0 1em;
  }
  .site-footer a {
    color: #333;
    text-decoration: none;
    font-size: 0.95em;
  }

.scroll-x {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px;
}

.scroll-x > .wp-block-group {
  flex: 0 0 auto;
  width: 250px;
  scroll-snap-align: start;
}
  