* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ベーススタイル（リセットに近い） */
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans JP', 'Yu Gothic', sans-serif;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* -------------------------------------- */
/* ABOUTページ全体 */
/* -------------------------------------- */
.about {
  width: 100%;
  min-height: 100vh;
  background-color: #ffffff;
  padding: 80px 0 6rem; /* トップのpaddingを調整 */
  font-family: 'Noto Sans JP', sans-serif, 'Roboto', Arial, Helvetica;
}

/* -------------------------------------- */
/* パンくずリスト */
/* -------------------------------------- */
.breadcrumb-wrapper {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
  margin-bottom: 4rem;
  margin-top: 4rem;
}

.breadcrumb {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  font-size: 0.9rem;
  color: #6c757d;
}

.breadcrumb li {
  margin-right: 10px;
  position: relative;
}

.breadcrumb li:not(:last-child)::after {
  content: '>';
  margin-left: 10px;
  color: #ced4da;
}

.breadcrumb a {
  color: #6c757d;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: #25aff9;
}

/* -------------------------------------- */
/* 会社概要コンテナ (情報と地図のレイアウト) */
/* -------------------------------------- */
.company-info-container {
  max-width: 1250px;
  margin: 4rem auto 0;
  padding: 0 20px;
  display: flex;
  gap: 40px;
}

/* 会社情報詳細 */
.company-details {
  flex: 1 1 50%; /* 添付画像に合わせ、情報と地図を均等に配置 */
  display: flex;
  flex-direction: column;
  padding: 24px;
  background-color: #f8f9fa; /* 薄い背景色 */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-form-details {
  flex: 1 1 40%; /* 添付画像に合わせ、情報と地図を均等に配置 */
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.contact-description {
  font-size: 18px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  margin-top: 10px;
}

.detail-item {
  padding: 16px 0;
  border-bottom: 1px solid #e9ecef;
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #6c757d; /* ラベルを控えめな色に */
  margin-bottom: 4px;
}

.detail-value {
  font-size: 1.1rem;
  font-weight: 400;
  color: #212529;
  margin: 0;
  line-height: 1.6;
}

.detail-value a {
  color: #25aff9;
  text-decoration: none;
  font-weight: 500;
}

.detail-value a:hover {
  text-decoration: underline;
}

/* 事業内容のリストスタイル調整 */
.business-content .detail-value {
  margin-top: 8px; /* ラベルとの間隔 */
}

.business-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.business-list li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.business-list li::before {
  content: '・'; /* リストマーカーをシンプルな点に */
  color: #25aff9;
  position: absolute;
  left: 0;
}

/* -------------------------------------- */
/* 地図コンテナ */
/* -------------------------------------- */
.map-container {
  flex: 1 1 50%;
  border-radius: 12px;
  overflow: hidden; /* 地図の角を丸める */
  height: 400px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-form-container {
  flex: 1 1 60%;
  border-radius: 10px;
  overflow: hidden; /* 地図の角を丸める */
  height: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #25aff9;
}

.map-container iframe {
  display: block;
}

/* -------------------------------------- */
/* レスポンシブ対応 (768px以下) */
/* -------------------------------------- */
@media (max-width: 768px) {
  .about {
    padding: 60px 0 4rem;
  }

  .breadcrumb-wrapper {
    padding: 0 16px;
    margin-bottom: 1rem;
  }

  /* 会社概要コンテナのレイアウト変更 (縦積み) */
  .company-info-container {
    flex-direction: column;
    margin-top: 2rem;
    padding: 0 16px;
    gap: 30px;
  }

  /* 情報カードの調整 */
  .company-details {
    padding: 20px;
  }

  .detail-item {
    padding: 12px 0;
  }

  .detail-label {
    font-size: 0.85rem;
  }

  .detail-value,
  .business-list li {
    font-size: 1rem;
  }

  /* 地図コンテナの調整 */
  .map-container {
    min-height: 300px; /* スマートフォンでの地図の高さを調整 */
  }
}

/* Front Page Contact Section */
.contact-section {
  padding: 4rem 2rem;
  background-color: #f9f9f9;
}

.contact-section .contact-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-section .contact-title {
  font-size: 4rem;
  color: rgb(0, 0, 0);
  font-weight: 300;
  text-align: center;
  font-family: 'Google Sans Text', 'Roboto', Arial, Helvetica, sans-serif;
  margin-bottom: 1rem;
}

.contact-section .contact-description {
  font-size: 1.2rem;
  color: #5f6368;
  text-align: left;
  margin-bottom: 3rem;
  font-family: 'Google Sans Text', 'Roboto', Arial, Helvetica, sans-serif;
  max-width: 800px;
}

.contact-layout {
  display: flex;
  justify-content: center;
  gap: 40px;
  text-align: left;
  align-items: flex-start;
}

.contact-form-wrapper,
.contact-timerex-wrapper {
  flex: 1;
  max-width: 660px;
  min-width: 0;
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-column-title {
  font-size: 1.75rem;
  font-weight: 500;
  font-family: 'Noto Sans JP', sans-serif;
  margin-bottom: 1.5rem;
  color: #000;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

/* フォームエリア */
.contact-form {
  background: #f0f4f9;
  padding: 2rem;
  border: 1px solid hsla(0, 0%, 100%, 0.15);
  /* border-radius: 8px; */
}

/* WPFormsのスタイル調整 */
.wpforms-container {
  margin: 0 !important;
  max-width: 100%;
}

.wpforms-field {
  margin-bottom: 1.5rem !important;
}

.wpforms-field-label {
  color: black !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  margin-bottom: 0.5rem !important;
  display: block !important;
}

/* 入力欄 */
.wpforms-field input[type='text'],
.wpforms-field input[type='email'],
.wpforms-field textarea {
  width: 100% !important;
  background: white !important;
  border: 1px solid #000000 !important;
  color: black !important;
  font-size: 1rem !important;
  padding: 0.75rem !important;
  border-radius: 4px !important;
  box-sizing: border-box !important;
  transition: border-color 0.3s ease !important;
}

.wpforms-field input:focus,
.wpforms-field textarea:focus {
  border-color: #aecbfa !important;
  outline: none !important;
}

.wpforms-field-checkbox ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.wpforms-field-checkbox li {
  display: flex !important;
  align-items: center !important;
  margin-bottom: 0.75rem !important;
}

.wpforms-field-checkbox input[type='checkbox'] {
  width: 18px !important;
  height: 18px !important;
  margin: 0 10px 0 0 !important;
  vertical-align: middle !important;
  cursor: pointer !important;
  background: #1a1a1a !important;
  border: 1px solid hsla(0, 0%, 100%, 0.15) !important;
  border-radius: 3px !important;
}

.wpforms-field-checkbox input[type='checkbox']:checked {
  background-color: #aecbfa !important;
}

.wpforms-field-checkbox label {
  color: #9aa0a6 !important;
  font-size: 1rem !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

/* 送信ボタン */
.wpforms-submit-container {
  text-align: center;
}

.wpforms-submit {
  background-color: #25aff9 !important;
  color: white !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  padding: 0.75rem 2rem !important;
  border: none !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease, transform 0.3s ease !important;
  box-shadow: 0 4px 10px rgba(37, 175, 249, 0.4) !important;
}

.wpforms-submit:hover {
  background-color: #1a8fcc !important;
  transform: scale(1.05) !important;
  box-shadow: 0 6px 15px rgba(37, 175, 249, 0.6);
}

@media (max-width: 1024px) {
  .contact-layout {
    flex-direction: column;
    align-items: center;
  }
  .contact-form-wrapper,
  .contact-timerex-wrapper {
    width: 100%;
    max-width: 600px; /* Keep a max-width on smaller screens */
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 3rem 0.8rem;
  }
  .contact-section .contact-title {
    font-size: 2.5rem;
  }
  .contact-section .contact-description {
    font-size: 1rem;
  }

  .contact-form-wrapper,
  .contact-timerex-wrapper {
    padding: 1.5rem;
  }
  .contact-section .contact-column-title {
    font-size: 1.3rem;
  }
  .contact-form {
  }
}

/* notfound-section */
.notfound {
  width: 100vw;
  min-height: 100vh;
  /* 画面全体を埋める */
  background-color: #010512;
  /* サイトの基本背景色 */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  font-family: 'Google Sans Text', 'Roboto', Arial, Helvetica, sans-serif;
}

.notfound-container {
  max-width: 800px;
  /* message-containerと同じ幅 */
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.notfound-title {
  font-size: 2.8rem;
  /* hero-titleに近いサイズ */
  font-weight: 500;
  color: white;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.notfound-text {
  font-size: 1.2rem;
  /* message-textに合わせる */
  color: #9aa0a6;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.notfound-button {
  display: inline-block;
}

.notfound-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: #121212;
  /* glue-cardと同じ背景 */
  border: 1px solid hsla(0, 0%, 100%, 0.15);
  border-radius: 24px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.notfound-link span {
  font-size: 1.25rem;
  color: #aecbfa;
  /* services-viewと同じ色 */
  font-weight: 500;
}

.notfound-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.notfound-link:hover span {
  color: #8ab4f8;
  /* ホバー時の色 */
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
  .notfound {
    padding: 60px 15px;
  }

  .notfound-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .notfound-text {
    font-size: 0.875rem;
  }

  .notfound-link {
    padding: 10px 20px;
  }

  .notfound-link span {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .notfound-title {
    font-size: 1.2rem;
  }

  .notfound-text {
    font-size: 0.75rem;
  }
}

.header-menu-list li::after {
  content: none !important;
}

.c-contact-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 20px;
  margin-top: 2rem;
}

.c-contact-title {
  text-align: center;
  color: rgb(0, 0, 0);
  font-size: 4rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 200;
}

.c-contact-description {
  font-size: 1.2rem;
  color: #000000;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 3rem;
  font-weight: 300;
}

@media (max-width: 700px) {
  .c-contact-title {
    font-size: 2.5rem;
  }

  .c-contact-description {
    font-size: 0.9rem;
  }
}
