@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;}

/*PCレイアウト
----------------------------------*/
.container{
width:960px;
margin:0 auto;
display:flex;/*３つのカラムを縦に並べる*/
padding:10px 0;
}
.col{
width:320px;
}
h1{
width:300px;
height:300px;
background:url(../img/logo01.png)no-repeat ;
text-indent: 100%;
white-space: nowrap;
overflow: hidden;
margin:10px;
}
.g-nav li{
float:left;
width:140px;
height:140px;
margin:10px;
}
.g-nav a{
display:block;
height:140px;
background:url(../img/nav01_01.png)no-repeat;
text-indent: 100%;
white-space: nowrap;
overflow: hidden;
}
.g-nav li:nth-of-type(2)>a{
background:url(../img/nav02_01.png)no-repeat;
}
.g-nav li:nth-of-type(3)>a{
background:url(../img/nav03_01.png)no-repeat;
}
.g-nav li:nth-of-type(4)>a{
background:url(../img/nav04_01.png)no-repeat;
}
.g-nav a:hover{
opacity: 0.7;
}
.grid>li{
float:left;/*左から並べる*/
margin:10px;
}
.grid>li.right{/*上書きするための記述方法*/
float:right;/*縦長の画像のせいでカラム落ちしているので、縦長の画像にrightのクラス名をつけてスタイルを変更*/
}
footer{
width:100%;
height:100px;
background-color: #281605;
}
footer>p{
text-align: center;
color:#fff;
font-size:18px;
line-height: 100px;
}
.last{
display:none;/*PCサイズのときには見せたくないので、非表示設定にする*/
}
/*トップに戻るボタン*/
#to-top{
width:50px;/*ボタンの大きさは４４PX以上*/
height:50px;
background-color:#281605;
border-radius:50%;
border:2px solid #fff;/*背景の白にして、フッター位置に来たとき目立つように*/
position:fixed;
right:20px;
bottom:20px;
text-indent: 100%;
white-space: nowrap;
overflow: hidden;
}
#to-top::after{
display: block;
content:"";
width:24px;
height:24px;
border-top:2px solid  #FFF ;
border-right:2px solid  #FFF;
transform:rotate(-45deg);
position:absolute;
left:0;
right:0;
top:15px;
margin:auto;
}



/*タブレットサイズ
--------------------------*/
@media (max-width:959px){
.container{
width:640px;
flex-wrap:wrap;
}
.col:last-of-type{
width:640px;
}
.last{
display:block;/*画像を表示させる命令*/
}
/*SPサイズ
------------------------------*/
@media (max-width:640px){
.container{
width:320px;
}