@charset "utf-8";
/* CSS Document */
#contesntsWrapper {
margin-top: 50px !important;
}

article ul{
padding-inline-start: 0
}

article h1 {
margin-top: 0;
margin-bottom: 0;
}

article h2 {
background-color: transparent;
color: inherit;
box-shadow: none;
margin-top: 0;
padding: 0;
/font-size: inherit;/
font-size: 25px;
}

.cta_link {
margin-bottom: 0;
}

.syoudan {
font-weight: bold;
color: #820132;
}

/* ▼top cssここから▼ */
#top {
  width: 100%;
  height: calc(100vh - 166px); /*ナビとパンくずの高さを引く*/
  background-color: #464646;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("../img/img05_top2.jpg"); /*背景画像のアドレスを入れる*/
  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
}
/*#top h1 {
  position: relative;
}*/
#top h1.title {
  /*position: absolute;*/
  font-size: 3rem;
  color: #fff;
  font-weight: bold;
  z-index: 3;
  width: fit-content;
  margin: -15% auto 0;
  text-align: center;
}
#top a.scroll {
  display: inline-block;
  padding: 10px 10px 140px;
  position: absolute;
  right: 50%;
  bottom: 0;
  z-index: 2;
  transform: translateX(50%);
  overflow: hidden;
  color: #fff;
  font-size: 1.4rem;
  text-decoration: none;
  writing-mode: vertical-lr;
}
#top a.scroll::after {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  width: 1px;
  height: 220px;
  background: #fff;
}
#top a.scroll::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  width: 1px;
  height: 220px;
  background: rgba(255, 255, 255, .4);
}
#top a.scroll::after {
  animation: sdl 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}
@keyframes sdl {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}
/*スマホ表示*/
@media screen and (max-width: 639px) {
  #top {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("../img/img05_top_s2.jpg"); /*背景画像のアドレスを入れる*/
    background-attachment: scroll;
    height: calc(100vh - 94px); /*ナビとパンくずの高さを引く*/
  }
  #top h1.title {
    font-size: 2.4rem;
  }
  #top a.scroll::after {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    width: 1px;
    height: 220px;
    background: #fff;
  }
  #top a.scroll::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    width: 1px;
    height: 220px;
    background: rgba(255, 255, 255, .4);
  }
}
/* lead
-------------------------------------------*/
section#lead {
  margin-block-start: 100px;
}
/* map
--------------------------------------------------------- */
section#map {}
/* plan
--------------------------------------------------------- */
section#plan {}
section#plan img {
  margin-block-start: 60px;
}
/* #photo
--------------------------------------------------------- */
section#photo_text {
  display: block;
  padding-block-end: 30px;
  padding-inline-start: 15px;
}
section#photo_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 1px;
  max-width: 980px;
  margin: 0 auto;
  padding-inline-start: 10px;
  padding-inline-end: 10px;
  margin-block-start: -150px;
  margin-block-end: 160px;
  font-size: 1.55rem;
  letter-spacing: 0.075rem;
}
section#photo_list div {
  width: calc(18% - 20px); /* gap padding分を引く */
  padding: 5px;
}
section#photo_list div .fancybox img {
  transition: .3s;
}
section#photo_list div .fancybox img:hover {
  opacity: 0.5;
}
/* message */
#message {
  position: relative;
  padding: 0 70px;
}
#message h2 {
  position: absolute;
  right: 45%;
  z-index: 2;
}
.message-area {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  flex-direction: row-reverse;
}
.message-img {
  background: url("../img/pict_01.jpg") no-repeat center;
  background-size: cover;
  height: 50vh;
  width: 48%;
}
.message-content {
  display: flex;
  justify-content: center;
  padding: 150px 0 0 0;
  width: 45%;
}
.message-box {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
}
.message-content h3, .message-content p, .message-content .message-btn {
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  text-orientation: upright;
  height: 20em;
  letter-spacing: 0.1em;
}
.message-content h3 {
  font-size: 1.5rem;
  line-height: 2.5;
}
_:-ms-lang(x)::-ms-backdrop, .message-content h3 { /*IE11用ハック*/
  width: 30%;
}
.message-content p {
  line-height: 3.5;
  margin: 0 0 0 50px;
}
_:-ms-lang(x)::-ms-backdrop, .message-content p { /*IE11用ハック*/
  width: 60%;
}
_:-ms-lang(x)::-ms-backdrop, .message-content .message-btn { /*IE11用ハック*/
  width: 10%;
}
@media screen and (max-width:1280px) {
  .message-content h3 {
    line-height: 2;
    margin: 0 0 0 10px;
  }
  .message-content p {
    line-height: 3;
    margin: 0 0 0 20px;
  }
}
@media screen and (max-width:1000px) {
  .message-content p {
    line-height: 2;
  }
}
@media screen and (max-width:768px) {
  #message {
    padding: 0 30px;
  }
  #message h2 {
    position: relative;
    right: inherit;
    top: 40px;
  }
  .message-img, .message-content {
    width: 100%;
  }
  .message-img {
    height: 40vh;
  }
  .message-content {
    padding: 50px 0 0 0;
  }
  .message-content h3, .message-content p, .message-content .message-btn {
    -ms-writing-mode: lr-tb;
    -webkit-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
    height: inherit;
    margin: 0 0 50px 0;
  }
  _:-ms-lang(x)::-ms-backdrop, .message-content h3, _:-ms-lang(x)::-ms-backdrop, .message-content p, _:-ms-lang(x)::-ms-backdrop, .message-content .message-btn { /*IE11用ハック*/
    width: 100%;
  }
  .message-content h3 {
    text-align: center;
    font-size: 1.2rem;
  }
  .message-box {
    display: block;
  }
  .message-box .btn {
    padding: 10px;
    display: block;
  }
}
@media screen and (max-width:430px) {
  .message-img {
    height: 20vh;
  }
}
@media screen and (max-width:370px) {
  .message-content p br {
    display: none;
  }
}
/* history */
#history {
  position: relative;
  padding: 0 70px;
  margin: 0 0 100px 0;
}
#history h2 {
  position: absolute;
  right: 45%;
  z-index: 2;
}
.history-area {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.history-img {
  background: url("../img/pict_02.jpg") no-repeat center;
  background-size: cover;
  height: 50vh;
  width: 48%;
}
.history-content {
  width: 45%;
  padding: 150px 0 0 0;
}
@media screen and (max-width:768px) {
  #history {
    padding: 0 30px;
  }
  #history h2 {
    position: relative;
    right: inherit;
    top: 40px;
  }
  .history-img, .history-content {
    width: 100%;
  }
  .history-img {
    height: 40vh;
  }
  .history-content {
    padding: 50px 0 0 0;
  }
}
@media screen and (max-width:430px) {
  .history-img {
    height: 20vh;
  }
}
/* deg360
--------------------------------------------------------- */
section#deg360 {
  width: 100%;
  background-color: #f0f0f0;
  padding-block-start: 80px;
}
section#deg360 {
  width: 100%;
  background-color: #f0f0f0;
  padding-block-start: 80px;
}
section#deg360 .innerWrap {
  padding-block-end: 100px;
}
section#deg360 p {
  text-align: center;
  margin-block-end: 20px;
  font-size: 1.55rem;
  letter-spacing: 0.05rem;
  line-height: 1.8;
}
section#deg360 .camera_box {
  max-width: 1080px;
  margin-inline-start: auto;
  margin-inline-end: auto;
}
section#deg360 p {
  text-align: center;
  margin-block-end: 20px;
  font-size: 1.6rem;
}
/* inquiry
--------------------------------------------------------- */
section#inquiry {}
/* details　物件概要
---------------------------------------------------------------*/
section#details {}
dl {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  border-top: none;
}
dt {
  width: 24%;
  padding: 14px 8px 8px 8px;
  box-sizing: border-box;
  border-block-end: 1px solid #5e5e5e;
  font-weight: 600;
}
dd {
  padding: 14px 8px 8px 8px;
  margin: 0;
  border-block-end: 1px solid #5e5e5e;
  width: 76%;
  box-sizing: border-box;
}
.producer:after {
  content: "\0bb";
}
/* Google Map
--------------------------------------------------------- */
section#gmap {
  position: relative;
  width: 100%;
  height: 800px;
  margin: 0 auto;
}
#gmap iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
/* pagetop */
.pagetop {
  position: fixed;
  bottom: 5px;
  right: 10px;
  display: none;
  z-index: 150;
  cursor: pointer;
}
/*===========================================================*/
/* sp*/
/*===========================================================*/
/* img */
@media screen and (min-width: 768px) {
  .sp-only {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  .pc-only {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  /* photo */
  section#photo_list {
    margin-inline-start: 3%;
  }
  section#photo_list div {
    padding: 3px 6px;
    width: 32%;
  }
  section#photo_list div:not(:nth-child(3n+3)) {
    margin-block-end: 1%;
  }
  /* deg360 */
  section#deg360 {
    width: 94%;
    margin: 0 auto;
  }
  section#deg360 .camera_box iframe {
    height: 440px;
  }
  /* details */
  section#details dt, dd {
    display: block;
    width: 100%;
    border: none;
  }
  dt {
    background-color: #eee;
  }

}