/*
Theme Name: SNova Theme
Theme URI: https://example.com/snova-theme
Author: SNova
Author URI: https://example.com
Description: デジタル領域特化型マーケティングカンパニー SNova のコーポレートサイト用WordPressテーマ。静的サイトsnovaをWordPress化したものです。
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: snova-theme
Tags: custom-menu, custom-logo, featured-images, full-width-template, sticky-post, theme-options, translation-ready, one-column, two-columns, right-sidebar, custom-colors, footer-widgets, block-styles, wide-blocks, accessibility-ready
*/

/* 基本スタイルは assets から読み込み */

/* パンくず（サブページ共通） */
.breadcrumb {
  margin-bottom: 16px;
}

.breadcrumb__list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: rgba(51, 51, 51, .7);
}

@media (max-width: 768px) {
  .breadcrumb__list {
    font-size: 12px;
  }
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
}

.breadcrumb__separator {
  color: inherit;
  margin: 0 2px;
}

.breadcrumb__link {
  color: inherit;
  text-decoration: none;
  transition: opacity .3s ease;
}

.breadcrumb__link:hover {
  opacity: .8;
}

.breadcrumb__current {
  color: inherit;
}

/* ニュース詳細：投稿本文（snova/news-single と同じレイアウト） */
#news-single .news-single__body>p:first-of-type {
  font-size: 16px;
  font-weight: 400;
  color: #333;
  line-height: 1.9;
  margin: 0 0 40px;
}

@media (max-width: 768px) {
  #news-single .news-single__body>p:first-of-type {
    font-size: 15px;
  }
}

#news-single .news-single__body h2,
#news-single .news-single__body h2.wp-block-heading {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 0 0 24px;
  padding-left: 16px;
  border-left: 4px solid #5EB7E8;
  line-height: 1.4;
}

#news-single .news-single__body h3,
#news-single .news-single__body h3.wp-block-heading {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin: 0 0 16px;
  line-height: 1.4;
}

#news-single .news-single__body p {
  font-size: 15px;
  font-weight: 400;
  color: #333;
  line-height: 1.9;
  margin: 0 0 24px;
}

#news-single .news-single__body>p:first-of-type {
  margin-bottom: 40px;
}

#news-single .news-single__body ul,
#news-single .news-single__body ol {
  list-style: none;
  margin: 0 0 24px;
  padding: 0 0 0 1.5em;
}

@media (max-width: 768px) {

  #news-single .news-single__body ul,
  #news-single .news-single__body ol {
    padding-left: 1em;
  }
}

#news-single .news-single__body ul li,
#news-single .news-single__body ol li {
  font-size: 15px;
  font-weight: 400;
  color: #333;
  line-height: 1.9;
  margin-bottom: 8px;
  position: relative;
}

#news-single .news-single__body ul li::before {
  content: "・";
  position: absolute;
  left: -1em;
}

@media (max-width: 768px) {

  #news-single .news-single__body ul li,
  #news-single .news-single__body ol li {
    font-size: 14px;
  }
}

/* アンカーリンクのスムーススクロール */
html {
  scroll-behavior: smooth;
}

/* 強みページ：カード全体をリンク化 */
#strength-intro .strength-intro__card-link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* 強みページ：カードホバー・対応する strength-list__item へスクロール（色別 box-shadow） */
#strength-intro .strength-intro__card {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

#strength-intro .strength-intro__card:hover {
  transform: translateY(-2px);
}

#strength-intro .strength-intro__card:has(.strength-intro__link--blue):hover {
  box-shadow: 0 8px 24px rgba(94, 183, 232, 0.35);
}

#strength-intro .strength-intro__card:has(.strength-intro__link--pink):hover {
  box-shadow: 0 8px 24px rgba(238, 135, 180, 0.35);
}

#strength-intro .strength-intro__card:has(.strength-intro__link--purple):hover {
  box-shadow: 0 8px 24px rgba(166, 136, 189, 0.35);
}

@media (max-width: 768px) {
  #strength-intro .strength-intro__card:hover {
    transform: translateY(-1px);
  }
}

/* ニュース一覧：カード全体をリンク化 */
.news-list__card .news-list__card-link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* ニュース一覧：カードホバー時（タイトル色・box-shadow） */
.news-list__card {
  transition: box-shadow 0.3s ease;
}

.news-list__card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.news-list__card:hover .news-list__title {
  color: #5EB7E8 !important;
  transition: color 0.3s ease;
}

@media (max-width: 768px) {
  .news-list__card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }
}
p:has(.wpcf7-submit){order:2;}
.wpcf7-turnstile.cf-turnstile{order:1;}