/*
Theme Name: アイデアライフ（新デザイン）
Theme URI: https://example.com
Author: アイデアライフ
Author URI: https://example.com
Description: 水と電気のトラブル対応会社「アイデアライフ」のオリジナルWordPressテーマ。モダンなデザインとレスポンシブ対応で、お客様に最高のユーザー体験を提供します。
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: idealife
Tags: business, responsive, custom-header, custom-menu, featured-images
*/

/* ========================================
   リセットとベーススタイル
======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* ========================================
   ヘッダー
======================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icons {
  display: flex;
  gap: 0.5rem;
}

.logo-icon {
  width: 32px;
  height: 32px;
}

.logo-icon.water {
  color: #3b82f6;
}

.logo-icon.electric {
  color: #eab308;
}

.site-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #1f2937;
}

.site-description {
  font-size: 0.75rem;
  color: #6b7280;
}

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

.main-navigation a {
  font-weight: 500;
  color: #4b5563;
  transition: color 0.3s ease;
}

.main-navigation a:hover {
  color: #3b82f6;
}

.header-contact {
  text-align: right;
}

.phone-number {
  font-size: 1.5rem;
  font-weight: bold;
  color: #3b82f6;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.business-hours {
  font-size: 0.75rem;
  color: #6b7280;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* モバイルメニュー */
.mobile-menu {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid #e5e7eb;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu li {
  padding: 0.75rem 0;
}

.mobile-menu a {
  display: block;
  font-weight: 500;
  color: #4b5563;
}

/* ========================================
   ヒーローセクション (白背景グラデーション版)
======================================== */

.hero-section {
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 50%, #f5f3ff 100%);
  color: #1f2937;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e5e7eb;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233b82f6' fill-opacity='0.05'%3E%3Cpath d='M36 34c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4zm0-10c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4zm0-10c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4zM24 34c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4zm0-10c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4zm0-10c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4zM12 34c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4zm0-10c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4zm0-10c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: #111827;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.75rem;
  margin-bottom: 2.5rem;
  font-weight: 600;
  color: #3b82f6;
}

.building-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin: 3.5rem 0;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.building-card {
  background-color: white;
  padding: 1.75rem;
  border-radius: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #f3f4f6;
}

.building-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: #dbeafe;
}

.building-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.building-card span {
  font-weight: 600;
  color: #4b5563;
}

.hero-description {
  font-size: 1.25rem;
  color: #4b5563;
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #3b82f6;
  color: white;
  padding: 1.25rem 2.5rem;
  border-radius: 9999px;
  font-weight: bold;
  font-size: 1.25rem;
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: #2563eb;
  box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

.cta-button i {
  font-size: 1.1em;
}

/* ========================================
   セクション共通スタイル
======================================== */

.section {
  padding: 5rem 2rem;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
  color: #1f2937;
}

.section-subtitle {
  font-size: 1.25rem;
  text-align: center;
  color: #6b7280;
  margin-bottom: 3.5rem;
}

.section-description {
  text-align: center;
  color: #4b5563;
  max-width: 850px;
  margin: 0 auto 3.5rem;
  line-height: 1.8;
  font-size: 1.1rem;
}

/* ========================================
   お知らせセクション
======================================== */

.news-section {
  background-color: #f8fafc;
}

.news-card {
  background-color: white;
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  max-width: 950px;
  margin: 0 auto;
  transition: all 0.3s ease;
  border: 1px solid #f1f5f9;
}

.news-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.news-item {
  display: flex;
  gap: 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  color: #94a3b8;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 500;
}

.news-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #1e293b;
}

.news-excerpt {
  color: #64748b;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.news-link {
  color: #3b82f6;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.news-link:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* ========================================
   サービスカード
======================================== */

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

.service-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.service-card {
  background-color: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
  border: 1px solid #f1f5f9;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border-color: #dbeafe;
}

.service-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #cbd5e1;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-arrow {
  color: #3b82f6;
  transform: translateX(5px);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.service-icon-wrapper {
  padding: 1rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-wrapper.water {
  background-color: #eff6ff;
}

.service-icon-wrapper.electric {
  background-color: #fffbeb;
}

.service-icon {
  width: 28px;
  height: 28px;
}

.service-icon.water {
  color: #3b82f6;
}

.service-icon.electric {
  color: #f59e0b;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1e293b;
}

.service-description {
  color: #64748b;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.service-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: #3b82f6;
  display: block;
  margin-top: auto;
}

.service-price.electric {
  color: #f59e0b;
}

.service-category-title {
  font-size: 2.25rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #1e293b;
}

/* ========================================
   特徴セクション
======================================== */

.features-section {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.feature-card {
  background-color: white;
  border-radius: 1.25rem;
  padding: 2.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #f1f5f9;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  background-color: #3b82f6;
  color: white;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

.feature-tag {
  display: inline-block;
  color: #3b82f6;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #1e293b;
}

.feature-description {
  color: #64748b;
  line-height: 1.7;
}

/* ========================================
   会社紹介セクション
======================================== */

.about-section {
  background-color: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 2rem;
  line-height: 1.4;
  color: #1e293b;
}

.about-text p {
  color: #4b5563;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #f8fafc;
  border-radius: 1rem;
  border: 1px solid #f1f5f9;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: #3b82f6;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
}

/* ========================================
   ステップセクション
======================================== */

.steps-section {
  background-color: #f8fafc;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  position: relative;
}

.step-card {
  background-color: white;
  padding: 2.5rem 2rem;
  border-radius: 1.25rem;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
}

.step-number {
  position: absolute;
  top: -1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background-color: #3b82f6;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.step-tag {
  display: block;
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  margin-top: 0.5rem;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #1e293b;
}

.step-description {
  font-size: 0.95rem;
  color: #64748b;
}

/* ========================================
   コンタクトセクション
======================================== */

.contact-section {
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  color: white;
  text-align: center;
}

.contact-section .section-title {
  color: white;
}

.contact-section .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.contact-container {
  max-width: 900px;
  margin: 0 auto;
}

.contact-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.contact-method-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 3rem 2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.contact-method-card:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.contact-method-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-info {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.contact-btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.contact-btn.phone {
  background-color: white;
  color: #3b82f6;
}

.contact-btn.line {
  background-color: #06c755;
  color: white;
}

.contact-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ========================================
   フッター (元のデザインを復元)
======================================== */

.site-footer {
  background-color: #1f2937;
  color: white;
  padding: 3rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.footer-brand h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand p {
  color: #9ca3af;
  margin-bottom: 1rem;
}

.footer-info h4 {
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-info p {
  color: #9ca3af;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer-nav a {
  color: #9ca3af;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: white;
}

.copyright {
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
}

/* ========================================
   レスポンシブ
======================================== */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 1rem;
  }
  
  .main-navigation, .header-contact {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-section {
    padding: 4rem 1.5rem;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .building-types {
    grid-template-columns: 1fr 1fr;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .news-item {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .contact-methods {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }
  
  .building-types {
    grid-template-columns: 1fr;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

/* 追加のスタイル */
.mobile-menu-contact {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.news-list {
  display: grid;
  gap: 2rem;
}

.news-thumbnail {
  flex: 0 0 250px;
}

.news-thumbnail img {
  border-radius: 0.5rem;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.news-category {
  color: #94a3b8;
  font-size: 0.9rem;
}

.empty-news {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-news i {
  font-size: 4rem;
  color: #d1d5db;
  margin-bottom: 1rem;
}

.back-to-home {
  margin-top: 3rem;
  text-align: center;
}

.pagination {
  margin-top: 3rem;
  text-align: center;
}

.pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.pagination .page-numbers {
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  background-color: white;
  border: 1px solid #e5e7eb;
  color: #4b5563;
}

.pagination .page-numbers.current {
  background-color: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

/* ========================================
   モダン記事ページデザイン (single.php)
======================================== */

.modern-article {
  background-color: #fff;
}

/* 記事ヒーローエリア */
.article-hero {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  padding: 6rem 1.5rem 4rem;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
}

.article-hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.article-meta-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.article-categories a {
  background-color: #3b82f6;
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-date {
  color: #64748b;
  font-weight: 600;
  font-size: 0.95rem;
}

.article-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.3;
  color: #0f172a;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.article-tags-top ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.article-tags-top li a {
  color: #3b82f6;
  font-size: 0.9rem;
  font-weight: 600;
}

.article-tags-top li a::before {
  content: '#';
}

/* コンテンツレイアウト */
.article-body-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
}

.article-main-content {
  min-width: 0; /* 防止グリッド崩れ */
}

.article-featured-image {
  margin-bottom: 3rem;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.article-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 記事本文内の装飾 */
.entry-content {
  font-size: 1.125rem;
  line-height: 2;
  color: #334155;
}

.entry-content h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  margin: 4rem 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid #3b82f6;
  display: inline-block;
}

.entry-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin: 3rem 0 1.25rem;
  padding-left: 1rem;
  border-left: 5px solid #3b82f6;
}

.entry-content p {
  margin-bottom: 2rem;
}

.entry-content ul, .entry-content ol {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.entry-content li {
  margin-bottom: 0.75rem;
}

.entry-content blockquote {
  background-color: #f8fafc;
  border-left: 5px solid #cbd5e1;
  padding: 2rem;
  margin: 3rem 0;
  font-style: italic;
  border-radius: 0 1rem 1rem 0;
}

/* 記事フッター */
.article-footer {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid #e2e8f0;
}

.article-share {
  text-align: center;
  margin-bottom: 4rem;
}

.share-title {
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.share-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.share-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

.share-btn.twitter { background-color: #000; }
.share-btn.facebook { background-color: #1877f2; }
.share-btn.line { background-color: #06c755; }

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.nav-item a {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  height: 100%;
  transition: all 0.3s ease;
}

.nav-item a:hover {
  border-color: #3b82f6;
  background-color: #f8fafc;
  transform: translateY(-3px);
}

.nav-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.nav-title {
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
}

.article-back-home {
  text-align: center;
  margin-top: 2rem;
}

.modern-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #0f172a;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.modern-back-btn:hover {
  background-color: #334155;
  transform: scale(1.05);
}

/* サイドバー */
.article-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

/* レスポンシブ調整 */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  
  .article-sidebar {
    display: none;
  }
  
  .article-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .article-hero {
    padding: 4rem 1.5rem 3rem;
  }
  
  .article-title {
    font-size: 2rem;
  }
  
  .article-body-container {
    padding: 2rem 1.5rem;
  }
  
  .entry-content {
    font-size: 1.05rem;
  }
  
  .entry-content h2 {
    font-size: 1.6rem;
  }
  
  .article-nav {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* サイドバーウィジェットの基本スタイル */
.widget {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background-color: #f8fafc;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
}

.widget-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #3b82f6;
}

.widget ul {
  list-style: none;
  padding: 0;
}

.widget li {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}

.widget li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.widget a {
  color: #475569;
  font-weight: 600;
  transition: color 0.3s ease;
}

.widget a:hover {
  color: #3b82f6;
}

/* ========================================
   お問い合わせページデザイン (template-contact.php)
======================================== */

.contact-hero-subtitle {
  font-size: 1.25rem;
  color: #64748b;
  font-weight: 600;
  margin-top: 1rem;
}

.contact-page-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.contact-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-card {
  background-color: white;
  padding: 3rem 2rem;
  border-radius: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.contact-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.phone-card .contact-card-icon { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.line-card .contact-card-icon { background-color: #06c755; }
.mail-card .contact-card-icon { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }

.contact-card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
}

.contact-card-desc {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.contact-card-link.phone-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: #3b82f6;
  display: block;
  margin-bottom: 0.5rem;
}

.contact-card-note {
  font-size: 0.85rem;
  color: #94a3b8;
}

.contact-card-btn.line-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #06c755;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.contact-card-btn.line-btn:hover {
  background-color: #05b04b;
  transform: scale(1.05);
}

.scroll-link {
  color: #3b82f6;
  font-weight: 700;
  text-decoration: underline;
}

/* フォームセクション */
.contact-form-wrapper {
  background-color: white;
  border-radius: 2rem;
  padding: 4rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid #f1f5f9;
  margin-bottom: 4rem;
}

.contact-form-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  color: #0f172a;
  margin-bottom: 3rem;
}

/* フォーム要素のスタイリング (WPForms / Contact Form 7 等に対応) */
.contact-form-content input[type="text"],
.contact-form-content input[type="email"],
.contact-form-content input[type="tel"],
.contact-form-content select,
.contact-form-content textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background-color: #f8fafc;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.contact-form-content input:focus,
.contact-form-content textarea:focus {
  outline: none;
  border-color: #3b82f6;
  background-color: white;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.contact-form-content input[type="submit"],
.contact-form-content button[type="submit"] {
  width: 100%;
  background-color: #3b82f6;
  color: white;
  padding: 1.25rem;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.contact-form-content input[type="submit"]:hover,
.contact-form-content button[type="submit"]:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

/* 注意事項ボックス */
.contact-notice-box {
  background-color: #eff6ff;
  padding: 2.5rem;
  border-radius: 1.5rem;
  border-left: 6px solid #3b82f6;
  margin-bottom: 4rem;
}

.contact-notice-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1e40af;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-notice-list {
  list-style: none;
  padding: 0;
}

.contact-notice-list li {
  color: #1e40af;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.contact-notice-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  font-weight: bold;
}

@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 2.5rem 1.5rem;
  }
  
  .contact-form-title {
    font-size: 1.5rem;
  }
  
  .contact-notice-box {
    padding: 1.5rem;
  }
}
