/* ========================================
   Reset CSS
   - ブラウザ間のデフォルトのスタイルを統一
   ======================================== */

/* すべての要素の余白とパディングをリセット */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ベースフォント設定 */
html {
  font-size: 16px; /* 基本フォントサイズ */
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* ボディのデフォルト設定 */
body {
  font-family: Arial, sans-serif; /* 必要に応じて変更 */
  background-color: #fff;
  color: #333;
  margin: 0;
  padding: 0;
  text-rendering: optimizeLegibility;
}

/* リスト要素のデフォルトスタイルをリセット */
ul, ol {
  list-style: none;
}

/* リンクのデフォルトスタイルをリセット */
a {
  text-decoration: none;
  color: inherit;
  background-color: transparent;
}

/* 画像のデフォルト設定 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ボタンのリセット */
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
  padding: 0;
  margin: 0;
}

/* テーブルのリセット */
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

/* フォーム要素のリセット */
input, textarea {
  border-radius: 0;
}

/* headingタグのデフォルト設定 */
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: normal;
  margin: 0;
}

/* ボタンのカーソル */
button {
  cursor: pointer;
}

/* 強調タグ */
strong {
  font-weight: bold;
}

/* 隠し要素 */
.hidden {
  display: none !important;
  visibility: hidden;
}
.blue{
  color: #005bb5;
  border-bottom: 1px solid #005bb5;
}
/* sp要素 */
body{
    margin: auto;
}
.nayami{
  margin-top: 20px;
}
.solution{
  margin: 30px 0px;
}
.s5{
  margin-top: -20px;
  z-index: -1;
  position: relative;
}
.feature1{
  margin-top: 40px;
}
.feature2{
  margin-top: 40px;
}
.feature3{
  margin-top: 40px;
}
.feature4{
  margin-top: 40px;
}
.consulting{
  padding: 0px 20px;
  margin: 20px 0px 40px 0px;
}
.s10{
  background-color: #E8F5F8;
}
.qa{
  padding: 60px 0px 0px 0px;
}





nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding-bottom: 2px;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a.active::after {
  width: 100%;
}
.faq-section {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  margin-bottom: 2rem;
}
h2 {
  color: #2563eb;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.5rem;
}
.faq-container{
  margin-top: 20px;
  padding: 20px;
}
.faq-item {
  margin-bottom: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background-color: white;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem;
  background-color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: #f1f5f9;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #1e40af;
}

.faq-toggle {
  position: relative;
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background-color: #2563eb;
  transition: all 0.3s ease;
}

.faq-toggle::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq-toggle::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-item.active .faq-toggle::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  position: relative;
  max-height: 0;
  overflow: hidden;
  background-color: white;
  transition: max-height 0.3s ease-in-out;
}

.faq-answer > div {
  padding: 1.2rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-item.active .faq-answer > div {
  opacity: 1;
  transform: translateY(0);
}

.faq-answer p {
  margin-bottom: 1rem;
  color: #4b5563;
}

.faq-answer ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  color: #4b5563;
}
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
  .faq-section {
    padding: 1rem;
  }

  .faq-question h3 {
    font-size: 1rem;
  }
}



    .header {
      text-align: center;
      margin-bottom: 30px;
    }

    .header h1 {
      font-size: 1.2rem;
      font-weight: normal;
      color: #333;
    }

    .contact-info {
      padding: 20px;
      text-align: center;
      margin-bottom: 30px;
      background: white;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }
    .contact-text{
      margin-top: 20px;
      width: 70%;
      margin: auto;
      margin-top: 50px;
      margin-bottom: 20px;
    }
    .phone-number {
      font-size: 1.8rem;
      color: #e74c3c;
      font-weight: bold;
      margin-bottom: 5px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    .phone-icon {
      width: 32px;
      height: 32px;
      background-color: #e74c3c;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 6px;
    }

    .phone-icon svg {
      width: 100%;
      height: 100%;
      color: white;
    }

    .business-hours {
      font-size: 0.9rem;
      color: #666;
    }

    .form-group {
      margin-bottom: 20px;
    }

    .form-label {
      display: block;
      margin-bottom: 5px;
      font-size: 0.9rem;
    }

    .required {
      color: #e74c3c;
    }

    .form-input {
      width: 100%;
      padding: 12px;
      border: 1px solid #ddd;
      border-radius: 6px;
      font-size: 1rem;
    }

    .form-select {
      width: 100%;
      padding: 12px;
      border: 1px solid #ddd;
      border-radius: 6px;
      font-size: 1rem;
      background-color: white;
    }

    .privacy-check {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 30px;
    }

    .privacy-check input {
      width: 18px;
      height: 18px;
    }

    .submit-button {
      width: 100%;
      padding: 16px;
      background-color: #e74c3c;
      color: white;
      border: none;
      border-radius: 100px;
      font-size: 1rem;
      font-weight: bold;
      cursor: pointer;
      box-shadow: 0 4px 6px rgba(231,76,60,0.2);
    }

    @media (max-width: 480px) {
      .phone-number {
        font-size: 1.5rem;
      }

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






    .container {
      max-width: 500px;
      margin: 0 auto;
      background: white;
      padding: 30px 20px;
      border-radius: 12px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }

    .qa-header {
      text-align: center;
      margin-bottom: 30px;
    }

    .qa-header h1 {
      margin-top: 50px;
      font-size: 1.2rem;
      font-weight: normal;
      color: #1D2C59;
      font-weight: 600;
    }

    .contact-info {
      border: 1px solid #A0A0A0;
      margin: 0px 10px;
      padding: 10px;
      text-align: center;
      margin-bottom: 30px;
      background: white;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }

    .phone-number {
      font-size: 1.8rem;
      color: #e74c3c;
      font-weight: bold;
      margin-bottom: 5px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    .phone-icon {
      width: 32px;
      height: 32px;
      background-color: #e74c3c;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 6px;
    }

    .phone-icon svg {
      width: 100%;
      height: 100%;
      color: white;
    }

    .business-hours {
      font-size: 0.9rem;
      color: #666;
    }
    .form-container{
      padding: 10px;
    }
    .form-group {
      margin-bottom: 20px;
    }
    .form-label {
      display: block;
      margin-bottom: 2px;
      font-size: 0.8rem;
      color: #1D2C59;
    }

    .required {
      color: #e74c3c;
    }

    .form-input {
      width: 100%;
      padding: 12px;
      border: 1px solid #ddd;
      border-radius: 6px;
      font-size: 1rem;
    }

    .form-select {
      width: 100%;
      padding: 12px;
      border: 1px solid #ddd;
      border-radius: 6px;
      font-size: 1rem;
      background-color: white;
    }

    .privacy-check {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 30px;
      border: #1D2C59;
    }

    .privacy-check input {
      width: 18px;
      height: 18px;
    }

    .submit-button {
      width: 100%;
      padding: 16px;
      background-color: #e74c3c;
      color: white;
      border: none;
      border-radius: 100px;
      font-size: 1rem;
      font-weight: bold;
      cursor: pointer;
      box-shadow: 0 4px 6px rgba(231,76,60,0.2);
    }

    @media (max-width: 480px) {
      .phone-number {
        font-size: 2rem;
      }

      .phone-icon {
        width: 28px;
        height: 28px;
      }
    }
    .s11{
      padding: 20px;
    }
    .section-header {
      margin-top: 40px;
      background-color: #1e2d5f;
      color: white;
      padding: 5px 10px;
      border-radius: 5px;
      font-weight: normal;
      margin-bottom: 15px;
      width: fit-content;
      min-width: 120px;
      text-align: center;
      font-size: 14px;
    }
    .s12{
      background-color: #1e2d5f;
      text-align:center;
      padding: 20px 0;
      font-size: 14px;
      color: white;
    }
  
  .section-content {
      margin-bottom: 15px;
      padding: 0 5px;
  }
  
  .divider {
      border-bottom: 1px solid #e0e0e0;
      margin: 20px 0;
  }
  
  .company-name {
      font-weight: bold;
      font-size: 16px;
      margin-bottom: 3px;
  }
  
  .company-name-phonetic {
      font-size: 12px;
      margin-bottom: 10px;
      letter-spacing: -1px;
      color: #666;
      width: fit-content;
      transform: scale(0.85, 1);
      transform-origin: left;
      display: inline-block;
  }
  
  .business-list {
      list-style-type: none;
      padding: 0;
      margin: 0;
  }
  
  .business-list li {
      margin-bottom: 10px;
  }
  .s12{
    text-align: center;
  }
  .s12 p{
    margin-top: 10px;
    font-weight: 600;
  }
  .logo{
    width: 200px;
    margin: auto;
  }
  .finish{
    background-color: #1D2C59;
    color: white;
    margin-top: 30px;
    font-size: 12px;
    padding: 7px 0px;
  }

/* スマホの場合はPC用コンテンツを非表示 */
@media (max-width: 767px) {
  .pc { display: none; }
  body{
    max-width: 550px;
  }
  .s2{
    background-color: #1D2C59;
    padding: 20px;
  }
  .bottom1-sp{
    margin-top: 20px;
  }
  .s4{
    border: 1px solid #9DD6E0;
    border-radius: 20px;
    background-color: #fff; /* 背景色（必要に応じて変更） */
    background-image: 
      linear-gradient(90deg, #ddd 1px, transparent 1px),
      linear-gradient(180deg, #ddd 1px, transparent 1px);
    background-size: 20px 20px; /* グリッドのサイズ */
    padding: 20px;
  }
  .s4 img{
    width: 80%;
    margin: auto;
  }
  .s6{
    background-color: #E8F5F8;
    padding: 20px;
  }
  .s7{
    padding: 20px;
  }
}
/* PCの場合はスマホ用コンテンツを非表示 */
@media (min-width: 768px) {
.sp { display: none; }
  /* 左側のコンテンツエリアは右側フォーム分の余白を確保 */
  /* 左側のコンテンツエリア：右側フォーム分の余白を確保 */
/* PC全体のレイアウト：左側のコンテンツ部分は幅360pxに固定 */
/* PC全体のコンテナ：中央寄せ */
/* PC全体のコンテナ：中央寄せし、余白も確保 */
/* PC全体のコンテナを中央寄せし、最大幅を1280pxに制限 */
/* ページ全体の設定 */
.pc {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

/* 問い合わせフォームを右側に固定 */
.fixed-contact {
  padding: 10px;
  position: fixed;
  top: 0px;
  right: 0px;
  width: 380px;
  padding: 30px 0px 20px 0px;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: #fff;
  z-index: 100;
  height: 100vh;
}

/* 左側コンテンツ：画像表示エリア */
/* 右側に問い合わせフォームの幅と余白を確保 */
.page-content {
  margin-right: calc(360px + 20px); /* 360px（フォーム幅） + 20px（右の余白） */
}

/* 画像を画面幅いっぱいに表示（フォームを除く） */
.page-content img.attention {
  display: block;
  height: auto;
  object-fit: contain; /* 必要に応じて cover も検討 */
}

/* 連絡先やフォームの細かいデザイン */
.fixed-contact .contact-info {
  text-align: center;
  margin-bottom: 5px;
  margin-top: 10px;
}

.fixed-contact .phone-number {
  font-size: 1.75em;
  font-weight: bold;
  margin-bottom: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fixed-contact .phone-icon {
  width: 24px;
  height: 24px;
  margin-right: 6px;
}

.fixed-contact .business-hours {
  font-size: 0.9em;
  color: #666;
}

/* フォームのスタイル */
.fixed-contact .form-container {
  display: flex;
  flex-direction: column;
}

.fixed-contact .form-group {
  margin-bottom: 16px;
}

.fixed-contact .form-label {
  display: block;
  font-size: 0.8em;
  margin-bottom: 4px;
}

.fixed-contact .form-input,
.fixed-contact .form-select {
  width: 100%;
  padding: 8px 10px;
  font-size: 0.9em;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.fixed-contact .form-input:focus,
.fixed-contact .form-select:focus {
  border-color: #0073e6;
  outline: none;
}

.fixed-contact .privacy-check {
  margin: 18px;
  font-size: 0.9em;
}

.fixed-contact .privacy-check input {
  margin-right: 5px;
}

.fixed-contact .submit-button:hover {
  background-color: #005bb5;
}
.s4{
  position: relative;
}
.text-solution{
  position: absolute;
  bottom: 0;
  margin-bottom: 60px;
}
.s2{
  position: relative;
}
.s2 {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.attention {
  width: 100%;  /* 親要素に対して100% */
  height: auto; /* 縦横比を保持 */
}

.bottom-pack {
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 0;
  width: 100%;
  max-width: 1200px;
  padding: 0px 30px 30px;
}

.bottom-pack img {
  flex: 1; /* 均等に伸ばす */
  max-width: 50%; /* 各画像の最大幅を50%に */
  height: auto;
}
.qa{
  max-width: 350px;
  margin: auto;
}
.section{
  max-width: 600px;
  margin: auto;
}
.logo{
  width: 200px;
  margin: auto;
}
.contact-text{
  margin-top: 20px;
  width: 70%;
  margin: auto;
}
.bottom-pack a{
  display: contents;
}
}