/* faq.css  ─ ヘッダー／サイドバー／フッターを除いた中央コンテンツ用 */

/* ベースレイアウト -------------------------------------------------- */
  .faq__title {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 700;
    margin: 2.4rem 0 1.6rem;
    border-left: 4px solid #002978;   /* ブランドカラー */
    padding-left: .8rem;
  }
  
  /* 目次 -------------------------------------------------------------- */
  .faq-nav {
    display: flex;
    padding: 40px 32px;
    flex-direction: column;
    gap: 12px;
    margin-top: 38px;
    margin-bottom: 80px;
    background-color: #DBE4E9;
  }
  .faq-nav li{
    position: relative;
    list-style: none;
  }
  .faq-nav li::after{
    display: block;
    position: absolute;
    content: "";
    width: 32px;
    height: 32px;
    background-image: url(../../icon/arrow-circle-down.svg);
    background-size: contain;
    right: 20px;
    top:50%;
    transform: translateY(-50%);
  }
  .faq-nav a {
    display: block;
    color: #2B2C28;
    background-color: #fff;
    border-radius: 4px;
    padding: 20px;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: background .25s;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.08);
  }
  
  .faq-nav a:hover {
    background: #e8f1ff;
  }
  
  /* ブロック見出し ---------------------------------------------------- */
  .faq-block {
    margin-top: 4.8rem;
  }
  
  .faq-block__heading {
    font-size: clamp(20px, 3.4vw, 28px);
    font-weight: 700;
    position: relative;
    margin-bottom: 2.4rem;
    padding: 16px 28px;
    background-color: #F9F9F9;

  }
  
  .faq-block__heading::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 8px;
    background: #002978;
  }
  
  /* アコーディオン本体 ---------------------------------------------- */
  .faq-item {
    border: 1px solid #e0e5eb;
    border-radius: 4px;
    margin-bottom: 1.2rem;
    overflow: hidden;
    padding: 18px 20px;
  }
  
  .faq-item summary {
    cursor: pointer;
    list-style: none;          /* デフォルトの三角を消す */
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 18px;
  }
  
  .faq-item summary::after {   /* 開閉アイコン */
    content: "";
    width: 10px;
    height: 10px;
    border: 2px solid #002978;
    border-bottom: 0;
    border-left: 0;
    transform: rotate(135deg);
    margin-left: auto;
    transition: transform .25s;
  }
  
  .faq-item[open] summary::after {
    transform: rotate(-45deg);
  }
  
  .faq-item__body {
    display: flex;
    gap:12px;
    font-size: 16px;
    margin-top: 24px;
  }
  
  .faq-item__body a {
    color: #002978;
    text-decoration: underline;
  }
  
  /* Q / A アイコン ---------------------------------------------------- */
  .faq-item__icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1;
  }
  
  .faq-item__icon--q {
    background: #A7A7A7;
    color: #fff;
  }
  
  .faq-item__icon--a {
    background: #CF0800;
    color: #fff;
  }
  
  /* コールトゥアクション -------------------------------------------- */
  .btn, .faq-btn {
    display: inline-block;
    padding: .9rem 3.2rem;
    font-size: .9rem;
    font-weight: 700;
    border-radius: 3px;
    text-align: center;
    text-decoration: none;
    transition: opacity .25s;
  }
  
  .btn:hover, .faq-btn:hover { 
    opacity: .8; 
    color: #fff;
  }
  
  .btn--primary, .faq-btn--primary     { background: #f39800; color: #fff; }
  .btn--secondary, .faq-btn--secondary { background: #002978; color: #fff; }
  
  .faq-block__cta {
    margin-top: 15px;
    text-align: center;
  }
  
  /* 2 カラムレイアウト（領収書／見積依頼）--------------------------- */
  .two-col {
    display: grid;
    grid-template-columns: 330px 1fr;
    align-items: center;
    gap: 28px;
  }
  
  .two-col__media img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 1px solid #e0e5eb;
  }
  
  .two-col__media figcaption {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
  }
  .two-col__text h4{
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 28px;
  }
  .two-col__text h4 span{
    border-bottom: 4px solid #FFDA16;
  }

  .two-col__text p{
    display: block;
    margin-bottom: 1em;
    font-size: 16px;
  }
  
  .steps {
    line-height: 200%;
  }
  
  .steps li {
    font-size: 16px;
  }
  
  .link-dl {
    display: flex;
    width: 100%;
    max-width: 450px;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 18px 0;
    margin-bottom: 18px;
    font-size: 16px;
    font-weight: 600;
    color: #002978;
    border: 1px solid #002978;
    border-radius: 4px;
  }
  .link-dl-icon{
    display: block;
    width: 32px;
    height: 32px;
  }
  
  /* SP表示制御 -------------------------------------------------------- */
  .sp-block {
    display: none;
  }
  
  /* レスポンシブ調整 -------------------------------------------------- */
  @media (max-width: 599px) {
    .faq__title      { font-size: 1.6rem; }
    .faq-nav         { padding: 24px 12px; }
    .faq-nav a       { font-size: .9rem; padding: 16px 12px; }
    .faq-nav li::after { width: 20px; height: 20px; right: 8px; }
    .faq-block__heading { font-size: 18px; }
    .faq-item summary{ font-size: .92rem; }
    .faq-btn {display: block; width: 300px; margin: 40px auto 0;}
    .sp-block        { display: block; }
    #pre-order       { padding-left: 0; padding-right: 0; }
    .two-col         { 
      display: flex;
      flex-direction: column; 
    }
  }