@charset "UTF-8";
/****************************************
Break Point Settings
****************************************/
/* Visivility depends on the device */
@media screen and (min-width: 767px) {
  .pconly {
    display: block;
  }
}
@media screen and (max-width: 768px) {
  .pconly {
    display: none !important;
  }
}

@media screen and (min-width: 767px) {
  .tab_sp {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .tab_sp {
    display: block !important;
  }
}

@media screen and (min-width: 767px) {
  .sponly {
    display: none !important;
  }
}
@media screen and (max-width: 768px) {
  .sponly {
    display: none !important;
  }
}
@media screen and (max-width: 480px) {
  .sponly {
    display: block !important;
  }
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

/****************************************
mixin
****************************************/
/****************************************
foundation
****************************************/
.myhomefair {
  font-size: 16px;
  font-size: 1rem;
  font-family: fot-tsukuardgothic-std, sans-serif;
  text-justify: inter-ideograph;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01rem;
  -webkit-font-smoothing: antialiased;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #000000;
}
.myhomefair p, .myhomefair span, .myhomefair a, .myhomefair th, .myhomefair td, .myhomefair dt, .myhomefair dd {
  font-size: 16px;
  font-size: 1rem;
}

/****************************************
layout
****************************************/
.l-sectionWidth {
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
  padding: 0 80px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media screen and (max-width: 768px) {
  .l-sectionWidth {
    max-width: 600px;
    padding: 0 7.5%;
  }
}

.myhomefair .l-main-visual {
  width: 100vw;
  position: relative;
  background-image: url(../images/top_backimage.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
@media screen and (max-width: 768px) {
  .myhomefair .l-main-visual {
    background-image: url(../images/top_backimage_sp.png);
  }
}
.myhomefair .l-main__logo-inner {
  padding-top: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
@media screen and (max-width: 768px) {
  .myhomefair .l-main__logo-inner {
    padding-top: 15px;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
.myhomefair .l-main__logo-image {
  width: 45%;
  margin-top: auto;
  min-width: 300px;
}
.myhomefair .l-main__logo-image:first-of-type {
  margin-right: 10%;
}
@media screen and (max-width: 768px) {
  .myhomefair .l-main__logo-image:first-of-type {
    margin-right: 0;
    margin-bottom: 10px;
  }
}
.myhomefair .l-main__logo-image img {
  width: 100%;
}
.myhomefair .l-main-map {
  width: 100vw;
}
.myhomefair .l-main-map__wrap {
  position: relative;
}
.myhomefair .l-main-map__wrap::before {
  content: "";
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: url(../images/top_slide_left.jpg) top center no-repeat;
  background-size: cover;
  -webkit-transition: all 1s;
  transition: all 1s;
  z-index: 1;
}
.myhomefair .l-main-map__wrap::after {
  right: 0;
  content: "";
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: url(../images/top_slide_right.jpg) top center no-repeat;
  background-size: cover;
  -webkit-transition: all 1s;
  transition: all 1s;
  z-index: 1;
}
.myhomefair .l-main-map__inner {
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
  padding: 0 80px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media screen and (max-width: 768px) {
  .myhomefair .l-main-map__inner {
    padding: 0 7.5%;
  }
}
.myhomefair .l-main-map__inner img {
  width: 100%;
}
.myhomefair .l-main-visual__image {
  position: relative;
  width: 70%;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 14%;
}
@media screen and (max-width: 768px) {
  .myhomefair .l-main-visual__image {
    width: 70%;
    padding-top: 20%;
  }
}
.myhomefair .l-main-visual__image img {
  width: 100%;
}
.myhomefair .l-main-map--sp {
  margin-bottom: 50px;
}
.myhomefair .l-main-map--sp .l-main-map__image {
  width: 100%;
}
.myhomefair .l-main-map--sp .l-main-map__image img {
  width: 100%;
}
.myhomefair .l-section {
  padding-top: 50px;
  width: 100vw;
}

/****************************************
component
****************************************/
.myhomefair .c-button {
  width: 100%;
  display: block;
  cursor: pointer;
  text-align: center;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  background-color: #ffe500;
  border-radius: 15px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.myhomefair .c-button span {
  position: relative;
  z-index: 3;
  font-weight: 600;
}
.myhomefair .c-button span::after {
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  right: -25px;
  margin: auto;
  vertical-align: middle;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-left: 8px solid;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
.myhomefair .c-button:hover {
  opacity: 0.6;
}
.myhomefair .c-button:hover span::after {
  right: -35px;
}
.myhomefair .c-button-arrow {
  position: relative;
  display: inline-block;
}
.myhomefair .c-button-arrow::after {
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  right: -25px;
  margin: auto;
  vertical-align: middle;
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-left: 8px solid;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
.myhomefair .c-button-arrow:hover::after {
  right: -35px;
}
.myhomefair .c-shadow {
  -webkit-box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
          box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}
.myhomefair .c-backcolor-yellow {
  background-color: #ffdf00;
}
.myhomefair .c-backcolor-lightyellow {
  background-color: #fff9cc;
}
.myhomefair .c-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.myhomefair .c-list li {
  position: relative;
  padding-left: 1.125rem;
}
.myhomefair .c-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 6px;
  width: 3px;
  height: 3px;
  background-color: #000;
  border-radius: 50%;
}
.myhomefair .c-link {
  color: #261d9a;
  cursor: pointer;
  font-weight: 600;
}
.myhomefair .c-center {
  text-align: center;
}
.myhomefair .c-button-more {
  display: none;
}
@media screen and (max-width: 768px) {
  .myhomefair .c-button-more {
    display: block;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
  }
}
@media screen and (max-width: 768px) {
  .myhomefair .c-button-more .c-button span::after {
    width: 10px;
    height: 10px;
    border: transparent;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    border-left: transparent;
    top: 50%;
    bottom: auto;
    -webkit-transform: translateY(-75%) rotate(135deg);
            transform: translateY(-75%) rotate(135deg);
  }
  .myhomefair .c-button-more .c-button:hover {
    opacity: 1;
  }
  .myhomefair .c-button-more .c-button:hover span::after {
    right: -25px;
  }
}
.myhomefair .c-button-more.is-active span::after {
  right: -25px;
  -webkit-transform: translateY(-35%) rotate(-45deg);
          transform: translateY(-35%) rotate(-45deg);
}
@media screen and (max-width: 768px) {
  .myhomefair .js-accordion__box {
    display: none;
    -webkit-transition: all 0.5s 0s ease;
    transition: all 0.5s 0s ease;
  }
}
@media screen and (max-width: 768px) {
  .myhomefair .js-accordion__box.is-open {
    display: block;
    -webkit-transition: all 0.5s 0s ease;
    transition: all 0.5s 0s ease;
  }
}

/****************************************
project
****************************************/
.myhomefair .p-main-map__title {
  text-align: center;
  font-size: clamp(1.5rem, 2.25vw, 2.375rem);
}
@media screen and (max-width: 768px) {
  .myhomefair .p-main-map__title {
    font-size: 26px;
    font-size: 1.625rem;
  }
}
.myhomefair .p-main-map__text {
  text-align: center;
  margin-top: 40px;
}
.myhomefair .p-main-map__text p {
  font-size: 22px;
  font-size: 1.375rem;
  line-height: 2;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-main-map__text p {
    font-size: 16px;
    font-size: 1rem;
  }
}
.myhomefair .p-main-map__image {
  width: 100%;
  margin-top: 20px;
}
.myhomefair .p-company-logo {
  margin-bottom: 50px;
}
.myhomefair .p-company-logo__inner {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.myhomefair .p-company-logo--woodyou {
  width: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  max-width: 70px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 0;
}
.myhomefair .p-company-logo--woodyou:first-child {
  max-width: 100px;
}
.myhomefair .p-company-logo--woodyou img {
  width: 100%;
}
.myhomefair .p-company-logo--toyotahome {
  width: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  max-width: 70px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 0;
}
.myhomefair .p-company-logo--toyotahome img {
  width: 100%;
}
.myhomefair .p-company-image {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.myhomefair .p-company-image--woodyou {
  width: 50%;
  height: auto;
}
.myhomefair .p-company-image--woodyou img {
  width: 100%;
}
.myhomefair .p-company-image--toyotahome {
  width: 50%;
  height: auto;
}
.myhomefair .p-company-image--toyotahome img {
  width: 100%;
}
.myhomefair .p-office--sp {
  width: 100%;
}
.myhomefair .p-office__list li {
  text-align: center;
  margin-bottom: 25px;
  position: relative;
}
.myhomefair .p-office__list a {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 2;
  width: 100%;
  display: block;
}
.myhomefair .p-office__image {
  width: 100%;
}
.myhomefair .p-office__image img {
  width: 100%;
}
.myhomefair .p-office__link {
  position: absolute;
  width: 50%;
  bottom: 3px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 100%;
}
.myhomefair .p-caption {
  margin-bottom: 10px;
}
.myhomefair .p-caption p {
  font-size: 1.375rem;
  font-family: fot-tsukuardgothic-std, sans-serif;
  font-weight: 700;
  font-style: normal;
  color: #808080;
}
.myhomefair .p-factory-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  position: absolute;
  bottom: 0;
}
.myhomefair .p-factory-link__item {
  width: 50%;
  text-align: center;
  position: relative;
  bottom: auto;
  left: auto;
  -webkit-transform: none;
          transform: none;
}
.myhomefair .p-factory-link__item a {
  width: auto;
}
.myhomefair .p-office__list-2col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.myhomefair .p-office__list-2col li {
  width: 48%;
}
.myhomefair .p-office__list-2col li:first-child {
  margin-right: 4%;
}
.myhomefair .p-anchorlink {
  margin-bottom: 50px;
}
.myhomefair .p-anchorlink__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}
.myhomefair .p-anchorlink__list-item {
  width: calc( 95% / 6);
  height: auto;
  min-width: 180px;
  margin-top: 20px;
  height: 180px;
  background: url(../images/svg/image-nav-button.svg) no-repeat;
  background-size: contain;
}
.myhomefair .p-anchorlink__list-item a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  opacity: 1 !important;
}
.myhomefair .p-anchorlink__list-item a::after {
  content: "";
  display: inline-block;
  position: absolute;
  bottom: 15px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 4.5px 0 4.5px;
  border-color: #000 transparent transparent transparent;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
.myhomefair .p-anchorlink__list-item a:hover {
  -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
          box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
}
.myhomefair .p-anchorlink__list-item a:hover::after {
  bottom: 5px;
}
.myhomefair .p-anchorlink__list-text {
  width: 100%;
  height: 100%;
  position: relative;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  text-align: center;
  padding: 5px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.myhomefair .p-anchorlink__list-text span {
  font-size: min(1.35vw, 13px);
  letter-spacing: 0;
  padding-top: 7%;
  display: inline-block;
}
.myhomefair .p-anchorlink__list-text p {
  font-size: min(2.2vw, 22px);
  font-weight: 600;
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.myhomefair .p-anchorlink__list-item--sp {
  width: calc( 95% / 2);
  height: auto;
  min-width: auto;
  margin-top: 20px;
  height: auto;
}
.myhomefair .p-anchorlink__list-item--sp a {
  display: block;
  width: 100%;
  height: 100%;
}
.myhomefair .p-anchorlink__button-image {
  width: 100%;
  height: 100%;
}
.myhomefair .p-anchorlink__button-image img {
  width: 100%;
  height: 100%;
}
.myhomefair .l-section__title {
  text-align: center;
}
@media screen and (max-width: 768px) {
  .myhomefair .l-section__title {
    height: 100%;
  }
}
.myhomefair .l-section__title .l-section__title-text {
  width: 410px;
  position: relative;
  line-height: 4.5rem;
  display: inline-block;
  font-weight: 700;
  font-style: normal;
  font-size: 30px;
  font-size: 1.875rem;
}
@media screen and (max-width: 768px) {
  .myhomefair .l-section__title .l-section__title-text {
    font-size: 20px;
    font-size: 1.25rem;
    width: 162px;
    line-height: normal;
    padding: 1rem 0;
  }
}
.myhomefair .l-section__title .l-section__title-text::before {
  content: "";
  display: inline-block;
  width: 6rem;
  height: 5rem;
  background-size: contain;
  position: absolute;
  bottom: 0;
  left: -20%;
  margin-bottom: -6px;
}
@media screen and (max-width: 768px) {
  .myhomefair .l-section__title .l-section__title-text::before {
    left: -50%;
  }
}
.myhomefair .l-section__title .l-section__title-text::after {
  content: "";
  display: inline-block;
  width: 6rem;
  height: 5rem;
  background-size: contain;
  position: absolute;
  bottom: 0;
  right: -20%;
  margin-bottom: -6px;
}
@media screen and (max-width: 768px) {
  .myhomefair .l-section__title .l-section__title-text::after {
    right: -50%;
  }
}
.myhomefair .l-section__title-text::before {
  background: url(../images/svg/section_icon03.svg) no-repeat;
}
@media screen and (max-width: 768px) {
  .myhomefair .l-section__title-text::before {
    display: none;
  }
}
.myhomefair .l-section__title-text::after {
  background: url(../images/svg/section_icon04.svg) no-repeat;
}
@media screen and (max-width: 768px) {
  .myhomefair .l-section__title-text::after {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .myhomefair #section-1 .l-section__title-text {
    padding: 0.2rem 0;
  }
}
.myhomefair .l-section__body {
  padding: 50px 0;
}
.myhomefair .p-body__head p {
  font-size: 22px;
  font-size: 1.375rem;
  font-weight: 600;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-body__head p {
    font-size: 18px;
    font-size: 1.125rem;
  }
}
.myhomefair .p-panel {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.myhomefair .p-panel-item {
  width: calc( 98% / 2);
  background-color: #fff;
  margin-top: 50px;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-panel-item {
    width: 100%;
    margin-top: 30px;
  }
}
.myhomefair .p-panel__tag {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  width: 50%;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-panel__tag {
    width: 70%;
  }
}
.myhomefair .p-panel-item__inner {
  padding: 30px;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-panel-item__inner {
    padding: 20px;
  }
}
.myhomefair .p-panel__image-tag {
  text-align: center;
  padding: 5px 0;
}
.myhomefair .p-panel__image-tag.-brown {
  background-color: #7f684c;
}
.myhomefair .p-panel__image-tag.-blue {
  background-color: #4972b6;
}
.myhomefair #section-3 .p-panel__image-tag {
  margin-bottom: 30px;
}
.myhomefair .p-panel__image-tag p {
  color: #fff;
}
.myhomefair .c-panel-block {
  padding-top: 30px;
}
.myhomefair .p-panel__point-title {
  text-align: center;
  padding: 5px;
}
.myhomefair .p-panel__point-title p {
  font-size: 30px;
  font-size: 1.875rem;
  position: relative;
  display: inline-block;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-panel__point-title p {
    font-size: 20px;
    font-size: 1.25rem;
  }
}
.myhomefair .p-panel__point-title p::after {
  content: "";
  display: inline-block;
  background-image: url("../images/svg/logo-point.svg");
  background-repeat: no-repeat;
  background-size: cover;
  width: 25px;
  height: 30px;
  position: absolute;
  top: 50%;
  right: -20px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
.myhomefair .c-panel-block__inner {
  padding: 10px 4%;
}
.myhomefair .p-panel__point-list li {
  background-image: linear-gradient(to right, #ffdf00, #ffdf00 8px, transparent 8px, transparent 12px);
  background-size: 12px 2px;
  background-position: left bottom;
  background-repeat: repeat-x;
  padding-bottom: 5px;
}
.myhomefair .p-house__info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.myhomefair .p-house__info dt {
  width: 5rem;
  margin-right: 1rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.myhomefair .p-house__info dd {
  width: calc(100% - 6rem );
}
.myhomefair .p-panel__button {
  width: 100%;
  max-width: 370px;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-panel__button {
    width: 100%;
    max-width: 200px;
  }
}
.myhomefair .p-panel__button-grid2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.myhomefair .p-panel__button-item {
  width: calc(98%/2);
  min-width: 200px;
  margin-top: 10px;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-panel__button-item {
    min-width: auto;
  }
}
.myhomefair #section-2 .p-panel__text {
  text-align: center;
}
.myhomefair #section-3 .p-panel__image-tag {
  position: relative;
  background-size: auto auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.myhomefair #section-3 .p-panel__image-tag p {
  color: #fff;
  font-size: 3vw;
  position: relative;
  z-index: 1;
  position: relative;
}
@media screen and (max-width: 768px) {
  .myhomefair #section-3 .p-panel__image-tag p {
    font-size: 20px;
    font-size: 1.25rem;
  }
}
.myhomefair #section-3 .p-panel__image-tag b {
  width: 18%;
  padding-left: 10%;
}
@media screen and (max-width: 768px) {
  .myhomefair #section-3 .p-panel__image-tag b {
    width: 25%;
  }
}
.myhomefair #section-3 .p-panel__image-tag.-brown {
  background-color: #7f684c;
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 2px, #745e30 3px, #745e30 5px);
}
.myhomefair #section-3 .p-panel__image-tag.-blue {
  background-color: #4972b7;
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 2px, #466cab 2px, #466cab 6px);
}
.myhomefair .p-card {
  margin-top: 50px;
}
.myhomefair .p-card__title {
  font-size: 30px;
  font-size: 1.875rem;
  text-align: center;
  position: relative;
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-card__title {
    font-size: 20px;
    font-size: 1.25rem;
  }
}
.myhomefair .p-card__title::after {
  position: absolute;
  content: "";
  width: 170px;
  height: 1px;
  display: block;
  background-color: #868686;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  margin-top: 5px;
}
.myhomefair .p-card__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.myhomefair .p-card-item {
  width: 30%;
  background-color: #fff;
  margin-top: 30px;
}
.myhomefair .p-card-item:not(:last-of-type) {
  margin-right: 5%;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-card-item {
    width: 100%;
  }
  .myhomefair .p-card-item:not(:last-of-type) {
    margin-right: 0;
  }
}
.myhomefair .card__body {
  padding: 10px;
}
.myhomefair .card__title {
  border-bottom: solid 1px #868686;
  padding-bottom: 5px;
}
.myhomefair .card__title p {
  font-size: 18px;
  font-size: 1.125rem;
  text-align: center;
}
.myhomefair .card__copy {
  padding-top: 10px;
}
@media screen and (max-width: 768px) {
  .myhomefair .card__copy {
    text-align: center;
  }
}
.myhomefair .card__link {
  padding-top: 10px;
  text-align: center;
}
.myhomefair .l-section__foot-button {
  margin-top: 50px;
  text-align: center;
  width: 370px;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 768px) {
  .myhomefair .l-section__foot-button {
    width: 100%;
    max-width: 300px;
  }
}
.myhomefair .p-grid__container {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 49% 49%;
  grid-template-columns: 49% 49%;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  row-gap: 50px;
  margin-top: 50px;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-grid__container {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
.myhomefair .p-grid__item {
  background-color: #fff;
}
.myhomefair .p-grid__item:nth-child(1) {
  -ms-grid-column: 1;
  -ms-grid-column-span: 1;
  grid-column: 1/2;
  -ms-grid-row: 1;
  -ms-grid-row-span: 1;
  grid-row: 1/2;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-grid__item:nth-child(1) {
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-column: 1/2;
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    grid-row: 1/2;
  }
}
.myhomefair .p-grid__item:nth-child(2) {
  -ms-grid-column: 2;
  -ms-grid-column-span: 1;
  grid-column: 2/3;
  -ms-grid-row: 1;
  -ms-grid-row-span: 1;
  grid-row: 1/2;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-grid__item:nth-child(2) {
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-column: 1/2;
    -ms-grid-row: 4;
    -ms-grid-row-span: 1;
    grid-row: 4/5;
  }
}
.myhomefair .p-grid__item:nth-child(3) {
  -ms-grid-column: 1;
  -ms-grid-column-span: 1;
  grid-column: 1/2;
  -ms-grid-row: 2;
  -ms-grid-row-span: 1;
  grid-row: 2/3;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-grid__item:nth-child(3) {
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-column: 1/2;
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    grid-row: 2/3;
  }
}
.myhomefair .p-grid__item:nth-child(4) {
  -ms-grid-column: 2;
  -ms-grid-column-span: 1;
  grid-column: 2/3;
  -ms-grid-row: 2;
  -ms-grid-row-span: 1;
  grid-row: 2/3;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-grid__item:nth-child(4) {
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-column: 1/2;
    -ms-grid-row: 5;
    -ms-grid-row-span: 1;
    grid-row: 5/6;
  }
}
.myhomefair .p-grid__item:nth-child(5) {
  -ms-grid-column: 1;
  -ms-grid-column-span: 1;
  grid-column: 1/2;
  -ms-grid-row: 3;
  -ms-grid-row-span: 1;
  grid-row: 3/4;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-grid__item:nth-child(5) {
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-column: 1/2;
    -ms-grid-row: 3;
    -ms-grid-row-span: 1;
    grid-row: 3/4;
  }
}
.myhomefair .p-grid__item:nth-child(6) {
  -ms-grid-column: 2;
  -ms-grid-column-span: 1;
  grid-column: 2/3;
  -ms-grid-row: 3;
  -ms-grid-row-span: 1;
  grid-row: 3/4;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-grid__item:nth-child(6) {
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-column: 1/2;
    -ms-grid-row: 6;
    -ms-grid-row-span: 1;
    grid-row: 6/7;
  }
}
.myhomefair .p-card-event {
  width: 100%;
  margin-top: 50px;
}
.myhomefair .p-card-event__inner {
  background-color: #fff;
  padding: 5%;
}
.myhomefair .p-card-event__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-card-event__body {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}
.myhomefair .p-card-event__image {
  width: 40%;
  max-width: 500px;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-card-event__image {
    width: 100%;
  }
}
.myhomefair .p-card-event__list {
  width: calc(96% - 40%);
}
@media screen and (max-width: 768px) {
  .myhomefair .p-card-event__list {
    width: 100%;
    padding-top: 20px;
  }
}
.myhomefair .p-card-event__list dl {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  width: 100%;
  height: 100%;
}
.myhomefair .p-card-event__list dt {
  width: 7rem;
  padding-right: 1rem;
  border-right: solid 1px #000;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-card-event__list dt {
    border-right: none;
    border-bottom: solid 1px;
    width: 100%;
    padding-right: 0;
    padding-bottom: 5px;
    margin-top: 20px;
  }
}
.myhomefair .p-card-event__list dd {
  margin-left: 2rem;
  width: calc(100% - 9rem);
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-card-event__list dd {
    width: 100%;
    margin-left: 0;
    padding-top: 5px;
  }
}
.myhomefair .p-card-event__button {
  margin-top: 50px;
  text-align: center;
  width: 470px;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-card-event__button {
    width: 100%;
    max-width: 370px;
  }
}
.myhomefair .p-card-event__button span {
  font-size: 30px;
  font-size: 1.875rem;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-card-event__button span {
    font-size: 20px;
    font-size: 1.25rem;
  }
}
.myhomefair .p-card-event__button span::after {
  top: 2px;
  right: -30px;
  border: 11px solid transparent;
  border-left: 13px solid;
}
.myhomefair .p-benefit {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 50px;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-benefit {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    margin-top: 20px;
  }
}
.myhomefair .p-benefit__text {
  width: 70%;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-benefit__text {
    width: 100%;
  }
}
.myhomefair .p-benefit__text ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.myhomefair .p-benefit__text ul li {
  margin-bottom: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-benefit__text ul li {
    margin-bottom: 50px;
  }
}
.myhomefair .p-benefit__text ul li .imamge {
  width: 100px;
  margin-right: 3%;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-benefit__text ul li .imamge {
    width: 32%;
  }
}
.myhomefair .p-benefit__text ul li .imamge img {
  width: 100%;
}
.myhomefair .p-benefit__text ul li .type {
  width: 30%;
  min-width: 220px;
  margin-right: 3%;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-benefit__text ul li .type {
    width: 65%;
    min-width: auto;
    margin-right: 0;
  }
}
.myhomefair .p-benefit__text ul li .type p {
  font-size: 1.75rem;
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-benefit__text ul li .type p {
    font-size: 1.625rem;
  }
}
.myhomefair .p-benefit__text ul li .type span {
  display: block;
  font-size: 1.125rem;
}
.myhomefair .p-benefit__text ul li .reward-money {
  min-width: 235px;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-benefit__text ul li .reward-money {
    width: auto;
    min-width: none;
    margin-top: 10px;
  }
}
.myhomefair .p-benefit__text ul li .reward-money span {
  font-size: 1rem;
  font-weight: 700;
  color: #000000;
}
.myhomefair .p-benefit__text ul li .reward-money p {
  font-size: 3.75rem;
  color: #e04a46;
  font-weight: 800;
  line-height: 1;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-benefit__text ul li .reward-money p {
    font-size: 3.5rem;
  }
}
.myhomefair .p-benefit__image {
  width: 27%;
  margin-left: 3%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-benefit__image {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}
.myhomefair .p-benefit__image img {
  width: 100%;
}
.myhomefair .p-benefit__note {
  margin-top: 50px;
}
.myhomefair .p-benefit__note ul li {
  font-size: 1rem;
  margin-bottom: 15px;
  line-height: 1;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-benefit__note ul li {
    font-size: 0.9rem;
    line-height: 1.5rem;
  }
}
.myhomefair .p-foot__inner {
  position: relative;
  text-align: center;
  margin-right: auto;
  margin-left: auto;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0 7.5%;
}
.myhomefair .p-foot__title p {
  font-size: 3.25vw;
  font-weight: 600;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-foot__title p {
    font-size: 4.5vw;
    line-height: 2;
  }
}
.myhomefair .p-foot__title h2 {
  font-size: min(4vw, 3.7rem);
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  .myhomefair .p-foot__title h2 {
    font-size: 7vw;
    line-height: 1.5;
  }
}

/****************************************
animation
****************************************/
#fade-in-bottom {
  opacity: 0;
}

.fade-in-bottom {
  -webkit-animation: fadein-bottom 0.7s ease-out 0.3s 1 normal forwards;
          animation: fadein-bottom 0.7s ease-out 0.3s 1 normal forwards;
}

@-webkit-keyframes fadein-bottom {
  0% {
    opacity: 0;
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@keyframes fadein-bottom {
  0% {
    opacity: 0;
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
/*スクロールして下からフェードイン*/
.is-fadein {
  opacity: 0;
  -webkit-transform: translate(0, 100px);
          transform: translate(0, 100px);
  -webkit-transition: all 1s cubic-bezier(0.43, 0.05, 0.17, 1);
  transition: all 1s cubic-bezier(0.43, 0.05, 0.17, 1);
}

.is-fadein.active {
  opacity: 1;
  -webkit-transform: translate(0, 0);
          transform: translate(0, 0);
}

/*メインマップ*/
.slidein::before {
  -webkit-animation: slideIn_left 1.5s ease-in 0.5s 1 normal forwards;
          animation: slideIn_left 1.5s ease-in 0.5s 1 normal forwards;
}
.slidein::after {
  -webkit-animation: slideIn_right 1.5s ease-in 0.5s 1 normal forwards;
          animation: slideIn_right 1.5s ease-in 0.5s 1 normal forwards;
}

@-webkit-keyframes slideIn_left {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateX(-1000px);
            transform: translateX(-1000px);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
}

@keyframes slideIn_left {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateX(-1000px);
            transform: translateX(-1000px);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
}
@-webkit-keyframes slideIn_right {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateX(1000px);
            transform: translateX(1000px);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
}
@keyframes slideIn_right {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateX(1000px);
            transform: translateX(1000px);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
}