﻿@import url(https://fonts.googleapis.com/css?family=Roboto:400,900italic,900,700italic,700,500italic,500,400italic,300italic,300,100italic,100);
@charset "utf-8";
/* CSS Document */

*{
	margin: 0 auto;
	padding: 0px;
	border: none;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
}

::after, ::before {
    box-sizing: border-box;
    outline: 0;
}

body {
	font-family: 'Noto Serif JP', 'Caladea', serif,'Lucida Grande', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
	font-size: 14px;
	color: #FFFFFF;
	background-color: #000000;
	word-break:break-all;
}



/** Base **/

#wrap {
	position:relative;
}

img {
	max-width: 100%;
	display: block;
}

section {
	background-color:#000000;
	height: auto;
}

article{
	width:100%;
	height:auto;
}

.d-flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/** Base **/

.back-btn {
	display: block;
	position: relative;
	width: 160px;
	padding: 0.8em;
	text-align: center;
	text-decoration: none;
	color: #fff;
	background: #795548;
}
.back-btn:hover {
	 opacity:0.8;
	 cursor: pointer;
	 text-decoration: none;
}

/********* 〜320px **********/

.content {
	width:100%;
    padding:30px 10px;
}

/** 見出し **/
h1{
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
}

/** Gallery **/

.gallery-wrap{
	width:100%;
}

.gallery-img-wrap{
    width :100%;
	margin-bottom:10px;
	margin-left:0;
	padding:5px;
}

.gallery-img {
    overflow: hidden;
    border: 2px #d5d5d5 solid;
    height: 150px;
}

.gallery-img img{
	width:100%;
	height:100%;
	display: block;
	transition-duration: .4s;
	object-fit: cover;
	font-family: 'object-fit: cover;'; /*IE対策*/
    object-position: center center;
}

.gallery-img img:hover{
	transform: scale(1.1);
	transition-duration: .4s;
}

.gallery-img figure{
}

/** Gallery **/

#footer {
	color: #999999;
	background-color: #f2f2f2;
	text-align: center;
	font-size: 10px;
	padding: 20px 0px 10px 0px;
}
  
/* 768px〜 950px */
@media screen and (min-width:950px) {

.content {
	width:1280px;
    padding:30px 10px;
}    

h1{
    font-size: 42px;
}    

.gallery-img-wrap {
    width: calc(100% / 3);
}
   
}
.gallery-img {
    height: 200px;
}