body {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ======================================================
   資料ダウンロードページ (page-whitepaper.php) 用スタイル
====================================================== */

/* 全体コンテナ */
.p-contact {
  padding: 80px 0;
  background-color: #fff;
  /* 薄い青背景で清潔感を出す */
  margin: 1.5rem;
}

.p-contact .l-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* レイアウト：PCでは横並び、スマホでは縦並び */
.p-contact__inner {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

@media (max-width: 960px) {
  .p-contact__inner {
    flex-direction: column;
    gap: 40px;
  }
}

/* 左側：コンテンツエリア */
.p-contact__content {
  flex: 1;
}

.p-contact__content__block__image {
  margin-bottom: 30px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.p-contact__content__block__image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* コンテナ：左の青い線と文字の間の距離を調整 */
.p-contact__content__block__information {
  background: #fff;
  padding: 0 24px;
  /* 右側は24px、左側は下で個別に調整するため一旦キープ */
  border-radius: 0;
  border: none;
  border-left: 6px solid #020663;
  margin-bottom: 30px;
}

/* タイトルの左余白を確保 */
.p-contact__content__block__information__title {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
  padding: 15px 0 10px 10px;
  /* 左に10px余白を追加して線から離す */
  color: #333;
}

/* リスト全体の余白リセットと左位置調整 */
.p-contact__content__block__information__list ul {
  list-style: none;
  padding: 0 0 15px 10px;
  /* 左側に10pxの余白を持たせてコンテナ内に収める */
  margin: 0;
}

/* 各リスト項目 */
.p-contact__content__block__information__list li {
  position: relative;
  padding-left: 25px;
  /* チェックマークを表示するためのスペース */
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.5;
  color: #444;
  /* 文字がコンテナを突き抜けないようにする */
  word-break: break-all;
}

/* チェックマークの位置固定 */
.p-contact__content__block__information__list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  /* liのpadding-left(25px)の範囲内の左端に配置される */
  top: 0;
  color: #020663;
  font-weight: bold;
}

/* 右側：フォームエリア */
.p-contact__form {
  width: 480px;
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: -5px 10px 50px -5px rgba(0, 0, 0, 0.35);
}

@media (max-width: 960px) {
  .p-contact__form {
    width: 100%;
  }
}

.p-contact__form__block {
  margin-bottom: 25px;
}

.p-contact__form__block__title {
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 8px;
  display: block;
}

.p-contact__form__block__title.is-required::after {
  content: "必須";
  background: #ff4d4f;
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

/* 入力要素のスタイル */
.p-contact__form input[type="text"],
.p-contact__form input[type="email"],
.p-contact__form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  background: #fdfdfd;
  transition: border-color 0.3s;
}

.p-contact__form input:focus,
.p-contact__form textarea:focus {
  outline: none;
  border-color: #020663;
  background: #fff;
}

.p-contact__form__block__input__wrapper {
  display: flex;
  gap: 10px;
}

.p-contact__form textarea {
  height: 120px;
}

/* 同意チェックボックス */
.p-contact__form__agree {
  text-align: center;
  margin: 30px 0;
  padding: 20px;
  background: #f0f4f9;
  border-radius: 8px;
}

.p-contact__form__agree__text {
  font-size: 13px;
  margin-bottom: 10px;
}

.p-contact__form__agree__input label {
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
}

/* 送信ボタン */
.p-contact__form__button button {
  width: 100%;
  padding: 20px;
  background: #020663;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

.p-contact__form__button button:hover {
  background: #003d99;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 61, 153, 0.2);
}

.p-contact__form__button.is-disable button {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ページタイトル・パンくず（簡易） */
.p-pageTitle {
  background: #e2f2fb;
  color: #007bc7;
  padding: 60px 0;
  text-align: center;
}

.p-pageTitle__titleBox__title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
}


/* ======================================================
   お問い合わせページ独自のテキストボックス 
====================================================== */

.p-contact__content__block__textBox {
  margin-bottom: 40px;
}

.p-contact__content__block__textBox__title {
  font-size: 28px;
  /* 資料請求時より少し大きく、訴求力を強める */
  font-weight: bold;
  color: #007bc7;
  line-height: 1.4;
  margin-bottom: 15px;
}

.p-contact__content__block__textBox__text {
  font-size: 16px;
  line-height: 1.8;
  color: #007bc7;
}

/* ======================================================
   サンクスページ (p-thanks) 用スタイル
====================================================== */

/* 1. 全体コンテナ：中央寄せと大きな余白 */
.p-thanks {
  padding: 100px 0;
  background-color: #fcfcfc;
  text-align: center;
  /* コンテンツをすべて中央寄せ */
}

.p-thanks .l-container {
  max-width: 800px;
  /* 内容が少ないので少し絞る */
  margin: 0 auto;
  padding: 0 20px;
}

/* 2. タイトル：大きく、信頼感のある色 */
.p-thanks__content__title {
  font-size: 32px;
  font-weight: bold;
  color: #007bc7;
  /* フォームと共通のアクセントカラー */
  line-height: 1.4;
  margin-bottom: 40px;
}

/* 3. 本文：読みやすさを重視 */
.p-thanks__content__text {
  font-size: 16px;
  line-height: 2;
  /* brタグが多いので行間を広めにとって読みやすく */
  color: #444;
  margin-bottom: 40px;
}

.p-thanks__content__text p {
  margin-bottom: 24px;
}

/* 4. お問い合わせ先情報：目立たせつつも控えめな枠 */
.p-thanks__content__info {
  background: #fff;
  border: 1px solid #eee;
  padding: 24px;
  border-radius: 8px;
  display: inline-block;
  /* 内容に合わせて幅を可変に */
  margin-bottom: 50px;
  text-align: left;
  /* ここだけは左寄せで見やすく */
}

.p-thanks__content__info__text {
  font-size: 15px;
  font-weight: bold;
  color: #555;
  margin-bottom: 8px;
}

.p-thanks__content__info__text:last-child {
  margin-bottom: 0;
}

/* 5. ボタンリスト：次のアクションを促す */
.p-thanks__content__buttonList {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  /* スマホで縦に並ぶように */
}

.p-thanks__content__buttonList__button {
  width: 280px;
}

.p-thanks__content__buttonList__button a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  background: #020663;
  color: #fff;
  border: 2px solid #020663;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s;
}

.p-thanks__content__buttonList__button a:hover {
  background: #fff;
  color: #020663;
  transition: width .3s ease;
}

/* 6. スマホ用調整 */
.br-pc {
  display: block;
}

.is-sp {
  display: none;
}

@media (max-width: 767px) {
  .p-thanks {
    padding: 60px 0;
  }

  .p-thanks__content__title {
    font-size: 24px;
  }

  .p-thanks__content__buttonList__button {
    width: 100%;
    /* スマホではボタンを横いっぱいに */
  }

  .br-pc {
    display: none;
  }

  .is-sp {
    display: block;
  }

  /* PHP内のis-spクラスに対応 */
}

/* ======================================================
   セミナーお申し込み完了 (page-seminar-thanks.php) 用
====================================================== */

/* 1. セミナー概要エリア */
main .p-seminarMain {
  background-color: #f4f7fa;
  padding: 60px 0;
  border-bottom: 1px solid #e0e6ed;
}

main .p-seminarMain__ttl {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin: 0;
  line-height: 1.2;
}

/* 3. サンクスメッセージボックス本体 */
main .p-seminar_post {
  padding-bottom: 80px;
  background-color: #fff;
}

main .p-seminar_thanks {
  margin-top: 50px;
  padding: 50px;
  border: 1px solid #e0e6ed;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  max-width: 900px;
  /* 見やすくするために幅を制限 */
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

main .p-seminar_thanks h3 {
  font-size: 24px;
  color: #007bc7;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  border-bottom: 2px solid #f4f7fa;
  padding-bottom: 20px;
}

main .p-seminar_thanks p {
  font-size: 16px;
  line-height: 2;
  /* 行間を広げて読みやすく */
  color: #444;
}

/* 4. CRM用隠し要素の完全非表示 */
#hiddenForm,
iframe[name="hiddenFrame"] {
  display: none !important;
}

/* 5. レスポンシブ調整 */
@media (max-width: 767px) {
  main .p-seminarMain {
    padding: 40px 0;
  }

  main .p-seminarMain__ttl {
    font-size: 22px;
    text-align: center;
  }

  main .p-seminar_thanks {
    padding: 30px 20px;
    margin: 30px 15px;
  }

  main .p-seminar_thanks h3 {
    font-size: 20px;
  }
}


/* ======================================================
   よくあるご質問 (FAQ) ページ用スタイル
====================================================== */

.faq {
  padding: 80px 0;
  background-color: #fff;
}

.faq .l-inner-sm {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* アコーディオンアイテム全体 */
.faq-item {
  border-bottom: 1px solid #edf2f7;
  margin-bottom: 10px;
}

/* 質問部分 (Title) */
.faq-item-ttl {
  display: flex;
  align-items: center;
  padding: 24px;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s;
  background-color: #f8faff;
  border-radius: 8px;
}

.faq-item-ttl:hover {
  background-color: #f0f4f8;
}

.faq-item-ttl span {
  flex-shrink: 0;
  width: 40px;
  margin-right: 20px;
}

.faq-item-ttl p {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  line-height: 1.5;
  padding-right: 30px;
  /* アイコン用の余白 */
  margin: 0;
}

/* 開閉アイコン (+/-) の疑似要素 */
.faq-item-ttl::after {
  content: "";
  position: absolute;
  right: 24px;
  width: 12px;
  height: 2px;
  background-color: #020663;
  transition: transform 0.3s;
}

.faq-item-ttl::before {
  content: "";
  position: absolute;
  right: 29px;
  width: 2px;
  height: 12px;
  top: calc(50% - 6px);
  background-color: #020663;
  transition: transform 0.3s;
}

/* アクティブ時のアイコン変化 (マイナスにする) */
.faq-item-ttl.is-active::before {
  transform: rotate(90deg);
  opacity: 0;
}

/* 回答部分 (Content) */
.faq-item-txt {
  height: 0;
  /* JSで制御するため初期値0 */
  overflow: hidden;
  transition: height 0.3s ease-in-out;
  /* ここでアニメーションさせる */
}

.faq-item-txtWrap {
  display: flex;
  padding: 24px;
  background-color: #fff;
  border-top: 1px solid #edf2f7;
}

.faq-item-txtWrap span {
  flex-shrink: 0;
  width: 40px;
  margin-right: 20px;
}

.faq-item-txtWrap p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin: 0;
}

/* ------------------------------------------------------
   下部CTAエリア (outro__btnarea)
------------------------------------------------------ */
.outro__btnarea {
  padding: 80px 20px;
  background-color: #f4f7fa;
  text-align: center;
}

.outro__btn__txt {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 35px;
  color: #007bc7;
}

/* ボタン共通 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  height: 64px;
  /* 高さを揃える */
  font-size: 17px;
  transition: all 0.3s;
  box-sizing: border-box;
}

/* 2段目（下のボタン2つ）の設定 */
.about__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  /* ボタンの間の隙間 */
  max-width: 620px;
  /* (300px * 2) + 20px */
  margin: 0 auto;
}

/* 下のボタン：幅を300pxで均一にする */
.about__btn .btn {
  width: 300px;
}

/* 1段目（上のボタン1つ）の設定 */
.request__btn {
  margin-bottom: 20px;
}

/* 上のボタン：下の2つ＋隙間の合計幅にする */
.request__btn .btn.-orange {
  width: 620px;
  /* 300 + 300 + 20 */
  background: #ee8401;
  border: 1px solid;
  border-color: #ee8401;
  color: #fff;
}

.request__btn .btn.-orange:hover {
  background: #fff;
  color: #ee8401;
  transition: width .3s ease;
}

/* 下のボタン：色の塗り分け */
.btn.-blue {
  background: #020663;
  color: #fff;
  border: 1px solid;
  border-color: #020663;
  box-shadow: 0 4px 15px rgba(0, 82, 204, 0.2);
}

.btn.-blue:hover {
  background: #fff;
  color: #020663;
  transition: width .3s ease;
}


/* ------------------------------------------------------
   スマホ対応 (レスポンシブ)
------------------------------------------------------ */
@media (max-width: 767px) {
  .about__btn {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .request__btn {
    margin-bottom: 15px;
  }

  /* スマホでは横幅をいっぱいにする */
  .request__btn .btn.-orange,
  .about__btn .btn {
    width: 100%;
    max-width: 450px;
    height: 56px;
    font-size: 16px;
  }
}

/* ======================================================
   会社概要 (company) 最終調整版
====================================================== */

/* --------------------------------------------------
   1. ページ全体のズレ強制リセット
-------------------------------------------------- */
.l-main.company {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 !important;
  display: block;
}

/* --------------------------------------------------
   2. 中央コンテナ幅
-------------------------------------------------- */
.company .l-inner-sm {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ==================================================
   上部ロゴエリア
================================================== */

.company__logoArea {
  width: 100%;
  padding: 60px 20px 40px;
  text-align: center !important;
  /* 強制中央 */
  display: block !important;
  /* 既存flex解除 */
  margin: 0 auto;
  box-sizing: border-box;
}

/* ロゴ画像を完全中央固定 */
.company__logo__img {
  display: block;
  margin: 0 auto 20px auto;
  text-align: center;
}

.company__logo__img img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* PCサイズ */
@media screen and (min-width: 768px) {
  .company__logoArea .company__logo__img {
    width: 254px;
  }
}

/* コピー画像 */
.company__logo__copy {
  display: block;
  text-align: center;
  margin: 0 auto;
}

.company__logo__copy img {
  display: block;
  max-width: 400px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/* ==================================================
   会社情報テーブル
================================================== */

.company__infoList {
  border-top: 1px solid #EDF1F5;
  margin-top: 20px;
}

.company__infoItem {
  display: flex;
  border-bottom: 1px solid #EDF1F5;
  padding: 30px 0;
}

.company__infoTerm {
  color: #333;
  font-weight: 600;
  flex-shrink: 0;
}

@media screen and (min-width: 768px) {
  .company__infoTerm {
    font-size: 16px;
    width: 240px;
  }

  .company__infoDesc {
    font-size: 16px;
    margin-left: 40px;
    flex: 1;
  }
}

/* ==================================================
   Googleマップ
================================================== */

.company__info__map {
  margin-top: 40px;
  width: 100%;
}

.company__info__map iframe {
  width: 100% !important;
  height: 400px;
  border-radius: 8px;
}

/* ==================================================
   フッターロゴエリア（重なり完全防止）
================================================== */

.company__logoArea__foot {
  display: flex;
  flex-wrap: wrap;
  /* 改行許可 */
  justify-content: center;
  align-items: center;
  gap: 40px;
  max-width: 900px;
  margin: 60px auto 100px;
  padding: 40px 20px;
  border-top: 1px solid #EDF1F5;
  box-sizing: border-box;
}

/* フッターロゴ */
.company__logoArea__foot .company__logo__img {
  width: 220px;
  margin: 0;
  flex: 0 0 auto;
}

.company__logoArea__foot .company__logo__img img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ボタン */
.company__logoArea__foot .price__btn {
  flex: 0 0 auto;
  margin: 0;
}

.company__logoArea__foot .price__btn .btn {
  padding-left: 24px;
  padding-right: 24px;
}

/* ==================================================
   スマホ
================================================== */

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

  .company__logoArea {
    padding: 40px 20px;
  }

  .company__logo__img {
    width: 60% !important;
  }

  .company__infoItem {
    flex-direction: column;
    padding: 20px 0;
  }

  .company__infoTerm {
    width: 100%;
    font-size: 14px;
    margin-bottom: 5px;
    color: #0052cc;
  }

  .company__infoDesc {
    width: 100%;
    font-size: 14px;
    margin-left: 0;
  }

  .company__logoArea__foot {
    flex-direction: column;
    gap: 30px;
  }

  .visible-sm {
    display: block;
  }
}

/* ======================================================
   セミナー詳細ページ (single-seminar) 統合スタイル
====================================================== */

.p-seminar-detail .l-container {
  max-width: 1075px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ヘッダーエリア */
.p-seminarMain {
  background: #E2F2FB;
  padding: 60px 0;
}

.p-seminarMain__ttl {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  color: #007BC7;
}

/* パンくず */
.breadcrumb__list {
  display: flex;
  font-size: 13px;
  padding: 20px 0;
  list-style: none;
}

.breadcrumb__item+.breadcrumb__item:before {
  content: "＞";
  margin: 0 10px;
  color: #888;
  font-size: 10px;
}

/* メインビジュアルセクション */
.p-seminarMain_post.single {
  padding: 40px 0 60px;
  background: none;
  position: relative;
}

.p-seminarMain_postEnd {
  position: absolute;
  top: 0;
  left: 20px;
  background: #ccc;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: bold;
}

.p-seminarMain_post .l-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.p-seminarMain__postImg {
  width: 46%;
}

.p-seminarMain__postImg img {
  width: 100%;
  height: auto !important;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.p-seminarMain__postContents {
  width: 50%;
}

.p-seminarMain__postTtl {
  font-size: 30px;
  font-weight: bold;
  color: #007BC7;
  border-bottom: 3px dotted #01A6E2;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

/* 申し込みボタン */
.p_formBtn {
  display: block;
  width: 317px;
  height: 60px;
  line-height: 60px;
  margin: 40px auto;
  background: #F6601B;
  color: #fff;
  text-align: center;
  border-radius: 11px;
  font-weight: bold;
  font-size: 18px;
  text-decoration: none;
}

/* コンテンツセクション共通 */
.p-seminar__detail,
.p-seminar__schedule {
  padding: 45px 40px;
  background: #FAFDFF;
  border-radius: 8px;
  margin-bottom: 50px;
}

.p-seminar__detailTtl,
.p-seminar__profileTtl,
.p-seminar__formTtl {
  font-weight: bold;
  font-size: 26px;
  color: #007BC7;
  margin-bottom: 30px;
}

/* 講師プロフィール */
.p-seminar__profileBox {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}

.p-seminar__profileImg {
  width: 25%;
}

.p-seminar__profileImg img {
  width: 100%;
  border-radius: 8px;
}

.p-seminar__profileContents {
  width: 70%;
}

.p-seminar__profileName {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* 概要テーブル風 */
.p-seminar__scheduleItem {
  display: flex;
  padding: 20px 0;
  border-top: 1px solid #EAEAEA;
}

.p-seminar__scheduleItem h4 {
  width: 40%;
  color: #007BC7;
  font-weight: bold;
}

.p-seminar__scheduleItem p {
  width: 60%;
  line-height: 1.7;
}

/* フォームエリア */
.p-seminar__form {
  padding: 80px 0;
  background: #F6FCFF;
}

.p-seminar__formItem {
  display: flex;
  margin-bottom: 30px;
  align-items: center;
}

.p-seminar__formItemTtl {
  width: 30%;
  font-weight: bold;
}

.p-seminar__formItemCont {
  width: 70%;
}

.required {
  background: #DE0001;
  color: #fff;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 11px;
  margin-left: 10px;
}

.p-seminar__formItemInput input,
.p-seminar__formItemInput textarea,
.p-seminar__formItemSelect select {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
}

.flex {
  display: flex;
  gap: 15px;
}

.w50 {
  width: 50% !important;
}


.p-seminar__formItemPrivacy a {
  text-decoration: underline;
}

.p-seminar__formItemBox {
  text-align: center;
  margin-top: 5rem;
  margin-bottom: 1rem;
}

.p-seminar__formItemBox label {
  cursor: pointer;
}

.p-seminar__formSubmit {
  text-align: center;
}

.p-seminar__formSubmit input {
  width: 320px;
  height: 60px;
  background: #F6601B;
  color: #fff;
  border: none;
  border-radius: 11px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {

  .p-seminarMain_post .l-container,
  .p-seminar__profileBox,
  .p-seminar__formItem,
  .p-seminar__scheduleItem {
    flex-direction: column;
    display: block;
  }

  .p-seminarMain__postImg,
  .p-seminarMain__postContents,
  .p-seminar__profileImg,
  .p-seminar__profileContents,
  .p-seminar__formItemTtl,
  .p-seminar__formItemCont,
  .p-seminar__scheduleItem h4,
  .p-seminar__scheduleItem p {
    width: 100%;
  }

  .p-seminar__formItemTtl {
    margin-bottom: 10px;
  }

  .p-seminar__scheduleItem h4 {
    margin-bottom: 5px;
  }
}