:root {
  --gutter-pc: 40px;
  --gutter-sp: 28px;
}

.relay a{
  transition: opacity .2s;
}
.relay a:hover{
  opacity: .7;
}

html {
  scroll-behavior: smooth;
}

.relay img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.c-line-button-wrapper {
  display: flex;
  flex-direction: column;
  row-gap: 12px;
}

.c-line-button-lead {
  color: #45A024;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 648px) {
  .c-line-button-lead {
    font-size: 1.2rem;
  }
}

.c-line-button {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100vmax;
  background: #45A024;
  width: fit-content;
  min-width: 356px;
  padding: 10px 20px;
  margin: auto;
}

@media (max-width: 648px) {
  .c-line-button {
    min-width: 320px;
  }
}

.c-line-button span {
  display: flex;
  align-items: center;
  column-gap: 10px;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1.6;
  font-weight: bold;
}

@media (max-width: 648px) {
  .c-line-button span {
    font-size: 1.4rem;
  }
}

.c-line-button span::before {
  content: "";
  display: block;
  background: url("/ie/relay/assets/img/relay/icon_line.svg") center / contain no-repeat;
  width: 43px;
  height: 41px;
}

.c-button {
  display: flex;
  width: fit-content;
  justify-content: center;
  align-items: center;
  margin: auto;
  font-size: 1.4rem;
  line-height: 1.8;
  color: #fff;
  padding: 20px 56px;
  border-radius: 4px;
}

@media (max-width: 648px) {
  .c-button {
    min-width: 300px;
    padding: 20px;
  }
}

.c-button.--gray {
  background: #3C3C43;
}

.u-section-border {
  position: relative;
}

.u-section-border::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 1128px);
  border-top: 1px solid #9D9C9C;
}

@media (max-width: 648px) {
  .u-section-border::before {
    left: calc(var(--gutter-sp) * -1);
    transform: none;
    width: min(calc(100% + (var(--gutter-sp) * 2)), 1128px);
  }
}

.u-gray {
  color: #8A8A8E;
}

@media (max-width: 648px) {
  .u-sp-hide {
    display: none;
  }
}

.l-container {
  padding-left: var(--gutter-pc);
  padding-right: var(--gutter-pc);
}

@media (max-width: 648px) {
  .l-container {
    padding-left: var(--gutter-sp);
    padding-right: var(--gutter-sp);
  }
}

.p-logo {
  position: absolute;
  top: 40px;
  left: 40px;
  width: 186px;
}

@media (max-width: 648px) {
  .p-logo {
    top: 20px;
    left: 20px;
    width: 124px;
  }
}

.p-fv {
  padding: 102px 0 33px;
}

@media (max-width: 648px) {
  .p-fv {
    padding: 97px 0 40px;
  }
}

.p-fv__illust {
  width: min(100%, 469px);
  margin: auto;
}

@media (max-width: 648px) {
  .p-fv__illust {
    width: min(100%, 320px);
  }
}

.p-fv__title {
  width: min(100%, 450px);
  margin: 20px auto 0;
}

@media (max-width: 648px) {
  .p-fv__title {
    width: min(100%, 280px);
  }
}

.p-fv__txt {
  display: block;
  width: min(100%, 936px);
  margin: 64px auto 0;
  background-color: #F5F5F5;
  border-radius: 20px;
  padding: 40px 35px;
}

@media (max-width: 648px) {
  .p-fv__txt {
    margin-top: 50px;
    padding: 20px;
  }
}

.p-nav {
  padding: 80px 0;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.20);
  position: relative;
}

@media (max-width: 648px) {
  .p-nav {
    padding: 40px 0;
  }
}

.p-nav__list {
  display: flex;
  justify-content: center;
  column-gap: 200px;
}

@media (max-width: 648px) {
  .p-nav__list {
    column-gap: 32px;
  }
}

.p-nav__list::after {
  content: none;
}

.p-nav__link-visual {
  width: 120px;
}

.p-nav__link-txt {
  display: block;
  margin-top: 16px;
}

@media (max-width: 648px) {
  .p-nav__link-txt {
    margin-top: 12px;
  }
}

.p-nav__link-txt::after {
  content: "";
  display: block;
  margin: 16px auto 0;
  width: 32px;
  height: 16px;
  background: url("/ie/relay/assets/img/relay/icon_arrow_bottom.svg") center / contain no-repeat;
}

@media (max-width: 648px) {
  .p-nav__link-txt::after {
    margin-top: 12px;
  }
}

.p-nav__link-txt img {
  height: 23px;
}

.p-buy {
  padding: 80px 0;
  background: #FCF8F0;
}

@media (max-width: 648px) {
  .p-buy {
    padding: 60px 0 80px;
  }
}

@media (max-width: 648px) {
  .p-buy__header {
    margin-left: calc(var(--gutter-sp) * -1);
    margin-right: calc(var(--gutter-sp) * -1);
  }
}

.p-buy__title {
  width: min(100%, 552px);
  margin: auto;
}

@media (max-width: 648px) {
  .p-buy__title {
    width: 100%;
  }
}

.p-buy-house {
  margin-top: 80px;
}

@media (max-width: 648px) {
  .p-buy-house {
    margin-top: 40px;
  }
}

.p-buy-house-item-wrapper {
  display: grid;
  grid-template-columns: repeat(1, 360px);
  justify-content: center;
}

@media (max-width: 648px) {
  .p-buy-house-item-wrapper {
    grid-template-columns: repeat(1, 320px);
  }
}

.p-buy-house-item__link {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.20);
}

.p-buy-house-item__body {
  background-color: #fff;
  padding: 20px 16px;
}

.p-buy-house-item__tag li {
  color: #fff;
  background: #3C3C43;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.6;
  width: fit-content;
  padding: 2px 8px;
}

@media (max-width: 648px) {
  .p-buy-house-item__tag li {
    font-size: 1.2rem;
  }
}

.p-buy-house-item__title {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.6;
  margin-top: 16px;
}

@media (max-width: 648px) {
  .p-buy-house-item__title {
    font-size: 1.6rem;
    margin-top: 10px;
  }
}

.p-buy-house-item__num {
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.6;
  text-align: right;
  margin-top: 16px;
}

@media (max-width: 648px) {
  .p-buy-house-item__num {
    font-size: 2rem;
  }
}

.p-buy-house__line {
  margin-top: 80px;
}

@media (max-width: 648px) {
  .p-buy-house__line {
    margin-top: 40px;
  }
}

.p-buy-feature {
  padding-top: 80px;
  margin-top: 80px;
}

@media (max-width: 648px) {
  .p-buy-feature {
    padding-top: 40px;
    margin-top: 40px;
  }
}

.p-buy-feature__title {
  width: min(100%, 455px);
  margin: auto;
}

@media (max-width: 648px) {
  .p-buy-feature__title {
    width: min(100%, 170px);
  }
}

.p-buy-feature__lead {
  font-size: 1.6rem;
  line-height: 1.6;
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 648px) {
  .p-buy-feature__lead {
    font-size: 1.4rem;
    text-align: justify;
    margin-top: 20px;
  }
}

.p-buy-feature__body {
  margin-top: 40px;
}

@media (max-width: 648px) {
  .p-buy-feature__body {
    margin-top: 20px;
  }
}

.p-buy-feature__list {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  width: min(100%, 552px);
  margin: auto;
}

.p-buy-feature__list-item {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  font-weight: bold;
  font-size: 1.6rem;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 648px) {
  .p-buy-feature__list-item {
    font-size: 1.4rem;
    text-align: justify;
  }
}

.p-buy-feature__footer {
  margin-top: 40px;
}

@media (max-width: 648px) {
  .p-buy-feature__footer {
    margin-top: 20px;
  }
}

.p-buy-feature__footer-lead {
  font-size: 1.6rem;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 648px) {
  .p-buy-feature__footer-lead {
    font-size: 1.4rem;
    text-align: justify;
  }
}

.p-buy-feature__note {
  font-size: 1.4rem;
  line-height: 1.6;
  text-align: center;
  margin-top: 30px;
}

@media (max-width: 648px) {
  .p-buy-feature__note {
    font-size: 1.2rem;
    text-align: justify;
  }
}

.p-sell {
  padding: 80px 0;
  background: #FCF8F0;
  margin-top: 40px;
}

@media (max-width: 648px) {
  .p-sell {
    padding: 40px 0;
    margin-top: 20px;
  }
}

@media (max-width: 648px) {
  .p-sell__header {
    margin-left: calc(var(--gutter-sp) * -1);
    margin-right: calc(var(--gutter-sp) * -1);
  }
}

.p-sell__title {
  width: min(100%, 552px);
  margin: auto;
}

@media (max-width: 648px) {
  .p-sell__title {
    width: 100%;
  }
}

.p-sell-area {
  border-radius: 12px;
  background: #F8F2E0;
  font-size: 1.2rem;
  line-height: 1.6;
  width: min(100%, 320px);
  padding: 20px;
  text-align: center;
  margin: 80px auto 0;
}

@media (max-width: 648px) {
  .p-sell-area {
    margin-top: 40px;
  }
}

.p-sell-support {
  margin-top: 80px;
}

@media (max-width: 648px) {
  .p-sell-support {
    margin-top: 40px;
  }
}

.p-sell-support__lead {
  font-size: 1.6rem;
  line-height: 1.8;
  text-align: center;
}

@media (max-width: 648px) {
  .p-sell-support__lead {
    font-size: 1.4rem;
    text-align: justify;
  }
}

.p-sell-support__button {
  margin-top: 40px;
}

@media (max-width: 648px) {
  .p-sell-support__button {
    margin-top: 20px;
  }
}

.p-sell-support__body {
  margin-top: 80px;
}

@media (max-width: 648px) {
  .p-sell-support__body {
    margin-top: 40px;
  }
}

.p-sell-support-list {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  width: min(100%, 552px);
  margin: auto;
}

.p-sell-support-list__item {
  background: #fff;
  padding: 30px 40px;
  border-radius: 20px;
}

@media (max-width: 648px) {
  .p-sell-support-list__item {
    padding: 20px;
  }
}

.p-sell-support-list__title {
  font-size: 2rem;
  line-height: 1.6;
  font-weight: bold;
}

@media (max-width: 648px) {
  .p-sell-support-list__title {
    font-size: 1.6rem;
  }
}

.p-sell-support-list__txt {
  font-size: 1.6rem;
  line-height: 1.6;
  margin-top: 2px;
  text-align: justify;
}

@media (max-width: 648px) {
  .p-sell-support-list__txt {
    font-size: 1.4rem;
  }
}

.p-sell-flow {
  margin-top: 80px;
  padding-top: 80px;
}

@media (max-width: 648px) {
  .p-sell-flow {
    margin-top: 40px;
    padding-top: 40px;
  }
}

.p-sell-flow__title {
  width: min(100%, 285px);
  margin: auto;
}

@media (max-width: 648px) {
  .p-sell-flow__title {
    width: min(100%, 223px);
  }
}

.p-sell-flow__body {
  margin-top: 40px;
}

.p-sell-flow-list {
  display: flex;
  flex-direction: column;
  row-gap: 40px;
  width: min(100%, 744px);
  margin: auto;
}

.p-sell-flow-list__item {
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-areas:
    "step txt"
    "arrow arrow";
  column-gap: 24px;
}

.p-sell-flow-list__item:not(:last-child):after {
  content: "";
  grid-area: arrow;
  margin: 35px auto 0;
  width: 29px;
  height: auto;
  aspect-ratio: 1 / 1;
  background: url(../img/relay/icon_list_arrow_bottom.svg) center / contain no-repeat;
}

.p-sell-flow-list__step {
  grid-area: step;
  align-self: flex-start;
  text-align: center;
  background: #fff;
  font-size: 1.4rem;
  line-height: 1.8;
  border: 1px solid #000;
  padding: 2px 10px;
}

@media (max-width: 648px) {
  .p-sell-flow-list__step {
    font-size: 1.2rem;
    padding: 3px 10px;
  }
}

.p-sell-flow-list__title {
  font-weight: bold;
  font-size: 2rem;
}

@media (max-width: 648px) {
  .p-sell-flow-list__title {
    font-size: 1.6rem;
  }
}

.p-sell-flow-list__txt {
  grid-area: txt;
  font-size: 1.6rem;
  line-height: 1.6;
  margin-top: 5px;
  text-align: justify;
}

@media (max-width: 648px) {
  .p-sell-flow-list__txt {
    font-size: 1.4rem;
  }
}

.p-sell-flow__footer {
  margin-top: 80px;
}

@media (max-width: 648px) {
  .p-sell-flow__footer {
    margin-top: 40px;
  }
}

.p-sell-flow-note {
  width: min(100%, 671px);
  margin: auto;
  font-size: 1.4rem;
  line-height: 1.8;
}

.p-sell-flow-note p:not(:first-child) {
  margin-top: 30px;
}

.p-interview {
  padding: 60px 0 120px;
}

@media (max-width: 648px) {
  .p-interview {
    padding: 40px 0;
  }
}

.p-interview__title {
  text-align: center;
  font-weight: bold;
  font-size: 2.4rem;
  line-height: 1.6;
}

@media (max-width: 648px) {
  .p-interview__title {
    font-size: 2rem;
  }
}

.p-interview__body {
  margin-top: 40px;
}

@media (max-width: 648px) {
  .p-interview__body {
    margin-top: 20px;
  }
}

.p-interview-item-wrapper {
  width: min(100%, 744px);
  margin: auto;
}

.p-interview-item__info {
  margin-top: 30px;
  font-size: 1.6rem;
  line-height: 1.8;
  text-align: justify;
}

@media (max-width: 648px) {
  .p-interview-item__info {
    font-size: 1.4rem;
    margin-top: 20px;
  }
}

.p-interview-item__link {
  margin-top: 5px;
}

@media (max-width: 648px) {
  .p-interview-item__link {
    margin-top: 15px;
  }
}

.p-interview-item__link a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  column-gap: 8px;
}

.p-interview-item__link a::after {
  content: "";
  display: block;
  width: 10px;
  height: 14px;
  background: url('/ie/relay/assets/img/relay/icon_arrow_right.svg') center / contain no-repeat;
}

