@charset "utf-8";
/* CSS Document */
/* ▼top cssここから▼ */
#top {
  width: 100%;
  height: 100vh;
  background-color: #464646;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("../img/mv.jpg"); /*背景画像のアドレスを入れる*/
  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  position: relative;
}
#top h1 {
  position: relative;
}
#top h1.title {
  position: absolute;
  font-size: 3rem;
  color: #fff;
  font-weight: bold;
  display: flex;
  margin: 0;
  z-index: 3;
  right: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
#top a.scroll {
  display: inline-block;
  padding: 10px 10px 140px;
  position: absolute;
  right: 49%;
  top: 83vh;
  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/mv_sp.jpg"); /*背景画像のアドレスを入れる*/
    background-attachment: scroll;
  }
  #top h1.title{
     font-size: 2.4rem;
　　　left: 20%;
    transform: translate(10%, 10%);  
  }
  #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;
}

/*--------------------------------------------------
 #details
----------------------------------------------------*/
#details {
  max-width: 960px;
  margin: 100px auto;
  font-size: 1.6rem
}
#details table {
  box-sizing: border-box;
  border-collapse: collapse;
  width: 100%;
}
#details table th, #details table td {
  border-block-end: 1px solid #DDDAD1;
  padding-inline-start: 8px;
  vertical-align: middle;
  font-style: normal;
  height: 2.8em;
  text-align: justify;
}
#details table th {
  width: 25%;
  font-weight: normal;
}
/*スマホ表示*/
@media (max-width: 767px) {
  #details div {
    padding-left: 10px;
    padding-right: 10px;
  }
  #details table {
    width: 100%;
  }
  #details table th, #details table td {
    display: block;
    width: 100%;
    height: auto;
    border-block-end: 0px;
    padding: 3px 10px;
  }
  #details table th {
    background-color: #E5E0D1;
  }
}
.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;
  }