
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* section1 */
.fv_img_wrapper {
	width: 100%;
	height: auto;
	padding-top: 70px;
}

.fv_img {
	width: 100%;
}

@media (hover: hover) {
	.fxt_button {
		transition: 0.4s;
	}

	.fxt_button:hover {
		opacity: 0.8;
		color: #FFFFFF !important;
	}
}

#section1 {
	.refferal_section_title {
		text-align: center;
		font-size: 50px;
		font-weight: 700;
	}

	.refferal_section_title span {
		background-color: #FDFF7A;
		margin-left: 6px;
		padding-left: 6px;
	}

	.recommend_wrapper {
		width: 100%;
		margin: 0 auto;
		text-align: center;
	}

	.recommend_button_wrapper {
		width: 91%;
		aspect-ratio: 1/0.15;
		margin: 0 auto;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		flex-wrap: nowrap;
	}

	.fx_badge {
		position: relative;
        width: 45%;
        left: -50%;
        transform: translateX(50%);
        top: 7%;
        z-index: 4;
	}

	.tsumitate_badge {
		position: relative;
        width: 39.5%;
        right: -50%;
        transform: translateX(-50%);
        top: 6%;
        z-index: 4;
	}

	.recommend_button_wrapper .fx_button,
	.recommend_button_wrapper .tsumitate_button {
		position: relative;
		width: 100%;
		height: 65%;
		color: #FFF;
		text-align: center;
		font-size: 2vw;
		font-weight: 700;
		border-radius: 10px;
		margin-bottom: 0;
	}

	.fx_button:hover,
	.tsumitate_button:hover {
		cursor: pointer;
	}

	.fx_button {
		background-color: #2CC8D6;
	}

	.tsumitate_button {
		background-color:  #00C47A;
	}

	.recommend_button_wrapper .fx_button p,
	.recommend_button_wrapper .tsumitate_button p {
		position: relative;
		color: #FFF;
		text-align: center;
		font-size: 2vw;
		font-weight: 700;
		margin-bottom: 0;
		top: 45%;
		transform: translateY(-50%);
	}

	.recommend_button_wrapper div {
		width: 49%;
	}

	.recommend_tab {
		width: 100%;
		position: relative;
		top: 0%;
		z-index: 4;
	}

	@media screen and (max-width: 767px) {
		.refferal_section_title {
			font-size: 30px;
		}

		.recommend_wrapper {
			width: 95%;
		}

		.recommend_button_wrapper {
			width: 100%;
			aspect-ratio: 1/0.23;
		}

		.fx_badge {
			width: 75%;
		}

		.tsumitate_badge {
			width: 64%;
		}

		.fx_button,
		.tsumitate_button {
			height: 75%;
			border-radius: 4px;
		}

		.recommend_button_wrapper .fx_button p,
		.recommend_button_wrapper .tsumitate_button p {
			font-size: 4.3vw;
		}
	}
}

#fixed-button	{
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100vw;
	height: 50px;
	z-index: 99;

	.fixed_button {
		width: 100%;
		height: 100%;
		background-color: #CA2221;
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: row;

		.feature {
			border-radius: 20px;
			border: 2px solid #C21312;
			background: #FFF;
			color: #C21312;
			text-align: center;
			font-family: "Noto Sans JP";
			font-size: 15px;
			font-style: normal;
			font-weight: 700;
			line-height: normal;
			padding: 3px 12px 5px;
		}

		.text {
			color: #FFF;
			font-family: "Noto Sans JP";
			font-size: 24px;
			font-style: normal;
			font-weight: 700;
			line-height: normal;
			letter-spacing: -2.4px;
			padding: 3px 0px 5px 8px;
		}
	}
}


/* section2 */
#section2 {
  margin-top: 124px;

  @media(max-width: 768px) {
    margin-top: 68px;
  }
}

.fxtrade-appeals__head {
  color: #000;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  margin: 0;
  padding: 10px 0 46px;
}

.fxtrade-appeals__head span {
  background: #FDFF7A;
}

.fxtrade-banner__wrapper {
  margin-top: 100px;
}

.fxtrade-banner__wrapper a {
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.fxtrade-banner__wrapper a img {
  width: 100%;
}

@media screen and (max-width: 768px) {
  .fxtrade-appeals__head {
    font-size: 22px;
    padding: 10px 0 26px;
  }

  .fxtrade-appeals__head span {
    font-size: 28px;
  }

  .fxtrade-banner__wrapper {
    margin-top: 60px;
  }
}

/* appeals-content */
.fxtrade-appeals-content {
  border-radius: 10px;
}

.fxtrade-appeals-content:nth-of-type(1) {
  background-color: #2CC8D6;
}

.fxtrade-appeals-content:nth-of-type(2) {
  background-color: #00C47A;
}

.fxtrade-appeals-content:not(:last-of-type) {
  margin-bottom: 40px;
}

@media screen and (max-width: 768px) {
  .fxtrade-appeals-content:not(:last-of-type) {
    margin-bottom: 30px;
  }
}

/* appeals-content-head */
.appeals-content__head button {
  position: relative;
  display: flex;
  align-items: center;
  background: url(/fxt/referral/assets/images/appeals_head_semicircle.png) right 91px top 0 / contain no-repeat;
  color: #FFF;
  font-size: 30px;
  font-weight: 700;
  text-align: start;
  padding: 26px 30px;
  border: none;
  width: 100%;
}

.appeals-content__head button::before,
.appeals-content__head button:not(.is-open)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  background-color: #FFF;
  width: 40px;
  height: 6px;
}

.appeals-content__head button:not(.is-open)::after {
  transform: translateY(-50%) rotate(-90deg);
}

.appeals-content__head button:focus {
  outline: none;
  border: none;
}

.appeals-content__head button span {
  background-color: #FFF;
  color: #2CC8D6;
  font-size: 28px;
  padding: 2px 6px;
  border-radius: 6px;
  margin-right: 10px;
}

@media screen and (max-width: 1200px) {
  .appeals-content__head {
    margin-top: 23px;
  }

  .appeals-content__head button span {
    position: absolute;
    top: -23px;
    left: 30px;
    border: 1px solid #2CC8D6;
  }
}

@media screen and (max-width: 768px) {
  .appeals-content__head {
    margin-top: 14px;
  }

  .appeals-content__head button {
    background: url(/fxt/referral/assets/images/appeals_head_semicircle.png) right 20px top 0 / contain no-repeat;
    font-size: 18px;
    padding: 20px;
  }

  .appeals-content__head button span {
    position: absolute;
    top: -14px;
    left: 20px;
    font-size: 14px;
    border: 1px solid #2CC8D6;
    border-radius: 4px;
  }

  .appeals-content__head button::before,
  .appeals-content__head button:not(.is-open)::after {
    right: 20px;
    width: 24px;
    height: 4px;
  }
}

/* appeals-content-body */
.appeals-content {
  padding: 0 30px 26px;
}

.appeals-content .appeals-content__body {
  background-color: #FFF;
  color: #000;
  padding: 50px;
  border-radius: 8px;
}

.appeals-content .appeals-content__body .appeals-content__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
}

.appeals-content .appeals-content__item {
  width: 100%;
}

.appeals-content .appeals-content__item.appeals-content__item--pc-half {
  width: calc(50% - 30px);
}

.appeals-content .appeals-content__item-head {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 20px;
}

.appeals-content .appeals-content__item-head span {
  display: grid;
  place-items: center;
  background: url(/fxt/referral/assets/images/appeals-item_head_circle.png) 0 0 / 100% no-repeat;
  color: #2CC8D6;
  font-family: Arial;
  font-size: 30px;
  min-width: 80px;
  min-height: 80px;
  margin-right: 15px;
}

.appeals-content .appeals-content__item-body p {
  font-size: 16px;
  line-height: 26px;
  margin-bottom: 0;
}

@media screen and (max-width: 991px) {
  .appeals-content .appeals-content__item.appeals-content__item--pc-half {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .appeals-content {
    padding: 0 10px 10px;
  }

  .appeals-content .appeals-content__body {
    padding: 30px 20px;
  }

  .appeals-content .appeals-content__body .appeals-content__inner {
    gap: 40px;
  }

  .appeals-content .appeals-content__item-head {
    font-size: 14px;
    margin-bottom: 14px;
  }

  .appeals-content .appeals-content__item-head span {
    font-size: 18px;
    min-width: 45px;
    min-height: 45px;
    margin-right: 10px;
  }

  .appeals-content .appeals-content__item-body p {
    font-size: 14px;
  }
}

/* appeals-content details */
.appeals-content .appeals-content__item-body .reason-01-img {
  display: block;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.appeals-content .appeals-content__item-body .reason-01__recommend-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  gap: 20px;
  margin: 20px 0 0;
  padding: 0;
}

.appeals-content .appeals-content__item-body .reason-01__recommend-list li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #F0F0F0;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  width: calc(50% - 10px);
  height: 70px;
  border-radius: 10px;
}

.appeals-content .appeals-content__item-body .reason-01__recommend-list li span {
  font-size: 14px;
  font-weight: 400;
}

.appeals-content .appeals-content__item-body .appeal-01-img__wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.appeals-content .appeals-content__item-body .appeal-01-img__wrapper .appeal-01-img {
  width: calc(100% / 4 - 15px);
}

.appeals-content .appeals-note {
  font-size: 14px;
  line-height: 26px;
}

@media screen and (max-width: 768px) {
  .appeals-content .appeals-content__item-body .reason-01-img {
    max-width: 300px;
  }

  .appeals-content .appeals-content__item-body .reason-01__recommend-list li {
    font-size: 18px;
    width: 100%;
  }

  .appeals-content .appeals-content__item-body .appeal-01-img__wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
  }

  .appeals-content .appeals-content__item-body .appeal-01-img__wrapper .appeal-01-img {
    width: calc(50% - 5px);
  }
}

/* section3 */
#fxt-campaign-page {
  .row.spaced_row.main_body {
    overflow: visible;
  }
}

#section3 {
  background: #EEF1F8;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  .inner-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 100px 20px 90px;
  }

  .header {
    width: fit-content;
    margin: 0 auto;
    margin-bottom: 59px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    column-gap: 6px;
  }

  .header h2 {
    color: #000;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
  }

  .sub-text {
    color: #000;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
  }

  .content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 70px;
    flex-wrap: wrap;
  }

  .flow {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .item {
    border-radius: 10px;
    width: 250px;
    height: 320px;
    overflow: hidden;
    display: flex;
    justify-content: center;
  }

  .feature .item {
    align-items: center;
  }

  .flow .item {
    border: 1px solid #CCC;
    background: #FFF;
    align-items: flex-end;
  }

  .arrow {
    width: 23.305px;
    height: 39px;
    margin-left: 20px;
    margin-right: 17px;
  }

  .arrow img {
    width: 100%;
    height: auto;
  }

  .feature .item-inner-Wrapper {
    width: fit-content;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0 auto;
  }

  .flow .item-inner-Wrapper {
    width: fit-content;
    height: auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: column;
    margin: 0 auto;
  }

  .number {
    color: #1C4FAF;
    font-family: Arial;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 9px;
  }

  .feature .item-text {
    color: #000;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 20px;
  }

  .flow .item-text {
    color: #1E4EAB;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
  }

  .feature .image {
    width: 153px;
    height: auto;
  }

  .flow .image {
    width: 180px;
    height: auto;
  }

  .feature .item {
    background: #D0DEFF;
    border: none;
  }

  .text {
    color: #1E4EAF;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
  }

  .text span {
    background: #FDFF7A;
  }

  @media(max-width: 920px) {
    .flow {
      flex-direction: column;
    }

    .content {
      flex-direction: column;
      gap: 36px;
    }

    .item {
      width: 315px;
      height: 290px;
    }

    .flow .item:first-of-type .number {
      margin-bottom: -5px;
    }

    .flow .item:first-of-type .item-text {
      margin-bottom: -15px;
    }

    .arrow {
      transform: rotate(90deg);
      margin-top: 31px;
      margin-bottom: 23px;
    }

    .sp-only {
      display: block !important;
    }
  }

  @media(max-width: 767px) {
    .inner-wrapper {
      padding: 80px 30px 85px;
    }

    .header {
      margin-bottom: 25px;
    }

    .header h2 {
      font-size: 30px;
    }
  }
}

/* 口座開設ボタン */
#account-button {
  background: #FFF;
  padding: 120px 0;

  .account-button-all-wrapper {
    width: 100vw;
    max-width: 500px;
    min-width: 315px;
    height: auto;
    margin: 0 auto;
  }

  .upper-text {
    width: 100%;
    height: auto;
    margin-bottom: 52px;
  }

  img {
    width: 100%;
    height: auto;
  }

  .account-button-wrapper {
    position: relative;
    width: 100%;
    height: auto;
  }

  .account-button {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 2px solid #FFF;
    background: linear-gradient(180deg, #FF9595 0%, #C71B1A 100%);
    box-shadow: 4px 4px 6px 0 rgba(0, 0, 0, 0.30);
    display: flex;
    flex-direction: column;
    padding: 16px 100px 15px;
  }

  .account-button-text {
    color: #FFF;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 38px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -2px;
  }

  .account-button-text-sub {
    color: #FFF;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
  }

  .feature {
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    width: 240px;
    height: 40px;
    border-radius: 20px;
    border: 2px solid #C21312;
    background: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .feature-text {
    color: #C21312;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 21px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
  }

  @media(max-width: 767px) {
    padding: 60px 0px;

    .account-button-all-wrapper {
      width: 315px;
    }

    .upper-text {
      margin-bottom: 34px;
    }

    .account-button {
      padding: 20px 45px 14px;
    }

    .account-button-text {
      font-size: 28px;
      line-height: -2.8px;
    }

    .account-button-text-sub {
      font-size: 10px;
    }

    .feature {
      width: 140px;
    }

    .feature-text {
      font-size: 15px;
    }
  }
}

#account-button:first-of-type {
  padding-top: 0;
}

#disclaimer {
  background: #F3F3F3;
  width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);

  .inner-wrapper {
    width: 100%;
    margin: 0 auto;
  }

  .block {
    width: 100%;
    margin-bottom: 40px;
  }

  h3 {
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 16px;
  }

  p {
    margin: 0;
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px; /* 162.5% */
  }

  tr,
  td {
    vertical-align: text-top;
  }

  td:first-of-type {
    min-width: 80px;
  }

  td {
    min-width: 40px;
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px; /* 162.5% */
  }


  @media(max-width: 767px) {
    .inner-wrapper {
      padding: 0px 20px;
    }

    h3 {
      font-size: 14px;
    }

    p {
      font-size: 12px;
    }

    td {
      font-size: 11px;
    }
  }

}
