@charset "utf-8";


/*============================================
吹き出しデザイン
=============================================*/

.tooltip { /* 補足説明するテキストのスタイル */
  position: relative;
  cursor: pointer;
  font-size: 15px;
  color: #000;
}
 
.balloon_top { /* ツールチップのスタイル */
  width: 100px; /* 横幅 */
  position: absolute;
  left: 50%;
  bottom: 80%; /* Y軸の位置 */
  transform: translateX(-50%);
  margin-bottom: 80px; /* テキストとの距離 */
  padding: 8px;
  border-radius: 25px; /* 角の丸み */
  background-color: #b01f24; /* ツールチップの背景色 */
  font-size: 0.7em;
  color: #fff;
  text-align: center;
  visibility: hidden; /* ツールチップを非表示に */
  opacity: 0; /* 不透明度を0％に */
  z-index: 1;
  transition: 0.5s all; /* マウスオーバー時のアニメーション速度 */
}
 
.balloon_top::before { /* 吹き出しの「しっぽ」のスタイル */
  content: "";
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-top: 10px solid #b01f24; /* 最後の値は「ツールチップの背景色」と合わせる */
  position: absolute;
  top: 99%;
  left: 50%;
  transform: translateX(-50%);
}
 
.tooltip:hover .balloon_top { /* マウスオーバー時のスタイル */
  bottom: 100%; /* Y軸の位置 */
  visibility: visible; /* ツールチップを表示 */
  opacity: 1; /* 不透明度を100％に */
}

 
.balloon_bottom { /* ツールチップのスタイル */
  width: 100px; /* 横幅 */
  position: absolute;
  top: 80%; /* Y軸の位置 */
  left: 50%;
  transform: translateX(-50%);
  margin-top: 15px; /* テキストとの距離 */
  padding: 8px;
  border-radius: 25px; /* 角の丸み */
  background-color: #000; /* ツールチップの背景色 */
  font-size: 0.7em;
  color: #fff;
  text-align: center;
  visibility: hidden; /* ツールチップを非表示に */
  opacity: 0; /* 不透明度を0％に */
  z-index: 1;
  transition: 0.5s all; /* マウスオーバー時のアニメーション速度 */
}
 
.balloon_bottom::before { /* 吹き出しの「しっぽ」のスタイル */
  content: "";
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-bottom: 10px solid #000; /* 最後の値は「ツールチップの背景色」と合わせる */
  position: absolute;
  bottom: 99%;
  left: 50%;
  transform: translateX(-50%);
}
 
.tooltip:hover .balloon_bottom { /* マウスオーバー時のスタイル */
  top: 100%; /* Y軸の位置 */
  visibility: visible; /* ツールチップを表示 */
  opacity: 1; /* 不透明度を100％に */
}


/*768px以下は現在地表示のテキストを非表示*/
@media screen and (max-width:768px) { 


.balloon_top { 
  width: 95px; /* 横幅 */
  margin-bottom: 70px; /* テキストとの距離 */
}

.balloon_bottom { 
  width: 95px; /* 横幅 */
}	
	
}	

 /*============================================
　画像にシャドウ
=============================================*/

.shadow_img {
    display: inline-block;
    transition: all .3s ease-in-out;
}
.shadow_img img {
    display: block;
}
.shadow_img:hover {
    filter: drop-shadow(2px 2px 3px rgba(0,0,0,.5));
}


 /*============================================
　スマホのためにマウスオーバーじゃない分
=============================================*/
.ba_top { /* ツールチップのスタイル */
  width: 100px; /* 横幅 */
  position: absolute;
  left: 50%;
  bottom: 80%; /* Y軸の位置 */
  transform: translateX(-50%);
  margin-bottom: 80px; /* テキストとの距離 */
  padding: 5px;
  border-radius: 20px; /* 角の丸み */
  background-color: #b01f24; /* ツールチップの背景色 */
  font-size: 0.7em;
  font-weight: 600;
  color: #fff;
  text-align: center;
  z-index: 1;
}
 
.ba_top::before { /* 吹き出しの「しっぽ」のスタイル */
  content: "";
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-top: 10px solid #b01f24; /* 最後の値は「ツールチップの背景色」と合わせる */
  position: absolute;
  top: 99%;
  left: 47%;
}
 
.ba_bottom { /* ツールチップのスタイル */
  width: 100px; /* 横幅 */
  position: absolute;
  top: 80%; /* Y軸の位置 */
  left: 50%;
  transform: translateX(-50%);
  margin-top: 15px; /* テキストとの距離 */
  padding: 5px;
  border-radius: 20px; /* 角の丸み */
  background-color: #000; /* ツールチップの背景色 */
  font-size: 0.7em;
  font-weight: 600;
  color: #fff;
  text-align: center;
  z-index: 1;
}
 
.ba_bottom::before { /* 吹き出しの「しっぽ」のスタイル */
  content: "";
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-bottom: 10px solid #000; /* 最後の値は「ツールチップの背景色」と合わせる */
  position: absolute;
  bottom: 99%;
  left: 47%;
}
 


/*768px以下は現在地表示のテキストを非表示*/
@media screen and (max-width:768px) { 
	
.ba_top { 
  width: 95px; /* 横幅 */
  margin-bottom: 68px; /* テキストとの距離 */
}

.ba_bottom { 
  width: 95px; /* 横幅 */
}	



/*==================================================
スライダーのためのcss
===================================*/
.slider-p {/*横幅94%で左右に余白を持たせて中央寄せ*/
   width:100%;
   margin:0 auto;
}

.slider-p img {
    width:100%;/*スライダー内の画像を横幅100%に*/
    height:auto;
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.slider-p .slick-slide-p {
    margin:0 ;
}

/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev-p, 
.slick-next-p {
    position: absolute;/*絶対配置にする*/
    top: 42%;
    cursor: pointer;/*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #fff;/*矢印の色*/
    border-right: 2px solid #fff;/*矢印の色*/
    height: 15px;
    width: 15px;
}

.slick-prev-p {/*戻る矢印の位置と形状*/
	z-index: 10;
    left: 2%;
    transform: rotate(-135deg);
}

.slick-next-p {/*次へ矢印の位置と形状*/
    right: 2%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots-p {
    text-align:center;
	margin:20px 0 0 0;
}

.slick-dots-p li {
    display:inline-block;
  margin:0 5px;
}

.slick-dots-p button {
    color: transparent;
    outline: none;
    width:5px;/*ドットボタンのサイズ*/
    height:5px;/*ドットボタンのサイズ*/
    display:block;
    border-radius:50%;
    background:#fff;/*ドットボタンの色*/
}

.slick-dots-p .slick-active-p button{
    background:#333;/*ドットボタンの現在地表示の色*/
}




/*==================================================
共通　横並びのための設定
===================================*/

.gnavi{
    display: flex;
    flex-wrap: wrap;/*スマホ表示折り返し用なのでPCのみなら不要*/
    margin:auto 0;
    list-style: none;
}

.gnavi li a{
    display: block;
    padding:auto 0;
    text-decoration: none;
    color: #333;
}

.gnavi li{
    margin-bottom:20px;
}

/*==================================================
　幕のように背景が上がるアニメーション
===================================*/

.bg {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 600px;
  background-image: url("../../pic/tp-brand.jpg");
  background-size: cover;
  color: #000;
}

.bg.-visible:before {
  transform: translate(0, 0);
}

.bg:before {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  transform: translate(0, 100%);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) .6s;
  content: '';
}

/* テキストのスタイル */
.title-ma {
  display: block;
  color: #000;
  font-family: 'Josefin Sans', sans-serif;
  text-align: center;
}

.title-ma span {
  display: block;
  opacity: 0;
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 2s, opacity linear 0.9s;
}

.title-ma span:first-child {
  transform: translate(0, 40px);
  font-size: 20px;
  margin: 0 auto;
  transition-delay: 0.35s;
  text-align: right;
}

.title-ma span:last-child {
  margin-top: 18px;
  left: 20px;
  transform: translate(0, 30px);
  font-size: 48px;
  transition-delay: 0.55s;
}

.bg.-visible .title-ma span {
  opacity: 1;
  transform: translate(0, 0);
}


/*==================================================
　5-3-8 円が線に変化
===================================*/


.gnavi li a{
    /*円の基点とするためrelativeを指定*/
	position: relative;
}

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

.gnavi li a::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: 0;
    left: 0;
    /*線になる丸の形状*/
    width: 100%;
    height: 5px;
    border-radius: 50%;
    background:#0481A2;
    /*アニメーションの指定*/
    transition: all .3s;
    transform: scale(0.04, 1);/*X方向0.04、Y方向1*/
    transform-origin:center bottom;/*中央下部基点*/
}

/*現在地とhoverの設定*/
.gnavi li.current a::after,
.gnavi li a:hover::after {
    height: 2px;/*縦幅を変化*/
    border-radius: 0;/*丸みをなくす*/    
    transform: scale(0.8, 1);/*X方向0.8、Y方向1にスケール拡大*/
}

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

.lead{
	padding: 50px 20px;
}



/*========= くるくる回るテキスト ===============*/

.rollAnime.roll span {
    transition-property: opacity,transform;
    transform: rotateY(360deg);
    transition: all .8s cubic-bezier(.77,0,.175,1);
    transition-timing-function: cubic-bezier(.77,0,.175,1);
    display: inline-block;
}


/*アニメーション要素のスタイル*/
.animation{
	opacity : 0;
	visibility: hidden;
	transition: 1s;
	transform: translateY(30px);
}
/*アニメーション要素までスクロールした時のスタイル*/
.active{
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}


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


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

.swing-box{
    color: #000;
	display:flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}


.swing-box video{
    width: 100%; height: 100vh; object-fit: cover;
}

.swing-box video:before{
    margin: auto;
    position: absolute;
    display: block;
    content: '';
    width: 845px;
    height: 545px;
    background: url("../../../image/mainimg/logo.png") no-repeat;
    top: 0;
    bottom:0;
    left: 0;
    right: 0;
    z-index: 990;}


#swing-box1,
#swing-box2,
#swing-box3,
#swing-box4,
#swing-box5,
#swing-box6,
#swing-box7,
#swing-box8,
#swing-box9,
#swing-box10,
#swing-box11,
#swing-box12,
#swing-box13{
    width: 100%; height: 100vh; object-fit: cover;
}

#swing-box1 img ,
#swing-box2 img ,
#swing-box3 img ,
#swing-box4 img ,
#swing-box5 img ,
#swing-box6 img ,
#swing-box7 img ,
#swing-box8 img ,
#swing-box9 img ,
#swing-box10 img ,
#swing-box11 img ,
#swing-box12 img ,
#swing-box13 img {
    width: 100%; height: 100vh; object-fit: cover;
}






/*========= ページネーションCSS ===============*/

.pagination {
	position:fixed;
	right:20px;
	top: 50%;
  	transform: translateY(-50%);
	font-size:1em;
	z-index: 10;
	list-style: none;
}

.pagination a {
	display:block;
	height:20px;
	margin-bottom:5px;
	color:#fff;
	position:relative;
	padding:4px;
}

.pagination a.active:after {
	box-shadow:inset 0 0 0 5px;
}

/*現在地表示のテキストの設定*/
.pagination a .hover-text {
	position:absolute;
	right:15px;
	top:0;
	opacity:0;
	-webkit-transition: opacity 0.5s ease;
	transition: opacity 0.5s ease;
	padding-right: 15px;
}

.pagination a:hover .hover-text {
	opacity: 1;
}

.pagination a:after {
	-webkit-transition:box-shadow 0.5s ease;
	transition:box-shadow 0.5s ease;
	width:10px;
	height:10px;
	display: block;
	border:1px solid;
	border-radius:50%;
	content:"";
	position: absolute;
	margin:auto;
	top:0;
	right:3px;
	bottom:0;
}


/*768px以下は現在地表示のテキストを非表示*/
@media screen and (max-width:768px) { 
	.pagination a .hover-text{
		display: none;}	
	
.bg {
  height: 600px;
  background-image: url("../../pic/ts-brand.jpg");
  background-position: top;
}	
	
	
}