@charset "utf-8";

/* お問合せ
------------------------------------------*/
#contact_link {
  position: fixed;
  bottom: 1rem;
  width: fit-content;
  padding: 1rem 3rem;
  margin: 0 auto;
  left: 0;
  right: 0;
  background-color: var(--main-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--main-white);
  border-radius: 3rem;
  z-index: 10;
}

#contact_link img {
  margin-right: 0.5rem;
}

@media only screen and (max-width: 640px) {
  #contact_link {
    width: 90%;
  }
}

/* メインセクション
------------------------------------------*/
#main {
  background-color: var(--main-lightgray);
  width: 100%;
  padding: 2rem 0;
  text-align: center;
}

#main .place {
  display: flex;
  justify-content: center;
  align-items: center;
}

#main .place img {
  margin-right: 0.5rem;
}

#main h1 {
  font-size: 2rem;
  margin: 1rem 0 0.25rem;
}

#main .hashtags {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

#main .hashtags span {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  color: var(--main-black);
  background-color: var(--main-gray);
  border-radius: 2rem;
  margin: 0 0.5rem;
}

#main .flex_container {
  width: var(--main-width);
  max-width: var(--main-max-width);
  display: flex;
  justify-content: center;
  align-items: start;
  margin: 0 auto;
}

#main .about {
  width: 450px;
}

#main .about.sp {
  display: none;
}

#main .about .img {
  width: 200px;
  height: 200px;
  border-radius: 1rem;
  border: 3px solid var(--main-black);
  margin: 0 auto;
  background-position: center;
  background-size: cover;
  margin-bottom: 1.25rem;
}

#main .about .sns_container {
  text-align: center;
  margin-bottom: 0.75rem;
}

#main .about .sns_container a {
  display: inline-block;
  margin: 0 1rem;
}

#main .about .description {
  text-align: left;
}

/* スライダー */
.slider_wrapper {
  width: 700px;
  max-width: 60%;
  margin: 0 3rem;
  position: relative;
}

.slider_wrapper .label {
  position: absolute;
  top: -1rem;
  left: 0;
  padding: 0.25rem 2rem;
  color: var(--main-white);
  z-index: 1;
  border-radius: 0.25rem;
  font-size: 1.125rem;
  font-weight: bold;
}

.slider_wrapper .label.open {
  background-color: var(--main-green);
}

.slider_wrapper .label.full {
  background-color: var(--main-red);
}

#slick_slider {
  margin-top: 0;
}

#slick_slider .slick-slide {
  height: 480px;
  overflow: hidden;
  border-radius: 0.5rem;
}

#slick_slider .slick-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#slick_slider .liverty_prev {
  position: absolute;
  z-index: 1;
  left: 3rem;
  top: calc(50% - 1.5rem);
}

#slick_slider .liverty_next {
  position: absolute;
  z-index: 1;
  right: 0.5rem;
  top: calc(50% - 1.5rem);
}

#slick_slider .liverty_prev::after {
  content: "";
  display: block;
  width: 2rem;
  height: 3rem;
  background-image: url("../img/icons/prev_white.png");
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
}

#slick_slider .liverty_next::after {
  content: "";
  display: block;
  width: 2rem;
  height: 3rem;
  background-image: url("../img/icons/next_white.png");
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
}

.thumbs_dots {
  margin: 10px 0 0;
  padding: 0 0.5rem;
}

.thumbs_list li {
  display: inline-block;
  margin: 0 0.5rem;
  width: 200px;
  max-width: calc(20% - 1rem);
  height: 120px;
  opacity: 0.4;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: opacity 0.3s;
}

.thumbs_list li.slick-active {
  opacity: 1;
}

@media only screen and (max-width: 1280px) {
  .thumbs_list {
    padding-left: 0;
  }

  #slick_slider .liverty_prev {
    left: 0.5rem;
  }
}

@media only screen and (max-width: 1000px) {
  .thumbs_list li {
    height: 100px;
  }

  #main .flex_container {
    display: block;
  }

  .slider_wrapper {
    max-width: 80%;
    margin: 0 auto;
  }

  #slick_slider {
    padding-left: 0;
  }

  #main .about.pc {
    display: none;
  }

  #main .about.sp {
    display: flex;
  }

  #main .about {
    width: 100%;
    display: flex;
    align-items: start;
    justify-content: space-between;
    position: relative;
    margin: 6rem 0 2rem;
    padding: 0 1rem;
  }

  .slider_wrapper .label {
    left: -1rem;
  }

  #main .about .img {
    width: 120px;
    height: 120px;
    margin: 0;
  }

  #main .about .sns_container {
    position: absolute;
    top: -4rem;
    left: 0;
    right: 0;
    margin: 0 auto;
  }

  #main .about .description {
    width: calc(100% - 120px - 1rem);
  }

  .slick-dotted.slick-slider {
    margin-bottom: 3rem;
  }
}

@media only screen and (max-width: 640px) {
  #main .about .img {
    display: none;
  }

  #main .about .description {
    width: 100%;
  }

  .thumbs_list li {
    height: 60px;
    margin: 0 0.25rem;
  }

  #slick_slider .slick-slide {
    height: 300px;
  }

  .slider_wrapper {
    max-width: 100%;
  }

  .slider_wrapper .label {
    left: -0.5rem;
  }
}

@media only screen and (max-width: 420px) {
  .thumbs_list li {
    margin: 0 0.125rem;
    height: 50px;
  }
}

/* タブセクション
------------------------------------------*/
#tab {
  width: 100%;
  background-color: var(--main-lightgray);
  width: 100%;
}

#tab .container {
  width: var(--main-width);
  max-width: var(--main-max-width);
  margin: 0 auto;
  display: flex;
}

#tab .container .tab {
  width: 200px;
  text-align: center;
  font-weight: bold;
  font-size: 1.25rem;
  padding: 0.5rem 0;
  cursor: pointer;
}

#tab .container .tab.active {
  cursor: default;
  border-bottom: 4px solid var(--main-black);
  opacity: 1;
}

/* コンテンツ
------------------------------------------*/
#content {
  width: var(--main-width);
  max-width: var(--main-max-width);
  margin: 0 auto;
  display: flex;
  align-items: start;
  justify-content: center;
  padding: 3rem 0;
}

#content .left {
  width: calc(100% - 400px);
  padding-right: 3rem;
}

#detail_tab_section,
#blog_tab_section {
  display: none;
}

#detail_tab_section a {
  text-decoration: underline;
}

#detail_tab_section.active,
#blog_tab_section.active {
  display: block;
}

/* 物件詳細 */
/* 管理人 */
#detail_tab_section h5 {
  border-left: 3px solid var(--main-black);
  padding-left: 0.5rem;
  font-size: 1.25rem;
  font-weight: bold;
}

#detail_tab_section .owner_container {
  display: flex;
  align-items: start;
  margin-bottom: 4rem;
}

#detail_tab_section .owner_container .img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-position: center;
  background-size: cover;
}

#detail_tab_section .owner_container .content {
  width: calc(100% - 200px);
  padding-left: 1.5rem;
}

#detail_tab_section .owner_container .content .title {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

#detail_tab_section .owner_container .content .title .name {
  font-size: 1.25rem;
  font-weight: bold;
  margin-right: 1.5rem;
}

#detail_tab_section .owner_container .content .title .icon {
  margin-right: 1rem;
}

#detail_tab_section .owner_container .content .title .icon img {
  width: 20px;
  height: 20px;
}

/* ABOUT */
#detail_tab_section .about_container {
  margin-bottom: 2rem;
}

/* Google Map */
#map {
  width: 100%;
  height: 400px;
  margin-bottom: 3rem;
}

/* 物件概要 */
#detail_tab_section .overview_container .table {
  border: 3px solid var(--main-black);
  border-radius: 1rem;
  width: 100%;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

#detail_tab_section .overview_container .table .tr {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--main-black);
}

#detail_tab_section .overview_container .table .tr:last-child {
  border-bottom: none;
}

#detail_tab_section .overview_container .table .tr div {
  margin: 0.5rem;
}

#detail_tab_section .overview_container .table .tr div:first-child {
  font-weight: bold;
  width: 130px;
  min-width: 130px;
}

#detail_tab_section .overview_container .table .tr div:last-child {
  border-left: 2px solid var(--main-black);
  padding-left: 1rem;
}

/* ブログ */
#blog_tab_section .blog {
  width: 100%;
  margin-bottom: 6rem;
}

#blog_tab_section .blog h4 {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0.5rem 0;
}

#blog_tab_section .blog .date {
  font-weight: lighter;
  margin-bottom: 0.5rem;
}

#blog_tab_section .blog .img {
  display: block;
  width: 100%;
  height: 400px;
  background-position: center;
  background-size: cover;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
}

#blog_tab_section .blog .description {
  margin-bottom: 0.5rem;
}

#blog_tab_section .blog .more {
  display: block;
  margin: 0 0 0 auto;
  color: var(--main-blue);
  width: fit-content;
}

/* 部屋 */
#content .right {
  width: 400px;
}

#content .right .title {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 0 0.5rem;
  border-bottom: 3px solid var(--main-black);
  margin-bottom: 1rem;
}

#content .right .title .label {
  font-weight: bold;
  font-size: 1.25rem;
  margin: 0 0.75rem;
}

#content .right .title .number {
  display: block;
  background-color: var(--main-green);
  padding: 0 1.25rem;
  color: var(--main-white);
  border-radius: 1rem;
  font-size: 0.875rem;
}

#content .right .title .number.full {
  background-color: var(--main-red);
}

#content .right .room {
  margin-bottom: 4rem;
  position: relative;
}

#content .right .room .label {
  position: absolute;
  right: -1rem;
  top: 1.5rem;
  text-align: center;
  color: var(--main-white);
  border-radius: 0.5rem;
  display: block;
  width: 100px;
  padding: 0.25rem 0;
  z-index: 1;
}

#content .right .room .label.open {
  background-color: var(--main-green);
}

#content .right .room .label.full {
  background-color: var(--main-red);
}

#content .right .room .price {
  display: flex;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

#content .right .room .price .rent {
  font-size: 1.25rem;
  font-weight: bold;
  margin-right: 0.5rem;
}

#content .right .room .img {
  position: relative;
  width: 100%;
  height: 250px;
  background-position: center;
  background-size: cover;
  border-radius: 1rem;
  border: 2px solid var(--main-black);
  margin-bottom: 1rem;
}

#content .right .room .img .category_badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8125rem;
  font-weight: bold;
  color: var(--main-white);
  border: 2px solid var(--main-white);
  letter-spacing: 0.05em;
}

#content .right .room .img .category_badge.share {
  background-color: var(--main-black);
}

#content .right .room .img .category_badge.lodging {
  background-color: var(--main-black);
}

#content .right .room h5 {
  font-weight: bold;
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

@media only screen and (max-width: 1280px) {
  #content .left {
    width: calc(100% - 300px);
  }

  #content .right {
    width: 300px;
  }
}

@media only screen and (max-width: 1000px) {
  #content {
    display: block;
  }

  #content .left,
  #content .right {
    width: 100%;
  }

  #content .right {
    margin-top: 8rem;
  }

  #content .right .title {
    margin-bottom: 3rem;
  }

  #content .right .room_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: start;
  }

  #content .right .room .price {
    margin-bottom: 1rem;
  }

  #content .right .room .price .service {
    font-size: 0.875rem;
  }

  #content .right .room {
    display: inline-block;
    width: calc(50% - 1.25rem);
  }

  #content .right .room .label {
    top: 2rem;
  }

  #content .left {
    padding-right: 0;
  }
}

@media only screen and (max-width: 640px) {
  #content .right .room {
    width: 100%;
  }

  #content .right .room .label {
    right: -0.5rem;
  }

  #detail_tab_section .overview_container .table .tr {
    display: block;
  }

  #detail_tab_section .overview_container .table .tr div:first-child {
    margin-top: 1rem;
    margin-bottom: 0.25rem;
  }

  #detail_tab_section .overview_container .table .tr div:last-child {
    margin-top: 0;
    margin-bottom: 1rem;
    padding-left: 0;
    border: none;
  }

  #detail_tab_section .owner_container {
    display: block;
  }

  #detail_tab_section .owner_container .img {
    margin: 0 auto 1rem;
  }

  #detail_tab_section .owner_container .content {
    width: 100%;
    padding-left: 0;
  }

  #blog_tab_section .blog .img {
    height: 300px;
  }
}

@media only screen and (max-width: 375px) {
  #blog_tab_section .blog .img {
    height: 220px;
  }
}

/* 編集内容
------------------------------------------*/
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignright {
  float: right;
  margin: 0.5em 0 0.5em 1em;
}

.alignleft {
  float: left;
  margin: 0.5em 1em 0.5em 0;
}
