/* 基本スタイル */
:root {
  --primary-color: #4eb3ac;
  --primary-dark: #3a9994;
  --secondary-color: #f8b04c;
  --secondary-dark: #e69c31;
  --text-color: #333333;
  --text-light: #666666;
  --background-color: #ffffff;
  --background-alt: #f5f7f9;
  --border-color: #e0e0e0;
  --success-color: #4CAF50;
  --error-color: #F44336;
  --header-height: 80px;
  --footer-background: #2c3e50;
  --footer-text: #ecf0f1;
  --box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  --transition-speed: 0.3s;
  --font-main: 'Noto Sans JP', sans-serif;
  --font-heading: 'M PLUS Rounded 1c', sans-serif;
}

/* ダークモード用の変数 */
[data-theme="dark"] {
  --primary-color: #65c9c2;
  --primary-dark: #4eb3ac;
  --secondary-color: #ffc266;
  --secondary-dark: #f8b04c;
  --text-color: #e0e0e0;
  --text-light: #b0b0b0;
  --background-color: #1a1a2e;
  --background-alt: #16213e;
  --border-color: #2c3e50;
  --footer-background: #0f3460;
  --footer-text: #e0e0e0;
  --box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=M+PLUS+Rounded+1c:wght@400;500;700&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--background-color);
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ボタンスタイル */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  text-decoration: none;
  border: none;
  font-family: var(--font-main);
}

.primary-btn {
  background-color: var(--primary-color);
  color: white;
}

.primary-btn:hover {
  background-color: var(--primary-dark);
  color: white;
}

.secondary-btn {
  background-color: var(--secondary-color);
  color: white;
}

.secondary-btn:hover {
  background-color: var(--secondary-dark);
  color: white;
}

/* セクションスタイル */
section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  font-size: 2.2rem;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 0.5rem auto 0;
}

/* ヘッダー */
header {
  position: sticky;
  top: 0;
  background-color: var(--background-color);
  box-shadow: var(--box-shadow);
  z-index: 1000;
  transition: background-color var(--transition-speed) ease;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.logo {
  display: flex;
}

.logo a {
  display: flex;
  align-items: center;
  color: var(--text-color);
  text-decoration: none;
}

.logo img {
  width: 50px;
  height: 50px;
  margin-right: 1rem;
  border-radius: 50%;
  object-fit: cover;
}

.logo h1 {
  font-size: 1.5rem;
  margin-bottom: 0;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-speed) ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.theme-toggle {
  cursor: pointer;
  font-size: 1.5rem;
  margin-left: 1rem;
}

/* ヒーローセクション */
.hero {
  background-color: var(--background-alt);
  padding: 5rem 0;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  flex: 1;
  padding-right: 2rem;
}

.hero-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

/* サービスカード */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--background-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card h3 {
  font-size: 1.3rem;
  margin: 1rem;
}

.service-card p {
  color: var(--text-light);
  margin: 0 1rem 1.5rem;
}

.service-card .btn {
  margin: 0 1rem 1rem;
}

/* 特徴セクション */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.feature {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  text-align: center;
  padding: 1.5rem;
  border-radius: 8px;
  background-color: var(--background-color);
  box-shadow: var(--box-shadow);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature h3 {
  margin-bottom: 0.75rem;
}

.feature p {
  color: var(--text-light);
}

/* 最近の投稿 */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.post-card {
  background-color: var(--background-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed) ease;
}

.post-card:hover {
  transform: translateY(-10px);
}

.post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-content {
  padding: 1.5rem;
}

.post-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.post-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.read-more {
  font-weight: 500;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
}

.read-more:hover {
  color: var(--primary-dark);
}

.read-more:after {
  content: '→';
  margin-left: 5px;
}

.center-btn {
  text-align: center;
  margin-top: 2rem;
}

/* お客様の声 */
.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial {
  background-color: var(--background-color);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--box-shadow);
  text-align: center;
  margin: 0 1rem;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.client-info h4 {
  margin-bottom: 0.25rem;
}

.client-info p {
  color: var(--text-light);
}

/* CTA セクション */
.cta {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 4rem 0;
}

.cta h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn {
  background-color: white;
  color: var(--primary-color);
}

.cta .btn:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* ランダムファクト */
.random-fact {
  background-color: var(--background-alt);
  text-align: center;
  padding: 2rem 0;
}

.random-fact h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.random-fact p {
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
}

/* フッター */
footer {
  background-color: var(--footer-background);
  color: var(--footer-text);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  flex: 1;
  min-width: 200px;
}

.footer-logo img {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
  border-radius: 50%;
  object-fit: cover;
}

.footer-logo h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.footer-info,
.footer-links,
.footer-policies,
.footer-social {
  flex: 1;
  min-width: 200px;
}

.footer-info h3,
.footer-links h3,
.footer-policies h3,
.footer-social h3 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.footer-links ul,
.footer-policies ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li,
.footer-policies ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a,
.footer-policies ul li a {
  color: var(--footer-text);
  transition: color var(--transition-speed) ease;
}

.footer-links ul li a:hover,
.footer-policies ul li a:hover {
  color: var(--secondary-color);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  color: var(--footer-text);
  font-size: 1.5rem;
  transition: color var(--transition-speed) ease;
}

.social-icons a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Cookie バナー */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--footer-background);
  color: var(--footer-text);
  z-index: 1000;
  padding: 1rem;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cookie-content p {
  margin-bottom: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.cookie-buttons button {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 0.9rem;
  transition: background-color var(--transition-speed) ease;
}

#accept-all {
  background-color: var(--success-color);
  color: white;
}

#customize-cookies {
  background-color: var(--background-alt);
  color: var(--text-color);
}

#reject-all {
  background-color: var(--error-color);
  color: white;
}

.cookie-content a {
  color: var(--secondary-color);
  font-size: 0.9rem;
}

/* サービスページ */
.page-header {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 3rem 0;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

.service-details {
  padding: 4rem 0;
}

.service-details.alternate {
  background-color: var(--background-alt);
}

.service-item {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

.service-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.service-content {
  flex: 1;
}

.service-content h2 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.service-content h3 {
  font-size: 1.3rem;
  margin: 1.5rem 0 1rem;
}

.service-content ul {
  margin-bottom: 1.5rem;
}

.service-content ul li {
  margin-bottom: 0.5rem;
}

.service-content .price {
  font-weight: 700;
  font-size: 1.2rem;
  margin: 1.5rem 0;
}

/* プロセスステップ */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  text-align: center;
  padding: 2rem 1.5rem;
  background-color: var(--background-color);
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

/* FAQ セクション */
.faq-items {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-radius: 8px;
  background-color: var(--background-color);
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  margin: 0;
  font-size: 1.2rem;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:after {
  content: '＋';
  font-size: 1.5rem;
  color: var(--primary-color);
}

.faq-item.active .faq-question:after {
  content: '－';
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-light);
}

/* ブログページ */
.blog-content {
  padding: 4rem 0;
}

.featured-post {
  display: flex;
  gap: 3rem;
  margin-bottom: 4rem;
  background-color: var(--background-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.featured-image {
  flex: 1;
  max-width: 500px;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-content {
  flex: 1;
  padding: 2rem;
}

.post-date {
  display: block;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.featured-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background-color: var(--background-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed) ease;
}

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card-content h3 {
  font-size: 1.3rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

/* カテゴリーグリッド */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.category-card {
  background-color: var(--background-color);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  text-decoration: none;
  color: var(--text-color);
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.category-icon {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.category-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.category-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ニュースレターセクション */
.newsletter {
  background-color: var(--background-alt);
  padding: 4rem 0;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-content h2 {
  margin-bottom: 1rem;
}

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

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 4px 0 0 4px;
  font-family: var(--font-main);
  font-size: 1rem;
}

.newsletter-form .btn {
  border-radius: 0 4px 4px 0;
}

/* ブログ記事ページ */
.blog-post-container {
  padding: 4rem 0;
}

.blog-post {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--background-color);
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  overflow: hidden;
  padding-bottom: 2rem;
}

.post-header {
  text-align: center;
  padding: 2rem 2rem 1rem;
}

.post-header h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.post-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.post-featured-image {
  margin-bottom: 2rem;
}

.post-featured-image img {
  width: 100%;
  height: auto;
}

.post-content {
  padding: 0 2rem;
}

.post-content h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem;
  color: var(--primary-color);
}

.post-content h3 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}

.post-content h4 {
  font-size: 1.3rem;
  margin: 1.5rem 0 0.75rem;
}

.post-content p,
.post-content ul,
.post-content ol {
  margin-bottom: 1.5rem;
}

.post-content ul li,
.post-content ol li {
  margin-bottom: 0.5rem;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border-color);
  margin-top: 2rem;
}

.post-tags span {
  margin-right: 0.75rem;
  font-weight: 500;
}

.post-tags a {
  display: inline-block;
  background-color: var(--background-alt);
  color: var(--text-color);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

.post-tags a:hover {
  background-color: var(--primary-color);
  color: white;
}

.post-share {
  display: flex;
  align-items: center;
  padding: 0 2rem;
}

.post-share span {
  margin-right: 0.75rem;
  font-weight: 500;
}

.post-share a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  margin-right: 0.5rem;
  background-color: var(--background-alt);
  color: var(--text-color);
  border-radius: 50%;
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

.post-share a:hover {
  background-color: var(--primary-color);
  color: white;
}

.related-posts {
  max-width: 800px;
  margin: 3rem auto 0;
}

.related-posts h3 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.related-post {
  background-color: var(--background-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed) ease;
}

.related-post:hover {
  transform: translateY(-5px);
}

.related-post img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.related-post h4 {
  padding: 1rem;
  margin: 0;
  font-size: 1rem;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  max-width: 800px;
  margin: 2rem auto 0;
}

.nav-previous,
.nav-next {
  max-width: 45%;
}

.nav-previous a,
.nav-next a {
  display: block;
  background-color: var(--background-color);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.nav-previous a:hover,
.nav-next a:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.nav-label {
  display: block;
  color: var(--text-color);
  font-size: 0.9rem;
}

/* お問い合わせページ */
.contact-section {
  padding: 4rem 0;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-form-container {
  flex: 2;
  min-width: 300px;
}

.contact-form-container h2,
.contact-info h2 {
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin-right: 1rem;
}

.info-text h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.social-connect {
  margin-top: 2rem;
}

.social-connect h3 {
  margin-bottom: 1rem;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  font-family: var(--font-main);
  font-size: 1rem;
  background-color: var(--background-color);
  color: var(--text-color);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--primary-color);
  outline: none;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
}

.required {
  color: var(--error-color);
}

.form-actions {
  text-align: right;
}

.map-container {
  margin-top: 2rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.contact-faq {
  background-color: var(--background-alt);
}

/* ポップアップ */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1001;
  justify-content: center;
  align-items: center;
}

.popup-content {
  position: relative;
  background-color: var(--background-color);
  padding: 3rem;
  border-radius: 8px;
  max-width: 500px;
  text-align: center;
}

.close-popup {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
}

.success-icon {
  color: var(--success-color);
  font-size: 3rem;
  margin-bottom: 1rem;
}

.close-btn {
  margin-top: 1.5rem;
}

/* 会社概要ページ */
.about-company {
  padding: 4rem 0;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}

.about-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.mission-vision {
  background-color: var(--background-alt);
  padding: 4rem 0;
}

.mission-vision .container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.mission, .vision {
  flex: 1;
  min-width: 300px;
  padding: 2rem;
  background-color: var(--background-color);
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.mission h2, .vision h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  padding: 2rem;
  background-color: var(--background-color);
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  text-align: center;
}

.value-icon {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.team-section {
  background-color: var(--background-alt);
  padding: 4rem 0;
}

.team-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.team-card {
  background-color: var(--background-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  text-align: center;
}

.team-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.team-card h3 {
  margin: 1.5rem 1rem 0.5rem;
}

.team-card p {
  padding: 0 1rem 1.5rem;
  color: var(--text-light);
}

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

.achievement-item {
  padding: 2rem;
  background-color: var(--background-color);
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  text-align: center;
}

.achievement-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.achievement-item p {
  color: var(--text-light);
}

.certifications-list {
  max-width: 800px;
  margin: 0 auto;
}

.certification-item {
  display: flex;
  align-items: center;
  padding: 2rem;
  background-color: var(--background-color);
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
}

.certification-icon {
  width: 80px;
  color: var(--primary-color);
  margin-right: 2rem;
}

.certification-content h3 {
  margin-bottom: 0.5rem;
}

/* レスポンシブスタイル */
@media (max-width: 1024px) {
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    padding-right: 0;
    margin-bottom: 2rem;
  }
  
  .service-item {
    flex-direction: column;
    gap: 2rem;
  }
  
  .service-details.alternate .service-item {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  header .container {
    flex-direction: column;
    height: auto;
    padding: 1rem;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  nav ul li {
    margin: 0.5rem 0;
  }
  
  .featured-post {
    flex-direction: column;
    gap: 0;
  }
  
  .featured-image {
    max-width: 100%;
  }
  
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
  
  .mission-vision .container {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .process-steps {
    flex-direction: column;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input[type="email"] {
    border-radius: 4px;
    margin-bottom: 1rem;
  }
  
  .newsletter-form .btn {
    border-radius: 4px;
    width: 100%;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .post-navigation {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .nav-previous,
  .nav-next {
    max-width: 100%;
    width: 100%;
  }
}
