/* お役立ち資料 一覧（archive-download_doc.php） */
#page__download {
  padding: 103px 0 0;
}

.download__inner {
  box-sizing: border-box;
  max-width: 1080px;
  margin: 0 auto;
  width: 96%;
}

.download__head {
  margin-bottom: 60px;
  font-family: "Poppins", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
}

.download__heading__en {
  font-size: 18px;
  font-weight: 700;
  color: #0A51B5;
  letter-spacing: .02em;
}

.download__heading {
  margin: 0;
  font-size: 45px;
  font-weight: 700;
  color: #000000;
  letter-spacing: .02em;
  line-height: 1.4;
}

.download__leadBand {
  margin-bottom: 56px;
  padding: 40px 20px;
  background: #F8FCFF;
  text-align: center;
}

.download__lead {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #0A51B5;
}

.download__section+.download__section {
  margin-top: 64px;
}

.download__sectionTitle {
  display: inline-block;
  min-width: 175px;
  margin: 0;
  padding: 0 0 3px;
  font-size: 30px;
  font-weight: 700;
  color: #000000;
  background:
    linear-gradient(#0A51B5, #0A51B5) left bottom / 22px 4px no-repeat,
    linear-gradient(#F0F0F0, #F0F0F0) left bottom / 175px 4px no-repeat;
}

.download__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 24px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.download__card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid #EEEEEE;
  border-radius: 7px;
  overflow: hidden;
}

.download__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  padding: 17px 0;
  background: #F8FCFF;
}

.download__thumb img {
  display: block;
  width: auto;
  max-width: min(100%, 214px);
  height: auto;
  max-height: 100%;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, .15);
}

/* 画像未登録時はグレーのボックスを表示 */
.download__thumb:empty::before {
  content: "";
  width: 180px;
  height: 100px;
  background: #E3E7EC;
}

.download__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 24px 32px;
}

.download__title {
  flex: 1;
  margin: 0 0 24px;
  font-size: 16px;
  font-weight: 700;
  color: #000000;
  line-height: 1.6;
}

.download__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13.5px;
  align-self: center;
  box-sizing: border-box;
  width: 209px;
  height: 48px;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  color: #0A51B5;
  text-decoration: none;
  background: #FFFFFF;
  border: 1px solid #0A51B5;
  border-radius: 999px;
  transition: background-color .3s, color .3s;
}

.download__btn__icon {
  flex-shrink: 0;
}

.download__btn:hover {
  color: #FFFFFF;
  background: #0A51B5;
}

@media screen and (max-width: 1023px) {
  .download__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767px) {
  #page__download {
    padding: 50px 0 0;
  }

  .download__inner {
    padding: 0 4%;
  }

  .download__head {
    margin-bottom: 50px;
  }

  .download__heading__en {
    font-size: 12px;
    margin: 0 0 6px;
  }

  .download__heading {
    font-size: 36px;
  }

  .download__leadBand {
    margin-bottom: 50px;
    padding: 40px 30px;
    text-align: left;
  }

  .download__lead {
    font-size: 16px;
  }

  .download__section+.download__section {
    margin-top: 50px;
  }

  .download__sectionTitle {
    font-size: 30px;
  }

  .download__list {
    grid-template-columns: 1fr;
    gap: 32px;
    margin: 53px 0 0;
  }

  .download__body {
    padding: 24px 24px 32px;
  }
}


/* お役立ち資料 詳細 */
#page__downloadSingle {
  padding: 103px 0 0;
}

.downloadSingle__inner {
  display: flex;
  align-items: flex-start;
  gap: 72px;
  box-sizing: border-box;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.downloadSingle__main {
  flex: 0 1 520px;
  box-sizing: border-box;
  min-width: 0;
  padding: 40px 56px;
  background: #EBF2FA;
}

.downloadSingle__title {
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 700;
  color: #0A51B5;
  line-height: 1.5;
}

.downloadSingle__desc {
  margin: 0;
  font-size: 16px;
  color: #000000;
}

.downloadSingle__thumb {
  display: flex;
  justify-content: center;
  margin: 32px 0 34px;
}

.downloadSingle__thumb img {
  display: block;
  width: auto;
  max-width: min(100%, 360px);
  height: auto;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, .15);
}

.downloadSingle__thumb:empty::before {
  content: "";
  width: 360px;
  max-width: 100%;
  aspect-ratio: 289 / 155;
  background: #D9D9D9;
}

.downloadSingle__content>*+* {
  margin-top: 32px;
}

.downloadSingle__recommend {
  padding-bottom: 28px;
  border-bottom: 1px solid #0A51B5;
}

.downloadSingle__recommend__badge {
  position: relative;
  margin: 0 0 14px;
  text-align: center;
}

.downloadSingle__recommend__badge::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #0A51B5;
}

.downloadSingle__recommend__badge span {
  position: relative;
  display: inline-block;
  padding: 3px 22px;
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  background: #0A51B5;
  border-radius: 999px;
}

.downloadSingle__recommend__title {
  margin: 0 0 16px;
  font-size: 21px;
  font-weight: 700;
  color: #000000;
  text-align: center;
}

.downloadSingle__recommend__list {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.downloadSingle__recommend__list li {
  position: relative;
  padding-left: 26px;
  font-size: 16px;
  color: #000000;
  line-height: 1.6;
}

.downloadSingle__recommend__list li+li {
  margin-top: 10px;
}

.downloadSingle__recommend__list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  height: 20px;
  background: url("../img/download/check.svg") no-repeat center / contain;
  transform: translateY(calc(-50% - 3px));
}

.downloadSingle__text,
.downloadSingle__textBox,
.downloadSingle__imageText__text {
  font-size: 16px;
  color: #000000;
  line-height: 1.9;
}

.downloadSingle__textBox {
  padding: 24px 40px;
  background: #FFFFFF;
  border-radius: 6px;
}

.downloadSingle__textBox__text {
  margin: 0;
}

.downloadSingle__image img,
.downloadSingle__slider img,
.downloadSingle__imageText__image img {
  display: block;
  width: 100%;
  height: auto;
}

.downloadSingle__slider img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.downloadSingle__image.-col1 {
  max-width: 74%;
  margin-inline: auto;
}

.downloadSingle__image.-col2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.downloadSingle__slider {
  position: relative;
}

.downloadSingle__slider__item {
  padding: 0 8px;
}

.downloadSingle__slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 27px;
  height: 27px;
  padding: 0;
  font-size: 0;
  background: #FFFFFF no-repeat center / 12px;
  border: none;
  border-radius: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.downloadSingle__slider__arrow.-prev {
  left: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M6.5 1.5L3 5l3.5 3.5' fill='none' stroke='%230A51B5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.downloadSingle__slider__arrow.-next {
  right: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M3.5 1.5L7 5 3.5 8.5' fill='none' stroke='%230A51B5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.downloadSingle__imageText {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.downloadSingle__imageText.-imageRight {
  flex-direction: row-reverse;
}

.downloadSingle__imageText__image {
  flex: 0 0 34%;
}

.downloadSingle__imageText__text {
  flex: 1;
  line-height: 1.5;
}

.downloadSingle__form {
  flex: 1 1 400px;
  min-width: 0;
}

.dlForm__row {
  margin: 0 0 30px;
}

.dlForm__row dt {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 700;
  color: #000000;
  line-height: 1.5;
}

.dlForm__row dd {
  margin: 0;
}

.dlForm__req {
  padding: 4px 6.5px;
  font-size: 10px;
  font-weight: 600;
  color: #FFFFFF;
  background: #0A51B5;
  border-radius: 3px;
  line-height: 1.2;
}

.dlForm__req::before {
  content: "※";
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  -webkit-text-stroke: .5px currentColor;
}

.dlForm input[type="text"],
.dlForm input[type="email"],
.dlForm select,
.dlForm textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 16px;
  color: #000000;
  background: #FFFFFF;
  border: 1px solid #707070;
  border-radius: 0;
}

.dlForm textarea {
  height: 95px;
  resize: vertical;
}

.dlForm ::placeholder {
  color: #757575;
}

.dlForm__name {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}

.dlForm .dlForm__name input[type="text"] {
  flex: 1;
  width: auto;
  min-width: 0;
}

.downloadSingle__form .dlForm__name .error {
  order: 1;
  flex-basis: 100%;
}

.downloadSingle__form .dlForm__name .error~.error {
  display: none;
}

.dlForm__choices .mwform-checkbox-field,
.dlForm__choices .mwform-radio-field {
  display: block;
  margin: 0;
  line-height: 1.2;
}

.downloadSingle__form .dlForm__choices .mwform-checkbox-field+.mwform-checkbox-field,
.downloadSingle__form .dlForm__choices .mwform-radio-field+.mwform-radio-field {
  margin-top: 12px;
  margin-left: 0;
}

.dlForm__choices label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #000000;
  cursor: pointer;
}

.dlForm__choices input[type="checkbox"],
.dlForm__choices input[type="radio"] {
  appearance: none;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin: 0;
  background: #FFFFFF no-repeat center / 14px;
  border: 1px solid #707070;
  cursor: pointer;
}

.dlForm__choices input[type="checkbox"] {
  border-radius: 4px;
}

.dlForm__choices input[type="checkbox"]:checked {
  background-image: url("../img/download/check.svg");
}

.dlForm__choices input[type="radio"] {
  border-radius: 50%;
}

.dlForm__choices input[type="radio"]:checked {
  background: radial-gradient(#0A51B5 0 5px, #FFFFFF 6px);
}

.dlForm__select select {
  appearance: none;
  padding-right: 48px;
  background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 3.5L5 7l3.5-3.5' fill='none' stroke='%230A51B5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center / 14px;
  cursor: pointer;
}

.dlForm__privacy {
  margin: 32px 0;
  padding-left: 1.2em;
  font-size: 16px;
  color: #000000;
  line-height: 1.9;
  text-indent: -1em;
}

.dlForm__privacy__mark {
  display: inline-block;
  width: .96em;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1em;
  line-height: 1;
  text-indent: 0;
}

.dlForm__privacy a {
  color: #0A51B5;
  text-decoration: underline;
}

.dlForm__submit {
  text-align: center;
}

.dlForm__submit button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 315px;
  max-width: 100%;
  height: 50px;
  padding: 0 50px;
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  background: #0A51B5;
  border: 1px solid #0A51B5;
  border-radius: 999px;
  cursor: pointer;
  transition: opacity .3s;
}

.dlForm__submit button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 26px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M7 1.5v7.5M3.8 6l3.2 3.2L10.2 6M1.5 9.5v2.5c0 .3.2.5.5.5h10c.3 0 .5-.2.5-.5V9.5' fill='none' stroke='%23fff' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  transform: translateY(-50%);
}

.dlForm__submit button:hover {
  opacity: .8;
}

.downloadSingle__form .error {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #E60012;
}

@media screen and (max-width: 1023px) {
  .downloadSingle__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 56px;
  }

  .downloadSingle__main,
  .downloadSingle__form {
    flex-basis: auto;
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  #page__downloadSingle {
    padding: 40px 0 60px;
  }

  .downloadSingle__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 72px;
    padding: 0 20px;
  }

  .downloadSingle__main {
    flex-basis: auto;
    width: 100%;
    padding: 40px 24px;
  }

  .downloadSingle__title {
    font-size: 20px;
  }

  .downloadSingle__desc,
  .downloadSingle__text,
  .downloadSingle__textBox,
  .downloadSingle__imageText__text,
  .downloadSingle__recommend__list li {
    font-size: 15px;
  }

  .downloadSingle__thumb {
    margin: 24px 0 28px;
  }

  .downloadSingle__thumb img {
    max-width: min(100%, 270px);
  }

  .downloadSingle__content>*+* {
    margin-top: 24px;
  }

  .downloadSingle__recommend__title {
    font-size: 17px;
    line-height: 1.9;
  }

  .downloadSingle__recommend__list li {
    line-height: 1.5;
  }

  .downloadSingle__textBox {
    padding: 24px 40px;
    border-radius: 6px;
  }

  .downloadSingle__image.-col1 {
    max-width: 100%;
  }

  .downloadSingle__image.-col2 {
    gap: 16px;
  }

  .downloadSingle__slider__item {
    padding: 0 4px;
  }

  .downloadSingle__slider__arrow {
    width: 24px;
    height: 24px;
    background-size: 10px;
  }

  .downloadSingle__imageText {
    gap: 16px;
  }

  .downloadSingle__imageText__image {
    flex-basis: 32%;
  }

  .downloadSingle__form {
    flex-basis: auto;
    width: 100%;
  }

  .dlForm__row {
    margin: 0 0 32px;
  }

  .dlForm__name {
    gap: 0 12px;
  }
}

#page__downloadComplete {
  padding: 80px 0 100px;
}

/* 完了ページ（パンくずなし）は固定ヘッダー分の余白を確保 */
#page__downloadComplete.-noBreadcrumb {
  padding-top: 95px;
}

@media screen and (max-width: 768px) {
  #page__downloadComplete.-noBreadcrumb {
    padding-top: 70px;
  }
}

.downloadComplete__inner {
  box-sizing: border-box;
  max-width: 1080px;
  width: 96%;
  margin: 0 auto;
  text-align: center;
}

.downloadComplete__icon img {
  display: block;
  width: 90px;
  height: auto;
  margin: 0 auto 15px;
}

.downloadComplete__title {
  margin: 0;
  font-size: 35px;
  font-weight: 700;
  color: #0F2143;
  line-height: 1.5;
}

.downloadComplete__en {
  font-size: 15px;
  font-weight: 700;
  color: #0A51B5;
}

.downloadComplete__text {
  margin: 64px 0 0;
  font-size: 20px;
  color: #23221F;
  line-height: 1.6;
  font-weight: 700;
}

.downloadComplete.-en .downloadComplete__text {
  font-weight: 700;
}

.downloadComplete__note {
  margin: 20px 0 0;
  font-size: 14px;
  color: #23221F;
}

.downloadComplete__lead {
  margin: 30px 0 0;
  font-size: 20px;
  color: #23221F;
}

.downloadComplete__card {
  width: 344px;
  margin: 59px auto 0;
  border-color: #CCCCCC;
  text-align: left;
}

.downloadComplete__card .download__body {
  padding: 24px 24px 32px;
}

.downloadComplete__card .download__title {
  margin-bottom: 20px;
  font-size: 16px;
}

.download__btn.-fill {
  width: 209px;
  height: 48px;
  font-size: 14px;
  color: #FFFFFF;
  background: #0A51B5;
  transition: opacity .3s;
}

.download__btn.-fill:hover {
  opacity: .8;
}

.downloadComplete__help {
  margin: 39px 0 0;
  font-size: 16px;
  color: #000000;
  line-height: 1.7;
}

.downloadComplete__contact {
  box-sizing: border-box;
  max-width: 1060px;
  width: 92%;
  margin: 60px auto 0;
  padding: 24px 26px;
  border: 1px solid #0A51B5;
  text-align: center;
}

.downloadComplete__contact__title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #000000;
}

.downloadComplete__contact__text {
  margin: 10px 0 0;
  font-size: 15px;
  color: #000000;
}

.downloadComplete__contact__btn,
.downloadComplete__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  gap: 10px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .05em;
  transition: opacity .3s;
}

.downloadComplete__contact__btn::after,
.downloadComplete__link::after {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.downloadComplete__contact__btn {
  width: 50%;
  max-width: 176px;
  height: 46px;
  margin-top: 30px;
  font-size: 16px;
  color: #D9671C;
  background: #FFFFFF;
  border: 1px solid #D9671C;
}

.downloadComplete__links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 50px;
}

.downloadComplete__link {
  height: 38px;
  font-size: 16px;
  font-weight: 700;
}

.downloadComplete__link.-primary {
  width: 395px;
  height: 55px;
  color: #FFFFFF;
  background: #014795;
  border: 1px solid #014795;
}

.downloadComplete__link.-secondary {
  width: 176px;
  height: 55px;
  color: #3D3A3A;
  background: #FFFFFF;
  border: 1px solid #888585;
}

.downloadComplete__contact__btn:hover,
.downloadComplete__link:hover {
  opacity: .7;
}

.downloadComplete.-en,
.downloadComplete.-en h2,
.downloadComplete.-en h3,
.downloadComplete.-en p,
.downloadComplete.-en a {
  font-family: Arial, Helvetica, sans-serif;
}

.spOnly {
  display: none;
}

@media screen and (max-width: 767px) {
  .spOnly {
    display: inline;
  }

  #page__downloadComplete {
    padding: 50px 0 100px;
  }

  .downloadComplete__inner {
    width: 92%;
  }

  .downloadComplete__icon img {
    width: 60px;
    margin-bottom: 12px;
  }

  .downloadComplete__title {
    font-size: 22px;
  }

  .downloadComplete__en {
    font-size: 18px;
    margin-top: 10px;
  }

  .downloadComplete__text {
    margin-top: 32px;
    font-size: 15px;
    margin-top: 50px;
  }

  .downloadComplete__note {
    margin-top: 16px;
    font-size: 12px;
  }

  .downloadComplete__lead {
    margin-top: 50px;
    font-size: 15px;
    font-weight: bold;
  }

  .downloadComplete__card {
    width: 100%;
    max-width: 350px;
    margin-top: 24px;
  }

  .downloadComplete__help {
    margin-top: 24px;
    width: 94%;
    text-align: center;
    margin-inline: auto;
  }

  .downloadComplete__contact {
    margin-top: 50px;
    padding: 24px;
  }

  .downloadComplete__contact__title {
    font-size: 20px;
  }

  .downloadComplete__contact__text {
    font-size: 16px;
    text-align: center;
    margin-top: 8px;
  }

  .downloadComplete__contact__btn {
    width: 60%;
    max-width: 209px;
    margin-top: 16px;
    font-size: 16px;
  }

  .downloadComplete__links {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: 50px;
  }

  .downloadComplete__link {
    font-size: 16px;
    font-weight: 500;
  }

  .downloadComplete__link.-primary {
    width: 100%;
    max-width: 326px;
    height: 55px;
  }

  .downloadComplete__link.-secondary {
    width: 100%;
    max-width: 192px;
    height: 45px;
  }
}

html[lang="ja"] .download__btn,
html[lang="ja"] .downloadComplete__contact__btn,
html[lang="ja"] .downloadComplete__link,
html[lang="ja"] .dlForm__submit button {
  padding-top: 3px;
}

.download__thumb .download__thumbLogo {
  width: 60%;
  max-width: 170px;
  height: auto;
  object-fit: contain;
  background: #fff;
  padding: 1.5rem;
}

/* 資料詳細：サムネイル未登録時 */
.downloadSingle__thumb:has(.downloadSingle__thumbLogo) {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
}

.downloadSingle__thumb .downloadSingle__thumbLogo {
  display: block;
  width: 100%;
  max-width: 23rem;
  height: auto;
  object-fit: contain;
  box-shadow: none;
}
/* 一覧：カード全体をクリック可能に（ボタンのリンク範囲をカード全体に広げる） */
#page__download .download__card {
  position: relative;
  transition: box-shadow 0.3s;
}

#page__download .download__card .download__btn::after {
  content: "";
  position: absolute;
  inset: 0;
}

#page__download .download__card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

#page__download .download__card:hover .download__btn {
  color: #FFFFFF;
  background: #0A51B5;
}
