/*
 * grid
 * version:v1.0
 * Developer:popodesign
 * URL:https://popo-design.net
 */

/* 全体の設定
–––––––––––––––––––––––––––––––––––––––––––––––––– */
html {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    font-size: 10px;
}

body {
	
    font-family: 'Hiragino Kaku Gothic Pro','ヒラギノ角ゴ Pro W3','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin:0;
	padding:0;
}

body:after {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    content: "";
    z-index: -1;
 
	
	background-size:contain;
}

/* グリッド
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.container {
    margin: 0 auto;
    max-width: 1000px;
    padding: 0 0;
    position: relative;
}
/* ブロックを縦に表示 */
.row {
    display: flex;
    flex-direction: column;
    padding: 0;
    width: 100%;
}

.col {
    display: block;
    flex: 1 1 auto;
    margin-left: 0;
    max-width: 100%;
    width: 100%;
}



/* 768px以上の表示 */
@media ( min-width : 768px ) {
	.row {
		display: flex;
		flex-direction: row;
		padding: 0;
	}
	.col {
		margin-left: 4%;
	}

	.col:first-child { 
		margin-left: 0; 
	}

	.row .col.span-1 {
		flex: 0 0 4.66666666667%;
		max-width: 4.66666666667%;
	}
	.row .col.span-2 {
		flex: 0 0 13.3333333333%;
		max-width: 13.3333333333%;
	}
	.row .col.span-3 {
		flex: 0 0 22%;
		max-width: 22%;
	}
	.row .col.span-4 {
		flex: 0 0 30.6666666667%;
		max-width: 30.6666666667%;
	}

	.row .col.span-5 {
		flex: 0 0 39.3333333333%;
		max-width: 39.3333333333%;
	}
	.row .col.span-6 {
	  display: flex;
	  flex-wrap: wrap;
	}
	.row .col.span-7 {
		flex: 0 0 56.6666666667%;
		max-width: 56.6666666667%;
	}
	.row .col.span-8 {
		flex: 0 0 65.3333333333%;
		max-width: 65.3333333333%;
	}
	.row .col.span-9 {
		flex: 0 0 74.0%;
		max-width: 74.0%;
	}
	.row .col.span-10 {
		flex: 0 0 82.6666666667%;
		max-width: 82.6666666667%;
	}
	.row .col.span-11 {
		flex: 0 0 91.3333333333%;
		max-width: 91.3333333333%;
	}
	.row .col.span-12 {
		flex: 0 0 100%;
		max-width: 100%;
	}  
}


/* 見出し
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1, h2, h3, h4, h6 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: 300;
  padding: 0 5px;
}
h1 { font-size: 3.2rem; line-height: 1.2;  letter-spacing: -.1rem;}
h2 { font-size: 3.0rem; line-height: 1.25; letter-spacing: -.1rem; }
h3 { font-size: 1.8rem; line-height: 1.5;  letter-spacing: -.05rem; text-align: center; font-weight: bold; color: #5B4939;}
h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: -.08rem; }
h5 { font-size: 1.8rem; line-height: 1.35;  letter-spacing: -.08rem; text-align: center; }
h6 { font-size: 1.5rem; line-height: 1.6;  letter-spacing: 0; }

/* PC表示 */
@media (min-width: 550px) {
  h1 { font-size: 3.0rem; }
  h2 { font-size: 2.8rem; }
  h3 { font-size: 1.8rem; }
  h4 { font-size: 2.0rem; }
  h5 { font-size: 1.8rem; }
  h6 { font-size: 1.5rem; }
}

p {
  margin-top: 0; }

/* SP表示 */
@media screen and (max-width:767px) {
  h1 { font-size: 3.0rem; }
  h2 { font-size: 2.8rem; }
  h3 { font-size: 1.2rem; }
  h4 { font-size: 2.0rem; }
  h5 { font-size: 1.8rem; }
  h6 { font-size: 1.5rem; }
}

/* リンク
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
  color: #907E6C;
　font-weight: bold;}
a:hover {
  color: #907E6C; }



/* リスト
–––––––––––––––––––––––––––––––––––––––––––––––––– */
ul {
  list-style: circle inside; }
ol {
  list-style: decimal inside; }
ol, ul {
  padding-left: 0;
  margin-top: 0; }
ul ul,
ul ol,
ol ol,
ol ul {
  margin: 1.5rem 0 1.5rem 3rem;
  font-size: 90%; }
li {
  margin-bottom: 1rem; }


/* コード
–––––––––––––––––––––––––––––––––––––––––––––––––– */
code {
  padding: .2rem .5rem;
  margin: 0 .2rem;
  font-size: 90%;
  white-space: nowrap;
  background: #F1F1F1;
  border: 1px solid #E1E1E1;
  border-radius: 4px; }
pre > code {
  display: block;
  padding: 1rem 1.5rem;
  white-space: pre; }


/* スペース
–––––––––––––––––––––––––––––––––––––––––––––––––– */
button,
.button {
  margin-bottom: 1rem; }
input,
textarea,
select,
fieldset {
  margin-bottom: 1.5rem; }
pre,
blockquote,
dl,
figure,
table,
p,
ul,
ol {
  margin-bottom: 1rem; }


/* 全幅
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.full-width {
  width: 100%;
  box-sizing: border-box; }
.max-full-width {
  max-width: 100%;
  box-sizing: border-box; }
.pull-right {
  float: right; }
.pull-left {
  float: left; }


/* 罫線
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
  margin-top: 3rem;
  margin-bottom: 3rem;
  border-width: 0;
  border-top: 1px solid #A9A9A9; 
}

/* 3カラム⇒2カラム
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.items{
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
}
.item{
	align-items:flex-start;
	box-sizing: border-box;
	margin:0 10px 40px 0;
	width:calc(33.3333333% - 30px);
	/*background-color: #FFF;*/
	border-radius:10px;
}
.item img{
	border-radius:10px;
	width:100%;
}
.item:nth-child(3n){
	margin-right:0;
}

/* 767px以下の表示 */
@media screen and (max-width:767px){
	.item{
		margin:0 20px 20px 0;
		width: calc(50% - 20px / 2);
	}
	.item:nth-child(2n){
		margin-right:0;
	}
	.item:nth-child(3n){
		margin-right:20px;
	}
	.item:nth-child(6){
		margin-right:0;
	}
}




/* 2カラム⇒2カラム
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.items{
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
}
.item2{
	align-items:flex-start;
	box-sizing: border-box;
	margin:10px 20px;
	width:45%;
	border-radius:10px;
}
.item2 img{
	border-radius:10px;
	width:100%;
}
.item2:nth-child(2n){
	margin-right:0;
}

/* 767px以下の表示 */
@media screen and (max-width:767px){
	.item2{
		margin:0 20px 20px 0;
		width: calc(50% - 20px / 2);
	}
	.item2:nth-child(2n){
		margin-right:0;
	}
}



/* 3カラム
–––––––––––––––––––––––––––––––––––––––––––––––––– */
section.back-color3 div.items div.item3{
	align-items:flex-start;
	box-sizing: border-box;
	margin:0 20px 0 0;
	width:calc(33.3333333% - 50px);
	border-radius:10px;
}
section.back-color3 div.items div.item3 img{
	border-radius:10px;
	width:100%;
	margin: 0;
}
section.back-color3 div.items div.item3:nth-child(3n){
	margin-right:0;
}

/* 767px以下の表示 */
@media screen and (max-width:767px){
	section.back-color3 div.items div.item3{
		margin: 0 5px !important;
		width: calc(50% - 50px / 2);
	}
	section.back-color3 div.items div.item3:nth-child(2n){
		margin-right:0;
	}
	section.back-color3 div.items div.item3:nth-child(3n){
		margin-right:20px;
	}
	section.back-color3 div.items div.item3:nth-child(6){
		margin-right:0;
	}
}
