/* Layout tweaks for services list */
ul {
  margin: 0 0 1rem 1.2rem;
  padding-left: 1.2rem;
}

/* Price-specific styles: target only elements with explicit classes to avoid
   affecting other pages. */
li.price-item {
  list-style: none;
  margin-top: 0.25rem;
  padding-left: 0;
}

li.price-item h6 {
  margin: 0;
  font-size: 25px;
  font-weight: 700;
}

.price-amount {
  margin: 0;
  font-size: 18px;
  display: block;
}

/* Optional: slightly reduce default li spacing */
ul>li {
  margin-bottom: 0.35rem;
}

/* 全体設定 */
body {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  /* 本文用フォント */
  margin: 0;
  padding: 0;
  line-height: 1.5;
  color: #333;
  background-color: #EF944A;
  /* 背景色 */
}

h1 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  /* 見出し用フォント */
  font-size: 2em;
  color: #FFFF;
  margin-bottom: 20px;
  text-align: center;
}

h2 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  /* 見出し用フォント */
  font-size: 2em;
  color: #EF944A;
  margin-bottom: 20px;
  text-align: center;
}

h3 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  /* 見出し用フォント */
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 20px;
  text-align: center;
}

h4 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  /* 見出し用フォント */
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
  text-align: left;
  margin-left: 5%;
}

h5 {
  font-size: 1em;
  color: #000000;
  margin-bottom: 20px;
  text-align: left;
  margin-left: 5%;
}

h6 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  /* 見出し用フォント */
  font-size: 2em;
  color: #000000;
  margin-bottom: 10px;
  text-align: left;
}

hr {
  border: 1px solid #000000;
  width: '100%',
}

/* コンテナ */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  /* 中央揃え */
  display: contents;
  /* 要素を保持しつつ、コンテンツのみを扱うように追加*/
}

/* メニュー部 */
.menu {
  position: fixed;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  padding: 10px 20px;
  border-radius: 8px;
  z-index: 1000;
}

.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.menu li {
  display: inline;
}

.menu a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.menu a:hover {
  color: #EF944A;
}

@media screen and (max-width: 768px) {
  .menu {
    display: none;
    /* スマホ画面サイズではメニューバーを非表示にする */
  }
}

/* ヒーローセクション */
.hero {
  display: flex;
  /* 左右に分割 */
  justify-content: space-between;
  /* 左右のスペースを均等に */
  align-items: center;
  /* 垂直方向で中央揃え */
  /*background: #EF944A;*/
  background-image: url("image/background.png");
  color: #fff;
  padding: 20px 60px;
  /* 上下左右に余白 */
  flex-wrap: wrap;
  /* ロゴの調整用 */
}

.hero-left .logo {
  position: absolute;
  /* ロゴを絶対位置で配置 */
  top: 10px;
  /* 左上から10pxの余白 */
  left: 10px;
  /* 左上から10pxの余白 */
  width: 150px;
  /* ロゴの幅を固定 */
}

.hero-left h1 {
  margin-top: 30px;
  /* ロゴとのスペースを確保 */
  font-size: 3em;
  background: #EF944A;
  display: inline-block;
}

.hero-left p {
  font-size: 1.2em;
  margin-top: 0px;
  background: #EF944A;
  color: white;
  display: inline-block;
}

.hero-left .cta-button {
  display: inline-block;
  margin-top: 20px;
  background: #C55A11;
  color: #fff;
  padding: 20px 30px;
  border: black;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  border: 2px solid #333;
}

.hero-right {
  /*width: 50%; /* 右側を50%の幅で占有 */
  text-align: right;
  /* 右寄せ */
  margin-right: 3%;
}

.hero-right .top_img {
  width: 100%;
  /* 親要素内で最大幅 */
  max-width: 600px;
  /* 最大幅を調整 */
  height: auto;
  /* アスペクト比を保持 */
  border-radius: 10px;
  /* 画像の角を丸くする */
}

/* デモ動画セクション */
.demo {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  /* 小さい画面で折り返し対応 */
  align-items: center;
  gap: 20px;
  background: #FFFFFF;
  /* しろ */
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  padding: 40px 20px;
}

@media screen and (max-width: 768px) {
  .demo {
    flex-direction: column;
    /* 縦に並べる */
    align-items: center;
    /* 中央揃え */
    padding: 5px 5px;
    /* 余白を3分の1に調整 */
  }
}

.demo-left {
  flex: 1;
  /* max-width: 50%; /* 左の比率を調整 */
  text-align: center;
  /* テキストを中央 */
  margin-left: 5%;
}

.demo-left .cta-button {
  display: inline-block;
  margin-top: 20px;
  background: #ECBE46;
  color: #fff;
  padding: 20px 30px;
  border: black;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  border: 2px solid #333;
}

.demo-left .cta-button:hover {
  background: #e03e00;
}

/*本当はここはロゴにしたい*/
.demo-left h2 {
  font-size: 2em;
  color: #EF944A;
  margin-bottom: 15px;
}

.demo-left p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.demo-right {
  flex: 1;
  /*max-width: 50%;*/
  text-align: center;
}

.demo-right iframe {
  width: 100%;
  /* 動画の幅を親要素に合わせる */
  aspect-ratio: 16 / 9;
  /* アスペクト比を16:9に設定 */
  border-radius: 8px;
  /* 動画の角を丸く */
  border: 1px solid #ddd;
  /* 輪郭線を追加（オプション） */
  margin-right: 5%;
}

.demo-left .cta-button1 {
  display: inline-block;
  margin-top: 20px;
  background: #EF944A;
  color: #fff;
  padding: 20px 30px;
  border: black;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  border: 2px solid #333;
}

.demo-left .cta-button1:hover {
  background: #e03e00;
}

@media screen and (max-width: 768px) {

  .demo-left,
  .demo-right {
    margin: 5px 5px;
    /* スマホ表示時の余白を設定 */
  }
}

/* お知らせセクション */
.news-section {
  background: #FFFFFF;
  /*しろ*/
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  border-top-left-radius: 40px;
  padding: 40px 20px;
}

.news-section h2 {
  font-size: 2em;
  color: #EF944A;
  margin-bottom: 20px;
  text-align: center;
}

.news-section ul {
  list-style: none;
  padding: 0;
  text-align: left;
  /* 左揃えでリストを表示 */
  margin-left: 10%;
  /* 左に10%の余白 */
  margin-right: 10%;
  /* 右に10%の余白 */
}

.news-section li {
  margin-bottom: 10px;
  padding: 10px;
  background: #f4f4f4;
  border-radius: 5px;
}



/* アプリケーション効果 */
.effect-section {
  background: #FFFFFF;
  border-top-right-radius: 40px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  border-top-left-radius: 40px;
  padding: 40px 20px;
}

.effect-cards {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: #FFFFFF;
  padding: 40px 20px;
}

.card {
  flex: 1;
  max-width: 300px;
  height: auto;
  /* アスペクト比を保持 */
  background: #fff;
  text-align: center;
  margin: 0 auto;
  /* カード全体を中央揃え */
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card img {
  margin-bottom: 15px;
  width: 100%;
  height: auto;
  /* アスペクト比を保持 */
  border-radius: 5px;
}

@media screen and (max-width: 768px) {
  .effect-cards {
    flex-direction: column;
    /* 縦に並べる */
    align-items: center;
    /* 中央揃え */
  }

  .card {
    max-width: 100%;
    /* スマホ画面でカード幅を調整 */
  }
}

/* 利用イメージ */
.use-section {
  background: #FFFFFF;
  padding: 40px 20px;
  border-top-right-radius: 40px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  border-top-left-radius: 40px;
}

.use-cards {
  display: flex;
  max-width: 800px;
  height: auto;
  /* アスペクト比を保持 */
  margin: auto;
  overflow-x: auto;
}

.use-cards li {
  width: 90%;
  height: auto;
  /* アスペクト比を保持 */
  padding: 8px;
  margin: 3px;
  flex-shrink: 0;
  list-style: none;
}

.use-cards img {
  width: 100%;
  height: auto;
  /* アスペクト比を保持 */
  /*max-height: 00px;*/
  object-fit: cover;
}

.use-cards::-webkit-scrollbar {
  height: 12px;
  /* スクロールバーの高さ */
}

.use-cards::-webkit-scrollbar-thumb {
  background: #aaa;
  /* ツマミの色 */
  border-radius: 6px;
  /* ツマミ両端の丸み */
}

.use-cards::-webkit-scrollbar-track {
  background: #ddd;
  /* トラックの色 */
  border-radius: 6px;
  /* トラック両端の丸み */
}

/* セキュリティセクション */
.security-section {
  display: flex;
  /*justify-content: space-between; */
  flex-wrap: wrap;
  /* 小さい画面で折り返し対応 */
  /*align-items: center;*/
  /*gap: 20px;*/
  background: #f4f4f4;
  padding: 40px 20px;
  border-top-right-radius: 40px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  border-top-left-radius: 40px;
}

.security-section-left {
  flex: 1;
  /*max-width: 50%; 左の比率を調整 */
  /*text-align: center;*/
  margin-left: 5%;
}

.security-section-left h2 {
  font-size: 2em;
  color: #EF944A;
  /*margin-bottom: 15px;*/

}

.security-section-right {
  flex: 1;
  /*max-width: 50%; */
  text-align: center;
}

.security-section-right img {
  /*margin-top: 20px;*/
  text-align: center;
  max-width: 20%;
}

/* 使い方 */
.method-section {
  background: #FFFFFF;
  padding: 40px 20px;
  border-top-right-radius: 40px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  border-top-left-radius: 40px;
}

.method-cards {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: #FFFFFF;
  padding: 40px 20px;
}

.card {
  flex: 1;
  max-width: 300px;
  background: #fff;
  text-align: center;
  margin: 0 auto;
  /* カード全体を中央揃え */
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card img {
  margin-bottom: 15px;
  width: 100%;
  border-radius: 5px;
}

.cta-button2 {
  margin-top: 20px;
  background: #EF944A;
  color: #FFFFFF;
  padding: 20px 30px;
  width: 15em;
  border: black;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  border: 2px solid #333;
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.cta-button2:hover {
  background: #e03e00;
}

.testimonials-section {
  background: #FFFFFF;
  padding: 40px 20px;
  border-top-right-radius: 40px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  border-top-left-radius: 40px;
}

.testimonials-card {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  margin-left: 10%;
  margin-right: 10%;
}

.testimonials-card img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
}

.testimonials-card p {
  margin: 0;
  text-align: left;
}

@media screen and (max-width: 768px) {
  .method-cards {
    flex-direction: column;
    /* 縦に並べる */
    align-items: center;
    /* 中央揃え */
  }

  .testimonials-card {
    flex-direction: column;
    /* 縦に並べる */
    text-align: center;
    /* テキストを中央揃え */
  }

  .testimonials-card img {
    margin-bottom: 15px;
    /* 画像とテキストの間に余白を追加 */
  }
}

/*FAQセクション */
.faq-section {
  background: #FFFFFF;
  /*しろ*/
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  border-top-left-radius: 40px;
  padding: 40px 20px;
}

.faq-section h2 {
  font-size: 2em;
  color: #EF944A;
  margin-bottom: 20px;
  text-align: center;
}

.faq-section ul {
  list-style: none;
  padding: 0;
  text-align: left;
  /* 左揃えでリストを表示 */
}

.faq-section li {
  margin-bottom: 10px;
  padding: 10px;
  background: #f4f4f4;
  border-radius: 5px;
}

/*アコーディオンの矢印消す*/
/* Chrome、Safari以外 */
summary {
  display: block;
}

/* Chrome、Safari */
summary::-webkit-details-marker {
  display: none;
}

/* お問い合わせフォーム */
.contact-section {
  background: #FFFFFF;
  /*しろ*/
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  border-top-left-radius: 40px;
  padding: 40px 20px;
}

.contact-section form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  /* テキストを左揃え */
}

.contact-section input,
.contact-section textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.submit-button {
  display: block;
  width: 100%;
  background: #ff4500;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.submit-button:hover {
  background: #e03e00;
}
