/*==================================================
スライダーのためのcss
===================================*/
.top_slider{

 #slider {
    width: 100%;
    height: 70vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}

/*========= レイアウトのためのCSS ===============*/

 a{
  color: #fff;
}

 a:hover,
 a:active{
  text-decoration: none;
}

 .h1{
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size:6vw;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  text-shadow:  2px  2px 5px #aaaaaa ,
  -2px  2px 5px #aaaaaa ,
   2px -2px 5px #aaaaaa ,
  -2px -2px 5px #aaaaaa;
}


 .wrapper{
  position: relative;
}

 .container{
  background:#555;
}

 .container p{
  padding: 300px 0; 
  text-align: center;
  color: #fff;
}
}

/*==================================================
ニュースティッカーのためのcss
===================================*/

.news_box{  position: absolute;
    z-index: 2;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 882px;
          padding: 7px 30px 9px;
          background: #ffffff;
    letter-spacing: 0.1em;
  /*  text-transform: uppercase;*/ /*すべての文字を大文字に変換させる*/
    border-radius: 30px;
    color: #000000;}




/*==================================================
indexバナーのスライダーのためのcss
===================================*/
.index_banner{
  button {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    vertical-align: middle;
    color: inherit;
    font: inherit;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    outline: none;
    border-radius: 0;
  }
  .banner {
    width: 300px;
    height: 150px;
  }
  
  .banner:nth-child(1) {
    background-color: #ffcccc;
  }
  
  .banner:nth-child(2) {
    background-color: #ffffcc
  }
  
  .banner:nth-child(3) {
    background-color: #ccccff;
  }
  
  .banner:nth-child(4) {
    background-color: #ccffcc;
  }
  .wrap {
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 200px;
    margin-bottom: 10px;
  }
  /* banner4つをまとめたスライドブロック */
  .wrap .slideshow {
    display: flex;
    -webkit-animation: loop-slide 20s infinite linear 1s both;
    animation: loop-slide 20s infinite linear 1s both;
  }
  /**************
  animation-name: loop-slide;   /* アニメーション名 
animation-duration: 20s;        /* 開始から終了までの所要時間 
animation-iteration-count: infinite;  /* アニメーションのループ回数 
animation-timing-function: linear;  /* 動きの加減速 
animation-delay: 1s;            /* アニメーションが開始するまでの遅延時間 
animation-fill-mode: both;            /* アニメーション開始前・終了後の挙動 
  *********************/


/* hover 動きを止める*/
.slide-paused:hover .slideshow {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}

/* hover 装飾 */
.banner-hover {
  transition: all 0.2s;
  margin-right: 20px;
}

.banner-hover:hover {
  transform: translateY(-20px);
  border-radius: 0 10%;
  box-shadow: 0 3px 10px 0 #333;
  opacity: 0.8;
  cursor: pointer;
}

}

  /*アニメーション*/
  @-webkit-keyframes loop-slide {
    from {
      transform: translateX(0);
    }
  
    to {
      transform: translateX(-100%);
    }
  }
  
  @keyframes loop-slide {
    from {
      transform: translateX(0);
    }
  
    to {
      transform: translateX(-100%);
    }
  }

/**************/

/******index_main *******/
p.card-text{
    margin: 20px 0;
  }
  
  .index_main img,
  .featurette_img
  {
max-height: 250px;
height: auto;
width: 100%;
object-fit: cover;/*画像の中心から切り取り*/
  }
/****************featurette*************/
  .featurette .bg-img-l {
    object-fit: cover;/*画像の中心から切り取り*/
    background-size:contain;
    background-position: left; 
    background-repeat: no-repeat;
   background-size: 50% auto; /* 1 つ目の値は画像の幅、2番目の値は高さ */
  }
  .featurette .bg-img-r {
    object-fit: cover;/*画像の中心から切り取り*/
    background-size:contain;
    background-position: right; 
    background-repeat: no-repeat;
   background-size: 50% auto; /* 1 つ目の値は画像の幅、2番目の値は高さ */
  }

  .featurette .wedding {
    background-image: url(../img/wedding.png);
  }
  .featurette .gift {
    background-image: url(../img/gift.png);
  }
  .featurette .celebration {
    background-image: url(../img/celebration.png);
  }

  
/*smサイズでの背景の扱い*/
    @media (max-width: 768px) {
    .featurette .wedding,
    .featurette .gift,
    .featurette .celebration
     {
/*      background-image: none;*/
background-size: 100% auto; /* 1 つ目の値は画像の幅、2番目の値は高さ */
background-color:rgba(255,255,255,0.9);
background-blend-mode:lighten;
    }
  
  }




  .shadow-01{
    text-shadow: 2px 2px 1px #fff;/*文字の影　右に、下に、ぼかす範囲　影の色*/
  }



/*****************/
/*　枠線＋テキストが出現 　*/

.lineText{
  position: relative;/*テキストの基点となる位置を定義*/

}

/*線の設定*/
.lineText span.mask{
  position: relative;
  display: block;/*画像をくくるspanタグをブロック要素にする*/
    line-height: 0;/*行の高さを0にする*/
    overflow:hidden;/*拡大してはみ出る要素を隠す*/
  }

.lineText span.mask::before,
.lineText span.mask::after{
    position: absolute;
    top: 4%;
    right: 2.5%;
    bottom: 4%;
    left: 2.5%;
    z-index: 3;
    content:"";
    opacity: 0;
    transition: .3s ease-in-out;/*移り変わる速さを変更したい場合はこの数値を変更*/

    background:rgba(255, 245, 245, 0.247);/*背景色*/
}

.lineText span.mask::before {
    border-top: 1px solid #fff;/*枠線の色と太さを変更したい場合はこの数値を変更*/
    border-bottom: 1px solid #fff;/*枠線の色と太さを変更したい場合はこの数値を変更*/
    transform: scale(0,1);
}

.lineText span.mask::after{
    border-right: 1px solid #fff;/*枠線の色と太さを変更したい場合はこの数値を変更*/
    border-left: 1px solid #fff;/*枠線の色と太さを変更したい場合はこの数値を変更*/
    transform: scale(1,0);
}

.lineText:hover span.mask::before,
.lineText:hover span.mask::after{/*hoverした時の変化*/
  opacity: 1;
    transform: scale(1);
}

/*中央テキスト*/
.lineText .cap
{
  opacity:0;
  transition: .5s ease-in-out;/*移り変わる速さを変更したい場合はこの数値を変更*/
  position: absolute;
  z-index:3;/*テキストを前面に出す*/
  top: 50%;
 left: 50%;
  transform: translate(-50%,-50%);
  color: #000000;/*テキストの色を変えたい場合はここを修正*/
    line-height: 2.5;/*行の高さを1.5にする*/
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 1px 1px 1px #ffffff;/*文字の影　右に、下に、ぼかす範囲　影の色*/
    width: 80%;
}

.lineText:hover .cap{/*hoverした時の変化*/
  opacity:1;
}

/* 横幅*/
.lineText{
/*  width: 70%;*/
    margin: 0 auto;/*中央揃え*/

}
.lineText img{
  height: auto;
  width: 100%;
  object-fit: cover;/*画像の中心から切り取り*/
  transform: scale(1);
  filter: blur(0);
  transition: .3s ease-in-out;/*移り変わる速さを変更したい場合はこの数値を変更*/
}
.lineText:hover img{/*hoverした時の変化*/
  transform: scale(1.2);/*拡大の値を変更したい場合はこの数値を変更*/
  filter: blur(2px);/*ぼかし具合を変更したい場合はこの数値を変更*/
}

/*************************************/

.map {
min-height: 250px;
margin-bottom: 3rem;
}

/**************/



ul.select {
  border: 0px solid #8d8d8d;
  background-color: #bebebe;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style-type: none;
  padding: .5rem;
  width: 80%;
  margin: 0 auto;
}

ul.select{

 li {
  border: 1px solid #aaa;
  background-color: #f1f1f1;
  line-height: 110%;
  margin:1.5em 0.5em;
  padding:1em 0.8em;
  text-align: center;
  max-width: 200px;
  font-size: 85%;
}
h5{
  font-weight: 500;
  font-size: 1rem;
  padding-top: .5rem;
}
li img{
  max-height: 250px;
  height: auto;
  width: 100%;
  object-fit: cover;/*画像の中心から切り取り*/

}


}

/******************/


  /*******footer********/

  footer .table>:not(caption)>*>*{
    background-color: #eeeeee;
  }
  footer small{
    font-size: x-small;
    font-weight: 700;
  padding-left: 5px;}



/*==================================================
　5-3-3 左から右に線が伸びる（下部）
===================================*/
.gnavi li a{
  /*線の基点とするためrelativeを指定*/
position: relative;
}

.gnavi li.current a,
.gnavi li a:hover{
color:#063542;
}

.gnavi li a::after {
  content: '';
  /*絶対配置で線の位置を決める*/
  position: absolute;
  bottom: 0;
  left: 0%;
  /*線の形状*/
  width: 80%;
  height: 2px;
  background:#063542;
  /*アニメーションの指定*/
  transition: all .3s;
  transform: scale(0, 1);/*X方向0、Y方向1*/
  transform-origin: left top;/*左上基点*/
}

/*現在地とhoverの設定*/
.gnavi li.current a::after,
.gnavi li a:hover::after {
  transform: scale(1, 1);/*X方向にスケール拡大*/
}


/*********ページトップ**************/
#page_top{
  width: 40px;
  height: 40px;
  position: fixed;
  right: 20px;
  bottom: 10px;
  background: hsl(0, 0%, 86%);
  opacity: 0.6;
  border-radius: 70%;
  z-index: 2010;
}

#page_top a{
  position: relative;
  display: block;
  width: 90px;
  height: 50px;
}
#page_top a::before {
  display: inline-block;
  content: "";
/*  vertical-align: -.125em;*/
  background-image: url(../img/arrow-up-circle-svg.png);
  background-repeat: no-repeat;
  text-align: center;
  background-size: 2rem 2rem;
  width: 50px;
  height: 50px;
  /*color: #fff;*/
  position: absolute;
  right: 35px;
  top: 5px;

}