@charset "UTF-8";

/* CSS Document */

/*------------------------------------------------------------------


/*-----------------------------------
    1. Body / Typography 
-----------------------------------*/

/*全て共通：hideエリアをはじめは非表示*/
.hide-area{
	display: none;
}

.gallery{width: 800px;height: 800px; margin: 0 auto}


/*全て共通：モーダルのボタンの色を変更したい場合*/
.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;
}

/*確認を促すモーダル：タイトルの色を変更したい場合*/
#modaal-title{
	font-size:1.2rem;
	text-align: center;
	margin: 0 0 20px 0;
}

/*動画表示のモーダル：余白を変更したい場合*/
.modaal-video .modaal-inner-wrapper{
	padding:0;
}

.modaal-container{

}

img{
  max-width: 100%;
  height: auto;
}

.works-ph{width: 100%}


    /* Small Devices, Tablets */
    @media only screen and (max-width : 768px) {
        
        .modaal-container{
    width: 700px;

}

        .gallery{width: 700px;height: 700px; margin: 0 auto}
    }

.modaal-wrapper {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    overflow: auto;
    opacity: 1;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}


    /* Extra Small Devices, Phones */ 
    @media only screen and (max-width : 480px) {
        {
    width:460px;
   height:460px}
        
        .gallery{width: 460px;height: 460px; margin: 0 auto}
    }

