@charset "utf-8";
@import url(https://fonts.googleapis.com/earlyaccess/notosansjapanese.css);

/*   共通部分   */
* {
    box-sizing: border-box;
 }

html {
    font-size: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", メイリオ, Meiryo, "ＭＳ Ｐゴシック", "Helvetica Neue", Helvetica,  sans-serif;
    background-color: #F9F9F9;
    letter-spacing : 0.2em;
    font-size: 0.9rem;
 }

 #header {
    padding: 16px;
    position: fixed;  /* 位置を固定する */
    top: 0;  /* 固定する位置を指定 */
    width: 100%;  /* ヘッダーの幅 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    background-color: #fff;
    z-index: 500;
 }
 
 #header ul {
    display: flex;
 }
 
 #header li {
    margin-left: 16px;
 }
 
 #header li :last-child {
    margin-right: 16px;
 }
 
 #header li a{
    color: #4c4c4c;
 }
 
 #header li a:hover {
    opacity: 0.7;
 }

a {
    text-decoration: none;
    color: #fff;
}

img {
    max-width: 100%;
}

nav {
    margin: 0 0 0 auto;
 }

ul {
   list-style: none;
   margin: 0;
   display: flex;
}

li {
    list-style: none;
}

/*   class共通部分   */

.site-title {
    width: 70px;
    line-height: 1px;
    margin-left: 16px;
}

.site-title a {
    display: block;
}

.wrapper {
    margin: 0 auto 0px auto;
    padding: 0 8px;
    text-align: center;
}

.sp-nav {
    display: none;
 }

/*エリア全体を中央寄せ*/
.addwrapper{
	width:94%;
	max-width:950px;
	margin:0 auto;
    margin-top: 52px;
}

.addwrapper ul{
	margin:0;
	padding: 0;
	list-style: none;
    margin-bottom: 50px;
}

/*   メインビジュアル   */


/*画像の横幅を100%にしてレスポンシブ化*/
img{
	width: 100%;
	height: auto;
	vertical-align: bottom;/*画像の下にできる余白を削除*/
}

/*メイン画像下に余白をつける*/

.gallery{
	margin:0 0 5px 0;
}

/*矢印の設定*/

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

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

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

/*選択するサムネイル画像の設定*/

.choice-btn li{
	cursor: pointer;
	outline: none;
    background:#333;
	width:25%!important;
}

.choice-btn li img{
	opacity: 0.4;/*選択されていないものは透過40%*/
}

.choice-btn li.slick-current img{
	opacity: 1;/*選択されているものは透過しない*/
}

.choice-btn .slick-track {
	transform: unset !important;/*画面幅サイズ変更に伴うサムネイル固定*/
}

.description h2{
    padding-bottom: 6px;
}

.description p {
    padding-bottom: 30px;
}

/*   WORKS   */

*, *:before, *:after {
    box-sizing: border-box;
}

.flex {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.flex > *{
    width: calc( 20% - 25px );
    margin-right: 25px;
    margin-bottom: 25px;
}

.flex > *:nth-child(5n){
    margin-right: auto;
}

.sample1 {
	overflow:		hidden;
	margin:			10px 8px 10px 16px;
	position:		relative;	/* 相対位置指定 */
}

.sample1 .caption {
	font-size:		1.25rem;
    font-weight: bold;
	text-align: 		center;
	padding-top:		40px;
	color:			#fff;
}

.sample1 .mask {
	width:			100%;
	height:			100%;
	position:		absolute;	/* 絶対位置指定 */
	top:			0;
	left:			0;
	opacity:		0;	/* マスクを表示しない */
	background-color:	rgba(0,0,0,0.4);	/* マスクは半透明 */
	-webkit-transition:	all 0.2s ease;
	transition:		all 0.2s ease;
}

.sample1 .mask p {
    font-size: 1rem;
    padding-top: 10px;
    color: #fff;
}

.sample1:hover .mask {
	opacity:		1;	/* マスクを表示する */
}

/*   footer   */

#footer {
    font-size: 0.75rem;
    padding: 30px 0 0 0;
    text-align: center;
    height: 70px;
    background-color: #24292e;
  }

#footer {
    color: #fff;
}

/*   responsive   */
@media screen and (min-width: 960px) and (max-width: 1200px) {
    .sample1 .caption {
        font-size: 100%;
        padding-top:		50px;
    }
}

@media screen and (max-width: 960px) {

    .addwrapper ul {
        margin-bottom: 32px;
     }

    .sample1 .caption {
        font-size: 100%;
        padding-top:		30px;
    }
    .sample1 .mask {
        height:			100%;
    }
    .sample1 .mask p {
        font-size: 0rem;
    }
    .flex > *{
        width: calc( 25% - 25px );
        margin-right: 12px;
        margin-bottom: 12px;
    }
    .flex > *:nth-child(5n){
        margin-right: 12px;
    }
    .flex > *:nth-child(4n){
        margin-right: auto;
    }
}

@media screen and (min-width: 580px) and (max-width: 960px) {
    .sample1 .caption {
        font-size: 100%;
        padding-top:		50px;
    }
}

@media screen and (max-width: 580px) {
    .addwrapper {
        margin-top: 58px;
    }
    .pc-nav {
        display: none;
     }
     .sp-nav {
        z-index: 1;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        display: block;
        width: 100%;
        background: rgba(255, 255, 255, .8);
        opacity: 0;
        transform: translateY(-100%);
        transition: all .2s ease-in-out;
     }
     #hamburger {
        position: relative;
        display: block;
        width: 30px;
        height: 25px;
        margin: 0 0 0 auto;
     }
     #hamburger span {
        position: absolute;
        top: 50%;
        left: 0;
        display: block;
        width: 100%;
        height: 2px;
        background-color: #111;
        transform: translateY(-50%);
     }
     #hamburger::before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #111;
     }
     #hamburger::after {
        content: '';
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 70%;
        height: 2px;
        background-color: #111;
     }
     /*スマホメニュー*/
     .sp-nav ul {
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
     }
     .sp-nav li {
        margin: 0;
        padding: 0;
     }
     .sp-nav li span {
        font-size: 15px;
        color: #111;
     }
     .sp-nav li a, .sp-nav li span {
        display: block;
        padding: 20px 0;
     }
     /*-閉じるアイコンー*/
     .sp-nav .close {
        position: relative;
        padding-left: 20px;
     }
     .sp-nav .close::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        display: block;
        width: 16px;
        height: 1px;
        background: #111;
        transform: rotate( 45deg );
     }
     .sp-nav .close::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        display: block;
        width: 16px;
        height: 1px;
        background: #111;
        transform: rotate( -45deg );
     }
     .toggle {
        transform: translateY( 0 );
        opacity: 1;
     }

     .addwrapper ul {
        margin-bottom: 16px;
     }

     .description {
        font-size: 0.8rem;
     }

    .sample1 .caption {
        font-size: 80%;
        text-align: center;
    }
    .sample1 .mask {
        height:			100%;
    }
    .sample1 .mask p {
        font-size: 0rem;
    }
    .flex > *{
        width: calc( 33.33333% - 27px ) ;
    }
    .flex > *:nth-child(5n){
        margin-right: 12px;
    }
    .flex > *:nth-child(4n){
        margin-right: 12px;
    }
    .flex > *:nth-child(3n){
        margin-right: auto;
    }
}