/*
Theme Name: Zenovia Theme
Theme URI: https://zenovia.co.jp
Author: Zenovia Development Team
Author URI: https://zenovia.co.jp
Description: 合同会社Zenoviaの公式サイト用オリジナルテーマ。軽量でスケーラブルな設計。
Version: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zenovia-theme
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
Tags: business, responsive, minimal, custom-post-types
*/

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* ============================================
   Typography
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

/* ============================================
   Links & Buttons
   ============================================ */
a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.3s ease;
}

button,
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #0066cc;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

/* ============================================
   Header & Navigation
   ============================================ */
.site-header {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.site-header.scrolled {
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.site-branding {
  display: inline-block;
}

.site-branding a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
}

.site-branding a:hover {
  color: #0066cc;
}

.site-navigation {
  display: inline-block;
  float: right;
}

.site-navigation ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.site-navigation a {
  color: #333;
  font-weight: 500;
}

.site-navigation a:hover {
  color: #0066cc;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background-color: #222;
  color: #fff;
  padding: 3rem 2rem 1rem;
  margin-top: 3rem;
}

.site-footer a:hover {
  color: #3399ff;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.site-footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #444;
  font-size: 0.9rem;
}

/* ============================================
   Sections (Hero, Concept, Business Hub, etc.)
   ============================================ */
.section {
  padding: 4rem 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.section-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
}

.section-hero h1 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.section-hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Business Hub Cards */
.business-hub {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.business-card {
  background-color: #f5f5f5;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.business-card h3 {
  margin-bottom: 1rem;
}

/* ============================================
   News / Blog Posts
   ============================================ */
.news-section {
  max-width: 1200px;
  margin: 0 auto;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.news-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.news-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-item-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.news-item-content {
  padding: 1.5rem;
}

.news-item-date {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 0.5rem;
}

.news-item-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.news-item-excerpt {
  font-size: 0.9rem;
  color: #666;
}

/* ============================================
   Floating CTA Button
   ============================================ */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #0066cc;
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
  cursor: pointer;
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.floating-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 102, 204, 0.4);
}

/* ============================================
   Contact Page (HubSpot Embed)
   ============================================ */
.contact-hs-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* ============================================
   Phone Button (Header)
   ヘッダー電話ボタン
   ============================================ */
.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 2px solid #0066cc;
  border-radius: 4px;
  color: #0066cc;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-phone:hover {
  background-color: #0066cc;
  color: #fff;
}

.btn-phone__icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.btn-phone:hover .btn-phone__icon {
  filter: brightness(0) invert(1);
}

.btn-phone__number {
  letter-spacing: 0.02em;
}

/* ============================================
   Scroll Animation (Intersection Observer)
   zenovia-animations.js と連携するスクロールアニメーション
   ============================================ */

/* --- 共通: 初期状態（非表示） --- */
.anim-ready {
  transition-property: opacity, transform;
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-duration: 0.7s;
  /* JSのdata-animate-durationで上書き可 */
  will-change: opacity, transform;
}

/* --- fade-up: 下から浮き上がる（デフォルト） --- */
.anim-ready[data-anim-type="fade-up"] {
  opacity: 0;
  transform: translateY(48px);
}

/* --- fade-down: 上から降りてくる --- */
.anim-ready[data-anim-type="fade-down"] {
  opacity: 0;
  transform: translateY(-48px);
}

/* --- fade-left: 右からスライドイン --- */
.anim-ready[data-anim-type="fade-left"] {
  opacity: 0;
  transform: translateX(60px);
}

/* --- fade-right: 左からスライドイン --- */
.anim-ready[data-anim-type="fade-right"] {
  opacity: 0;
  transform: translateX(-60px);
}

/* --- zoom-in: 拡大しながら現れる --- */
.anim-ready[data-anim-type="zoom-in"] {
  opacity: 0;
  transform: scale(0.88);
}

/* --- zoom-out: 遠くから縮まって現れる --- */
.anim-ready[data-anim-type="zoom-out"] {
  opacity: 0;
  transform: scale(1.12);
}

/* --- flip: 手前から倒れてくる（perspective が親に必要） --- */
.anim-ready[data-anim-type="flip"] {
  opacity: 0;
  transform: perspective(600px) rotateX(20deg) translateY(30px);
}

/* --- 表示状態（共通） --- */
.anim-ready.anim-visible {
  opacity: 1;
  transform: none;
}

/* prefers-reduced-motion: アニメーションを無効化 */
@media (prefers-reduced-motion: reduce) {
  .anim-ready {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================
   News Card Grid
   ニュース一覧カード形式（TOPページ）
   ============================================ */
.news-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.news-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f0f0f0;
  flex-shrink: 0;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card__image img {
  transform: scale(1.04);
}

/* アイキャッチなし時のプレースホルダー */
.news-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.news-card__placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.3;
}

.news-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.news-card__date {
  font-size: 0.8rem;
  color: #999;
}

.news-card__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #0066cc;
  background: #e8f0fe;
  padding: 0.15em 0.6em;
  border-radius: 3px;
  white-space: nowrap;
}

.news-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.55;
  color: #1a1a1a;
  margin: 0;
  flex: 1;
}

@media (max-width: 768px) {
  .news-card-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* ============================================
   Header Precise Adjustments
   ヘッダーUI精密調整
   ============================================ */

@media (min-width: 769px) {

  /* ヘッダー内アイテム間隔の均等化 */
  .header__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  /* 言語切替: 2/3サイズに縮小 */
  .lang-selector-container {
    font-size: 0.67em;
    line-height: 1;
  }

  .lang-selector-container * {
    font-size: inherit !important;
  }

  /* 電話ボタン: アイコンのみ・2倍サイズ */
  .btn-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
  }

  .btn-phone:hover {
    background-color: rgba(0, 0, 0, 0.07);
    color: #333;
    transform: scale(1.08);
  }

  .btn-phone__icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
  }

  .btn-phone:hover .btn-phone__icon {
    filter: none;
  }

  .btn-phone__number {
    display: none;
  }
}

/* ============================================
   Responsive Design (Mobile-First)
   ============================================ */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .section {
    padding: 2rem 1rem;
  }

  .site-header {
    padding: 1rem;
  }

  .site-navigation {
    float: none;
    display: block;
    margin-top: 1rem;
  }

  .site-navigation ul {
    flex-direction: column;
    gap: 1rem;
  }

  .section-hero {
    padding: 3rem 1rem;
  }

  .section-hero h1 {
    font-size: 2rem;
  }

  .business-hub {
    grid-template-columns: 1fr;
  }

  .floating-cta {
    bottom: 1rem;
    right: 1rem;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  /* 電話ボタン: モバイルでは番号を非表示 */
  .btn-phone__number {
    display: none;
  }

  .btn-phone {
    padding: 0.5rem;
    border-radius: 50%;
  }

}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .news-list {
    grid-template-columns: 1fr;
  }

  .contact-hs-wrapper {
    padding: 2rem 1rem;
  }
}

/* ============================================
   PROJECTS PAGE STYLES
   事業紹介（親）ページ：page-projects.php
   ============================================ */

/* Projects Hero Section */
.p-projects-hero {
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
  padding: 6rem 2rem;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
}

.p-projects-hero__wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.p-projects-hero__content {
  animation: fadeInUp 0.8s ease-out;
}

.p-projects-hero__title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.p-projects-hero__subtitle {
  font-size: 1.25rem;
  color: #666;
  line-height: 1.6;
}

/* Projects Cards Section */
.p-projects-cards {
  padding: 5rem 2rem;
  background-color: #fafafa;
}

.p-projects-cards__wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.p-projects-cards__item {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.p-projects-cards__item:nth-child(1) {
  animation-delay: 0.1s;
}

.p-projects-cards__item:nth-child(2) {
  animation-delay: 0.2s;
}

.p-projects-cards__item:nth-child(3) {
  animation-delay: 0.3s;
}

.p-project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.p-project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.p-project-card__image {
  width: 100%;
  padding-bottom: 66.67%;
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
}

.p-project-card__placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.p-project-card__placeholder svg {
  width: 100%;
  height: 100%;
}

.p-project-card__content {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.p-project-card__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.p-project-card__description {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.5rem;
}

.p-project-card__cta {
  display: flex;
  align-items: center;
  color: #0066cc;
  font-weight: 600;
  transition: color 0.3s ease;
}

.p-project-card:hover .p-project-card__cta {
  color: #0052a3;
}

.p-project-card__arrow {
  margin-left: 0.5rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.p-project-card:hover .p-project-card__arrow {
  transform: translateX(4px);
}

/* Projects Mission Section */
.p-projects-mission {
  padding: 5rem 2rem;
  background: white;
  text-align: center;
}

.p-projects-mission__wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.p-projects-mission__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #1a1a1a;
}

.p-projects-mission__text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

/* ============================================
   EC PAGE STYLES
   EC・ブランド事業：page-ec.php
   ============================================ */

/* EC Hero Section */
.p-ec-hero {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #fff3cd 0%, #ffe5b4 100%);
  display: flex;
  align-items: center;
  gap: 3rem;
}

.p-ec-hero__wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  width: 100%;
}

.p-ec-hero__content {
  flex: 1;
  animation: fadeInLeft 0.8s ease-out;
}

.p-ec-hero__title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.p-ec-hero__subtitle {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 2rem;
}

.p-ec-hero__background {
  flex: 1;
  animation: fadeInRight 0.8s ease-out;
}

.p-ec-hero__background svg {
  width: 100%;
  height: auto;
}

/* EC Role Section */
.p-ec-role {
  padding: 4rem 2rem;
  background: white;
}

.p-ec-role__wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.p-ec-role__title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  color: #1a1a1a;
}

.p-ec-role__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.p-ec-role__text {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}

/* EC Platforms Section */
.p-ec-platforms {
  padding: 4rem 2rem;
  background: #fafafa;
}

.p-ec-platforms__wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.p-ec-platforms__title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  color: #1a1a1a;
}

.p-ec-platforms__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.p-ec-platform-card {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.p-ec-platform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.p-ec-platform-card__logo {
  width: 100%;
  height: 120px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 4px;
}

.p-ec-platform-card__logo svg {
  width: 80%;
  height: 80%;
}

.p-ec-platform-card__title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #1a1a1a;
}

.p-ec-platform-card__description {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.p-ec-platform-card__link {
  display: inline-block;
  color: #0066cc;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.p-ec-platform-card__link:hover {
  color: #0052a3;
}

/* EC Brands Section */
.p-ec-brands {
  padding: 4rem 2rem;
  background: white;
}

.p-ec-brands__wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.p-ec-brands__title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  color: #1a1a1a;
}

.p-ec-brands__description {
  text-align: center;
  font-size: 1rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.p-ec-brands__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
}

.p-ec-brand-item {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.p-ec-brand-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.p-ec-brand-item__logo {
  width: 100%;
  height: 140px;
  margin-bottom: 1.5rem;
  background: white;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-ec-brand-item__logo svg {
  width: 90%;
  height: 90%;
}

.p-ec-brand-item__name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.p-ec-brand-item__category {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 1rem;
}

.p-ec-brand-item__links {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.p-ec-brand-item__links li a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #f0f0f0;
  color: #0066cc;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.p-ec-brand-item__links li a:hover {
  background: #e8e8e8;
  color: #0052a3;
}

/* EC CTA Section */
.p-ec-cta {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #e8f0fe 0%, #f3e5f5 100%);
  text-align: center;
}

.p-ec-cta__wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.p-ec-cta__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.p-ec-cta__text {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.p-ec-cta__button {
  display: inline-block;
  padding: 1rem 3rem;
  background: #0066cc;
  color: white;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.p-ec-cta__button:hover {
  background: #0052a3;
}

/* ============================================
   B2B PAGE STYLES
   卸・B2B事業：page-b2b.php
   ============================================ */

/* B2B Hero Section */
.p-b2b-hero {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #f3e5f5 0%, #e8d5f2 100%);
  display: flex;
  align-items: center;
  gap: 3rem;
}

.p-b2b-hero__wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  width: 100%;
}

.p-b2b-hero__content {
  flex: 1;
  animation: fadeInLeft 0.8s ease-out;
}

.p-b2b-hero__title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.p-b2b-hero__subtitle {
  font-size: 1.25rem;
  color: #666;
}

.p-b2b-hero__background {
  flex: 1;
  animation: fadeInRight 0.8s ease-out;
}

.p-b2b-hero__background svg {
  width: 100%;
  height: auto;
}

/* B2B Overview Section */
.p-b2b-overview {
  padding: 4rem 2rem;
  background: white;
}

.p-b2b-overview__wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.p-b2b-overview__title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  color: #1a1a1a;
}

.p-b2b-overview__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.p-b2b-overview__text {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}

/* B2B Scheme Section */
.p-b2b-scheme {
  padding: 4rem 2rem;
  background: #fafafa;
}

.p-b2b-scheme__wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.p-b2b-scheme__title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  color: #1a1a1a;
}

.p-b2b-scheme__diagram {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow-x: auto;
}

.p-b2b-scheme__diagram svg {
  width: 100%;
  height: auto;
  min-height: 400px;
}

/* B2B Platforms Section */
.p-b2b-platforms {
  padding: 4rem 2rem;
  background: white;
}

.p-b2b-platforms__wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.p-b2b-platforms__title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  color: #1a1a1a;
}

.p-b2b-platforms__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.p-b2b-platform-card {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.p-b2b-platform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.p-b2b-platform-card__logo {
  width: 100%;
  height: 120px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 4px;
}

.p-b2b-platform-card__logo svg {
  width: 80%;
  height: 80%;
}

.p-b2b-platform-card__title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #1a1a1a;
}

.p-b2b-platform-card__description {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.p-b2b-platform-card__link {
  display: inline-block;
  color: #0066cc;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.p-b2b-platform-card__link:hover {
  color: #0052a3;
}

/* B2B Flow Section */
.p-b2b-flow {
  padding: 4rem 2rem;
  background: #fafafa;
}

.p-b2b-flow__wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.p-b2b-flow__title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  color: #1a1a1a;
}

.p-b2b-flow__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.p-b2b-flow__step {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: transform 0.3s ease;
}

.p-b2b-flow__step:hover {
  transform: translateY(-4px);
}

.p-b2b-flow__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #0066cc;
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.p-b2b-flow__step-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.p-b2b-flow__step-desc {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* B2B CTA Section */
.p-b2b-cta {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #e8f0fe 0%, #f3e5f5 100%);
  text-align: center;
}

.p-b2b-cta__wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.p-b2b-cta__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.p-b2b-cta__text {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.p-b2b-cta__button {
  display: inline-block;
  padding: 1rem 3rem;
  background: #0066cc;
  color: white;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.p-b2b-cta__button:hover {
  background: #0052a3;
}

/* ============================================
   FOOD PAGE STYLES
   飲食事業：page-food.php
   ============================================ */

/* Food Hero Section */
.p-food-hero {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 100%);
  display: flex;
  align-items: center;
  gap: 3rem;
}

.p-food-hero__wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  width: 100%;
}

.p-food-hero__content {
  flex: 1;
  animation: fadeInLeft 0.8s ease-out;
}

.p-food-hero__title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.p-food-hero__subtitle {
  font-size: 1.25rem;
  color: #666;
}

.p-food-hero__background {
  flex: 1;
  animation: fadeInRight 0.8s ease-out;
}

.p-food-hero__background svg {
  width: 100%;
  height: auto;
}

/* Food Concept Section */
.p-food-concept {
  padding: 4rem 2rem;
  background: white;
}

.p-food-concept__wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.p-food-concept__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.p-food-concept__title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.p-food-concept__description {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1.5rem;
}

.p-food-concept__list {
  list-style: none;
  font-size: 1rem;
  color: #555;
}

.p-food-concept__list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.p-food-concept__list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0066cc;
  font-weight: 700;
}

.p-food-concept__image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-food-concept__image svg {
  width: 100%;
  height: auto;
}

/* Food Menu Section */
.p-food-menu {
  padding: 4rem 2rem;
  background: #fafafa;
}

.p-food-menu__wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.p-food-menu__title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  color: #1a1a1a;
}

.p-food-menu__subtitle {
  text-align: center;
  font-size: 1rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.p-food-menu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.p-food-menu-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.p-food-menu-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.p-food-menu-item__image {
  width: 100%;
  padding-bottom: 75%;
  position: relative;
  background: #f0f0f0;
  overflow: hidden;
}

.p-food-menu-item__image svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.p-food-menu-item__name {
  font-size: 1.3rem;
  font-weight: 600;
  padding: 1.5rem 1.5rem 0.5rem;
  color: #1a1a1a;
}

.p-food-menu-item__desc {
  font-size: 0.95rem;
  color: #666;
  padding: 0 1.5rem;
  line-height: 1.6;
}

.p-food-menu-item__price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #c2185b;
  padding: 1rem 1.5rem 1.5rem;
}

/* Food Info Section */
.p-food-info {
  padding: 4rem 2rem;
  background: white;
}

.p-food-info__wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.p-food-info__title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  color: #1a1a1a;
}

.p-food-info__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.p-food-info__details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.p-food-info__item {
  padding: 1.5rem;
  background: #f9f9f9;
  border-left: 4px solid #0066cc;
  border-radius: 4px;
}

.p-food-info__label {
  font-size: 1rem;
  font-weight: 700;
  color: #0066cc;
  margin-bottom: 0.5rem;
}

.p-food-info__text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.p-food-info__text a {
  color: #0066cc;
  text-decoration: none;
  font-weight: 600;
}

.p-food-info__text a:hover {
  color: #0052a3;
}

.p-food-info__closed {
  color: #c2185b;
  font-weight: 600;
}

.p-food-info__map {
  display: flex;
  flex-direction: column;
}

.p-food-info__map-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.p-food-info__map-placeholder {
  width: 100%;
  padding-bottom: 100%;
  position: relative;
  background: #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
}

.p-food-info__map-placeholder svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Food Reservation Section */
.p-food-reservation {
  padding: 4rem 2rem;
  background: #fafafa;
  text-align: center;
}

.p-food-reservation__wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.p-food-reservation__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.p-food-reservation__text {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.p-food-reservation__options {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.p-food-reservation__button {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.p-food-reservation__button--tabelog {
  background: #FF6B35;
  color: white;
}

.p-food-reservation__button--tabelog:hover {
  background: #e55a2a;
}

.p-food-reservation__button--hotpepper {
  background: #FF3366;
  color: white;
}

.p-food-reservation__button--hotpepper:hover {
  background: #e62a5a;
}

.p-food-reservation__button--contact {
  background: #0066cc;
  color: white;
}

.p-food-reservation__button--contact:hover {
  background: #0052a3;
}

/* Food Links Section */
.p-food-links {
  padding: 4rem 2rem;
  background: white;
}

.p-food-links__wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.p-food-links__title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  color: #1a1a1a;
}

.p-food-links__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.p-food-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  background: #f9f9f9;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.p-food-link-card:hover {
  background: #e8f0fe;
  border-color: #0066cc;
  transform: translateY(-4px);
}

.p-food-link-card__icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.p-food-link-card__text {
  font-weight: 600;
  color: #1a1a1a;
  text-align: center;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
  .p-projects-hero__title {
    font-size: 2.2rem;
  }

  .p-projects-cards__wrapper {
    grid-template-columns: 1fr;
  }

  .p-ec-role__content,
  .p-b2b-overview__content,
  .p-food-concept__layout {
    grid-template-columns: 1fr;
  }

  .p-ec-hero__wrapper,
  .p-b2b-hero__wrapper,
  .p-food-hero__wrapper {
    flex-direction: column;
  }

  .p-food-info__layout {
    grid-template-columns: 1fr;
  }

  .p-food-info__map-placeholder {
    padding-bottom: 75%;
  }

  .p-b2b-flow__steps {
    grid-template-columns: 1fr;
  }

  .p-food-reservation__options {
    flex-direction: column;
  }

  .p-food-reservation__button {
    width: 100%;
  }

  .p-food-links__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-company-message__layout {
    grid-template-columns: 1fr;
  }

  .p-company-overview__layout {
    grid-template-columns: 1fr;
  }

  .p-company-mvv__grid {
    grid-template-columns: 1fr;
  }

  .p-company-history__year {
    width: 100px;
  }
}

/* ============================================
   COMPANY PAGE STYLES
   会社概要ページ：page-company.php
   ============================================ */

/* Company Hero Section */
.p-company-hero {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
  display: flex;
  align-items: center;
  gap: 3rem;
}

.p-company-hero__wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  width: 100%;
}

.p-company-hero__content {
  flex: 1;
  animation: fadeInLeft 0.8s ease-out;
}

.p-company-hero__title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.p-company-hero__subtitle {
  font-size: 1.25rem;
  color: #666;
}

.p-company-hero__background {
  flex: 1;
  animation: fadeInRight 0.8s ease-out;
}

.p-company-hero__background svg {
  width: 100%;
  height: auto;
}

/* Company Message Section */
.p-company-message {
  padding: 5rem 2rem;
  background: white;
}

.p-company-message__wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.p-company-message__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.p-company-message__image {
  position: relative;
  width: 100%;
}

.p-company-message__img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  object-fit: cover;
}

.p-company-message__placeholder {
  width: 100%;
  padding-bottom: 125%;
  position: relative;
  background: #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
}

.p-company-message__placeholder svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.p-company-message__content {
  animation: fadeInUp 0.8s ease-out;
}

.p-company-message__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.p-company-message__text {
  font-size: 1rem;
  line-height: 1.9;
  color: #555;
  margin-bottom: 1.5rem;
}

.p-company-message__text:last-of-type {
  margin-bottom: 2rem;
}

.p-company-message__signature {
  font-size: 0.95rem;
  color: #666;
  padding-top: 1.5rem;
  border-top: 1px solid #e0e0e0;
  line-height: 1.8;
}

.p-company-message__signature span {
  display: block;
  margin-top: 0.5rem;
  color: #999;
  font-size: 0.85rem;
}

/* Company MVV Section */
.p-company-mvv {
  padding: 5rem 2rem;
  background: #fafafa;
}

.p-company-mvv__wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.p-company-mvv__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  color: #1a1a1a;
}

.p-company-mvv__description {
  text-align: center;
  font-size: 1rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.p-company-mvv__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.p-company-mvv-card {
  background: white;
  border-radius: 8px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.p-company-mvv-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.p-company-mvv-card__icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
}

.p-company-mvv-card__icon svg {
  width: 100%;
  height: 100%;
}

.p-company-mvv-card__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0066cc;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.p-company-mvv-card__title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.p-company-mvv-card__content {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
}

/* Company Overview Section */
.p-company-overview {
  padding: 5rem 2rem;
  background: white;
}

.p-company-overview__wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.p-company-overview__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  color: #1a1a1a;
}

.p-company-overview__layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.p-company-overview__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.p-company-overview__term {
  background: #f9f9f9;
  padding: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  border-bottom: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
}

.p-company-overview__term:nth-child(4n+3),
.p-company-overview__term:nth-child(4n) {
  border-right: none;
}

.p-company-overview__definition {
  padding: 1rem;
  color: #555;
  border-bottom: 1px solid #e0e0e0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.p-company-overview__definition:nth-child(4n) {
  border-bottom: none;
}

.p-company-overview__definition a {
  color: #0066cc;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.p-company-overview__definition a:hover {
  color: #0052a3;
}

.p-company-overview__sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.p-company-overview__box {
  background: #f9f9f9;
  border-left: 4px solid #0066cc;
  padding: 1.5rem;
  border-radius: 4px;
}

.p-company-overview__box-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.p-company-overview__box-list {
  list-style: none;
}

.p-company-overview__box-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #555;
  font-size: 0.95rem;
}

.p-company-overview__box-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0066cc;
  font-weight: 700;
}

/* Company History Section */
.p-company-history {
  padding: 5rem 2rem;
  background: #fafafa;
}

.p-company-history__wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.p-company-history__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  color: #1a1a1a;
}

.p-company-history__subtitle {
  text-align: center;
  font-size: 1rem;
  color: #666;
  margin-bottom: 3rem;
}

.p-company-history__timeline {
  position: relative;
  padding: 2rem 0;
}

/* タイムラインの中央線 */
.p-company-history__timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e0e0e0;
  transform: translateX(-50%);
}

.p-company-history__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

/* 奇数行と偶数行で左右交互 */
.p-company-history__item:nth-child(odd) .p-company-history__year {
  text-align: right;
  grid-column: 1;
  grid-row: 1;
}

.p-company-history__item:nth-child(odd) .p-company-history__event {
  grid-column: 2;
  grid-row: 1;
  text-align: left;
}

.p-company-history__item:nth-child(even) .p-company-history__year {
  text-align: left;
  grid-column: 2;
  grid-row: 1;
}

.p-company-history__item:nth-child(even) .p-company-history__event {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
}

.p-company-history__year {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0066cc;
  width: 140px;
  padding: 1rem;
}

/* タイムライン上の点 */
.p-company-history__year::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background: white;
  border: 3px solid #0066cc;
  border-radius: 50%;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.p-company-history__event {
  background: white;
  padding: 1.5rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.p-company-history__event:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.p-company-history__event-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.p-company-history__event-desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* Company CTA Section */
.p-company-cta {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #e8f0fe 0%, #f3e5f5 100%);
  text-align: center;
}

.p-company-cta__wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.p-company-cta__title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.p-company-cta__text {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.p-company-cta__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.p-company-cta__button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: #0066cc;
  color: white;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.p-company-cta__button:hover {
  background: #0052a3;
}

.p-company-cta__button--secondary {
  background: white;
  color: #0066cc;
  border: 2px solid #0066cc;
}

.p-company-cta__button--secondary:hover {
  background: #f0f7ff;
}

/* ============================================
   ARCHIVE PAGE STYLES
   ブログ・お知らせ一覧：archive.php
   ============================================ */

/* Archive Hero Section */
.p-archive-hero {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
}

.p-archive-hero__wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.p-archive-hero__content {
  animation: fadeInUp 0.8s ease-out;
}

.p-archive-hero__title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.p-archive-hero__subtitle {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}

/* Archive Filter Section */
.p-archive-filter {
  padding: 2rem;
  background: white;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 70px;
  z-index: 50;
}

.p-archive-filter__wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.p-archive-filter__tabs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.p-archive-filter__tab {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: #f5f5f5;
  color: #666;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.p-archive-filter__tab:hover {
  background: #e8e8e8;
  color: #333;
}

.p-archive-filter__tab.is-active {
  background: #0066cc;
  color: white;
  border-color: #0052a3;
}

/* Archive Posts Section */
.p-archive-posts {
  padding: 4rem 2rem;
  background: #fafafa;
}

.p-archive-posts__wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.p-archive-posts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Archive Post Card */
.p-archive-post-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.p-archive-post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.p-archive-post-card__header {
  padding: 1.5rem;
  border-bottom: 1px solid #e8e8e8;
}

.p-archive-post-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.p-archive-post-card__date {
  display: block;
  font-size: 0.85rem;
  color: #999;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.p-archive-post-card__categories {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.p-archive-post-card__category {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: #e8f0fe;
  color: #0066cc;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.p-archive-post-card__category:hover {
  background: #0066cc;
  color: white;
}

.p-archive-post-card__body {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.p-archive-post-card__thumbnail {
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 4px;
  margin: -1.5rem -1.5rem 0.5rem;
}

.p-archive-post-card__thumbnail a {
  display: block;
  overflow: hidden;
}

.p-archive-post-card__image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.p-archive-post-card:hover .p-archive-post-card__image {
  transform: scale(1.05);
}

.p-archive-post-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
  color: #1a1a1a;
  margin: 0;
}

.p-archive-post-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.p-archive-post-card__title a:hover {
  color: #0066cc;
}

.p-archive-post-card__excerpt {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.p-archive-post-card__footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #e8e8e8;
}

.p-archive-post-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0066cc;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.p-archive-post-card__link:hover {
  color: #0052a3;
}

.p-archive-post-card__arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.p-archive-post-card:hover .p-archive-post-card__arrow {
  transform: translateX(4px);
}

/* Archive Empty State */
.p-archive-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 8px;
}

.p-archive-empty__message {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.p-archive-empty__suggestion {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.p-archive-empty__button {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: #0066cc;
  color: white;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.p-archive-empty__button:hover {
  background: #0052a3;
}

/* Archive Pagination */
.p-archive-pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.p-archive-pagination .nav-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.p-archive-pagination .page-numbers {
  display: inline-block;
  padding: 0.6rem 1rem;
  background: white;
  color: #0066cc;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.p-archive-pagination .page-numbers:hover {
  background: #0066cc;
  color: white;
  border-color: #0066cc;
}

.p-archive-pagination .page-numbers.current {
  background: #0066cc;
  color: white;
  border-color: #0066cc;
}

.p-archive-pagination .page-numbers.dots {
  border: none;
  background: none;
  color: #999;
  cursor: default;
  padding: 0.6rem 0.5rem;
}

.p-archive-pagination__arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.p-archive-pagination .page-numbers:hover .p-archive-pagination__arrow {
  animation: bounceArrow 0.3s ease;
}

@keyframes bounceArrow {

  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(3px);
  }
}

/* Archive Responsive */
@media (max-width: 768px) {
  .p-archive-hero__title {
    font-size: 2rem;
  }

  .p-archive-posts__grid {
    grid-template-columns: 1fr;
  }

  .p-archive-filter {
    top: 60px;
  }

  .p-archive-filter__tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0.5rem 0;
  }

  .p-archive-filter__tab {
    flex-shrink: 0;
  }

  .p-archive-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .p-archive-post-card__categories {
    display: flex;
    gap: 0.3rem;
  }
}

/* ============================================
   NEWS PAGE STYLES
   ニュース一覧（固定ページ）：page-news.php
   ============================================ */

/* News Hero Section */
.p-news-hero {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
}

.p-news-hero__wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.p-news-hero__content {
  animation: fadeInUp 0.8s ease-out;
}

.p-news-hero__title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.p-news-hero__subtitle {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}

/* News Posts Section */
.p-news-posts {
  padding: 4rem 2rem;
  background: #fafafa;
}

.p-news-posts__wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.p-news-posts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* News Post Card */
.p-news-post-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.p-news-post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.p-news-post-card__header {
  padding: 1.5rem;
  border-bottom: 1px solid #e8e8e8;
}

.p-news-post-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.p-news-post-card__date {
  display: block;
  font-size: 0.85rem;
  color: #999;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.p-news-post-card__categories {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.p-news-post-card__category {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: #e8f0fe;
  color: #0066cc;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.p-news-post-card__category:hover {
  background: #0066cc;
  color: white;
}

.p-news-post-card__body {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.p-news-post-card__thumbnail {
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 4px;
  margin: -1.5rem -1.5rem 0.5rem;
}

.p-news-post-card__thumbnail a {
  display: block;
  overflow: hidden;
}

.p-news-post-card__image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.p-news-post-card:hover .p-news-post-card__image {
  transform: scale(1.05);
}

.p-news-post-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
  color: #1a1a1a;
  margin: 0;
}

.p-news-post-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.p-news-post-card__title a:hover {
  color: #0066cc;
}

.p-news-post-card__excerpt {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.p-news-post-card__footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #e8e8e8;
}

.p-news-post-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0066cc;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.p-news-post-card__link:hover {
  color: #0052a3;
}

.p-news-post-card__arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.p-news-post-card:hover .p-news-post-card__arrow {
  transform: translateX(4px);
}

/* News Empty State */
.p-news-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 8px;
}

.p-news-empty__message {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 2rem;
}

.p-news-empty__button {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: #0066cc;
  color: white;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.p-news-empty__button:hover {
  background: #0052a3;
}

/* News Pagination */
.p-news-pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.p-news-pagination .page-numbers {
  display: inline-block;
  padding: 0.6rem 1rem;
  background: white;
  color: #0066cc;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  margin: 0 0.25rem;
}

.p-news-pagination .page-numbers:hover {
  background: #0066cc;
  color: white;
  border-color: #0066cc;
}

.p-news-pagination .page-numbers.current {
  background: #0066cc;
  color: white;
  border-color: #0066cc;
}

.p-news-pagination .page-numbers.dots {
  border: none;
  background: none;
  color: #999;
  cursor: default;
  padding: 0.6rem 0.5rem;
}

.p-news-pagination__arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.p-news-pagination .page-numbers:hover .p-news-pagination__arrow {
  animation: bounceArrow 0.3s ease;
}

/* News Responsive */
@media (max-width: 768px) {
  .p-news-hero__title {
    font-size: 2rem;
  }

  .p-news-posts__grid {
    grid-template-columns: 1fr;
  }

  .p-news-post-card__categories {
    display: flex;
    gap: 0.3rem;
  }
}

/* ============================================
   SINGLE POST PAGE STYLES
   ブログ個別記事：single.php
   ============================================ */

/* Single Post Container */
.p-single-post {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* Single Post Header */
.p-single-post__header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #e0e0e0;
}

.p-single-post__header-wrapper {
  animation: fadeInUp 0.8s ease-out;
}

.p-single-post__meta-top {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.p-single-post__date {
  display: block;
  font-size: 0.85rem;
  color: #999;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.p-single-post__categories {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.p-single-post__category {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: #e8f0fe;
  color: #0066cc;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.p-single-post__category:hover {
  background: #0066cc;
  color: white;
}

.p-single-post__title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
  margin: 1.5rem 0;
}

.p-single-post__meta-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e8e8e8;
}

.p-single-post__author {
  font-size: 0.9rem;
  color: #666;
}

/* Single Post Featured Image */
.p-single-post__featured {
  margin: 3rem 0;
}

.p-single-post__featured-wrapper {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.p-single-post__figure {
  margin: 0;
  overflow: hidden;
}

.p-single-post__image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.p-single-post__featured:hover .p-single-post__image {
  transform: scale(1.02);
}

/* Single Post Content */
.p-single-post__content {
  margin: 3rem 0;
}

.p-single-post__content-wrapper {
  background: white;
}

.p-single-post__body {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #444;
}

/* コンテンツ内の見出し */
.p-single-post__body h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
  color: #1a1a1a;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e0e0e0;
}

.p-single-post__body h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 1.5rem 0 0.8rem;
  color: #1a1a1a;
}

.p-single-post__body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.2rem 0 0.6rem;
  color: #1a1a1a;
}

/* コンテンツ内のリスト */
.p-single-post__body ul,
.p-single-post__body ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.p-single-post__body li {
  margin-bottom: 0.8rem;
  line-height: 1.8;
}

.p-single-post__body ul li {
  list-style-type: disc;
}

.p-single-post__body ol li {
  list-style-type: decimal;
}

/* コンテンツ内の画像 */
.p-single-post__body img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
  border-radius: 4px;
}

/* コンテンツ内のリンク */
.p-single-post__body a {
  color: #0066cc;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.p-single-post__body a:hover {
  color: #0052a3;
}

/* コンテンツ内のコード */
.p-single-post__body code {
  background: #f5f5f5;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

.p-single-post__body pre {
  background: #f5f5f5;
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.p-single-post__body blockquote {
  border-left: 4px solid #0066cc;
  padding: 1rem;
  margin: 1.5rem 0;
  background: #f9f9f9;
  font-style: italic;
  color: #666;
}

/* コンテンツ内の表 */
.p-single-post__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.p-single-post__body table th,
.p-single-post__body table td {
  padding: 0.8rem;
  border: 1px solid #ddd;
  text-align: left;
}

.p-single-post__body table th {
  background: #f5f5f5;
  font-weight: 700;
  color: #1a1a1a;
}

/* Single Post Share */
.p-single-post__share {
  margin: 3rem 0;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 8px;
}

.p-single-post__share-wrapper {
  text-align: center;
}

.p-single-post__share-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.p-single-post__share-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.p-single-post__share-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.p-single-post__share-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.p-single-post__share-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
}

.p-single-post__share-button--twitter {
  border-color: #1da1f2;
  color: #1da1f2;
}

.p-single-post__share-button--twitter:hover {
  background: #1da1f2;
  color: white;
}

.p-single-post__share-button--facebook {
  border-color: #1877f2;
  color: #1877f2;
}

.p-single-post__share-button--facebook:hover {
  background: #1877f2;
  color: white;
}

.p-single-post__share-button--line {
  border-color: #00b900;
  color: #00b900;
}

.p-single-post__share-button--line:hover {
  background: #00b900;
  color: white;
}

.p-single-post__share-button--copy {
  border-color: #0066cc;
  color: #0066cc;
}

.p-single-post__share-button--copy:hover {
  background: #0066cc;
  color: white;
}

/* Single Post Navigation */
.p-single-post__navigation {
  margin: 3rem 0;
}

.p-single-post__navigation-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.p-single-post__nav-item {
  padding: 1.5rem;
  background: #f9f9f9;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.p-single-post__nav-item:hover {
  background: #e8f0fe;
}

.p-single-post__nav-item--prev {
  text-align: left;
}

.p-single-post__nav-item--next {
  text-align: right;
}

.p-single-post__nav-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.p-single-post__nav-label {
  display: block;
  font-size: 0.85rem;
  color: #999;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.p-single-post__nav-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0066cc;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.p-single-post__nav-item:hover .p-single-post__nav-title {
  color: #0052a3;
}

/* Single Post Related */
.p-single-post__related {
  margin: 3rem 0;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 8px;
}

.p-single-post__related-wrapper {
  text-align: center;
}

.p-single-post__related-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #1a1a1a;
}

.p-single-post__related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.p-single-post__related-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.p-single-post__related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.p-single-post__related-image {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: #f0f0f0;
}

.p-single-post__related-image a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.p-single-post__related-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.p-single-post__related-card:hover .p-single-post__related-thumbnail {
  transform: scale(1.1);
}

.p-single-post__related-post-title {
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.4;
}

.p-single-post__related-post-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.p-single-post__related-post-title a:hover {
  color: #0066cc;
}

.p-single-post__related-date {
  display: block;
  padding: 0 1rem 1rem;
  font-size: 0.8rem;
  color: #999;
  font-weight: 600;
  margin-top: -0.5rem;
}

/* Single Post Responsive */
@media (max-width: 768px) {
  .p-single-post {
    padding: 2rem 1rem;
  }

  .p-single-post__title {
    font-size: 1.8rem;
  }

  .p-single-post__body {
    font-size: 1rem;
  }

  .p-single-post__meta-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .p-single-post__navigation-wrapper {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .p-single-post__nav-item--next {
    text-align: left;
  }

  .p-single-post__related-grid {
    grid-template-columns: 1fr;
  }

  .p-single-post__share-buttons {
    gap: 0.5rem;
  }

  .p-single-post__share-button {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .p-single-post__share-icon {
    width: 16px;
    height: 16px;
  }
}

/* ============================================
   PRIVACY POLICY PAGE STYLES
   プライバシーポリシー：page-privacy.php
   ============================================ */

/* Privacy Policy Container */
.p-privacy-container {
  padding: 3rem 2rem;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
  min-height: calc(100vh - 400px);
}

.p-privacy-content {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 4rem 3rem;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Privacy Article */
.p-privacy-article {
  line-height: 1.8;
  color: #333;
}

.p-privacy-article__header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #e0e0e0;
}

.p-privacy-article__title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.p-privacy-article__updated {
  display: block;
  font-size: 0.9rem;
  color: #999;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Privacy Content Body */
.p-privacy-article__body {
  font-size: 1rem;
  line-height: 1.9;
  color: #444;
}

/* 見出し：h2, h3 */
.p-privacy-article__body h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid #0066cc;
  line-height: 1.4;
}

.p-privacy-article__body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  margin-top: 1.8rem;
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 4px solid #0066cc;
  line-height: 1.4;
}

.p-privacy-article__body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #555;
  margin-top: 1.3rem;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

/* 段落 */
.p-privacy-article__body p {
  margin-bottom: 1.3rem;
  text-align: justify;
  word-break: break-word;
}

.p-privacy-article__body p:last-child {
  margin-bottom: 0;
}

/* リスト */
.p-privacy-article__body ul,
.p-privacy-article__body ol {
  margin: 1.3rem 0 1.3rem 2rem;
  padding-left: 1.5rem;
}

.p-privacy-article__body li {
  margin-bottom: 0.8rem;
  line-height: 1.8;
  color: #444;
}

.p-privacy-article__body ul li {
  list-style: disc;
}

.p-privacy-article__body ol li {
  list-style: decimal;
}

.p-privacy-article__body ul ul,
.p-privacy-article__body ol ol,
.p-privacy-article__body ul ol,
.p-privacy-article__body ol ul {
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
  margin-left: 1.5rem;
}

.p-privacy-article__body ul ul li {
  list-style: circle;
}

.p-privacy-article__body ol ol li {
  list-style: lower-alpha;
}

/* 強調・リンク */
.p-privacy-article__body strong {
  font-weight: 700;
  color: #1a1a1a;
}

.p-privacy-article__body em {
  font-style: italic;
  color: #666;
}

.p-privacy-article__body a {
  color: #0066cc;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color 0.3s ease;
}

.p-privacy-article__body a:hover {
  color: #0052a3;
}

/* テーブル */
.p-privacy-article__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.p-privacy-article__body table th,
.p-privacy-article__body table td {
  padding: 1rem;
  text-align: left;
  border: 1px solid #e8e8e8;
  line-height: 1.7;
}

.p-privacy-article__body table th {
  background: #f5f5f5;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
}

.p-privacy-article__body table tr:nth-child(even) {
  background: #fafafa;
}

.p-privacy-article__body table tr:hover {
  background: #f0f6ff;
}

/* 引用 */
.p-privacy-article__body blockquote {
  border-left: 4px solid #0066cc;
  padding: 1.5rem;
  margin: 2rem 0;
  background: #f9f9f9;
  font-style: italic;
  color: #666;
  line-height: 1.8;
}

.p-privacy-article__body blockquote p {
  margin-bottom: 0.5rem;
}

.p-privacy-article__body blockquote p:last-child {
  margin-bottom: 0;
}

/* コードブロック */
.p-privacy-article__body code {
  background: #f5f5f5;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.9em;
  color: #d63384;
}

.p-privacy-article__body pre {
  background: #f5f5f5;
  padding: 1.5rem;
  border-radius: 4px;
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid #ddd;
}

.p-privacy-article__body pre code {
  background: none;
  padding: 0;
  color: #333;
}

/* Privacy Policy Responsive */
@media (max-width: 768px) {
  .p-privacy-container {
    padding: 2rem 1rem;
    min-height: auto;
  }

  .p-privacy-content {
    padding: 2rem 1.5rem;
  }

  .p-privacy-article__title {
    font-size: 1.6rem;
  }

  .p-privacy-article__body {
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .p-privacy-article__body h2 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }

  .p-privacy-article__body h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
  }

  .p-privacy-article__body ul,
  .p-privacy-article__body ol {
    margin-left: 1.5rem;
    padding-left: 1.2rem;
  }

  .p-privacy-article__body table {
    font-size: 0.9rem;
    margin: 1.5rem 0;
  }

  .p-privacy-article__body table th,
  .p-privacy-article__body table td {
    padding: 0.7rem 0.5rem;
  }

  .p-privacy-article__body blockquote {
    padding: 1rem;
    margin: 1.5rem 0;
  }
}

/* ============================================
   NEWS PAGE - Magazine Layout
   ニュース一覧ページ マガジン型デザイン
   ============================================ */

/* --- Hero --- */
.p-news-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3e 50%, #0d2040 100%);
  text-align: center;
  color: #fff;
}

.p-news-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 102, 204, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(118, 75, 162, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.p-news-hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.3) 100%);
  pointer-events: none;
}

.p-news-hero__wrapper {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 4rem 2rem;
}

.p-news-hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.2rem;
}

.p-news-hero__title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, #fff 0%, rgba(200, 220, 255, 0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.p-news-hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin: 0 auto;
  max-width: 520px;
}

.p-news-hero__scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.45);
}

.p-news-hero__scroll-hint span {
  display: inline-block;
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.4));
  animation: scrollHintPulse 2s ease-in-out infinite;
}

@keyframes scrollHintPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.7);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* --- Posts Wrapper --- */
.p-news-posts {
  background: #f8f9fb;
  padding: 4rem 0 5rem;
}

.p-news-posts__wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Feature Card (1件目) --- */
.p-news-feature {
  margin-bottom: 3rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.p-news-feature__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.p-news-feature__image {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: #1a1a2e;
}

.p-news-feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.p-news-feature__link:hover .p-news-feature__image img {
  transform: scale(1.05);
}

.p-news-feature__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e, #2a2a4e);
}

.p-news-feature__placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.2;
}

.p-news-feature__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 20, 0.88) 0%,
      rgba(0, 0, 20, 0.4) 50%,
      transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 3rem;
  transition: background 0.4s ease;
}

.p-news-feature__link:hover .p-news-feature__overlay {
  background: linear-gradient(to top,
      rgba(0, 0, 20, 0.95) 0%,
      rgba(0, 0, 20, 0.5) 50%,
      transparent 100%);
}

.p-news-feature__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.p-news-feature__category {
  background: #0066cc;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.25em 0.8em;
  border-radius: 4px;
  text-transform: uppercase;
}

.p-news-feature__date {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.p-news-feature__title {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 0.9rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.p-news-feature__excerpt {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  max-width: 640px;
}

.p-news-feature__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s, gap 0.2s;
}

.p-news-feature__link:hover .p-news-feature__cta {
  gap: 0.8rem;
  border-color: #fff;
}

.p-news-feature__cta .arrow {
  transition: transform 0.2s;
}

.p-news-feature__link:hover .arrow {
  transform: translateX(4px);
}

/* --- News Grid (2件目以降) --- */
.p-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.p-news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.35s ease;
}

.p-news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
}

.p-news-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.p-news-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f0f0f0;
  flex-shrink: 0;
}

.p-news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.p-news-card:hover .p-news-card__image img {
  transform: scale(1.06);
}

.p-news-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
}

.p-news-card__placeholder svg {
  width: 40px;
  height: 40px;
  opacity: 0.35;
}

.p-news-card__category-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: #0066cc;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2em 0.65em;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

.p-news-card__body {
  padding: 1.25rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.p-news-card__date {
  font-size: 0.78rem;
  color: #aaa;
  margin-bottom: 0.6rem;
  display: block;
}

.p-news-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: #1a1a1a;
  margin-bottom: 0.7rem;
  flex: 1;
  transition: color 0.2s;
}

.p-news-card:hover .p-news-card__title {
  color: #0066cc;
}

.p-news-card__excerpt {
  font-size: 0.875rem;
  color: #777;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.p-news-card__read-more {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0066cc;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}

.p-news-card:hover .p-news-card__read-more {
  gap: 0.6rem;
}

/* --- Pagination --- */
.p-news-pagination {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.p-news-pagination .page-numbers {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.p-news-pagination .page-numbers li a,
.p-news-pagination .page-numbers li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #444;
  background: #fff;
  text-decoration: none;
  border: 1px solid #e0e0e0;
  transition: all 0.2s;
}

.p-news-pagination .page-numbers li a:hover {
  background: #0066cc;
  color: #fff;
  border-color: #0066cc;
}

.p-news-pagination .page-numbers li span.current {
  background: #0066cc;
  color: #fff;
  border-color: #0066cc;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .p-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .p-news-hero {
    min-height: 45vh;
  }

  .p-news-feature__image {
    aspect-ratio: 4 / 3;
  }

  .p-news-feature__overlay {
    padding: 1.5rem;
  }

  .p-news-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* ================================================================
   PRODUCT CROWDFUNDING PAGE STYLES
   商品クラウドファンディング事業ページ - モダンデザイン
   ================================================================ */

/* Hero Section */
.p-cf-hero {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.p-cf-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.p-cf-hero__wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.p-cf-hero__content {
  animation: slideInLeft 0.8s ease-out;
}

.p-cf-hero__title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -1px;
}

.p-cf-hero__subtitle {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 2rem;
  line-height: 1.6;
  opacity: 0.95;
}

.p-cf-hero__background {
  animation: slideInRight 0.8s ease-out;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.p-cf-hero__background img {
  width: 100%;
  height: auto;
  display: block;
}

/* Overview Section */
.p-cf-overview {
  padding: 5rem 2rem;
  background: white;
}

.p-cf-overview__wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.p-cf-overview__title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  color: #0F172A;
}

.p-cf-overview__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.p-cf-overview__text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 1.5rem;
}

.p-cf-overview__image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.p-cf-overview__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Contents Section */
.p-cf-contents {
  padding: 5rem 2rem;
  background: #F5F7FA;
}

.p-cf-contents__wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.p-cf-contents__title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  color: #0F172A;
}

.p-cf-contents__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.p-cf-content-card {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.p-cf-content-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(6, 182, 212, 0.15);
  border-color: #06B6D4;
}

.p-cf-content-card__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-cf-content-card__icon img {
  width: 32px;
  height: 32px;
}

.p-cf-content-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0F172A;
}

.p-cf-content-card__description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #64748B;
}

/* Process Section */
.p-cf-process {
  padding: 5rem 2rem;
  background: white;
}

.p-cf-process__wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.p-cf-process__title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  color: #0F172A;
}

.p-cf-process__flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.p-cf-process__step {
  flex: 1;
  min-width: 250px;
  background: linear-gradient(135deg, #F5F7FA 0%, #FFFFFF 100%);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #E2E8F0;
  position: relative;
  transition: all 0.3s ease;
}

.p-cf-process__step:hover {
  border-color: #06B6D4;
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.1);
}

.p-cf-process__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.p-cf-process__step-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #0F172A;
}

.p-cf-process__step-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #64748B;
}

.p-cf-process__arrow {
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, #06B6D4 0%, transparent 100%);
  margin: 0 -15px;
  position: relative;
}

.p-cf-process__arrow::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid #06B6D4;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.p-cf-process__image {
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.p-cf-process__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Expansion Section */
.p-cf-expansion {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #F5F7FA 0%, #FFFFFF 100%);
}

.p-cf-expansion__wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.p-cf-expansion__title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  color: #0F172A;
}

.p-cf-expansion__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.p-cf-expansion-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  border: 2px solid #E2E8F0;
  transition: all 0.3s ease;
}

.p-cf-expansion-item:hover {
  border-color: #06B6D4;
  box-shadow: 0 12px 32px rgba(6, 182, 212, 0.15);
  transform: translateY(-4px);
}

.p-cf-expansion-item__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
  color: white;
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.p-cf-expansion-item__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0F172A;
}

/* Features Section */
.p-cf-features {
  padding: 5rem 2rem;
  background: white;
}

.p-cf-features__wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.p-cf-features__title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  color: #0F172A;
}

.p-cf-features__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.p-cf-features__text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0F172A;
}

.p-cf-features__text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 1.5rem;
}

.p-cf-features__image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.p-cf-features__image img {
  width: 100%;
  height: auto;
  display: block;
}

.p-cf-features__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.p-cf-features__item {
  background: linear-gradient(135deg, #F5F7FA 0%, #FFFFFF 100%);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid #06B6D4;
}

.p-cf-features__item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #0F172A;
}

.p-cf-features__item p {
  font-size: 0.95rem;
  color: #64748B;
  line-height: 1.6;
}

/* Revenue Section */
.p-cf-revenue {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #F5F7FA 0%, #FFFFFF 100%);
}

.p-cf-revenue__wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.p-cf-revenue__title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  color: #0F172A;
}

.p-cf-revenue__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.p-cf-revenue-card {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-top: 4px solid #06B6D4;
  transition: all 0.3s ease;
}

.p-cf-revenue-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(6, 182, 212, 0.15);
}

.p-cf-revenue-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0F172A;
}

.p-cf-revenue-card__description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #64748B;
}

.p-cf-revenue__image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.p-cf-revenue__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* CTA Section */
.p-cf-cta {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.p-cf-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.p-cf-cta::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.p-cf-cta__wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.p-cf-cta__title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.p-cf-cta__text {
  font-size: 1.1rem;
  margin-bottom: 2,5rem;
  line-height: 1.8;
  opacity: 0.95;
}

.p-cf-cta__button {
  display: inline-block;
  padding: 1rem 3rem;
  background: white;
  color: #06B6D4;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.p-cf-cta__button:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

/* ================================================================
   RESPONSIVE - Product Crowdfunding
   ================================================================ */

@media (max-width: 1024px) {
  .p-cf-hero__wrapper {
    grid-template-columns: 1fr;
  }

  .p-cf-overview__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .p-cf-contents__grid {
    grid-template-columns: 1fr;
  }

  .p-cf-process__flow {
    flex-direction: column;
  }

  .p-cf-process__arrow {
    width: 3px;
    height: 30px;
    margin: -15px 0;
  }

  .p-cf-process__arrow::after {
    transform: rotate(90deg) translateY(0);
    right: -5px;
    top: 100%;
  }

  .p-cf-features__content {
    grid-template-columns: 1fr;
  }

  .p-cf-revenue__image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .p-cf-hero {
    padding: 4rem 1.5rem;
  }

  .p-cf-hero__title {
    font-size: 2.2rem;
  }

  .p-cf-hero__subtitle {
    font-size: 1.05rem;
  }

  .p-cf-overview,
  .p-cf-contents,
  .p-cf-process,
  .p-cf-features,
  .p-cf-revenue,
  .p-cf-cta {
    padding: 3rem 1.5rem;
  }

  .p-cf-overview__title,
  .p-cf-contents__title,
  .p-cf-process__title,
  .p-cf-features__title,
  .p-cf-revenue__title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .p-cf-cta__title {
    font-size: 1.6rem;
  }

  .p-cf-expansion__grid {
    grid-template-columns: 1fr 1fr;
  }

  .p-cf-features__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .p-cf-hero__title {
    font-size: 1.8rem;
  }

  .p-cf-hero__subtitle {
    font-size: 0.95rem;
  }

  .p-cf-contents__grid {
    gap: 1rem;
  }

  .p-cf-content-card {
    padding: 1.5rem;
  }

  .p-cf-expansion__grid {
    grid-template-columns: 1fr;
  }

  .p-cf-cta__title {
    font-size: 1.3rem;
  }

  .p-cf-cta__button {
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
  }
}