@charset "utf-8";

/******************************/
/* トップページのスタイル定義 */
/******************************/

.container {
  max-width: 1600px;
}

#content {
  padding: 30px 0;
}  

.top-video-cntnr {
  width: 50%;
  margin: 0 auto;
}  

.top-catch-cntnr {
  display: flex;
  justify-content: center;
  align-items: center;
}  
.top-catch {
  padding: 70px 30px 0;
  color: #000!important;
  font-family: 'FOT-筑紫Aオールド明朝 Pr6 R', TsukuAOldMinPr6-R, '游明朝体', YuMincho, 'Yu Mincho', 'ヒラギノ明朝 Pro', Hiragino Mincho Pro, 'MS P明朝', MS PMincho, serif;  
  writing-mode: vertical-rl;
  letter-spacing: 0.1rem;
  max-height: 580px;
}

.top-catch .title {
  font-size: 2.0rem;
  padding-bottom: 2rem;
  line-height: 3.0;
}
.top-catch .title .subtitle {
  font-size: 1.2rem;
  margin-top: 2rem;
}

.top-catch p {
  font-size: 1.2rem;
  line-height: 2.0;
}
br.for-360 {
  display: none;
}
.top-video-cntnr {
  margin-top: 30px;
}  
.top-video-cntnr video {
/*  clip: rect(150px 800px 800px 40px);
  position: absolute; */

}  

@media screen and (max-width: 1023px) {
  .top-video-cntnr {
    width: 70%;
  }    
  .top-catch-cntnr {
    display: block;
  }    
  .top-catch {
    width: 90%;
    text-align: center;
    margin: 0 auto;
    padding-top: 30px;
    writing-mode: horizontal-tb;
    max-height: 9999px;
  }
  
  .top-catch .title {
    text-align: center; 
    padding: 0 0 0 1rem;
  }
  .top-catch .title .subtitle {
    margin-left: 2rem;
  }    
  .top-catch p {
    line-height: 1.8;
    margin-bottom: 0.5rem;
  }    
}

@media screen and (max-width: 767px) {
  .top-video-cntnr {
    width: 86%;
  }
}  

@media screen and (max-width: 540px) {
  .top-catch .title {
    font-size: 1.9rem;
  }
  .top-catch p {
    font-size: 1.1rem;
    line-height: 1.6;
  }    
}

@media screen and (max-width: 420px) {
  .top-catch {
    width: 90%;
    padding: 0;
  }
  .top-catch .title {
    padding-left: 0;
    font-size: 1.6rem;
  }    
}

@media screen and (max-width: 360px) {
  .top-catch .title {
    font-size: 1.5rem;
  }    
  .top-catch p {
    font-size: 1.0rem;
  }    
}  

.top-news-cntnr {
  padding: 0 50px;
  margin-bottom: 50px;
  position: relative;
}

.sisi-left {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30%;
  opacity: 1.0;
}
.sisi-right {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 30%;
  opacity: 1.0;
}

@media screen and (max-width: 1024px) {
  .sisi-right,
  .sisi-left {
    top: 0;
  }
}  
.top-news-hdr {
  width: 100%;
  text-align: center;
  font-size: 3.0rem;
  line-height: 0.8;
  z-index: 2;
}

.top-news-hdr a {
  color: #000;
  opacity: 1.0;
  transition: all 0.5s ease;
}
.top-news-hdr a:hover {
  text-decoration: none;
  font-size: 110%;
  opacity: 0.5;
}

.top-news-hdr span {
 font-size: 1.2rem;
 font-family: 'FOT-筑紫Aオールド明朝 Pr6 R', TsukuAOldMinPr6-R, '游明朝体', YuMincho, 'Yu Mincho', 'ヒラギノ明朝 Pro', Hiragino Mincho Pro, 'MS P明朝', MS PMincho, serif;
}

.top-news-hdr a:hover span {
  text-decoration: underline;
}

.news-box-cntnr {
  position: relative;
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  z-index: 999;
  padding-top: 70px;
}
.news-box {
  flex: 1;
  max-width: 500px;
  min-width: 300px;
  margin: 10px;
  color: #000!important;
}
.news-box .news-img {
  background-size: cover;
  transition: all 0.5s;
}

.news-box .news-title {
  font-family: 'FOT-筑紫Aオールド明朝 Pr6 R', TsukuAOldMinPr6-R, '游明朝体', YuMincho, 'Yu Mincho', 'ヒラギノ明朝 Pro', Hiragino Mincho Pro, 'MS P明朝', MS PMincho, serif;
  margin: 7px 0;
}
.news-box .news-title {
  display: inline-block;
  box-sizing: border-box;
  text-decoration: none;
  padding-right: 20px;
  color: #000!important;
  transition: all 0.8s;
}

.news-box a:hover .news-img {
  opacity: 0.7;
}  
.news-box a:hover .news-title {
  border-bottom: 1px solid #333;
  padding: 5px 0;
}  

.news-box .news-date {
  font-family: 'FOT-筑紫Aオールド明朝 Pr6 R', TsukuAOldMinPr6-R, '游明朝体', YuMincho, 'Yu Mincho', 'ヒラギノ明朝 Pro', Hiragino Mincho Pro, 'MS P明朝', MS PMincho, serif;
}
@media screen and (max-width: 768px) {
  .top-news-cntnr {
    padding-left: 0;
    padding-right: 0;
  }
  .news-box-cntnr {
    width: 100%;
  }
}
@media screen and (max-width: 500px) {
  .news-box {
    margin-left: 0;
    margin-right: 0;
  }    
}  
/* インスタグラム */
.instagram-cntnr {
  width: 70%;
  margin: 0 auto;
  background-color: #f7f7f6;
}
.instagram-cntnr header a img{
  transition: all 0.5s ease-in-out;
}
.instagram-cntnr header a:hover img {
  opacity: 0.3;
}  

#sb_instagram svg.fa-w-16 {
  visibility: hidden!important;
}


@media screen and (max-width: 1023px) {
 .instagram-cntnr {
    width: 100%;
  }
}  

.instagram-hdr {
  padding-top: 30px;
  text-align: center;
}  
.instagram-hdr img {
  display: inline-block;
  width: 200px;
}

#sb_instagram {
  padding-top: 50px;
  border-top: 1px solid #000;
}

#sb_instagram #sbi_images .sbi_item .sbi_photo_wrap {
  position: relative;
}
#sb_instagram #sbi_images .sbi_item .sbi_photo_wrap .inst-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.0;
  background-color: #000;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}  
#sb_instagram #sbi_images .sbi_item .sbi_photo_wrap .inst-overlay:hover {
  opacity: 0.7;
  cursor: pointer;
}  
#sb_instagram #sbi_images .sbi_item .sbi_photo_wrap .inst-overlay .fa-instagram {
  font-weight: bold;
  font-size: 3rem;
}  
/* ??? */
#secondary {
  display: none;
}  

