@charset "UTF-8";
/*!
* ress.css • v1.2.2
* MIT License
* github.com/filipelinhares/ress
* 全ての要素にbox-sizing: border-box;.
* 全ての背景画像にbackground-repeat: no-repeat.
*/html{box-sizing:border-box;-webkit-text-size-adjust:100%}*,:after,:before{background-repeat:no-repeat;box-sizing:inherit}:after,:before{text-decoration:inherit;vertical-align:inherit}*{padding:0;margin:0}audio:not([controls]){display:none;height:0}hr{overflow:visible}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}summary{display:list-item}small{font-size:80%}[hidden],template{display:none}abbr[title]{border-bottom:1px dotted;text-decoration:none}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}code,kbd,pre,samp{font-family:monospace,monospace}b,strong{font-weight:bolder}dfn{font-style:italic}mark{background-color:#ff0;color:#000}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}input{border-radius:0}[role=button],[type=button],[type=reset],[type=submit],button{cursor:pointer}[disabled]{cursor:default}[type=number]{width:auto}[type=search]{-webkit-appearance:textfield}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}textarea{overflow:auto;resize:vertical}button,input,optgroup,select,textarea{font:inherit}optgroup{font-weight:700}button{overflow:visible}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:0;padding:0}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button:-moz-focusring{outline:1px dotted ButtonText}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}button,select{text-transform:none}button,input,select,textarea{background-color:transparent;border-style:none;color:inherit}select{-moz-appearance:none;-webkit-appearance:none}select::-ms-expand{display:none}select::-ms-value{color:currentColor}legend{border:0;color:inherit;display:table;max-width:100%;white-space:normal}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}img{border-style:none;vertical-align: bottom}progress{vertical-align:baseline}svg:not(:root){overflow:hidden}audio,canvas,progress,video{display:inline-block}@media screen{[hidden~=screen]{display:inherit}[hidden~=screen]:not(:active):not(:focus):not(:target){position:absolute!important;clip:rect(0 0 0 0)!important}}[aria-busy=true]{cursor:progress}[aria-controls]{cursor:pointer}[aria-disabled]{cursor:default}::-moz-selection{background-color:#b3d4fc;color:#000;text-shadow:none}::selection{background-color:#b3d4fc;color:#000;text-shadow:none}ul,ol{list-style:none;}a{text-decoration:none;}.wrapper{overflow:hidden;}body{overflow-y:scroll;}

.inner{
max-width:960px;/*レスポンブ対応max*/
margin:0 auto;
}
header h1{
margin-top: 20px;
font-family: 'Roboto Condensed', sans-serif;
}
.tag-line{
margin-bottom: 20px;
}
.g-nav{
width:100;
height:50px;
background-color:chocolate;
}
.g-nav>ul{
display: flex;
max-width: 960px;/*max-width 960px以上にならない*/
margin:0 auto;
}
.g-nav li{
width:25%;
height:50px;
}
.g-nav a{
display:block;
text-align: center;
line-height: 50px;
color:#fff;
border-right:2px solid #000;
}
.g-nav li:first-of-type >a{
border-left:2px solid #000;
}
.g-nav a:hover{
background-color:darkkhaki;
}
#checkbox{
display:none;/*隠す*/
}
/*lightbox
----------------------------*/
.wrapper{
max-width:960px;/*max-width*/
margin:100px auto;
display:flex;
justify-content:space-between;
}
.box{
width:31%;
}
.box img{
max-width:100%;/*フルードイメージ*/
margin-bottom:10px;
}
.box>h2{
margin-bottom:10px;
font-family: 'Roboto Condensed', sans-serif;
}

/*ブレイクポイント*/
@media (max-width:959px){/*959px以下になったとき*/
.inner{
padding:0 10px;
}
.wrapper{
padding:0 10px;
}
.g-nav li:first-of-type>a{
border-left:0;
}
.g-nav li:last-of-type>a{
border-right: 0;/*0にすることが確実に消える*/
}
}

@media (max-width:767px){
header{
position:fixed;/*ヘッダーを固定にする fixedにしても基準点として認証される*/
top:0;
width:100%;
height:110px;
background-color:#999;
z-index: 999;
}
h1{
font-size:26px;
margin:0;
padding:8px 0;
}
.wrapper{
display:block;
margin:140px auto;
}
.box{
width:100%;
margin-bottom: 30px;
}
/*ハンバーガーメニュー*/
.ham-btn{
width:44px;
height:44px;
background:#822;
position:absolute;/*ハンバーガーメニューのポジションを設定*/
top:30px;
right:30px;
}
.ham-btn>span{
display:block;
width:24px;
height:2px;
background-color:#000;
position:absolute;
top:-12px;
left:0;
right:0;
bottom:0;
margin:auto;
transition:0.4s;
}
.ham-btn>span::after{
display:block;
content:"";
width:24px;
height:2px;
background-color:#000;
position:absolute;
top:24px;
left:0;
right:0;
bottom:0;
margin:auto;
transition:0.4s;
}
#checkbox:checked~label>.ham-btn{/*チェックボックスにチェックマークがついた時の指定 ~ マークの使い方*/
background-color:aqua;
}
#checkbox:checked~label>.ham-btn>span{
transform: rotate(45deg);
position:absolute;
top:0;
}
#checkbox:checked~label>.ham-btn>span::after{
transform: rotate(-90deg);
top:0;
}
.g-nav{
width:100%;
height:calc(100vh - 120px);/*ヘッダーを引いた画面一面のサイズで表示*/
display:none;
}
#checkbox:checked~.g-nav{
display:block;
}
.g-nav>ul{
display:block;
}
.g-nav li{
width:100%;
height: 90px;
}
.g-nav a{
border-right:0;
border-bottom:2px solid #fff;
line-height: 90px;
}
}