@charset "UTF-8";
/* CSS Document */
.item {
    position: relative;
}
.kage {
    display: none;
    position: absolute;
    background: rgba(113, 178, 185,0.8);
    width: 100%;
    height:  100%;
    top: 0;
    left: 0;
}
.kage p {
    color: #fff;
    text-align: center;
    padding-top: 0px;
    font-size: 1.1em;
    height: 100%;
}
.kage p a {
color: #fff;
    display: block;
    height: 100%;
    width: 100%;
    text-align: left;
    padding-top: 0px;
    font-size: 1.1em;
    text-decoration: none;
    position: absolute;
    padding-top:  50%;
    margin-top: -0.5em;
    /*display: table-cell;
    vertical-align:bottom;*/
}
body {
	width: 98%;
	margin-left: 1%;
}
h1 {
	border-bottom: 0px;
	margin-bottom: 0px;
}
ul {
	list-style-type: none;	
}
.top {
	display: flex;
	justify-content: space-between;
}
.name {
	text-align: center;
}
.midasi {
	display: flex;
	max-width: 100%;
	justify-content: space-around;
	flex-wrap: wrap;
}
.home {
    max-width: 100px;
    max-height: 60px;
}
.nav {
    max-width: 300px;
    max-height: 60px;
}
.grid {
	display:grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit,minmax(200px, 1fr));
	margin :0 40 20 40;
}
h2 {
	margin-bottom: 0px;
	font-size: 80%;
}
.tag {
	display: glid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
	margin-bottom: 0px;	
}
/*.tag hover {
    background: pink;
}
.tag current{
    background: red;
}*/
.tag img {
    max-width: 100%;
    min-width: 30px;
}
.logo_container {
	/*display: flex;
	width: 100%;*/
}
.container {
	display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
	margin-bottom: 0px;  
}
.btn {
    opacity: 0.4;/* 半透明にしている */
}
/*.item {
    position: relative;
}*/

.pho {
    /*position: absolute;*/
	width:100%;
	height:100%;
}
 /*.pho p {
    position: relative;
    top: 10px;
}*/
/*.caption {
	width: 100%;
	margin-right: 0;
}*/
.sns_link {
	display: flex;
	flex-wrap: wrap;
	
	background-color: #71b2b9;
}
.sns {
	width: 95%;
}
.juusyo {
	text-align: right;
}

.current{
	
    opacity: 1.0;/* 選ばれたタブ　カレントのみ透明度をあげる */
}
    /*イラストレーターとフォトショップのロゴサイズを縮小*/
.logopng {
    width: 30px;
    display: flex;
    
}
    /*クラスイラストページのスタイル*/
.kyousitu {
    height: 100vh;
}
    /*レスポンシブ820px以下 */

@media (max-width:820px){
	.grid {
	grid-template-columns: repeat(auto-fit,minmax(150px, 1fr));	
	}
.midasi {
        font-size: 1.3rem ;
	}
.kyousitu {
    height: 100vh;
}
}
    /*レスポンシブ580px以下 */
@media (max-width:580px){
    .logo {
		width: 100%;
	}
    .nav {
        width: 100%;
    }
    .nav_a {
        width: 300px;
    }
	html body {
		width: 96%;
		margin-left: 2%;
	}
	.midasi {
		flex-direction: column;
		align-items: left;
	}
	.grid {
	grid-template-columns: repeat(auto-fit,minmax(139px, 1fr));	
	}

   /*クラスイラストページのスタイル*/
.kyousitu {
    width: 100%;
    height: auto;
}
}
