@charset "UTF-8";

/* ===========================================================
資料ダウンロード：共通レイアウト
=========================================================== */
.p-download-page {
  background-color: #e3f8e6;
}

.p-download-mv .p-common-mv__content {
  z-index: auto;
}

.p-download-mv .p-common-mv__cover {
  z-index: 1;
}

@media (min-width: 881px) {
  .p-download-mv .p-common-mv__cover {
    right: 0;
    width: 62vw;
  }

  .p-download-mv .p-common-mv__cover img {
    object-position: center 15%;
  }
}

.p-download-section {
  padding: 0 10px;
}

@media (min-width: 881px) {
  .p-download-section {
    padding: clamp(7.5rem, 11.11vw, 10rem) 1.25rem;
    background-color: #fff;
  }
}

.p-download-section__inner {
  width: 100%;
  max-width: 67.5rem;
  margin-inline: auto;
  background-color: #fff;
  border-radius: 1.25rem;
  padding: 70px 10px;
}

@media (min-width: 881px) {
  .p-download-section__inner {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
  }
}

.p-download-section__introduction {
  margin-top: 2.5rem;
  text-align: center;
}

.p-download-section__text,
.p-download-section__note {
  font-size: clamp(0.75rem, 1.8vw, 1rem);
  
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.p-download-section__required,
.p-download-form__required {
  color: #333;
  margin-left: 0.25em;
}

/* ===========================================================
進行表示
=========================================================== */
.p-download-steps {
  width: 100%;
  max-width: clamp(21.875rem, 52vw, 28.75rem);
  margin-inline: auto;
}

.p-download-steps__list {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-download-steps__list::before {
  position: absolute;
  top: calc(50% - 1px);
  right: 0;
  height: 2px;
  width: 100%;
  display: block;
  background-color: #ddd;
  content: "";
}

.p-download-steps__item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 5rem;
  aspect-ratio: 1;
  gap: 4px;
  color: #777;
  background-color: #fff;
  border: 3px solid #ddd;
  border-radius: 50%;
}

@media (min-width: 881px) {
  .p-download-steps__item {
    width: 6.25rem;
    border: 6px solid #ddd;
  }
}

.p-download-steps__item--current {
  color: #fff;
  background-color: #2b8700;
  border-color: #2b8700;
}

.p-download-steps__number {
  font-size: 0.6875rem;
  
  line-height: 1;
  letter-spacing: 0.04em;
}

.p-download-steps__label {
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

@media (min-width: 881px) {
  .p-download-steps__label {
    font-size: 0.8125rem;
  }
}

/* ===========================================================
入力フォーム
=========================================================== */
.p-download-form {
  width: 100%;
  max-width: 40rem;
  margin: 2.5rem auto 0;
  
}

@media (min-width: 881px) {
  .p-download-form {
    margin-top: 5rem;
  }
}

p:has(> .p-download-form__country) {
  display: none;
}

.p-download-form__country {
  display: none;
}

.p-download-form__fields {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.p-download-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p-download-form__label {
  color: #333;
  font-size: 1rem;
  
  line-height: 1.5;
}

.p-download-form__row {
  display: flex;
  gap: 0.75rem;
}

@media (min-width: 881px) {
  .p-download-form__row {
    gap: 2.5rem;
  }
}

.p-download-form__row > p {
  display: flex;
  width: 100%;
  gap: 0.75rem;
}

@media (min-width: 881px) {
  .p-download-form__row > p {
    gap: 2.5rem;
  }
}

.p-download-form__row > p > br {
  display: none;
}

.p-download-form__row .wpcf7-form-control-wrap {
  flex: 1;
  min-width: 0;
}

.p-download-form__control {
  display: block;
  width: 100%;
  height: 2.875rem;
  padding: 0.6875rem 1rem;
  color: #333;
  font-size: 0.875rem;
  
  line-height: 1.5;
  letter-spacing: 0.04em;
  background-color: #f3f3f3;
  border: 0;
  border-radius: 8px;
  outline: 0;
  margin-top: 0.875rem;
}

.p-download-form__control::placeholder {
  color: #999;
  opacity: 1;
}

.p-download-form__control:focus-visible {
  outline: 0.125rem solid #2e9000;
  outline-offset: 0.125rem;
}

.p-download-form__address {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.p-download-form__address p {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.p-download-form__address .wpcf7-form-control-wrap {
  display: block;
}

.p-download-form__postal-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

@media (min-width: 881px) {
  .p-download-form__postal-row {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
}

.p-download-form__postal-row .wpcf7-form-control-wrap {
  width: 100%;
}

.p-download-form__control--postal {
  max-width: 13.75rem;
}

.p-download-form__help {
  color: #999;
  font-size: 0.75rem;
  
  line-height: 1.5;
}

@media (min-width: 881px) {
  .p-download-form__help {
    font-size: 0.8125rem;
  }
}

.p-download-form__radio {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 881px) {
  .p-download-form__radio {
    grid-template-columns: repeat(3, 1fr);
  }
}

.p-download-form__radio .wpcf7-list-item {
  margin: 0;
}

.p-download-form__radio .wpcf7-list-item-label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: #333;
  font-size: 1rem;
  
  line-height: 1.5;
  white-space: normal;
}

.p-download-form__radio .wpcf7-list-item-label::before {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid #c7c7c7;
  border-radius: 50%;
}

.p-download-form__radio input[type="radio"]:checked + .wpcf7-list-item-label::before {
  border-color: #2e9000;
}

.p-download-form__radio .wpcf7-list-item-label::after {
  left: 0.3125rem;
  width: 0.625rem;
  height: 0.625rem;
}

.p-download-form__radio--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
}

.p-download-form__age {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  background-color: #f3f3f3;
  border-radius: 0.5rem;
}

@media (min-width: 881px) {
  .p-download-form__age {
    padding: 1.25rem 1.5rem;
  }
}

.p-download-form__age-note {
  color: #333;
  font-size: 0.8125rem;
  
  line-height: 1.5;
}

.p-download-form__age-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.p-download-form__age-row > p {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0.75rem;
}

.p-download-form__age-row > p > br {
  display: none;
}

.p-download-form__age-row .wpcf7-form-control-wrap {
  position: relative;
  width: 100%;
  max-width: 17.5rem;
}

.p-download-form__age-row .wpcf7-form-control-wrap::after {
  position: absolute;
  top: calc((100% - 2.5rem) / 2 - 0.75rem + 2.5rem);
  right: 1rem;
  width: 1rem;
  height: 1rem;
  background: url("../img/page/download/check_icon.svg") no-repeat center / contain;
  content: "";
  pointer-events: none;
  transform: translateY(-50%);
  transition: transform 0.3s;
}

.p-download-form__age-row .wpcf7-form-control-wrap.is-open::after {
  transform: translateY(-50%) rotate(180deg);
}

.p-download-form__control--select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.5rem;
  background-color: #fff;
}

.p-download-form__age-unit {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.p-download-form__field--privacy {
  gap: 0.5rem;
}

.p-download-form__privacy-text {
  color: #333;
  font-size: 1rem;
  
  line-height: 1.5;
}

.p-download-form__privacy-link {
  color: #2e9000;
  text-decoration: none;
}

.p-download-form__field--privacy .wpcf7-list-item {
  margin: 0;
}

.p-download-form__acceptance {
  position: absolute;
  opacity: 0;
}

.p-download-form__acceptance + .wpcf7-list-item-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #333;
  font-size: 1rem;
  
  line-height: 1.5;
}

.p-download-form__acceptance + .wpcf7-list-item-label::before {
  display: block;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  background-color: #fff;
  border: 1px solid #999999;
  border-radius: 4px;
  content: "";
}

.p-download-form__acceptance + .wpcf7-list-item-label::after {
  position: absolute;
  top: 10px;
  left: 10px;
  display: none;
  width: auto;
  height: auto;
  color: #2e9000;
  font-family: sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  content: "\2713";
  transform: translate(-50%, -50%);
}

.p-download-form__acceptance:checked + .wpcf7-list-item-label::after {
  display: block;
}

.p-download-form__actions {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  margin-top: 3.5rem;
}

@media (min-width: 881px) {
  .p-download-form__actions {
    flex-direction: row;
  }
}

.p-download-form__actions > p {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 1.25rem;
}

@media (min-width: 881px) {
  .p-download-form__actions > p {
    flex-direction: row;
  }
}

.p-download-form__actions--single {
  position: relative;
  flex-direction: row;
}

.p-download-form__actions--single > p {
  position: relative;
  max-width: 16.5rem;
}

.p-download-form__actions--single > p::after {
  position: absolute;
  top: 50%;
  right: 1.25rem;
  width: 1.125rem;
  height: 0.8125rem;
  background-color: #3E752E;
  content: "";
  -webkit-mask: url("../img/common/img_common_link_arowIcon.svg") no-repeat center / contain;
  mask: url("../img/common/img_common_link_arowIcon.svg") no-repeat center / contain;
  pointer-events: none;
  transform: translateY(-50%);
}

@media (any-hover: hover) {
  .p-download-form__actions--single > p:hover::after {
    background-color: #fff;
  }
}

.p-download-form .wpcf7-spinner {
  position: absolute;
  margin: 0;
  transform: translateY(3rem);
}

.p-download-form .wpcf7-not-valid-tip {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  
  line-height: 1.5;
}

.p-download-form .wpcf7-response-output {
  margin: 2rem 0 0;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  
  line-height: 1.5;
  border-radius: 0.5rem;
}

/* ===========================================================
ボタン
=========================================================== */
.p-download-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 16.5rem;
  height: 3.75rem;
  padding: 0.75rem 3rem;
  font-size: 1rem;
  
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.04em;
  border-radius: 999px;
  transition: color 0.3s, background-color 0.3s, border-color 0.3s;
  cursor: pointer;
}

.p-download-button--outline {
  color: #3e752e;
  background-color: #fff;
  border: 0.125rem solid #2b8700;
}

.p-download-button--primary {
  color: #fff;
  background-color: #2b8700;
  border: 0.125rem solid #2b8700;
}

@media (any-hover: hover) {
  .p-download-button--outline:hover {
    color: #fff;
    background-color: #2b8700;
  }

  .p-download-button--primary:hover {
    color: #3e752e;
    background-color: #fff;
  }
}

.p-download-button--pdf {
  box-shadow: 0 0.375rem 0.875rem rgba(41, 115, 51, 0.25);
}

.p-download-button__external-icon {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  margin-left: 0.875rem;
  background-color: currentColor;
  -webkit-mask: url("../img/common/footer-link.svg") no-repeat center / contain;
  mask: url("../img/common/footer-link.svg") no-repeat center / contain;
}

.p-download-card .p-download-button--outline::after {
  position: absolute;
  top: 50%;
  right: 1.25rem;
  width: 1.125rem;
  height: 0.8125rem;
  background-color: currentColor;
  content: "";
  -webkit-mask: url("../img/common/img_common_link_arowIcon.svg") no-repeat center / contain;
  mask: url("../img/common/img_common_link_arowIcon.svg") no-repeat center / contain;
  transform: translateY(-50%);
}

/* ===========================================================
確認画面
=========================================================== */
.p-download-confirm {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.p-download-confirm__item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: #f3f3f3;
  border-radius: 0.5rem;
}

@media (min-width: 881px) {
  .p-download-confirm__item {
    flex-direction: row;
  }
}

.p-download-confirm__label {
  padding: 0.875rem 1rem;
  color: #333;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;
  background-color: #e3f8e6;
}

@media (min-width: 881px) {
  .p-download-confirm__label {
    flex: 0 0 12rem;
    padding: 1rem 1.25rem;
  }
}

.p-download-confirm__value {
  padding: 0.875rem 1rem;
  color: #333;
  font-size: 1rem;
  
  line-height: 1.8;
}

@media (min-width: 881px) {
  .p-download-confirm__value {
    padding: 1rem 1.25rem;
  }
}

/* ===========================================================
ダウンロード完了
=========================================================== */
.p-download-complete-page {
  background: #d9efda;
}

.p-download-complete {
  padding: 0 10px;
}

@media (min-width: 881px) {
  .p-download-complete {
    padding: 0 0 clamp(7.5rem, 11.11vw, 10rem);
  }
}

.p-download-complete__inner {
  width: 100%;
  margin-inline: auto;
  background-color: #fff;
  border-radius: 1.25rem;
  padding: 40px 10px;
}

@media (min-width: 881px) {
  .p-download-complete__inner {
    border-radius: 0;
    padding: clamp(7.5rem, 11.11vw, 10rem) 20px 0;
  }
}

.p-download-complete__heading {
  margin-top: 2.5rem;
  padding-bottom: 1.25rem;
  text-align: center;
}

@media (min-width: 881px) {
  .p-download-complete__heading {
    margin-top: 6.25rem;
    padding-bottom: 3rem;
  }
}

.p-download-complete__title {
  color: #2b8700;
  font-size: clamp(1.5rem, 4.99vw, 2.75rem);
  letter-spacing: 0.04em;
  padding-bottom: 1.25rem;
}

@media (min-width: 881px) {
  .p-download-complete__title {
    padding-bottom: 3rem;
  }
}

.p-download-complete__lead {
  color: #222;
  font-size: clamp(0.875rem, 3.4vw, 1.875rem);
  letter-spacing: 0.04em;
  margin-bottom: 0.875rem;
}

.p-download-complete__text {
  color: #444;
  font-size: clamp(0.75rem, 1.92vw, 1.0625rem);
  letter-spacing: 0.04em;
}

.p-download-card {
  padding: 2.5rem 1.25rem;
}
@media (min-width: 881px) {
  .p-download-card {
    background: linear-gradient(180deg, #e6f5e6 0%, #d9efda 100%);
  }
}

.p-download-card__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 40rem;
  margin-inline: auto;
}

.p-download-card__image {
  display: block;
  width: 100%;
  max-width: 26.5625rem;
  height: auto;
}

.p-download-card__title {
  margin-top: 1.625rem;
  color: #222;
  font-size: clamp(1rem, 2.7vw, 1.5rem);
  text-align: center;
  letter-spacing: 0.04em;
}

.p-download-card__type {
  margin-top: 1.625rem;
  padding: 0.25rem 1.25rem;
  color: #2f7a3a;
  font-size: 0.8125rem;
  line-height: 1;
  letter-spacing: 0.06em;
  background-color: #c4e6c7;
  border-radius: 999px;
}

.p-download-card .p-download-button--primary {
  max-width: 28.75rem;
  margin-top: 1.625rem;
}

.p-download-card__note {
  margin-top: 1.625rem;
  color: #666;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}

.p-download-card .p-download-button--outline {
  max-width: 25rem;
  margin-top: 1.625rem;
}