/* Custom CSS */

:root {
  /* Colors */
  --primary-color: #4f46e5; /* indigo-600 */
  --secondary-color: #6366f1; /* indigo-500 */
  --accent-color: #1f2937; /* gray-800 */
  --text-color: #1f2937; /* gray-800 */
  --background-color: #ffffff; /* white */
  --secondary-background: #f3f4f6; /* gray-50 */
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--secondary-background);
  color: var(--text-color);
}

a {
  text-decoration: none;
}

/* スムーズスクロール用のCSS */
html {
  scroll-behavior: smooth;
}

/* コンテナ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ヘッダー・ナビゲーション */
.main-header {
  background-color: var(--accent-color);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
}
.main-nav {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 2rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.1em;
}
.desktop-nav {
  display: none;
  column-gap: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
}
@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
}
.mobile-menu-button {
  display: block;
  color: #ffffff;
  position: relative;
  width: 2rem;
  height: 2rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
@media (min-width: 768px) {
  .mobile-menu-button {
    display: none;
  }
}
.mobile-menu-button svg {
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease-in-out;
}
.mobile-menu {
  background-color: var(--accent-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-align: center;
}
@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}
.nav-link {
  color: #ffffff;
  transition: all 300ms ease-in-out;
}
.nav-link:hover {
  color: var(--primary-color);
}
.nav-contact-button {
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: #ffffff;
  border-radius: 9999px;
  transition: all 300ms ease-in-out;
}
.nav-contact-button:hover {
  background-color: #4338ca;
}
.mobile-nav-link {
  display: block;
  padding: 0.5rem 1rem;
  color: #ffffff;
}
.mobile-nav-link:hover {
  background-color: #4b5563;
}
.mobile-contact-button {
  display: block;
  padding: 0.5rem 1rem;
  color: #ffffff;
  background-color: var(--primary-color);
}
.mobile-contact-button:hover {
  background-color: #4338ca;
}

/* ヒーローセクション */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
  margin-top: 4rem; /* ヘッダーの高さ分調整 */
}
.hero-bg-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* PC用背景 */
.hero-bg-desktop {
  display: flex;
  width: 100%;
}
@media (max-width: 767px) {
  .hero-bg-desktop {
    display: none;
  }
}

/* モバイル用背景 */
.hero-bg-mobile {
  display: none;
  position: absolute;
  inset: 0;
  z-index: -1;
}
@media (max-width: 767px) {
  .hero-bg-mobile {
    display: block;
  }
}
.hero-bg-image {
  width: 100%;
}
.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* モバイル用背景画像のアニメーション */
.mobile-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.mobile-bg-image.active-bg {
  opacity: 1;
}

/* フェードインアニメーション */
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-content-container {
  position: relative;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  padding: 2rem;
  border-radius: 0.5rem;
  max-width: 53rem;
  margin: auto;
  text-align: center;
  backdrop-filter: blur(1px);
}
@media (max-width: 767px) {
  .hero-section {
    align-items: flex-start;
  }
  .hero-content-container {
    margin-top: 5vh;
  }
}
.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 500;
  color: #a5b4fc;
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}
.hero-title {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
    line-height: 1;
  }
}
.hero-description {
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin-bottom: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .hero-description {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}
.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 1rem;
}
@media (min-width: 768px) {
  .hero-buttons {
    flex-direction: row;
    column-gap: 1rem;
    row-gap: 0;
  }
}

/* セクションタイトル */
.section-title {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-color);
}

/* ボタン */
.button-primary {
  width: 100%;
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: #ffffff;
  background-color: var(--primary-color);
  border-radius: 9999px;
  transition: all 300ms ease-in-out;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.button-primary:hover {
  background-color: #4338ca;
}
@media (min-width: 768px) {
  .button-primary {
    width: auto;
  }
}
.button-secondary {
  width: 100%;
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  background-color: #ffffff;
  border-radius: 9999px;
  transition: all 300ms ease-in-out;
}
.button-secondary:hover {
  background-color: #eff6ff;
}
@media (min-width: 768px) {
  .button-secondary {
    width: auto;
  }
}
.contact-button {
  width: 100%;
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: #ffffff;
  background-color: var(--primary-color);
  border-radius: 0.5rem;
  transition: all 300ms ease-in-out;
}
.contact-button:hover {
  background-color: #4338ca;
}
.nav-link {
  color: #ffffff;
  transition: all 300ms ease-in-out;
}
.nav-link:hover {
  color: var(--primary-color);
}
.nav-contact-button {
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: #ffffff;
  border-radius: 9999px;
  transition: all 300ms ease-in-out;
}
.nav-contact-button:hover {
  background-color: #4338ca;
}
.mobile-menu-button {
  display: block;
  color: #ffffff;
}
@media (min-width: 768px) {
  .mobile-menu-button {
    display: none;
  }
}
.mobile-menu {
  background-color: var(--accent-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-align: center;
}
@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}
.mobile-nav-link {
  display: block;
  padding: 0.5rem 1rem;
  color: #ffffff;
}
.mobile-nav-link:hover {
  background-color: #4b5563;
}
.mobile-contact-button {
  display: block;
  padding: 0.5rem 1rem;
  color: #ffffff;
  background-color: var(--primary-color);
}
.mobile-contact-button:hover {
  background-color: #4338ca;
}

/* Aboutセクション */
.about-section {
  background-color: var(--secondary-background);
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 2rem;
}
@media (min-width: 768px) {
  .about-content {
    flex-direction: row;
    column-gap: 3rem;
    align-items: flex-start;
  }
}
.about-image-container {
  flex-shrink: 0;
  width: 12rem;
  height: 12rem;
  border-radius: 9999px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.about-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-text {
  text-align: left;
  max-width: 42rem;
}
.about-heading {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.about-description {
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: #4b5563;
  margin-bottom: 1.5rem;
}
.about-list {
  font-size: 1rem;
  line-height: 1.5rem;
  color: #4b5563;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
}
.about-list li {
  margin-bottom: 0.5rem;
}

/* サービスセクション */
.services-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  /* サービスグリッドとボタンの間に余白を追加 */
  margin-bottom: 3rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.service-card {
  background-color: var(--background-color);
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  transition: all 300ms ease-in-out;
}
.service-card:hover {
  transform: translateY(-10px); /* カーソルが当たった時に-10px上に移動 */
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04); /* シャドウを強くして浮き上がっているように見せる */
}
.service-card-title {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
}
.service-icon {
  width: 2rem;
  height: 2rem;
  color: var(--primary-color);
}
.service-description {
  color: #4b5563;
}
/* サービスボタンを中央に配置 */
.services-button-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem; /* サービスカードとの間に余白を追加 */
  text-align: center;
}
.services-section .button-primary {
  margin-top: 2rem;
}

/* 経歴セクション */
.career-section {
  background-color: var(--secondary-background);
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.career-content {
  text-align: center;
}
.career-item {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}
.career-subtitle {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.career-text {
  color: #4b5563;
}
.skill-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .skill-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .skill-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.career-section .mt-6 {
  margin-top: 2rem;
  text-align: center;
}

.skill-item {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
  color: #4b5563;
}
.skill-icon {
  font-size: 1.875rem;
  line-height: 2.25rem;
  color: var(--primary-color);
}
.skill-icon img {
  width: 1.875rem;
  height: 1.875rem;
  vertical-align: middle;
}

/* ドローンセクション */
.drone-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.drone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 2rem;
}
@media (min-width: 768px) {
  .drone-content {
    flex-direction: row;
    column-gap: 3rem;
  }
}
.drone-image-container {
  width: 100%;
}
@media (min-width: 768px) {
  .drone-image-container {
    width: 50%;
  }
}
.drone-image-container img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.drone-text {
  width: 100%;
  text-align: left;
}
@media (min-width: 768px) {
  .drone-text {
    width: 50%;
  }
}
.drone-heading {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.drone-list {
  font-size: 1rem;
  line-height: 1.5rem;
  color: #4b5563;
  padding-left: 1rem;
}
.drone-list li {
  margin-bottom: 0.5rem;
}

/* ポートフォリオセクション */
.portfolio-section {
  background-color: var(--secondary-background);
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}
.portfolio-image-container {
  position: relative; /* 子要素（画像）の配置基準点とする */
  width: fit-content; /* コンテナの幅をPC画像に合わせる */
  margin: 0 auto; /* 中央揃えにする */
  margin-bottom: 2rem;
}

.pc-image {
  display: block;
  width: 100%;
  height: auto;
}

.mobile-image {
  position: absolute; /* 親要素に対して絶対的な位置を指定 */
  top: 50%; /* 親要素の上から50%の位置に配置 */
  left: 80%; /* 親要素の左から80%の位置に配置 */
  width: 40%; /* モバイル画像の幅をPC画像の40%にする */
  height: auto;
  border: 2px solid #fff; /* 白い枠線を追加 */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 影を追加 */
  transform: translate(-50%, -50%); /* 自身の幅と高さの半分を戻して中央に配置 */
  transition: transform 0.3s ease; /* ホバーアニメーション */
}

/* ホバー時のスタイル */
.portfolio-image-container:hover .mobile-image {
  transform: translate(-50%, -50%) scale(1.05); /* ホバーで少し拡大 */
}
/* PCとモバイル画像の比較表示用スタイル */
.portfolio-image-stack {
  position: relative; /* 子要素の基準点とする */
  width: 100%;
  height: 250px; /* PC画像のアスペクト比に合わせて高さを調整 */
  overflow: hidden;
  margin-bottom: 1rem;
}

.portfolio-image-stack .pc-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1; /* 重なり順序を一番下に */
  transition: all 0.3s ease;
}

.portfolio-image-stack .mobile-image {
  position: absolute;
  bottom: -20px; /* PC画像の下端から少しはみ出す */
  right: -20px; /* PC画像の右端から少しはみ出す */
  width: 35%; /* PC画像に対するモバイル画像の幅 */
  height: auto;
  border: 4px solid #fff; /* 白い枠線 */
  border-radius: 8px; /* 角を少し丸く */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  z-index: 2; /* 重なり順序をPC画像の上に */
  transition: all 0.3s ease;
}

/* ホバーエフェクト */
.portfolio-item:hover .pc-image {
  transform: scale(1.05);
}

.portfolio-item:hover .mobile-image {
  transform: scale(1.1);
  right: -10px;
  bottom: -10px;
}
@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.portfolio-item {
  background-color: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 300ms ease-in-out;
}
.portfolio-item:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.portfolio-item img,
.portfolio-item video {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.portfolio-details {
  padding: 1.5rem;
}
.portfolio-title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.portfolio-description {
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

/* 新しいレイアウトのスタイル */
.portfolio-item-horizontal {
  background-color: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 300ms ease-in-out;
}
@media (min-width: 768px) {
  .portfolio-item-horizontal {
    grid-column: span 2 / span 2;
    flex-direction: row;
    height: 15rem; /* 高さを固定 */
  }
}

.portfolio-item-horizontal:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.portfolio-image-container {
  width: 100%;
  height: 10rem;
  overflow: hidden;
}
@media (min-width: 768px) {
  .portfolio-image-container {
    width: 50%;
    height: 100%;
  }
}
.portfolio-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-details-horizontal {
  padding: 1.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 768px) {
  .portfolio-details-horizontal {
    width: 50%;
  }
}

/* ポートフォリオ詳細ページ用 */
.portfolio-detail-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.portfolio-detail-content {
  max-width: 64rem;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}
.portfolio-detail-image {
  width: 100%;
  max-width: 30rem;
  margin-bottom: 2rem;
}
.portfolio-detail-image img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}
.portfolio-detail-text {
  width: 100%;
}
.portfolio-detail-heading {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}
.portfolio-detail-list {
  list-style-type: disc;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
  color: #4b5563;
}
.portfolio-detail-list li {
  margin-bottom: 0.5rem;
}
.portfolio-detail-text p {
  color: #4b5563;
  line-height: 1.6;
}

/* コンタクトセクション */
.contact-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.contact-content {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.contact-text {
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: #4b5563;
  margin-bottom: 2rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  row-gap: 1.5rem;
}
.contact-input {
  width: 93%;
  padding: 0.5rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  transition: all 300ms ease-in-out;
}
.contact-input:focus {
  outline: 2px solid var(--primary-color);
  border-color: var(--primary-color);
}
.sns-section {
  margin-top: 2rem;
}
.sns-heading {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.sns-links {
  display: flex;
  justify-content: center;
  column-gap: 1.5rem;
}
.sns-link {
  color: #9ca3af;
  transition: all 300ms ease-in-out;
}
.sns-link:hover {
  color: var(--primary-color);
}
.sns-icon {
  width: 2rem;
  height: 2rem;
}

/* フッター */
.main-footer {
  background-color: var(--accent-color);
  color: #ffffff;
  padding: 2rem 0;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  row-gap: 2rem;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}
.footer-link {
  color: #ffffff;
  font-weight: 500;
  transition: color 300ms ease-in-out;
}
.footer-link:hover {
  color: var(--primary-color);
}
.footer-sns {
  display: flex;
  justify-content: center;
  column-gap: 1rem;
}
.footer-copy {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #d1d5db;
  text-align: center;
}
@media (min-width: 768px) {
  /* .footer-content {
    flex-direction: row;
    justify-content: space-between;
  } */
  .footer-nav {
    flex-direction: row;
    column-gap: 1.5rem;
  }
  .footer-copy {
    margin-top: 2rem;
    margin-bottom: 0;
    text-align: center;
  }
}

/* about_detail.html 用の追加スタイル */
.about-detail-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.about-detail-content {
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.about-detail-heading {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.about-detail-subheading {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.about-detail-text {
  font-size: 1rem;
  line-height: 1.5rem;
  color: #4b5563;
  margin-bottom: 1.5rem;
}

.about-detail-list {
  font-size: 1rem;
  line-height: 1.5rem;
  color: #4b5563;
  list-style-type: disc;
  padding-left: 2rem;
}

.about-detail-list li {
  margin-bottom: 0.5rem;
}

/* JavaScriptでトグルするhiddenクラス */
.hidden {
  display: none !important;
}

/* フッター */
.main-footer {
  background-color: var(--accent-color);
  color: #ffffff;
  padding: 2rem 0;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  row-gap: 2rem;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}
.footer-link {
  color: #ffffff;
  font-weight: 500;
  transition: color 300ms ease-in-out;
}
.footer-link:hover {
  color: var(--primary-color);
}
.footer-sns {
  display: flex;
  justify-content: center;
  column-gap: 3rem;
}
.sns-link img {
  width: 2rem;
  height: 2rem;
  transition: opacity 300ms ease-in-out;
}
.sns-link:hover img {
  opacity: 0.7;
}
.footer-copy {
  margin-top: 3rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #d1d5db;
  margin-bottom: 0;
}
@media (min-width: 768px) {
  /* .footer-content {
    flex-direction: row;
    justify-content: space-between;
  } */
  .footer-nav {
    flex-direction: row;
    column-gap: 1.5rem;
  }
  .footer-copy {
    margin-top: 2rem;
    margin-bottom: 0;
    text-align: center;
  }
}
