/*
Theme Name: 和泉工業株式会社
Description: 和泉工業株式会社の公式WordPressテーマ。宮崎県都城市を拠点とする建設会社のコーポレートサイト。
Version: 1.0
Author: 和泉工業株式会社
*/

/* リセットCSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* カスタムプロパティ */
:root {
  --primary: hsl(215, 80%, 30%);
  --primary-foreground: hsl(0, 0%, 98%);
  --primary-light: hsl(215, 70%, 90%);
  --construction-yellow: hsl(45, 100%, 50%);
  --construction-dark: hsl(215, 30%, 20%);
  --construction-gray: hsl(210, 10%, 95%);
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(222.2, 84%, 4.9%);
  --muted-foreground: hsl(215.4, 16.3%, 46.9%);
  --border: hsl(214.3, 31.8%, 91.4%);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --container-padding: 1rem;
  --container-max-width: 1200px;
}

/* ベーススタイル */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ヘッダー */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--primary);
}

.logo-icon {
  background-color: white;
  border: 1px solid white;
  border-radius: 6px;
  padding: 4px;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-weight: 700;
  font-size: 1.25rem;
}

/* カスタムロゴスタイル */
.custom-logo-header,
.custom-logo-mobile,
.custom-logo-footer {
  display: block;
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.logo-icon .custom-logo-header {
  max-width: 100%;
  max-height: 32px;
}

.footer-logo-icon .custom-logo-footer {
  max-width: 100%;
  max-height: 28px;
}

.mobile-menu-header .logo-icon .custom-logo-mobile {
  max-width: 100%;
  max-height: 32px;
}

/* ロゴがない場合のSVGアイコンスタイル */
.logo-icon svg,
.footer-logo-icon svg {
  transition: all 0.3s ease;
}

.logo:hover .logo-icon {
  background-color: white;
  border-color: var(--primary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* レスポンシブ対応 */
@media (max-width: 640px) {
  .logo-icon .custom-logo-header {
    max-height: 28px;
  }

  .mobile-menu-header .logo-icon .custom-logo-mobile {
    max-height: 28px;
  }

  .footer-logo-icon .custom-logo-footer {
    max-height: 24px;
  }
}

@media (min-width: 768px) {
  .logo-icon .custom-logo-header {
    max-height: 36px;
  }

  .footer-logo-icon .custom-logo-footer {
    max-height: 32px;
  }
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--construction-yellow);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.desktop-contact {
  display: none;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--primary) 0%, hsl(215, 70%, 40%) 100%);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background: var(--primary);
  box-shadow: var(--shadow-hover);
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  background-color: var(--construction-gray);
}

.close-icon {
  display: none;
}

.mobile-menu-btn.active .menu-icon {
  display: none;
}

.mobile-menu-btn.active .close-icon {
  display: block;
}

/* モバイルメニュー */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  background-color: white;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.mobile-menu-header .logo-icon {
  background-color: white;
  border: 1px solid white;
}

.mobile-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.mobile-close-btn:hover {
  background-color: var(--construction-gray);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--primary);
}

.mobile-contact-info {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.mobile-contact-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.mobile-contact-number {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--primary);
}

.mobile-menu-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.mobile-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, hsl(215, 70%, 40%) 100%);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.mobile-call-btn:hover {
  background: var(--primary);
  box-shadow: var(--shadow-hover);
}

/* ヒーローセクション */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 32rem;
  color: white;
  padding: 6rem 0 8rem;
}

.hero-badge {
  display: inline-block;
  background-color: var(--construction-yellow);
  color: var(--construction-dark);
  padding: 0.25rem 1rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-title-accent {
  color: var(--construction-yellow);
}

.hero-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4rem;
  background: linear-gradient(to top, var(--background), transparent);
}

/* ボタンスタイル */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem; /* 10px 20px に縮小 */
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 0.875rem; /* 14px に縮小 */
  line-height: 1.4;
}

/* ヒーローセクションのボタンは大きめに保持 */
.hero .btn {
  padding: 0.75rem 1.5rem; /* 12px 24px */
  font-size: 1rem; /* 16px */
}

/* お問い合わせセクションのボタンサイズ調整 */
.contact-method .btn {
  padding: 0.625rem 1rem; /* 10px 16px */
  font-size: 0.875rem; /* 14px */
}

/* モバイルコールボタンのサイズ調整 */
.mobile-call-btn {
  padding: 0.75rem 1rem; /* 12px 16px */
  font-size: 0.875rem; /* 14px */
}

/* ヘッダーのコンタクトボタンはそのまま維持 */
.contact-btn {
  padding: 8px 16px;
  font-size: 0.875rem;
}

/* レスポンシブ調整 */
@media (max-width: 640px) {
  .btn {
    padding: 0.5rem 1rem; /* モバイルでさらに小さく */
    font-size: 0.875rem;
  }

  .hero .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, hsl(215, 70%, 40%) 100%);
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

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

.btn.full-width {
  width: 100%;
}

/* セクション共通スタイル */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  display: inline-flex;
  flex-direction: column;
}

.section-title::after {
  content: "";
  height: 4px;
  background-color: var(--construction-yellow);
  width: 50%;
  margin: 0.5rem auto 0;
}

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

.section-subtitle {
  color: var(--muted-foreground);
  font-size: 1.125rem;
}

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

/* 会社概要セクション */
.about {
  padding: 5rem 0 7rem;
  background-color: var(--construction-gray);
}

.about-content {
  display: grid;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-badge {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  width: fit-content;
}

.about-heading {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
}

.about-line {
  width: 5rem;
  height: 4px;
  background-color: var(--construction-yellow);
}

.about-description {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.about-button {
  padding-top: 1rem;
}

.about-image {
  position: relative;
  height: 25rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

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

.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.about-image-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: white;
}

.about-image-content h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.about-image-content p {
  font-size: 0.875rem;
  opacity: 0.9;
}

.company-info {
  display: grid;
  gap: 1.5rem;
}

.info-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
  transition: all 0.3s ease;
}

.info-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.info-card-header {
  margin-bottom: 1rem;
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  margin: 0 auto 1rem;
}

.info-card-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.info-main {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.info-sub {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* 事業内容セクション */
.services {
  padding: 5rem 0 7rem;
  position: relative;
  overflow: hidden;
}

.services-bg {
  position: absolute;
  inset: 0;
  background-image: url("/images/construction-work-1.png");
  background-size: cover;
  background-position: center;
  opacity: 0.05;
}

.services-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 4rem;
}

.service-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.service-card-top {
  height: 8px;
  background-color: var(--primary);
}

.service-card-content {
  padding: 2rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  margin: 0 auto 1rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background-color: rgba(59, 130, 246, 0.2);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-subtitle {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.service-description {
  color: var(--muted-foreground);
  line-height: 1.6;
  flex: 1;
}

.other-services {
  margin-top: 4rem;
}

.other-services-card {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--construction-yellow);
}

.other-services-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.other-services-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
}

.other-services-list li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  color: var(--primary);
  min-width: 180px;
  text-align: left;
}

/* 施工実績セクション */
.works {
  padding: 5rem 0 7rem;
  background-color: var(--construction-gray);
}

.works-slider {
  position: relative;
  max-width: 64rem;
  margin: 0 auto;
}

.slider-container {
  position: relative;
  height: 25rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
  z-index: 10;
}

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

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: white;
  z-index: 20;
}

.slide-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.slide-location {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: 0.75rem;
}

.slide-description {
  font-size: 0.875rem;
  line-height: 1.5;
  max-width: 48rem;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: white;
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.prev-btn {
  left: 1rem;
}

.next-btn {
  right: 1rem;
}

.slider-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.indicator {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: #d1d5db;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background-color: var(--primary);
  width: 2rem;
  border-radius: 0.375rem;
}

.slider-thumbnails {
  display: none;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.thumbnail {
  width: 5rem;
  height: 5rem;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #d1d5db;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.thumbnail.active {
  border: 4px solid var(--primary);
  opacity: 1;
}

.thumbnail:hover {
  opacity: 1;
}

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

/* 会社の強みセクション */
.strengths {
  padding: 5rem 0 7rem;
  background: linear-gradient(135deg, var(--primary) 0%, hsl(215, 70%, 40%) 100%);
  color: white;
}

.strengths-grid {
  display: grid;
  gap: 2rem;
}

.strength-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
}

.strength-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: white;
  color: var(--primary);
  margin: 0 auto 1.5rem;
}

.strength-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.strength-card p {
  opacity: 0.8;
  line-height: 1.6;
}

/* お問い合わせセクション */
.contact {
  padding: 5rem 0 7rem;
}

.contact-content {
  max-width: 48rem;
  margin: 0 auto;
  background-color: var(--construction-gray);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 2rem;
}

.contact-methods {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.contact-method {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.contact-method:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.contact-method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  margin: 0 auto 1rem;
}

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

.contact-time {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.contact-note {
  text-align: center;
}

.contact-note p {
  color: var(--muted-foreground);
  line-height: 1.6;
}

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

.contact-fax p {
  font-size: 1.125rem;
}

/* フッター */
.footer {
  border-top: 1px solid var(--border);
  background-color: var(--construction-dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-company {
  text-align: left;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  background: white;
  border: 1px solid white;
  border-radius: 6px;
  padding: 4px;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.footer-description {
  font-size: 0.875rem;
  color: #d1d5db;
  margin-bottom: 1.5rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-contact-item svg {
  color: var(--construction-yellow);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-contact-item p {
  font-size: 0.875rem;
  color: #d1d5db;
}

.footer-services {
  text-align: left;
}

.footer-services h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-flex;
  flex-direction: column;
}

.footer-underline {
  height: 2px;
  background-color: var(--construction-yellow);
  width: 3rem;
  margin-top: 0.5rem;
}

.footer-services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1rem;
  list-style: none;
}

.footer-services-list li {
  font-size: 0.875rem;
  color: #d1d5db;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1.5rem;
  text-align: left;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: #9ca3af;
}

/* レスポンシブデザイン */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }

  .other-services-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
  }

  .other-services-list li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    color: var(--primary);
    min-width: 180px;
    text-align: left;
  }

  .slider-thumbnails {
    display: flex;
  }

  .contact-methods {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-content {
    padding: 3rem;
  }
}

@media (max-width: 640px) {
  .other-services-list {
    max-width: 100%;
    gap: 0.75rem 1rem;
  }

  .other-services-list li {
    min-width: 160px;
    font-size: 0.875rem;
  }
}

@media (min-width: 641px) and (max-width: 768px) {
  .other-services-list {
    max-width: 500px;
  }

  .other-services-list li {
    min-width: 170px;
  }
}

@media (min-width: 768px) {
  :root {
    --container-padding: 2rem;
  }

  .desktop-nav {
    display: flex;
  }

  .desktop-contact {
    display: block;
  }

  .mobile-menu-btn {
    display: none;
  }

  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .about-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .company-info {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .slider-container {
    height: 31.25rem;
  }

  .strengths-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-content {
    padding: 10rem 0 10rem;
  }
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: 4rem;
  }
}

/* スムーススクロール */
html {
  scroll-behavior: smooth;
}

/* フォーカス状態 */
button:focus,
a:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* アニメーション */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* ユーティリティクラス */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
