@charset "utf-8";

/**
 * HOME
 * ---------------------------------------- */
.p-mainvisual .c-slider {
  position: relative;
  max-width: 1422px;
  margin: 0 auto;
  padding: 0 1px 32px 1px;
}
.p-mainvisual .c-slider::before,
.p-mainvisual .c-slider::after {
  content: "";
  z-index: 1;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 64px;
}
.p-mainvisual .c-slider::before {
  left: 0;
  background: linear-gradient(to left, #fff0, #fff);
}
.p-mainvisual .c-slider::after {
  right: 0;
  background: linear-gradient(to left, #fff, #fff0);
}
.p-mainvisual .flickity-page-dots {
  bottom: 0;
}
@media print, (max-width: 768px) {
  .p-mainvisual {
    margin-right: var(--breakout);
    margin-left: var(--breakout);
  }
}
@media screen and (max-width: 767px) {
  .p-mainvisual {
    margin-right: -20px;
    margin-left: -20px;
  }
}
/* 2枚以下でのフェード不具合対策 */
.p-mainvisual .c-slider[data-items="2"] .visual {
  transition: opacity 0.4s;
}
.p-mainvisual .c-slider[data-items="2"] .visual.is-selected {
  z-index: 1 !important;
  opacity: 1 !important;
}
.p-mainvisual .c-slider[data-items="2"] .visual:not(.is-selected) {
  z-index: 0 !important;
  opacity: 0 !important;
}

/* :::::: 冒頭文 :::::: */
.p-lead {
  margin-top: 80px;
}
@media screen and (max-width: 767px) {
  .p-lead {
    margin-top: 40px;
  }
}

/* :::::: セクション :::::: */
@media print, (min-width: 768px) {
  .c-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
.c-section .text {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.c-section .image {
  max-width: 420px;
  border: 2px solid #009261;
}
.c-section .image .photo {
  background: white;
}
/* 偶数番目のsection.c-sectionの.imageを左に配置 */
.l-main > section.c-section:nth-of-type(even) .image {
  order: -1;
}
.c-section .c-lead {
  margin-top: 1em;
}
.c-section .c-note {
  margin-top: 1em;
}
.c-section .c-schedule {
  width: 336px;
  max-width: 100%;
  margin-top: 1em;
  white-space: nowrap;
}
.c-section .c-button,
.c-section .c-buttons,
.c-section .c-button2,
.c-section .c-buttons2 {
  margin-top: 40px;
}
.c-section .c-buttons .c-button {
  margin-top: 0;
}
.c-section .closing {
  margin-top: 0.5em;
  color: #006436;
  font-size: 18px;
}
@media print, (min-width: 768px) {
  .c-section .text,
  .c-section .image {
    flex-basis: calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}
@media screen and (max-width: 767px) {
  .c-section .image {
    margin: 40px auto 0;
  }
  .l-main > section.c-section:nth-of-type(even),
  #search.c-conversion {
    scroll-margin-top: calc(48px + 64px);
  }
}
@media screen and (max-width: 359px) {
  .c-section .c-schedule {
    font-size: 12px;
  }
}

/* :::::: グリッター :::::: */
@media print, (min-width: 768px) {
  .c-section .section_deco {
    top: 40px;
    bottom: 40px;
  }
  .c-conversion .section_deco,
  .l-main > section.c-section:nth-of-type(even) .section_deco {
    top: -80px;
    bottom: -80px;
  }

  /* ご来店キャンペーン */
  .p-campaign .section_deco .c-deco:nth-of-type(1) {
    top: 80px;
    left: -16px;
  }
  .p-campaign .section_deco .c-deco:nth-of-type(2) {
    top: -40px;
    left: -24px;
  }

  /* ミッキーデザインキー登場！ */
  .p-designkey .section_deco .c-deco:nth-of-type(1) {
    bottom: 32px;
    left: -24px;
  }
  .p-designkey .section_deco .c-deco:nth-of-type(2) {
    bottom: -32px;
    left: 0;
  }
  .p-designkey .section_deco .c-deco:nth-of-type(3) {
    top: 32px;
    right: -24px;
  }
  .p-designkey .section_deco .c-deco:nth-of-type(4) {
    top: -40px;
    right: 0;
  }
  /* 一弾公開 */
  .p-designkey.-r .section_deco .c-deco:nth-of-type(1) {
    top: 80px;
    left: -24px;
    bottom: auto;
  }
  .p-designkey.-r .section_deco .c-deco:nth-of-type(2) {
    top: -40px;
    left: -24px;
    bottom: auto;
  }
  .p-designkey.-r .section_deco .c-deco:nth-of-type(3) {
    bottom: 40px;
    right: 0;
    top: auto;
  }
  .p-designkey.-r .section_deco .c-deco:nth-of-type(4) {
    bottom: -40px;
    right: 0;
    top: auto;
  }

  /* 隠れミッキー鍵探し */
  .p-game .section_deco .c-deco:nth-of-type(1) {
    bottom: 16px;
    left: -16px;
  }
  .p-game .section_deco .c-deco:nth-of-type(2) {
    top: 0;
    right: 0;
  }
  .p-game .section_deco .c-deco:nth-of-type(3) {
    top: 0;
    right: 120px;
  }

  /* ミッキーデザインルームお試し入居キャンペーン */
  .p-designroom .section_deco .c-deco {
    transform: rotate(30deg);
  }
  .p-designroom .section_deco .c-deco:nth-of-type(1) {
    top: 32px;
    left: 0;
  }
  .p-designroom .section_deco .c-deco:nth-of-type(2) {
    top: -40px;
    left: 24px;
  }
  .p-designroom .section_deco .c-deco:nth-of-type(3) {
    bottom: 32px;
    right: -24px;
  }
  .p-designroom .section_deco .c-deco:nth-of-type(4) {
    bottom: -40px;
    right: 0;
  }

  /* 賃貸物件をおさがしの方はこちら */
  .c-conversion .section_deco .c-deco {
    transform: rotate(-30deg);
  }
  .c-conversion .section_deco .c-deco:nth-of-type(2n) {
    width: 180px;
    height: 180px;
  }
  .c-conversion .section_deco .c-deco:nth-of-type(1) {
    bottom: 0;
    left: 80px;
  }
  .c-conversion .section_deco .c-deco:nth-of-type(2) {
    bottom: 0;
    left: -40px;
  }
  .c-conversion .section_deco .c-deco:nth-of-type(3) {
    top: 24px;
    right: 80px;
  }
  .c-conversion .section_deco .c-deco:nth-of-type(4) {
    top: 24px;
    right: -40px;
  }
}

/* :::::: 賃貸物件をおさがしの方はこちら :::::: */
.c-conversion .c-buttons {
  column-gap: 20px;
  margin-top: 40px;
}
.c-conversion .c-buttons2 {
  column-gap: 20px;
  margin: 40px auto 60px;
}

.c-conversion .c-button {
  width: 280px;
  height: 80px;
  padding-left: 32px;
}

.c-conversion .c-button2 {
  width: 400px;
  height: 80px;
  /* padding-left: 32px; */
}

.c-conversion .c-button .ico {
  position: absolute;
  top: calc(50% - 16px);
  left: 16px;
  width: 32px;
  height: 32px;
  fill: currentcolor;
  vertical-align: middle;
}

@media print, (min-width: 1024px) {
  .c-conversion .c-button {
    left: 24px;
    font-size: 18px;
  }
}

@media print, (min-width: 1024px) {
  .c-conversion .c-button2 {
    /* left: 24px; */
    font-size: 18px;
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 767px) {
  .c-conversion .c-buttons {
    flex-direction: column;
    margin-top: 40px;
    font-size: 18px;
  }

  .c-conversion .c-buttons2 {
    flex-direction: column;
    margin-top: 40px;
    font-size: 18px;
  }

  .c-conversion .c-button .ico {
    left: 24px;
  }
}
@media screen and (max-width: 479px) {
  .c-conversion .c-button {
    width: calc(100% - 40px);
  }

  .c-conversion .c-button2 {
    width: 100%;
  }
}
