h1 {
    color: #ffffff;
    text-align: center;
    background: #0d47a1;
    padding: 0.5em;
    font-size: 2.0rem;
}
.ft {
    text-align: center;
    padding: 1.0em;
}
.num {
    font-size: 22px;
    line-height: 1;
    position: absolute;
    top: 3px;
    left: 2px;
    display: block;
    font-weight: bold;
    color: #0d47a1;
    display: inline-block;
}
.dtl {
    font-size: 22px;
    line-height: 1;
    position: absolute;
    top: 3px;
    left: 2px;
    display: block;
    font-weight: bold;
    color: #0d47a1;
}
.qa-list dl {
    position: relative;
    margin: 0;
    padding: 28px 80px 28px 30px;
    cursor: pointer;
    border-bottom: 1px solid #000;
}
.qa-list dl:first-child {
    border-top: 1px solid #000;
}
.qa-list dl::before {
    position: absolute;
    top: 35px;
    right: 35px;
    display: block;
    width: 7px;
    height: 7px;
    margin: auto;
    content: '';
    transform: rotate(135deg);
    border-top: 2px solid #000;
    border-right: 2px solid #000;
}
.qa-list .open::before {
    transform: rotate(-45deg);
}
.qa-list dl dt {
    position: relative;
    margin: 0;
    padding: 0 0 0 50px;
    font-weight: bold;
    font-size: 20px;
}
.qa-list dl dt::before {
    font-size: 22px;
    line-height: 1;
    position: absolute;
    top: 3px;
    left: 0;
    display: block;
    color: #0d47a1;
}
.qa-list dl dd::before {
    font-size: 22px;
    line-height: 1;
    position: absolute;
    top: 3px;
    left: 2px;
    display: block;
    font-weight: bold;
    color: #0d47a1;
}
.qa-list dl dd {
    position: relative;
    display: none;
    height: auto;
    margin: 20px 0 0;
    padding: 0 0 0 50px;
}
.qa-list dl dd p {
    margin: 30px 0 0;
}
.qa-list dl dd p:first-child{
    margin-top: 0;
}

/* 組織登録セクション：テキストと画像を横並びに */
.manual-flex {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-top: 10px;
}

.manual-text {
    flex: 1;
}

.manual-image img {
    width: 300px;       
    height: auto;
    object-fit: contain;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

/* スマホでは縦並びに */
@media screen and (max-width: 767px) {
    h1 {
        color: #ffffff;
        text-align: center;
        background: #0d47a1;
        padding: 0.5em;
        font-size: 1.5rem;
    }
    .qa-list dl {
        position: relative;
        padding: 15px 40px 15px 10px;
    }
    .qa-list dl::before {
        top: 20px;
        right: 20px;
        width: 7px;
        height: 7px;
    }
    .qa-list dl dt {
        padding: 0 0 0 30px;
        font-size: 14px;
    }
    .qa-list dl dt::before {
        font-size: 14px;
        top: 3px;
        left: 5px;
    }
    .qa-list dl dd::before {
        font-size: 14px;
        top: 5px;
        left: 5px;
    }
    .qa-list dl dd {
        margin: 10px 0 0;
        padding: 0 0 0 30px;
        font-size: 14px;
    }
    .qa-list dl dd p {
        margin: 30px 0 0;
    }
    .qa-list dl dd p:first-child{
        margin-top: 0;
    }

    /* 追加: スマホで縦並びに */
    .manual-flex {
        flex-direction: column;
        align-items: center;
    }

    .manual-image img {
        width: 50%;
        margin: 20px 0;
    }

    .manual-image {
    display: none;
    }

    /* 組織登録が開いたとき（.openクラスがついた時）だけ表示 */
    .qa.open .manual-image {
        display: block;
    }
    }
@media screen and (min-width: 768px) {
  .manual-image img {
      width: 220px;  
      height: auto;
  }
}
body {
    background-color: #F8FAFD; /* ← 暗めの白。#F5F5F5 や #FAFAFA もおすすめ */
    margin: 0;
    padding: 0;
}


/* ===== Top に戻るボタン ===== */
.to-top {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .5px;
  background: #003D97;       /* ブランドカラー */
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, background-color .2s ease;
}
.to-top:hover { background: #0a53c1; }
.to-top:active { transform: translateY(14px); }

.to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 768px) {
  .to-top {
    right: 12px;
    bottom: 14px;
    width: 48px;
    height: 48px;
    font-size: 12px;
  }
}

/* 端末の簡易表示設定（視覚効果を減らす）に配慮 */
@media (prefers-reduced-motion: reduce) {
  .to-top {
    transition: none;
  }
}
