@charset "utf-8";

/*===========================================================*/
/*背景色が伸びる（左から右）　 */
/*===========================================================*/

/*========= ローディング画面のためのCSS ===============*/
#splash {
	position: fixed;
	width: 100%;
	height: 100%;
	background: #000;
	z-index: 9999;
	text-align:center;
	color:#fff;
}

#splash-logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
 /* Loading アイコンの大きさ設定　*/
  #splash_logo img {
    width: 200px; }

#splash2 {
	position: fixed;
	width: 100%;
	height: 100%;
	background: #000;
	z-index: 9999;
	text-align:center;
	color:#fff;
}

#splash-logo2 {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
  /* fadeUpをするアイコンの動き */
  .logoup {
    animation-name: logoUp;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0; }

  @keyframes logoUp {
    from {
      opacity: 0;
      transform: translateY(100px); }
    to {
      opacity: 1;
      transform: translateY(0); } }

/*========= 画面遷移のためのCSS ===============*/

/*画面遷移アニメーション*/

.splashbg{
	display: none;
}

body.appear .splashbg{
    display: block;
    content: "";
    position:fixed;
	z-index: 9999;
    width: 100%;
    height: 100vh;
    top: 0;
	left: 0;
    transform: scaleX(0);
    background-color: #0060a1;/*伸びる背景色の設定*/
	animation-name:PageAnime;
	animation-duration:.8s;
	animation-timing-function:ease-in-out;
	animation-fill-mode:forwards;
}
.splashbg2{
	display: none;
}

body.appear .splashbg2{
    display: block;
    content: "";
    position:fixed;
	z-index: 9999;
    width: 100%;
    height: 100vh;
    top: 0;
	left: 0;
    transform: scaleX(0);
    background-color: #0060a1;/*伸びる背景色の設定*/
	animation-name:PageAnime;
	animation-duration:.8s;
	animation-timing-function:ease-in-out;
	animation-fill-mode:forwards;
}
@keyframes PageAnime{
	0% {
		transform-origin:left;
		transform:scaleX(0);
	}
	50% {
		transform-origin:left;
		transform:scaleX(1);
	}
	50.001% {
		transform-origin:right;
	}
	100% {
		transform-origin:right;
		transform:scaleX(0);
	}
}

/*画面遷移の後現れるコンテンツ設定*/
#container{
	opacity: 0;/*はじめは透過0に*/
}

/*bodyにappearクラスがついたら出現*/
body.appear #container{
	animation-name:PageAnimeAppear;
	animation-duration:1s;
	animation-delay: 0.8s;
	animation-fill-mode:forwards;
	opacity: 0;
}

@keyframes PageAnimeAppear{
	0% {
	opacity: 0;
	}
	100% {
	opacity: 1;
}
}


/*===========================================================*/
/*ドロップダウンメニュー（上） */
/*===========================================================*/

/*========= ナビゲーションドロップダウンのためのCSS ===============*/

/*ナビゲーションを横並びに*/
nav ul{
	list-style: none;
	display: flex;
	justify-content: center;
	font-family: 'Noto Sans JP', sans-serif;
}
/*2階層目以降は横並びにしない*/
nav ul ul{
	display: block;
}

/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
nav ul li{
	position: relative;
}

/*ナビゲーションのリンク設定*/
nav ul li a{
	display: block;
	text-decoration: none;
	color: #333;
	padding:20px 35px;
	transition:all .3s;
}
#header.transform nav ul li a{
	display: block;
	text-decoration: none;
	color: #ccc;
	padding:20px 35px;
	transition:all .3s;
}
@media screen and (max-width:1090px) {
#header.transform nav ul li a{
	padding:20px 25px;
}
}
@media screen and (max-width:988px) {
#header.transform nav ul li a{
	padding:20px 18px;
}
}
nav ul li li a{
	padding:10px 15px;
}
nav ul li.hum{display: none;}

@media screen and (max-width:1200px) {
nav ul li a{
	padding:20px;
}
nav ul li li a{
	padding:10px 20px;
}
}

nav ul li a:hover{
	color:#333;	
}

/*==矢印の設定*/

/*2階層目を持つliの矢印の設定*/
nav ul li.has-child::before{
	content:'';
	position: absolute;
	left:15px;
	top:30px;
	width:6px;
	height:6px;
	border-top: 2px solid #eee;
    border-right:2px solid #eee;
    transform: rotate(135deg);
}

@media screen and (max-width:1200px) {
nav ul li.has-child::before{
    left:0;
}
}

/*== 2・3階層目の共通設定 */

/*下の階層を持っているulの指定*/
nav li.has-child ul{
    /*絶対配置で位置を指定*/
	position: absolute;
	left:0;
	top:62px;
	z-index: 4;
    /*形状を指定*/
	background:rgba(255,255,255,0.2);
	width:180px;
    /*はじめは非表示*/
	visibility: hidden;
	opacity: 0;
    /*アニメーション設定*/
	transition: all .3s;
	font-size: 13px;
	padding: 0;
}









/*==960px以下の形状*/

@media screen and (max-width:960px){
	nav{
		padding: 0;
	}
	
	nav ul{
		display: block;
	}	
nav ul li a{
	border-bottom:1px solid #ccc;
}

/*矢印の位置と向き*/



 
}

/*===========================================================*/
/*スクロール途中から上部固定 */
/*===========================================================*/

#header{
	position: fixed;/*fixedを設定して固定*/
	height: 70px;/*高さ指定*/
	width:100%;/*横幅指定*/
    z-index: 999;/*最前面へ*/
	/*以下はレイアウトのためのCSS*/
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-align: center;
	padding: 20px 100px 20px 0;
}

/*==ふわっと出現させるためのCSS*/

/*　上に上がる動き　*/

#header.UpMove{
	position: fixed;
	width:100%;
	animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime{
  from {
    opacity: 1;
	transform: translateY(0);
  }
  to {
    opacity: 0;
	transform: translateY(-100px);
  }
}

/*　下に下がる動き　*/

#header.DownMove{
	position: fixed;
	width:100%;
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 0;
	transform: translateY(-100px);
  }
  to {
  	opacity: 1;
	transform: translateY(0);
  }
}
#header.transform{
	background: rgba(0,0,0,0.8);}
@media screen and (max-width:960px) {
#header,
#header.UpMove,
#header.DownMove{
    animation:none;
	height: 85px;
    padding: 0;
    display: block;
}
#header.transform{	background: rgba(0,0,0,0.8);}

}


/*==================================================
 クリックしたらナビが上から下に出現
===================================*/

@media screen and (max-width:960px) {
#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	top:-120%;
    left:0;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:rgba(0,0,0,0.8);
    /*動き*/
	transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    top: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    width: 90%;
    margin:100px auto 0 auto;
}
    
#g-nav ul ul{
    width: 100%;
    margin: 0;
}
 
/*プルダウンナビのCSS*/
#g-nav ul li.has-child ul{
  	position: relative;
	left:0;
	top:0;
	width:100%;
	visibility:visible;/*JSで制御するため一旦表示*/
	opacity:1;/*JSで制御するため一旦表示*/
	display: none;/*JSのslidetoggleで表示させるため非表示に*/
	transition:none;/*JSで制御するためCSSのアニメーションを切る*/
    transform: none;
}
/*transform付与時のプルダウン設定*/
#header.transform #g-nav ul li.has-child ul{
  	position: relative;
	left:0;
	top:0;
	width:100%;
	visibility:visible;/*JSで制御するため一旦表示*/
	opacity:1;/*JSで制御するため一旦表示*/
	display: none;/*JSのslidetoggleで表示させるため非表示に*/
	transition:none;/*JSで制御するためCSSのアニメーションを切る*/
    transform: none;
	background:rgba(255,255,255,0.2);
}


/*リストのレイアウト設定*/

#g-nav li{
	list-style: none;
    text-align: center; 
}

#g-nav li a{
	color: #aaa;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}
}

/*==================================================
 3本線が奥行きを持って回転して×に
===================================*/

.g-nav-openbtn{
    display: none;
}
 
@media screen and (max-width:960px) {
.g-nav-openbtn{
    display: block;
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:10px;
	right: 10px;
	cursor: pointer;
    width: 50px;
    height:50px;
}

/*ボタン内側*/

.g-nav-openbtn .openbtn-area{
    transition: all .4s;
}

.g-nav-openbtn span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background: #fff;
  	width: 45%;
  }

.g-nav-openbtn span:nth-of-type(1) {
	top:15px;	
}

.g-nav-openbtn span:nth-of-type(2) {
	top:23px;
}

.g-nav-openbtn span:nth-of-type(3) {
	top:31px;
}

/*activeクラスが付与されると
線と周りのエリアが回転して×になる*/

.g-nav-openbtn.active .openbtn-area{
	transform: rotateY(-360deg);
}

.g-nav-openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-135deg);
    width: 30%;
}

.g-nav-openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.g-nav-openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(135deg);
    width: 30%;
}
}

/*==================================================
 左から右に線が伸びる（下部）
===================================*/
.nav01c li a{
    /*線の基点とするためrelativeを指定*/
	position: relative;
}

.nav01c li.current a,
.nav01c li a:hover{
	color:#eee;
}

.nav01c li a::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: 16px;
    left: 25%;
    /*線の形状*/
    width: 50%;
    height: 1px;
    background:#eee;
    /*アニメーションの指定*/
    transition: all .3s;
    transform: scale(0, 1);/*X方向0、Y方向1*/
    transform-origin: left top;/*左上基点*/
}

.nav01c li li a::after {
    display: none;
}

/*現在地とhoverの設定*/
.nav01c li.current a::after,
.nav01c li a:hover::after {
    transform: scale(1, 1);/*X方向にスケール拡大*/
}
.sp{display: none;}
@media screen and (max-width:960px) {
.sp{display: block;}
.nav01c li a::after {
    display: none;
}  
}
.nav02c li a{
    /*線の基点とするためrelativeを指定*/
	position: relative;
}

.nav02c li.current a,
.nav02c li a:hover{
	color:#eee;
}

.nav02c li a::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: -2px;
    left: 10%;
    /*線の形状*/
    width: 85%;
    height: 1px;
    background:#eee;
    /*アニメーションの指定*/
    transition: all .3s;
    transform: scale(0, 1);/*X方向0、Y方向1*/
    transform-origin: left top;/*左上基点*/
}

.nav02c li li a::after {
    display: none;
}

/*現在地とhoverの設定*/
.nav02c li.current a::after,
.nav02c li a:hover::after {
    transform: scale(1, 1);/*X方向にスケール拡大*/
}
@media screen and (max-width:960px) {
.nav02c li a::after {
    display: none;
}  
}
/*==================================================
　縦線が動いてスクロールを促す
===================================*/

/*スクロールダウン全体の場所*/
.scrolldown1{
    /*描画位置※位置は適宜調整してください*/
	position:absolute;
	right:40px;
	bottom:3%;
    /*全体の高さ*/
	height:50px;
}

/*Scrollテキストの描写*/
.scrolldown1 span{
    /*描画位置*/
	position: absolute;
	left:-15px;
	top: -15px;
    /*テキストの形状*/
	color: #eee;
	font-size: 0.7rem;
	letter-spacing: 0.05em;
}

/* 線の描写 */
.scrolldown1::after{
	content: "";
    /*描画位置*/
	position: absolute;
	top: 0;
    /*線の形状*/
	width: 1px;
	height: 30px;
	background: #eee;
    /*線の動き1.4秒かけて動く。永遠にループ*/
	animation: pathmove 1.4s ease-in-out infinite;
	opacity:0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove{
	0%{
		height:0;
		top:0;
		opacity: 0;
	}
	30%{
		height:30px;
		opacity: 1;
	}
	100%{
		height:0;
		top:50px;
		opacity: 0;
	}
}

/*==================================================
少し出ていた線が伸びる
===================================*/


.btnlinestretches2{
    /*線の基点とするためrelativeを指定*/
	position:relative;
    /*ボタンの形状*/  
	color:#eee;
    padding:5px 40px;
	display:inline-block;
    text-decoration: none;
    outline: none;
}

/*線の設定*/
.btnlinestretches2::before,
.btnlinestretches2::after {
	content:'';
    /*絶対配置で線の位置を決める*/
	position:absolute;
    /*事前に出現させる線の形状*/
	border:solid #eee;
	width:10px;
	height:10px;
    /*アニメーションの指定*/
	transition:all 0.3s ease-in-out;
}

.btnlinestretches2::before{
    /*事前に出現させる線の位置*/
	top:0;
	left:0;
    /*事前に出現させる線の形状*/
	border-width:1px 0 0 1px;
}

.btnlinestretches2::after{
    /*事前に出現させる線の位置*/
	bottom:0;
	right:0;
    /*事前に出現させる線の形状*/
	border-width:0 1px 1px 0;
}

/*hoverした際の線の形状*/
.btnlinestretches2:hover::before,
.btnlinestretches2:hover::after{
    width:calc(100% - 2px);
	height:calc(100% - 2px);
	border-color:#eee;
}


/*==================================================
/*タブメニュー*/
/*===================================*/

/*tabの形状*/
.tab-area{
    width: 100%;
	height: 100%;
}

.tab{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.tab li{
    text-align: center;
    white-space: nowrap;
	margin: 5px 0;
}

.tab li a{
	display: block;
    border-top:transparent 1px solid;
    border-right:#000 1px solid;
    border-left:transparent 1px solid;
	padding:8px 20px;
    background:#333;
}

@media screen and (max-width:400px) {
.tab li a {
	padding:8px 20px;
}
   
}

/*liにactiveクラスがついた時の形状*/
.tab li.active a{
    background: #000;
    border-top:#aaa 1px solid;
	border-color:#aaa;
}

/*エリアの表示非表示と形状*/
.ca_area {
	display: none;/*はじめは非表示*/
	opacity: 0;/*透過0*/
	margin: 60px auto;
    padding: 20px 0;
	max-width: 650px;
	height: auto;
}

/*areaにis-activeというクラスがついた時の形状*/
.ca_area.is-active {
    display: block;/*表示*/
	max-width: 650px;
	height: auto;
    animation-name: displayAnime;/*ふわっと表示させるためのアニメーション*/
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

@keyframes displayAnime{
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
.ca_area h2 {
  position: relative;
  padding: 10px 20px calc(5px + 15px);
  background: #0060a1;
	color: #fff;
	font-size:1.8rem;
	font-weight: normal;
}

.ca_area h2:before {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 100%;
  height: 100%;
  content: '';
  border: 2px solid #333;
}
ul.history{
	list-style: none;
	margin: 0 0 100px;
	padding: 0;
	background-color: #fff;
	height: auto;
}
ul.history li{
	margin: 30px 0;
	padding: 0 2px 10px 10px;
	border-bottom: 1px dotted #666;
}

/*===========================================================*/
/* 動きを組み合わせて全画面で見せる */
/*===========================================================*/
#slider {
    width: 100%;
    height: 91vh;/*スライダー全体の縦幅を91vhにする*/
}




/*==================================================
印象 動き
===================================*/

/*背景色が伸びて出現（左から・右から）　*/
.bgextend{
	animation-name:bgextendAnimeBase;
	animation-duration:1s;
	animation-fill-mode:forwards;
	position: relative;
	overflow: hidden;/*　はみ出た色要素を隠す　*/
	opacity:0;
}

@keyframes bgextendAnimeBase{
  from {
    opacity:0;
  }

  to {
    opacity:1;  
}
}

/*中の要素*/
.bgappear{
	animation-name:bgextendAnimeSecond;
	animation-duration:1s;
	animation-delay: 0.6s;
	animation-fill-mode:forwards;
	opacity: 0;
}

@keyframes bgextendAnimeSecond{
	0% {
	opacity: 0;
	}
	100% {
	opacity: 1;
}
}

/*背景色が伸びて出現（左から）*/
.bgLRextend::before{
	animation-name:bgLRextendAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #111;/*伸びる背景色の設定*/
}
@keyframes bgLRextendAnime{
	0% {
		transform-origin:left;
		transform:scaleX(0);
	}
	50% {
		transform-origin:left;
		transform:scaleX(1);
	}
	50.001% {
		transform-origin:right;
	}
	100% {
		transform-origin:right;
		transform:scaleX(0);
	}
}

/*背景色が伸びて出現（右から）*/
.bgRLextend::before{
	animation-name:bgRLextendAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #111;/*伸びる背景色の設定*/
}
@keyframes bgRLextendAnime{
	0% {
		transform-origin:right;
		transform:scaleX(0);
	}
	50% {
		transform-origin:right;
		transform:scaleX(1);
	}
	50.001% {
		transform-origin:left;
	}
	100% {
		transform-origin:left;
		transform:scaleX(0);
	}
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.bgappearTrigger,
.bgUDextendTrigger,
.bgDUextendTrigger,
.bgRLextendTrigger,
.bgLRextendTrigger{
    opacity: 0;
}



/****** 背景が下から出現＋テキスト *******/

.bgDU{
	position:relative;/*テキストの基点となる位置を定義*/
}

.bgDU span.mask{
	position:relative;/*背景色の基点となる位置を定義*/
    display: block;
    line-height: 0;/*行の高さを0にする*/
    overflow: hidden;/*拡大してはみ出る要素を隠す*/
}

.bgDU span.mask::before{
	content:"";
	position: absolute;
	z-index: 2;
	left:0;
	top:0;
	opacity:0;/*透過0*/
	transition: .3s ease-in-out;/*移り変わる速さを変更したい場合はこの数値を変更*/
    transform: translateY(100%);
	background:#000;/*背景色*/
	width:100%;
	height: 100%;	
}

.bgDU:hover span.mask::before{/*hoverした時の変化*/
	opacity:0.8;/*透過なしに変化*/
	transform: translateY(0);
}

.bgDU span.cap{/*画像の上のテキスト*/
	position: absolute;
	opacity:0;/*透過0*/
	transition: .8s ease-in-out;/*移り変わる速さを変更したい場合はこの数値を変更*/
	z-index:3;/*テキストを前面に出す*/
	top: 50%;
    left: 50%;
	transform: translate(-50%,-50%);/*テキストの位置中央指定*/
	color: #fff;/*テキストの色を変えたい場合はここを修正*/
    line-height: 1.5;/*行の高さを1.5にする*/
	min-width: 200px;
	width: 80%;
	text-align: center;
}

.bgDU:hover span.cap{/*hoverした時の変化*/
	opacity:1;/*透過なしに変化*/
}
@media screen and (max-width:960px) {
	.bgDU span.cap{ font-size: 1.4rem;}
}
/*==================================================
ふわっ
===================================*/


/* fadeUp */

.fadeUp{
animation-name:fadeUpAnime;
animation-duration: 1.0s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}


/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
 
.fadeUpTrigger{
    opacity: 0;
}
/*********************カーソル******************************/

html,
body {
  width: 100%;
  margin: 0;
}

body {
  position: relative;
  cursor: none;
}

.cursor,
.follower {
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0; 
  pointer-events: none;
  cursor: none;
}
.cursor {
  width: 8px;
  height: 8px;
  background-color: #0060a1;
  z-index: 1001;
}
.follower {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: rgba(73,251,144,0.4);
  transition: transform ease .1s;
  text-align: center;
	z-index: 1000;}
.follower.is-active {
	background-color: rgba(255,255,0,0.2);
    transform: scale(2.4);
  }


.c-follower.is-blend {
    background-color: rgba(255,255,0,0.2);
}

@media screen and (max-width:450px) {
	.cursor,
	.follower {display: none;}
	
}

/*ページトップへ*/
.pagetop { 
	display: none;
	position: fixed;
	bottom: 2%;
	right: 1%;
	z-index: 999;
}
.pagetop a {
	display: block;
	width: 48px;
	height: 48px;
}
/***スクエア背景***/

#main-area{height: 100%;}
#particles-js{
	width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: block;
z-index: 0;
overflow:hidden;
}
/*==================================================
ギャラリーのためのcss
===================================*/

/*＝＝＝並び替えボタンのCSS*/
.sort-btn{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	padding:50px 20px;
	z-index: 1;
	position: relative;
}

.sort-btn li{
	background:#000;
list-style:none;
	cursor: pointer;
	padding: 10px 20px;
	margin:8px 10px;
}

.sort-btn li.active{/*ボタンに現在地＝activeというクラス名がついたら背景色を変更*/
	background:#fff;	
	color:#000;
	border:1px solid #333;
}

/*横幅が480px以下になった際の指定*/
@media only screen and (max-width: 665px) {
.sort-btn{
	justify-content: space-between;
}
	
.sort-btn li{
	width:100%;
	margin:0 0 10px 0;
	text-align:center;
	}	
}

/*＝＝＝Muuriのレイアウトのための調整 */
.grid {
  position: relative;/*並び替えの基準点を指定*/
	z-index: 1;
}

/*各画像の横幅などの設定*/
.item {
  display: block;
  position: absolute;
  width: 33%;/*横並びで3つ表示*/
 padding:10px;
  z-index: 1;
list-style:none;
}

/*内側のボックスの高さが崩れないように維持*/
.item-content {
  position: relative;
  width: 100%;
  height: 100%;
}

/*画像の横幅を100%にしてレスポンシブ化*/
.grid img{
	width:100%;
	height:auto;
	vertical-align: bottom;/*画像の下にできる余白を削除*/
}

/*横幅が768px以下になった際の指定*/
@media only screen and (max-width: 768px) {
.item {
  width: 49.5%;/*横並びで2つ表示*/
}
}
/*横幅が768px以下になった際の指定*/
@media only screen and (max-width: 480px) {
.item {
  width: 100%;/*1つ表示*/
}
}


/***************************moddal*************************************/
/*全て共通：hideエリアをはじめは非表示*/
.hide-area{
	display: none;
}

/*全て共通：モーダルのボタンの色を変更したい場合*/
.modaal-close:after, 
.modaal-close:before{
	background:#ccc;	
}

.modaal-close:focus:after,
.modaal-close:focus:before,
.modaal-close:hover:after,
.modaal-close:hover:before{
	background:#666;
}

/********************モーダル内レイアウト*************************/

ul.m_dtail{
	display: flex;
}
ul.m_dtail li{flex: 1;}
ul.m_dtail li img{
	width: 550px;
}
ul.m_dtail li.m_text{
	margin: 0;
	padding: 0;
	display: table-cell;
    vertical-align: top;
}
li.m_text h3{
	margin: 30px 0 15px 0;
	color: #0060a1;
	font-weight: bold;
	font-size: 1.6rem;
}
li.m_text a{
	color: #006699;
	text-decoration: none;
    outline: none;
}
span.dtail{
	display: block;
	margin-bottom: 10px;
}
@media only screen and (max-width: 710px) {
	ul.m_dtail{
		display: flex;
		flex-flow: column;
	}
}