@charset "utf-8";

#commonHeader {
  padding: 18px 20px;
  border-bottom: 1px solid var(--lightGray);
}

#main {
  padding: 96px 0 120px;
}

h1 {
  position: absolute;
  height: 0;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  #commonHeader {
    padding: 13px 20px;
  }

  #commonHeader img {
    width: 200px;
  }

  #main {
    padding: 64px 0 80px;
  }
}

/* form
-------------------------------------------------- */
#child {
  width: 5em;
}

.mb-17 {
  padding-bottom: 17px;
}

.dd_image em {
  display: block;
}

#onetimeDonation input,
#emergencyAid input {
  width: 10em;
  text-align: right;
}

#post {
  width: 12em;
}

#seccode {
  width: 6em;
}

#subTotal + .note {
  margin-top: 0.25em;
}

#total {
  padding: 24px;
  border: 1px solid var(--lightGray);
  background-color: var(--bgYellow);
  text-align: center;
}

#total em {
  font-weight: 600;
  font-style: normal;
  display: block;
  font-size: 2.4rem;
}

.userGuide {
  margin-top: 1em;
  color: var(--red);
}

.userGuide img {
  margin-bottom: 1em;
}

#receipt_note {
  margin-bottom: 1em;
}

#seccode_note img {
  margin-top: 1em;
}

@media screen and (max-width: 768px) {
  #subTotal {
    margin-top: -12px;
  }

  #subTotal + .note {
    margin-bottom: -12px;
  }

  #seccode_note img {
    display: block;
    margin-right: auto;
    margin-left: auto;
  }
}

#totalError {
  margin: 24px 0;
}

/* notice
-------------------------------------------------- */
.notice {
  margin-top: 86px;
  line-height: 1.7;
}

.notice ul li {
  margin-bottom: 0.75em;
  margin-left: 1.25em;
  text-indent: -1.25em;
}

.notice ul li::before {
  content: "※";
  margin-right: 0.25em;
}

.notice ul li ul {
  margin-top: 0.75em;
  list-style: disc;
}

.notice ul li ul li {
  margin-bottom: 0.5em;
  text-indent: 0;
}

.notice ul li ul li::before {
  content: none;
}

@media screen and (max-width: 768px) {
  .notice {
    margin-top: 64px;
  }
}

.highlight {
  font-weight: bold;
}

/* slider
-------------------------------------------------- */
#otherProject h2 {
  margin-bottom: 48px;
}

#otherProject .splide__arrow {
  top: calc((100% - 36px) / 2);
}

#otherProject .splide__slide {
  padding: 40px;
  border: 1px solid var(--bgLightGray);
  border-radius: 16px;
  background-color: var(--bgLightGray);
  display: flex;
  flex-wrap: wrap;
}

#otherProject .img {
  width: 280px;
  margin-right: 30px;
}

#otherProject .img + .txt {
  width: calc(100% - 310px);
  margin-top: -0.5em;
}

#otherProject h3 {
  margin: 0 0 0.75em;
  font-size: 2rem;
}

#otherProject .txt p {
  margin-bottom: 0;
}

#otherProject .btn {
  min-width: 0;
  margin-top: 24px;
}

@media screen and (max-width: 768px) {
  #otherProject h2 {
    margin-bottom: 1em;
  }

  #otherProject .splide {
    margin-right: -20px;
  }

  #otherProject .splide__slide {
    padding: 24px;
    display: block;
  }

  #otherProject .img {
    margin-right: 0;
    margin-bottom: 24px;
  }

  #otherProject .img + .txt {
    width: auto;
  }

  #otherProject h3 {
    font-size: 1.8rem;
  }
}

/* empty
-------------------------------------------------- */
.empty {
  margin-top: 86px;
}

.empty .msgBox {
  margin-top: 40px;
  padding: 40px 20px;
  border: 1px solid var(--borderLightGray);
}

.empty .msgBox h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
}

.empty .msgBox h2 span {
  display: inline-block;
  text-align: left;
}

.empty .msgBox .btnGroup,
.empty .msgBox p.btn {
  margin-top: 26px;
}

.empty .msgBox .btnGroup .btn {
  width: 310px;
}

@media screen and (max-width: 768px) {
  .empty {
    margin-top: 72px;
  }

  .empty .msgBox {
    padding: 24px 24px 32px;
  }

  .empty .msgBox .btnGroup,
  .empty .msgBox p.btn {
    margin-top: 18px;
  }

  .empty .msgBox .btnGroup .btn {
    width: 350px;
  }
}


/* Payment
-------------------------------------------------- */

.payment-option {
  margin: 8px 0;
}

/* AmazonPay
-------------------------------------------------- */
.amazon-pay-btn-container {
  width: 350px;
  height: 60px;
  max-width: 350px;
  min-width: 350px;
  min-height: 60px;
  display: inline-block;
  margin: 0 auto;
}

.amazon-pay-btn {
  width: 350px;
  height: 60px;
  min-width: 350px;
  max-width: 350px;
  min-height: 60px;
  display: inline-block;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .amazon-pay-btn-container {
    width: 200px;
    height: 45px;
    min-width: 200px;
    max-width: 200px;
    min-height: 45px;
    display: inline-block;
    margin: 0 auto;
  }

  .amazon-pay-btn {
    width: 200px;
    height: 45px;
    max-width: 200px;
    min-width: 200px;
    min-height: 45px;
    display: inline-block;
    margin: 0 auto;
  }
}

.amazon-pay-btn-container.left {
  justify-content: flex-start;
}

.amazon-pay-btn-container.center {
  justify-content: center;
}

.amazon-pay-btn-description {
  padding-left: 1em;
  text-indent: -1em;
  line-height: 1.7;
}


.amazon-pay-payment-group {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.amazon-pay-payment-group .btn {
  margin: 0;
}

@media screen and (max-width: 768px) {
  .amazon-pay-payment-group {
    display: flex;
    flex-direction: column;
  }

  .amazon-pay-payment-group .btn {
    margin-top: 16px;
  }
}

/* PayPay
-------------------------------------------------- */
.paypay-btn-container {
  width: 350px;
}
@media screen and (max-width: 768px) {
  .paypay-btn-container {
    margin: 16px 0;
  }
}



/* confirm
-------------------------------------------------- */
#confirm .formList.total dt {
  background-color: var(--yellow);
  font-size: 2rem;
}

#confirm .formList.total dd {
  background-color: var(--bgYellow);
  font-size: 2rem;
}

@media screen and (max-width: 768px) {
  #confirm .formList.total dt,
  #confirm .formList.total dd {
    font-size: 1.8rem;
  }
}

/* thanks
-------------------------------------------------- */
#thanks {
  max-width: 800px;
  margin: 0 auto;
}

#thanks h2 {
  text-align: center;
}

#thanks h3 {
  margin: 40px 0 0;
  padding: 15px 24px;
  border: 1px solid var(--yellow);
  background-color: var(--yellow);
  text-align: center;
}

#thanks dl {
  padding: 24px 38px;
  border: 1px solid var(--bgYellow);
  border-top: 0;
  background-color: var(--bgYellow);
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
  font-size: 1.8rem;
  font-weight: 600;
}

#thanks dt {
 margin-top: 0em;
  width: 33.3%;
  padding: 17px 24px;
}

#thanks dd {
  width: 66.7%;
  padding: 17px 24px;
}

#thanks dt:not(:last-of-type),
#thanks dd:not(:last-of-type) {
  border-bottom: 1px solid var(--lightGray);
}

.spread h2 {
  font-size: 2.4rem;
}

.spread h2 {
  text-align: center;
}

.spread h2 span {
  display: inline-block;
}

.spread ul {
  margin-bottom: 0;
  display: flex;
  justify-content: center;
  column-gap: 48px;
  flex-wrap: wrap;
}

.share li {
  transform: scale(1.3);
  margin: 0 10px;
}

.conveni-url {
  word-break: break-word;
}

@media screen and (max-width: 768px) {
  #thanks h2 {
    text-align: left;
  }

  #thanks h3 {
    margin-top: 32px;
    padding: 8px 18px;
  }

  #thanks dl {
    padding: 12px 18px;
    font-size: 1.6rem;
  }

  #thanks dt {
    width: 30%;
    padding: 8px 24px 8px 0;
  }

  #thanks dd {
    width: 70%;
    padding: 8px 0;
  }

  .spread h2 {
    font-size: 2rem;
  }

  .spread ul {
    column-gap: 24px;
  }
  .share li {
  transform: scale(1.0);
  margin: 0px;
}
}

/* footer
-------------------------------------------------- */
#commonFooter {
  border-top: 1px solid var(--lightGray);
  background-color: var(--white);
}

#commonFooter a {
  color: var(--planBlue);
}

#commonFooter .footNav2 {
  margin-bottom: 0;
  padding: 24px 20px calc(24px - 1.5em);
}

#commonFooter .footNav2 li {
  border-color: var(--lightGray);
}

@media screen and (max-width: 768px) {
  #commonFooter .footNav2 {
    padding: 12px 20px;
  }

  #commonFooter .footNav2 li:not(:nth-last-child(-n + 2)),
  #commonFooter .footNav2 li:nth-child(2n):not(:last-child) {
    border-bottom-color: var(--lightGray);
  }
}

.articleContent ul li a figure img {
  width: 350px;
  height: 196.88px;
  border-radius: 8px;
  object-fit: cover;
}
.submit .btn {
  width: 371.53px;
}
.formList dt.dtWhite {
  padding-right: 6px;
  border-right: 0;
  background: var(--white);
}

@media screen and (max-width: 768px) {
.recommend li {
	width: auto;
}

.articleContent ul li a figure img {
   width: 100%;
}
}

/* ポップアップ
-------------------------------------------------- */
.remodal-overlay {
  background: rgba(37, 60, 74, 0.8);
}

.remodal-overlay,
.remodal-wrapper {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  margin: 0 auto;
}

.remodal-overlay {
  background: rgba(37, 60, 74, 0.8);
}
.remodal-overlay,
.remodal-wrapper {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.remodal-overlay {
  position: fixed;
  z-index: 9999;
  top: -5000px;
  right: -5000px;
  bottom: -5000px;
  left: -5000px;
  display: none;
  cursor: pointer;
}

.remodal-wrapper {
  padding: 10px 10px 0;
}

.remodal-wrapper {
  position: fixed;
  z-index: 10000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  overflow: auto;
}
.remodal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 96vh;
}
.modal-column {
  display: flex;
  gap: 20px;
}

.modal-column .cell-text {
  width: 100%;
  height: auto;
}

.modal-column .cell-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.modal {
  position: relative;
  display: flex;
  height: auto;
  background-color: #fff;
  padding: 20px;
  z-index: 1;
}

.modal-inner {
  background-color: #fff;
  border-radius: 16px;
  padding: 16px;
}

.modal-close {
  position: absolute;
  top: -20px;
  right: -20px;
  z-index: 100;
  cursor: pointer;
}

.micromodal-slide.is-open {
  padding: 0;
}

@media screen and (max-width: 720px) {
  .modal-column {
    display: block;
    gap: 20px;
  }

  .cancel a.w-auto {
    width: auto;
  }
}

.cancelAll {
  text-align: left;
}

.cancelAll a {
  font-size: 1.7rem;
  padding-left: 28px;
  background: url(/donate/images/ico_1.svg) no-repeat 0 50% / 18px;
}

/* gift */
.recommend ul.gift li {
	margin-bottom: 24px;
	width: 350px;
}

.recommend ul.gift figure {
    width: 100%;
}

.recommend ul.gift img {
    width: 100%;
    height: auto;
}


@media screen and (max-width: 768px) {
.recommend ul.gift li {
	width: auto;
}

}

/* ギフトコメント */
.box.gift-comment {
	text-align: center;
	border-color: #fff;
    background-color: var(--bgLightBlue);
}

.heart-container {
  max-width: 1200px;
  text-align: left;
  margin-bottom: 36px;
}

/* ギフトメッセージ　タイトルのリボン */
.ribbon {
  display: inline-block;
  position: relative;
  height: 60px;
  line-height: 60px;
  text-align: center;
  padding: 7px 0;
  font-size: 18px;
  background: var(--planBlue);
  color: #FFF;
  box-sizing: border-box;
  margin-bottom: 24px;
}

.ribbon h2 {
  margin: 0;
  padding: 0 30px;
  border-top: dashed 2px rgba(255, 255, 255, 0.5);
  border-bottom: dashed 2px rgba(255, 255, 255, 0.5);
  line-height: 42px;
}

.ribbon:before, .ribbon:after {
  position: absolute;
  content: '';
  width: 0px;
  height: 0px;
  z-index: 1;
}

.ribbon:before {
  /*左の山形*/
  top: 0;
  left: 0;
  border-width: 30px 0px 30px 15px;
  border-color: transparent transparent transparent var(--bgLightBlue);
  border-style: solid;
}

.ribbon:after {
  /*右の山形*/
  top: 0;
  right: 0;
  border-width: 30px 15px 30px 0px;
  border-color: transparent var(--bgLightBlue) transparent transparent;
  border-style: solid;
}
@media screen and (max-width:768px) {
	.sp-ttl p {
		font-weight: bold;
		font-size: 20px;
		margin-bottom: 8px;
	}
	.ribbon {
		width: 100%;
	}
}


.gift-comment .waiting {
    margin: 0 auto .75em;
    color: var(--planBlue);
    font-size: 1.4rem;
    font-weight: 600;
    display: inline-block;
    position: relative;
}

/* cashless payment */

.formList dd img.payment-logo {
	line-height: 1;
	border-radius: 0px;
}

.radioBox input:checked + .radioLabel {
	background-color: var(--lightGray);
	color: var(--textBlack);
}
