/* ================================================
   makeshop BtoB お問い合わせページ レイアウト変更CSS
   参考デザイン: 左カラム（見出し・イラスト・FAQボックス） + 右カラム（フォーム）
   ================================================ */

/* -----------------------------------------------
   layout ラッパー: はみ出し防止
----------------------------------------------- */
.layout {
  overflow-x: hidden;
}

/* -----------------------------------------------
   パンくずリスト: 上部に独立表示
----------------------------------------------- */
.com-breadcrumb {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 40px;
  box-sizing: border-box;
}

/* -----------------------------------------------
   main: 2カラム横並びFlexコンテナ
----------------------------------------------- */
main {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 80px;
  box-sizing: border-box;
}

/* -----------------------------------------------
   左カラム: page-title
   ※ 既存の「CONTACT / お問い合わせ」は非表示にし、
     JSで挿入する新しい左カラムコンテンツを表示
----------------------------------------------- */
.page-title {
  padding: 0;
}

.page-title__ja {
    font-size: 2.5rem;
    color: var(--color-black);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.5;
    margin: 0 0 36px;
    text-align: left;
}

/* -----------------------------------------------
   新たにJSで挿入する左カラムコンテンツ
----------------------------------------------- */

/* ● CONTACT ラベル */
.contact-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #1a1a2e;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.contact-label::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  background-color: #ff5757;
  border-radius: 50%;
  flex-shrink: 0;
}

/* メインキャッチコピー */
.contact-heading {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  color: #111;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

/* サブテキスト */
.contact-subtext {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
    text-align: left;
}

.contact-text {
  flex: 0 0 460px;
  max-width: 460px;
}

/* -----------------------------------------------
   よくあるご相談内容ボックス
----------------------------------------------- */
.contact-faq-box {
    border: 1px solid #1a3a6b;
    border-radius: 10px;
    padding: 24px;
    box-sizing: border-box;
}

.contact-faq-box__title {
  font-size: 16px;
  color: #1a3a6b;
  margin-bottom: 10px;
  font-weight: 700;
}

.contact-faq-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-faq-box ul li {
  font-size: 16px;
  color: #333;
  padding: 3px 0;
  padding-left: 1.2em;
  text-indent: -1.2em;
  line-height: 1.6;
}

.contact-faq-box ul li::before {
  content: "・";
  color: #1a3a6b;
}

/* -----------------------------------------------
   右カラム: contact-form
----------------------------------------------- */
.contact-form {
  flex: 1 1 0;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* -----------------------------------------------
   form-wrap: 白背景カード
----------------------------------------------- */
.form-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 36px 28px 28px;
  background: #fff;
  border: 1px solid #dde2ec;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(26, 58, 107, 0.06);
  box-sizing: border-box;
}

/* -----------------------------------------------
   form-inner と iframe
----------------------------------------------- */
.form-inner {
  width: 100%;
}

.form-inner iframe {
  width: 100%;
  display: block;
}

/* -----------------------------------------------
   レスポンシブ: 900px以下は1カラム
----------------------------------------------- */
@media screen and (max-width: 900px) {
  main {
    flex-direction: column;
    gap: 32px;
    padding: 0 20px 60px;
  }

  .page-title {
    flex: none;
    width: 100%;
    max-width: 100%;
    position: static;
    padding: 16px 0 0;
  }

  .contact-form {
    width: 100%;
    max-width: 100%;
  }

  .contact-heading {
    font-size: 22px;
  }
}

@media screen and (max-width: 600px) {
  main {
    padding: 0 16px 40px;
  }

  .form-wrap {
    padding: 24px 16px;
  }

  .contact-heading {
    font-size: 19px;
  }
}