/*全体設定-------------------------------*/

* {
  box-sizing: border-box;
}

body {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  color: #1b1b1e;
  font-size: 15px;
  line-height: 2em;
  font-weight: 500;
  margin-top: 85px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a:link {
  color: #fff;
}

/*
a:visited {
  color: #2c3e50;
}


a:hover {
  color: #2c3e50;
  text-decoration: none;
}
*/
a:active {
  color: #ffffff;
}

#container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#nav li a,
#g-nav-list li a {
  color: #000000;
  /* 通常時の文字色 */
  text-decoration: none;
  /* 下線なし */
  font-size: 1rem;
  transition: color 0.3s;
  /* ホバー時に色が変わるアニメーション */
}

#nav li a:hover,
#g-nav-list li a:hover {
  color: #f76c5e;
  /* ホバー時の色 */
  text-decoration: underline;
  /* ホバー時に下線 */
}

/*メニュー------------------------*/
#nav {
  display: block;
  margin: 10px 100px 20px auto;
}


#nav ul {
  display: flex;
  list-style-type: none;
}

#nav li a {
  display: block;
  text-decoration: none;
  padding: 0.5rem 1rem;
  color: #000000;
}

#g-nav-list ul {
  display: block;
  list-style-type: none;
  text-decoration: none;
  padding: 2rem 1rem;
  font-size: 120%;
}

@media screen and (max-width: 900px) {
  #nav {
    display: none;
  }
}
.scroll-top {
  position: fixed;
  bottom: 20px;
  /* 画面の下から20px */
  right: 20px;
  /* 画面の右から20px */
  padding: 10px 15px;
  z-index: 1000;
  /* 他の要素より前に出すため */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  color: inherit;
  background-color: transparent;
}
/* スマートフォン（最大幅480px） */
@media screen and (max-width: 480px) {
  .scroll-top {
    bottom: 15px; /* 画面下から少し近づける */
    right: 15px; /* 画面右から少し近づける */
    padding: 6px 10px; /* ボタンのパディングを小さく */
    font-size: 14px; /* フォントサイズを少し小さく */
  }
}

/* タブレット（最大幅768px） */
@media screen and (max-width: 768px) {
  .scroll-top {
    bottom: 20px; /* 画面下から20px */
    right: 20px; /* 画面右から20px */
    padding: 8px 12px; /* ボタンのパディングを少し小さく */
    font-size: 16px; /* フォントサイズを少し小さく */
  }
}

/* 小さめのPC画面（最大幅1024px） */
@media screen and (max-width: 1024px) {
  .scroll-top {
    bottom: 20px; /* 画面下から20px */
    right: 20px; /* 画面右から20px */
    padding: 8px 14px; /* ボタンのパディングを少し小さく */
    font-size: 16px; /* フォントサイズを少し小さく */
  }
}

/* 大きいPC画面（最小幅1025px） */
@media screen and (min-width: 1025px) {
  .scroll-top {
    bottom: 20px; /* 画面下から20px */
    right: 20px; /* 画面右から20px */
    padding: 10px 15px; /* 標準のパディング */
    font-size: 18px; /* フォントサイズはそのまま */
  }
}
/* サブタイトルの共通スタイル */
.subtitle {
  font-size: 30px;
  font-weight: bold;
  color: #333;
  text-align: center;
  /* 横中央に配置 */
  position: relative;
  display: block;
  /* ブロック要素として扱い */
  width: fit-content;
  /* 文字の幅に合わせる */
  margin: 0 auto;
  margin-top: 30px;
  /* 自動で中央に配置 */
  padding-bottom: 5px;
  z-index: -0;
}

.subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  /* 文字幅に合わせる */
  height: 15px;
  /* アンダーラインを太くする */
  background-color: #ffd901;
  /* オレンジ寄りの色 */
  z-index: -1;
}

/* 見出し */
.midashi {
  color: #003366;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.midashi::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background: #ffd901;
  /* 黄色下線 */
  margin: 8px auto 0;
  border-radius: 2px;
}

.muryou-info{
  color: #003366;
  font-size: 25px;
  text-align: center;
}

/* レスポンシブ対応 */
/* スマートフォン（最大幅 480px） */
@media (max-width: 480px) {
  .subtitle {
    font-size: 20px !important;  /* フォントサイズを小さく */
    margin-top: 20px;  /* 上部の余白を少なく */
  }

  .subtitle::after {
    height: 10px;  /* アンダーラインの高さを小さく */
  }
}

/* タブレット（最大幅 768px） */
@media (max-width: 768px) {
  .subtitle {
    font-size: 24px;  /* フォントサイズを調整 */
    margin-top: 25px;  /* 上部の余白を調整 */
  }

  .subtitle::after {
    height: 12px;  /* アンダーラインの高さを調整 */
  }
}

/* PC（最大幅 1024px） */
@media (max-width: 1024px) {
  .subtitle {
    font-size: 28px;  /* フォントサイズを少し小さく */
    margin-top: 30px;
  }

  .subtitle::after {
    height: 13px;  /* アンダーラインの高さを調整 */
  }
}

/* PC（最小幅 1025px） */
@media (min-width: 1025px) {
  .subtitle {
    font-size: 30px;  /* デフォルトのフォントサイズ */
  }

  .subtitle::after {
    height: 15px;  /* アンダーラインのデフォルト高さ */
  }
}

/*ヘッダー-------------------------*/
header {
  position: absolute;
  z-index: 999;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 85px;
  display: flex;
  background: #ffd500fb;
  margin-bottom: 0;
}

#top_logo {
  display: block;
  width: 200px;
  margin: 25px;
}

.contact-note {
  color: gray;
}

/* メインビジュアル start ------------------------- */
.main-title-section {
  position: relative;
  width: 100%;
  height: 45%;  /* 画面全体の高さに設定 */
  overflow: hidden;
  background: repeating-linear-gradient(0deg, #dcdcdc, #dcdcdc 1px, transparent 1px, transparent 20px),
    repeating-linear-gradient(90deg, #dcdcdc, #dcdcdc 1px, transparent 1px, transparent 20px);  /* マス目の背景 */
  background-size: 20px 20px;  /* マス目の大きさ */
  padding: 50px 0;
  color: #333;
  border-top: 1px solid #d2d1d1;  /* 上の枠線 */
  border-bottom: 1px solid #d2d1d1;  /* 下の枠線 */
  box-shadow: 0 0px 10px rgba(0, 0, 0, 0.3);  /* ぼやっとした影 */
  margin-bottom: 8px;
}

/* 製品名のスタイル */
.product-title {
  text-align: center;
  font-size: 48px;
  font-weight: bold;
  color: #003366;  /* ネイビー */
  margin-bottom: 30px;
}

/* 製品情報セクション */
.product-info {
  display: flex;
  justify-content: center;  /* 画像とテキストを中央寄せ */
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-direction: row; /* デフォルトでは横並び */
}

/* 画像のスタイル */
.product-image {
  max-width: 50%;  /* 画像の幅を調整して中央寄せ */
  margin-left: 0;  /* 画像を中央寄せ */
}

.product-image img {
  width: 100%;  /* 画像の横幅を最大に */
  height: auto;
  border-radius: 8px;
}

/* 製品説明 */
.product-description {
  text-align: left;
  max-width: 600px;
}

/* 小見出し（catch-phrase）のスタイル */
.catch-phrase {
  font-size: 40px;
  color: #000; /* 文字色を黒に変更 */
  font-weight: bold;
  margin-bottom: 0px;
  position: relative;  /* アンダーラインの配置のためにrelativeにする */
  display: inline-block;  /* インラインブロックにしてアンダーラインを文字に合わせる */
  z-index: 1;  /* アンダーラインが文字の後ろに来るように調整 */
}

/* 水色のアンダーライン */
.catch-phrase::after {
  content: '';
  position: absolute;
  bottom: -2px;  /* 文字に少し被るように位置調整 */
  left: 0;
  width: 100%;
  height: 10px;  /* アンダーラインの太さ */
  background-color: #00bbff;  /* 水色 */
  z-index: -1;  /* 文字が前面に来るようにアンダーラインを後ろに配置 */
}

/* 製品説明 */
.product-explanation {
  font-size: 22px;
  color: #333;
  line-height: 1.5; /* 説明文の行間を広げて可読性を向上 */
}

/* ボタンのスタイル */
.action-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

/* ボタンのスタイル（共通） */
.trial-button, .csv-button {
  padding: 20px 40px;  /* ボタンのパディングを大きく */
  font-size: 30px;  /* フォントサイズを大きく */
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.trial-button:hover, .csv-button:hover {
  transform: translateY(-3px);
}

.trial-button--blue {
  background-color: #00bbff;
}

.csv-button--red {
  background-color: #e85a4f;
}

/* タブレット（最大幅 768px） */
@media (max-width: 768px) {
  .product-title {
    font-size: 40px;
  }

  .product-info {
    flex-direction: column;  /* 縦並び */
  }

  .catch-phrase {
    font-size: 28px;
  }

  .product-explanation {
    font-size: 18px;
  }

  .trial-button, .csv-button {
    font-size: 20px;
    padding: 14px 28px;
  }

  /* ボタンを縦並びにする */
  .action-buttons {
    flex-direction: column;
  }

  .product-image {
    max-width: 60%;  /* 画像を広く表示 */
  }
}

/* スマートフォン（最大幅 480px） */
@media (max-width: 480px) {
  .main-title-section {
    height: 45%;
  }
  .product-title {
    font-size: 28px;

  }

  .product-info {
    flex-direction: column;  /* 縦並びに変更 */
    gap: 20px;
  }

  .product-description {
    text-align: center;
  }

  .catch-phrase {
    font-size: 24px;
  }

  .product-explanation {
    font-size: 16px;
  }

  .trial-button, .csv-button {
    font-size: 18px;
    padding: 12px 24px;
  }

  /* ボタンを縦並びにする */
  .action-buttons {
    flex-direction: column;
  }

  .product-image {
    max-width: 90%;  /* 画像をより大きく表示 */
    margin: 0 auto;
  }
}
/* 850px 以下で縦並びにする */
@media (max-width: 850px) {
  .main-title-section {
    height: 50%;  /* 高さを調整して、上部に収める */
  }
  .product-info {
    flex-direction: column;  /* 縦並び */
    gap: 10px;  /* 少し隙間を狭く */
  }

  .product-image {
    max-width: 80%;  /* 画像を広く表示 */
  }

  .product-description {
    text-align: center;
  }
}


/*メインビジュアル end-------------------------*/

/******************************************お困りごとstart********************************************/
/* 画像のスタイル */
.images {
  display: flex;
  flex-direction: column;
  gap: 10px; /* 画像間のスペース */
  justify-content: center;
  align-items: center;
  /* 画像を中央に揃える */
}

.images img {
  width: 40%;
  max-width: 40%;
  height: auto;
  object-fit: cover;  /* 画像のアスペクト比を維持して収める */
  border-radius: 8px;
  /* 画像の丸み */
}

/* スマートフォン（最大幅 480px） */
@media (max-width: 480px) {
  .images img {
    width: 100%;
    max-width: 90%;  /* 画像の幅を90%に調整 */
  }
}

/* タブレット（最大幅 768px） */
@media (max-width: 768px) {
  .images img {
    width: 100%;
    max-width: 90%;  /* 画像の幅を80%に調整 */
  }
}

/* PC（最大幅 1024px） */
@media (max-width: 1024px) {
  .images img {
    width: 100%;
    max-width: 90%;  /* 画像の幅を70%に調整 */
  }
}

/* デスクトップ（最小幅 1025px） */
@media (min-width: 1025px) {
  .images img {
    width: 40%;
    max-width: 90%;  /* 画像の幅を60%に調整 */
  }
}
/******************************************お困りごとend********************************************/

/* 大きな文字列2段のセクション */
.kaiketsu-section {
  background: repeating-linear-gradient(0deg, #dcdcdc, #dcdcdc 1px, transparent 1px, transparent 20px),
    repeating-linear-gradient(90deg, #dcdcdc, #dcdcdc 1px, transparent 1px, transparent 20px);
  background-size: 20px 20px;
  padding: 50px 0;
  text-align: center;
  color: #333;
  border-top: 1px solid #d2d1d1;
  border-bottom: 1px solid #d2d1d1;
  box-shadow: 0 0px 10px rgba(0, 0, 0, 30);  /* ぼやっとした影 */
  margin-bottom: 8px;
}

.kaiketsu-section h2 {
  font-size: 48px;
  font-weight: bold;
}

.kaiketsu-section h3 {
  font-size: 36px;
  font-weight: normal;
}

/* 強調用のクラス */
.highlight-blue {
  color: rgb(0, 92, 197);  /* 青 */
}

.highlight-orange {
  color: orangered;  /* オレンジ色 */
}

.highlight-small {
  font-size: 30px;  /* 小さな文字のサイズ */
}

/* レスポンシブ対応 */
/* タブレット以上（768px〜1024px） */
@media (min-width: 768px) and (max-width: 1024px) {
  .kaiketsu-section {
    padding: 45px 0;  /* 上下の余白を調整 */
  }

  .kaiketsu-section h2 {
    font-size: 42px;  /* h2のフォントサイズを調整 */
  }

  .kaiketsu-section h3 {
    font-size: 32px;  /* h3のフォントサイズを調整 */
  }
  .highlight-blue {
    font-size: 42px;  /* 青の文字のフォントサイズを調整 */
  }
  .highlight-orange {
    font-size: 42px;  /* オレンジの文字のフォントサイズを調整 */
  }
}

/* スマートフォン（最大幅 480px） */
@media (max-width: 480px) {
  .kaiketsu-section {
    padding: 30px 0;  /* 上下の余白を少なく */
  }

  .kaiketsu-section h2 {
    font-size: 24px;  /* h2のフォントサイズを調整 */
  }

  .kaiketsu-section h3 {
    font-size: 18px;  /* h3のフォントサイズを調整 */
  }

  .highlight-orange {
    font-size: 16px;  /* オレンジの文字のフォントサイズを調整 */
  }
}

/* タブレット（最大幅 768px） */
@media (max-width: 768px) {
  .kaiketsu-section {
    padding: 40px 0;  /* 上下の余白を調整 */
  }

  .kaiketsu-section h2 {
    font-size: 30px;  /* h2のフォントサイズを調整 */
  }

  .kaiketsu-section h3 {
    font-size: 30px;  /* h3のフォントサイズを調整 */
  }
  .highlight-blue {
    font-size: 30px;  /* 青の文字のフォントサイズを調整 */
  }
  .highlight-orange {
    font-size: 30px;  /* オレンジの文字のフォントサイズを調整 */
  }
  .highlight-small{
    font-size: 18px;
  }
}

/******************************************解決end********************************************/

/******************************************紹介start********************************************/

/* セクション全体 */
.content-section {
  padding: 40px 20px;
  background-color: #f4f4f4;
}

/* 小見出しのスタイル */
.section-subtitle {
  background-color: #003366;
  /* ネイビー */
  color: #fff;
  /* 白文字 */
  padding: 15px;
  text-align: center;
  /* 中央寄せ */
  font-size: 24px;
  margin-bottom: 20px;
  border-radius: 5px;
  width: fit-content;
  /* 文字サイズに合わせて幅を自動調整 */
  margin-left: 20%;

}

/* 画像の中央寄せ */
.image-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.image-container img {
  max-width: 100%;
  height: auto;
  width: 60%;
  /* 画像の横幅を調整 */
  border-radius: 8px;
}

/* 画像の中央寄せ */
.image-container2 {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.image-container2 img {
  max-width: 70%;
  height: auto;
  width: 50%;
  /* 画像の横幅を調整 */
  border-radius: 8px;
}


/* 説明のスタイル */
.description {
  font-size: 20px;
  color: #333;
  text-align: left;
  max-width: 60%;
  margin: 0 auto;
}
/* レスポンシブ対応 */
/* スマートフォン（最大幅 480px） */
@media (max-width: 480px) {
  .content-section {
    padding: 20px 10px; /* 上下の余白を調整 */
  }

  .section-subtitle {
    font-size: 18px;  /* 小見出しのフォントサイズを調整 */
  }

  .image-container img {
    width: 80%;  /* 画像の幅を80%に調整 */
  }

  .description {
    font-size: 14px;  /* 説明文のフォントサイズを少し小さく */
    max-width: 90%;  /* 説明文の幅を広げる */
  }
}

/* タブレット（最大幅 768px） */
@media (max-width: 768px) {
  .content-section {
    padding: 30px 15px;  /* 上下の余白を調整 */
  }

  .section-subtitle {
    font-size: 20px;  /* 小見出しのフォントサイズを調整 */
  }

  .image-container img {
    width: 70%;  /* 画像の幅を70%に調整 */
  }

  .description {
    font-size: 15px;  /* 説明文のフォントサイズを調整 */
    max-width: 75%;  /* 説明文の幅を調整 */
  }
}

/* PC（最大幅 1024px） */
@media (max-width: 1024px) {
  .content-section {
    padding: 40px 20px;  /* 上下の余白をデフォルトに戻す */
  }

  .section-subtitle {
    margin-left: 10%;
    font-size: 22px;  /* 小見出しのフォントサイズを調整 */
  }

  .image-container img {
    width: 65%;  /* 画像の幅を65%に調整 */
  }

}

/* デスクトップ（最小幅 1025px） */
@media (min-width: 1025px) {
  .section-subtitle {
    font-size: 24px;  /* 小見出しのフォントサイズをデフォルトに戻す */
  }

  .image-container img {
    width: 60%;  /* 画像の幅をデフォルトに戻す */
  }

  .description {
    max-width: 60%;  /* 説明文の幅をデフォルトに戻す */
  }
}
/******************************************紹介end********************************************/

/******************************************料金start********************************************/
/* 料金セクション */
.pricing-section {
  background: repeating-linear-gradient(0deg, #dcdcdc, #dcdcdc 1px, transparent 1px, transparent 20px),
    repeating-linear-gradient(90deg, #dcdcdc, #dcdcdc 1px, transparent 1px, transparent 20px);
  background-size: 20px 20px;
  /* マス目の大きさ */
  padding: 50px 0;
  text-align: center;
  color: #333;
  border-top: 1px solid #d2d1d1;
  /* 上の枠線 */
  border-bottom: 1px solid #d2d1d1;
  /* 下の枠線 */
  box-shadow: 0 0px 10px rgba(0, 0, 0, 30);
  /* ぼやっとした影 */
  margin-bottom: 8px
}

/* 説明文 */
.pricing-description {
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-amount {
  position: relative; /* 子要素を絶対配置できるようにする */
  border-top: 1px solid #d2d1d1;
  /* 上の枠線 */
  border-bottom: 1px solid #d2d1d1;
  /* 下の枠線 */
  box-shadow: 0 0px 10px rgba(0, 0, 0, 30);
  /* ぼやっとした影 */
  background-color: #ffffff;
  /* 背景色 */
  padding: 20px;
  /* 内側の余白 */
  padding-bottom: 0px;
  /* 下の余白を少し削る */
  border-radius: 8px;
  /* 角を丸く */
  display: block;
  /* ブロック要素にして中央寄せ */
  width: fit-content;
  /* 内容に合わせて幅を調整 */
  margin: 0 auto;
  /* 横方向に中央寄せ */
  text-align: center;
  /* テキスト中央寄せ */
  margin-top: 30px;
}
.pricing-badge {
  position: absolute;
  top: -40px;   /* 上に少しかぶせる */
  right: -50px; /* 右に少しはみ出す */
  width: 40%;  /* 画像サイズ調整 */
  height: auto;
  z-index: 2;   /* 枠線より上に表示 */
}

.amount {
  font-size: 36px;
  font-weight: bold;
  color: #003366;
  /* ネイビー */
  margin-bottom: 20px;
  text-align: center;
  width: 500px;
  /* 画面中央に配置 */
  margin: 20px auto;
  /* 横方向に中央寄せ */
}

.pricing-amount h5 {
  text-align: right;

}

/* ボタンのスタイル */
.contact-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.contact-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.contact-button:hover {
  transform: translateY(-3px);
}

.contact-button--blue {
  background-color: #00bbff;
}

.contact-button--red {
  background-color: #e85a4f;
}
/* レスポンシブ対応 */
/* スマートフォン（最大幅 480px） */
@media (max-width: 480px) {
  .pricing-description {
    font-size: 14px;  /* 説明文のフォントサイズを小さく */
  }

  .pricing-amount {
    width: 90%;  /* 幅を90%にして、スマートフォンでも収まるようにする */
    padding: 15px;
  }

  .amount {
    font-size: 24px;  /* 金額のフォントサイズを小さく */
    width: 80%;  /* 幅を調整 */
  }

  .contact-buttons {
    gap: 15px;  /* ボタンの間隔を小さく */
    flex-direction: column;  /* ボタンを縦に並べる */
    align-items: center;  /* ボタンを中央寄せ */
    font-size: small;
  }

  .contact-button {
    padding: 12px 25px;  /* ボタンのサイズを調整 */
    width: 100%;  /* ボタンの幅を100%にする */
  }
  .pricing-badge {
    width: 60%;     /* スマホ用に大きく */
    top: -20px;
    right: -20px;
  }
  
}

/* タブレット（最大幅 768px） */
@media (max-width: 768px) {
  .pricing-description {
    font-size: 15px;  /* 説明文のフォントサイズを少し小さく */
  }

  .pricing-amount {
    width: 80%;  /* 幅を80%にしてタブレット向けに調整 */
    padding: 20px;
  }

  .amount {
    font-size: 30px;  /* 金額のフォントサイズを少し大きく */
    width: 70%;  /* 幅を調整 */
  }

  .contact-buttons {
    gap: 20px;  /* ボタンの間隔を調整 */
    flex-direction: column;  /* ボタンを縦に並べる */
    align-items: center;  /* ボタンを中央寄せ */
  }

  .contact-button {
    padding: 14px 28px;  /* ボタンのサイズを調整 */
    width: 100%;  /* ボタンの幅を100%にする */
  }
  .pricing-badge {
    width: 50%;     /* さらに大きめに */
    top: -30px;
    right: -30px;
  }
}

/* PC（最大幅 1024px） */
@media (max-width: 1024px) {
  .pricing-description {
    font-size: 16px;  /* 説明文のフォントサイズを調整 */
  }

  .pricing-amount {
    width: 70%;  /* 幅を70%にして調整 */
    padding: 25px;
  }

  .amount {
    font-size: 32px;  /* 金額のフォントサイズを調整 */
    width: 60%;  /* 幅を調整 */
  }

  .contact-buttons {
    gap: 25px;  /* ボタンの間隔を調整 */
    flex-direction: column;  /* ボタンを縦に並べる */
    align-items: center;  /* ボタンを中央寄せ */
  }

  .contact-button {
    padding: 15px 30px;  /* ボタンのサイズを調整 */
    width: 40%;  /* ボタンの幅を100%にする */
  }
  .pricing-badge {
    width: 40%;     /* 少し大きめに */
    top: -55px;     /* 位置を調整 */
    right: -40px;
  }
}

/* 590px 以下でボタンを縦並びにする */
@media (max-width: 590px) {
  .contact-buttons {
    flex-direction: column;  /* ボタンを縦に並べる */
    gap: 15px;  /* ボタンの間隔を小さく */
    align-items: center;  /* ボタンを中央寄せ */
  }

  .contact-button {
    width: 40%;  /* ボタンの幅を100%にして縦並びに合わせる */
    padding: 12px 25px;  /* ボタンのサイズを調整 */
  }
}


/******************************************料金end********************************************/

/******************************************* ステップstart *****************************************/
/* 簡単評価セクション */
.evaluation-steps {
  padding: 40px 20px;
  background-color: #f4f4f4;
  /* 背景色 */
  text-align: center;
}

/* 説明文 */
.evaluation-description {
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
  max-width: 800px;
  margin: 0 auto;
}

/* コンテンツセクション */
.content {
  margin-bottom: 20px;
  position: relative;
  /* 閉じるボタンの絶対配置を可能にする */
}

.contnt-setsumei {
  text-align: center;
}

/* トグルボタンのスタイル */
.toggle-btn1 {
  background-color: #048dba;
  /* 水色 */
  width: 100%;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 50px;
  /* 楕円形にする */
  cursor: pointer;
  font-size: 30px;
  transition: background-color 0.3s;
}

.toggle-btn1:hover {
  background-color: #048dba;
  /* ホバー時に色を変える */
}

.toggle-btn2 {
  background-color: #0c4f65;
  /* 水色 */
  width: 100%;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 50px;
  /* 楕円形にする */
  cursor: pointer;
  font-size: 30px;
  transition: background-color 0.3s;
}

.toggle-btn2:hover {
  background-color: #0c4f65;
  /* ホバー時に色を変える */
}

/* コンテンツの詳細部分 */
.content-body {
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #d2d1d1;
  border-radius: 8px;
  text-align: left;
  margin-bottom: 40px;
  /* 下に余白を追加して、閉じるボタンが重ならないように */
}

/* 小見出し（content-subtitle）のスタイル */
.content-subtitle {
  background-color: #003366;
  /* ネイビー */
  color: #fff;
  /* 白文字 */
  padding: 10px;
  font-size: 30px;
  text-align: center;
  width: 200px;
  /* 文字数に合わせた幅 */
  margin-left: 20%;
  /* 左寄せ */
  margin-bottom: 15px;
  border-radius: 5px;
}

.content-subtitle2 {
  background-color: #003366;
  /* ネイビー */
  color: #fff;
  /* 白文字 */
  padding: 10px;
  font-size: 30px;
  text-align: center;
  width: fit-content;
  /* 文字数に合わせた幅 */
  margin-left: 20%;
  /* 左寄せ */
  margin-bottom: 15px;
  border-radius: 5px;
}

/* 画像コンテンツのスタイル */
.image-content {
  display: flex;
  justify-content: center;
  /* 画像を中央に配置 */
  margin-bottom: 20px;
  /* 画像の下に余白を追加 */
}

.image-content img {
  max-width: 100%;
  /* 画像の横幅を最大に */
  height: auto;
  /* アスペクト比を保ちながら表示 */
  border-radius: 8px;
  /* 画像に丸みを付ける */
}

/* 閉じるボタンのスタイル */
.close-btn1 {
  background-color: #048dba;
  /* 水色 */
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  position: absolute;
  /* 絶対位置で配置 */
  bottom: -15px;
  /* コンテンツの下部にボーダーラインに合わせて配置 */
  left: 50%;
  /* 横方向に中央寄せ */
  transform: translateX(-50%);
  /* ボタンを中央に配置 */
  width: 100%;
  /* 幅を100%にする */
  font-size: large;
}

.close-btn1:hover {
  background-color: #048dba;
  /* ホバー時に色を変える */
}

.close-btn2 {
  background-color: #0c4f65;
  /* 水色 */
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  position: absolute;
  /* 絶対位置で配置 */
  bottom: -15px;
  /* コンテンツの下部にボーダーラインに合わせて配置 */
  left: 50%;
  /* 横方向に中央寄せ */
  transform: translateX(-50%);
  /* ボタンを中央に配置 */
  width: 100%;
  /* 幅を100%にする */
  font-size: large;
}

.close-btn2:hover {
  background-color: #0c4f65;
  /* ホバー時に色を変える */
}

/* 開いた時にコンテンツを表示 */
.content.open .content-body {
  display: block;
}
/* レスポンシブ対応 */

/* スマートフォン（最大幅 480px） */
@media (max-width: 480px) {
  .evaluation-description {
    font-size: 14px !important;  /* 説明文のフォントサイズを調整 */
  }

  .content-subtitle {
    font-size: 18px !important;  /* 小見出しのフォントサイズを調整 */
    margin-left: 10%;  /* 左寄せを調整 */
    width: 80%;  /* 幅を80%に */
  }

  .image-content img {
    width: 90%;  /* 画像の幅を90%に */
  }

  .toggle-btn1, .toggle-btn2 {
    font-size: 18px !important;  /* トグルボタンのフォントサイズを調整 */
    padding: 8px 16px;  /* ボタンのパディングを調整 */
  }

  .close-btn1, .close-btn2 {
    font-size: 16px !important;  /* 閉じるボタンのフォントサイズを調整 */
  }
}

/* タブレット（最大幅 768px） */
@media (max-width: 768px) {
  .evaluation-description {
    font-size: 15px;  /* 説明文のフォントサイズを少し小さく */
  }

  .content-subtitle {
    font-size: 20px;  /* 小見出しのフォントサイズを調整 */
    width: 75%;  /* 幅を75%に */
    margin-left: 15%;  /* 左寄せを調整 */
  }

  .image-content img {
    width: 75%;  /* 画像の幅を75%に調整 */
  }

  .toggle-btn1, .toggle-btn2 {
    font-size: 22px;  /* トグルボタンのフォントサイズを調整 */
    padding: 10px 20px;  /* ボタンのパディングを調整 */
  }

  .close-btn1, .close-btn2 {
    font-size: 18px;  /* 閉じるボタンのフォントサイズを調整 */
  }
}

/* PC（最大幅 1024px） */
@media (max-width: 1024px) {
  .evaluation-description {
    font-size: 16px;  /* 説明文のフォントサイズを調整 */
  }

  .content-subtitle {
    font-size: 22px;  /* 小見出しのフォントサイズを調整 */
    width: 60%;  /* 幅を60%に */
    margin-left: 20%;  /* 左寄せを調整 */
  }

  .image-content img {
    width: 70%;  /* 画像の幅を70%に調整 */
  }

  .toggle-btn1, .toggle-btn2 {
    font-size: 25px;  /* トグルボタンのフォントサイズを調整 */
    padding: 12px 24px;  /* ボタンのパディングを調整 */
  }

  .close-btn1, .close-btn2 {
    font-size: 20px;  /* 閉じるボタンのフォントサイズを調整 */
  }
}

/* デスクトップ（最小幅 1025px） */
@media (min-width: 1025px) {
  .evaluation-description {
    font-size: 16px;  /* 説明文のフォントサイズを調整 */
  }

  .content-subtitle {
    font-size: 24px;  /* 小見出しのフォントサイズをデフォルトに戻す */
    width: fit-content;  /* 幅を自動調整 */
    margin-left: 20%;  /* 左寄せをデフォルトに戻す */
  }

  .image-content img {
    width: 60%;  /* 画像の幅を60%に戻す */
  }

  .toggle-btn1, .toggle-btn2 {
    font-size: 30px;  /* トグルボタンのフォントサイズをデフォルトに戻す */
    padding: 15px 30px;  /* ボタンのパディングを調整 */
  }

  .close-btn1, .close-btn2 {
    font-size: 22px;  /* 閉じるボタンのフォントサイズを調整 */
  }
}
/******************************************* ステップend *****************************************/

/******************************************* QAstart *****************************************/
/* セクション全体 */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
  background: #fff;
  text-align: center;
  /* これを追加！ */
}

/* タイトル */
.faq-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.faq-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background: #deb83f;
  /* 黄色下線 */
  margin: 8px auto 0;
  border-radius: 2px;
}

/* FAQ アイテム */
.faq-item {
  display: flex;
  align-items: flex-start;
  /* 上揃えでOK */
  margin-bottom: 20px;
}

/* Q/A アイコン */
.faq-icon {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  text-align: center;
  line-height: 40px;
  font-weight: bold;
  margin-right: 15px;
  font-size: 1rem;
}

/* Qの色 */
.faq-icon--q {
  background-color: #048dba;
  /* 緑系 */
}

/* Aの色 */
.faq-icon--a {
  background-color: #e85a4f;
  /* 黄色系 */
}

/* 質問・回答テキスト */
.faq-text {
  text-align: left;
  flex: 1;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/******************************************* QAend *****************************************/

/******************************************* フッターstart *****************************************/
/* フッターのスタイル */
.footer {
  background-color: #ffd500fb;
  /* ネイビー系の背景色 */
  color: #fff;
  /* 文字色は白 */
  padding: 20px;
}

/* フッターのコンテナ */
.footer-container {
  display: flex;
  justify-content: space-between;
  /* 左右に分ける */
  align-items: flex-start;
  max-width: 1600px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* 左側（ロゴと会社情報） */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  width: 40%;
  /* 左側の幅 */
}

.company-logo img {
  width: 150px;
  height: auto;
  transition: opacity 0.3s;
}

.company-logo:hover img {
  opacity: 0.8;
}

.company-info {
  font-size: 1.0rem;
  color: #fff;
  font-weight: bold;
}

/* 右側（ボタンとメニュー） */
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 60px;
  width: 25%;
  /* 右側の幅 */
  justify-content: flex-start;
  /* 左寄せ */
  margin-left: auto;
  /* 右寄せ */
}

.footer-buttons {
  display: flex;
  flex-direction: column;
  /* 縦並び */
  gap: 16px;
  margin-bottom: 20px;
}

.footer-menu-buttons {
  display: flex;
  gap: 16px;
  margin-top: 50px;
  margin-bottom: -30px;
  min-width: 300px;
}

.footer-buttons {
  padding: 12px 24px;
  font-size: 1rem;
  background-color: #fff;
  color: #2c3e50;
  /* ネイビーに合う文字色 */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.footer-buttons:hover {
  background-color: #f76c5e;
  /* ホバー時に色を変える */
  color: #fff;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-menu li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.footer-menu li a:hover {
  color: #f76c5e;
  /* ホバー時にオレンジ色に */
}

/* レスポンシブ対応 */
@media screen and (max-width: 1158px) and (min-width: 769px) {
  .footer-container {
    justify-content: space-between;
    max-width: 100%;
    /* 最大幅を100%にする */
    width: 100%;
    /* 幅を100%にして右側の空白を防ぐ */
  }

  .footer-left,
  .footer-right {
    width: 50%;
    /* 幅を50%ずつにして均等に分ける */
  }

  /* 右側のボタンとメニューのサイズ調整 */
  .footer-right {
    margin-left: 0;
    /* 右寄せを解除 */
  }
}

/* モバイルサイズ調整 */
@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    /* 中央寄せ */
    padding: 20px;
  }

  .footer-left,
  .footer-right {
    width: 100%;
    align-items: center;
  }

  .footer-buttons {
    flex-direction: row;
    /* 横並びに変更 */
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
  }

  .footer-menu-buttons {
    flex-direction: row;
    /* 横並びに変更 */
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
  }
}

/******************************************* フッターend *****************************************/

/* モーダルの基本スタイル（初期は非表示） */
.modal {
  display: none; /* 初期状態は非表示 */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

/* モーダルが開いたときに適用するクラス */
.modal.open {
  display: flex; /* ブロック表示ではなくフレックス表示に */
  justify-content: center; /* 横方向中央 */
  align-items: center;     /* 縦方向中央 */
}

/* モーダル内の画像 */
.modal-content {
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

/* 閉じるボタン */
.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #f76c5e;
  text-decoration: none;
  cursor: pointer;
}

@media print {
  nav, 
  .navigation, 
  .menu, 
  .header, 
  .sidebar {
    display: none !important;
  }
}