@charset "UTF-8";
/*
Theme Name: サワムラガク東京 コラム
Author: あそびラボ
*/

main {
	padding: 0 0 155px;
}

/*=======================================================
h1
=======================================================*/
.h1_wrapper h1{
	padding: 0;
}
.h1_wrapper h1::before {
	content: "";
	background: url("../images/common/hagumi.svg") bottom left / 66px 102px no-repeat,
				url("../images/common/adeward.svg") bottom right / 97px 134px no-repeat;
	width: 390px;
	height: 134px;
	display: block;
	position: absolute;
	left: 325px;
	top: -40px;
}
@media screen and (max-width : 750px){
  .h1_wrapper h1::before {
      left: 196px;
      top: -30px;
  }
}

.h1_wrapper p{
	padding: 0;
}
.h1_wrapper p::before {
	content: "";
	background: url("../images/common/hagumi.svg") bottom left / 66px 102px no-repeat,
				url("../images/common/adeward.svg") bottom right / 97px 134px no-repeat;
	width: 390px;
	height: 134px;
	display: block;
	position: absolute;
	left: 325px;
	top: -40px;
}
@media screen and (max-width : 750px){
  .h1_wrapper p::before {
      left: 196px;
      top: -30px;
  }
}
/*=======================================================
共通部分 一覧・詳細
=======================================================*/
/*日付*/
section .day{
	color: #968f7c;
	font-size: 14px;
	font-weight: bold;
}
/*カテゴリ*/
section .category{
	min-width: 107px;
	min-height: 24px;
	padding: 1px 10px 0;
	background: #33b666;
	border-radius: 50vh;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	line-height:1.5;
	display: flex;
	justify-content: center;
	align-items: center;
}
/***サイド***/
#post-table aside .box h2,
#post-table aside .box h3{
	background: url("../images/column/icon_category.svg") center left 20px / 27px 21px no-repeat,
				#3c2a10;
}
#post-table aside .box li {
    margin: 0 0 15px;
	line-height:1.3;
}
@media screen and (max-width : 750px){
/*日付*/
  section .day{
      font-size: 24px;
  }
/*カテゴリ*/
  section .category{
      min-width: 166px;
      padding: 3px 0;
	  border-radius: 50vh;
      font-size: 24px;
  }
/***サイド***/
  #post-table aside .box h2{
      background: url("../images/column/icon_category.svg") center left 20px / 34px 26px no-repeat,
                  #3c2a10;
  }
  #post-table aside .box  ul{
      display: flex;
      flex-wrap: wrap;
  }
	#post-table aside .box .bl_related {
		display: block;
	}
  #post-table aside .box li {
      margin: 0 15px 25px 0;
  }
  #post-table aside .box .bl_cat li::before{
      content: "・";
  }
}
/*=======================================================
投稿一覧
=======================================================*/
.archive section > ol{
	width: 695px;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.archive section > ol > a{
	margin: 0 0 40px;
}
.archive section > ol > a:hover li{
	opacity: 0.7;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;
}
.archive section > ol > a li{
	width: 336px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}
/*日付*/
.archive section .day{
	margin:0 25px 10px 0;
    order: 2;
}
/*カテゴリ*/
.archive section .category{
	margin:0 0 13px;
    order: 3;
}
/*サムネイル画像*/
.archive section .img{
	width: 100%;
	height: 232px;
	margin:0 0 13px;
	background:#fff;
    border: 2px solid #3c2a10;
    border-radius: 10px;
	position:relative;
	overflow: hidden;
    order: 1;
}
.archive section .img img{
    min-width: 332px;
    max-width: 400px;
    min-height: 230px;
    width: auto;
	position: absolute;
	top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
}
/*タイトル*/
.archive section h2{
    width: 100%;
	font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
    text-decoration: underline;
    order: 4;
}
@media screen and (max-width : 750px){
  .archive section > ol{
      width: 690px;
	  display: block;
  }
  .archive section > ol > a{
      margin: 0 0 30px;
	  display: block;
  }
  .archive section > ol > a li{
      width: 100%;
	  min-height: 180px;
	  padding: 10px 0 0 270px;
	  align-items: flex-start;
	  justify-content:space-between;
	  position:relative;
  }
/*日付*/
  .archive section .day{
	  margin:0 0 15px;
      padding:10px 0 0;
  }
/*カテゴリ*/
  .archive section .category{
      margin:0 0 15px;
      padding: 5px 20px;
  }
/*サムネイル画像*/
  .archive section .img{
      width: 240px;
      height: 166px;
	  position:absolute;
	  top: 10px;
	  left:0;
  }
  .archive section .img img{
	  min-width:240px;
	  max-width:300px;
      min-height: 166px;
  }
/*タイトル*/
  .archive section h2{
      font-size: 28px;
	  line-height: 1.4;
	  height: 100px;
  }
}

/*=======================================================
投稿詳細
=======================================================*/
.single #post-table section{
	padding: 40px 30px 30px;
}
/*日付*/
.single section .day{
	position: absolute;
	top: 30px;
	left: 30px;
}
/*カテゴリ*/
.single section .category{
	max-width:517px;
	position: absolute;
	top: 27px;
	left: 400px;
}
@media screen and (max-width : 750px){
  .single #post-table section{
      padding: 30px;
	  display:flex;
	  justify-content:space-between;
	  flex-wrap:wrap;
  }
/*日付*/
  .single section .day{
	  padding:3px 0 0;
      position:static;
	  order:1;
  }
/*カテゴリ*/
  .single section .day + p{
	  order:2;
  }
  .single section .category{
      position:static;
	  max-width: none;
      padding: 3px 20px;
  }
/*見出し*/
  .single section h1{
	  width:100%;
	  padding: 15px 0;
      order:3;
  }
/*テキスト*/
  .single section .txt{
      order:4;
  }
}
/*ボタン*/
.btn a {
    color: #FFFFFF;
    font-weight: bold;
    background-color: #DD8925;
    font-size: 18px;
    width: 60%;
	padding: 15px 0;
    margin-bottom: 40px;
}
@media screen and (max-width : 750px){
    .btn a {
        font-size: 24px;
        width: 60%;
		padding: 20px 0;
    }
}

/*引用*/
blockquote {
    position: relative;
    padding: 45px 15px 10px 15px;
    box-sizing: border-box;
    font-style: italic;
    background: #f6feff;
    color: #555;
	margin-bottom: 30px;
}
blockquote:before{
    display: inline-block;
    position: absolute;
    top: 5px;
    left: 3px;
    content: "“";
    font-family: sans-serif;
    color: #cfcfcf;
    font-size: 90px;
    line-height: 1;
}
blockquote p {
    padding: 0;
    margin: 10px 0;
    line-height: 1.7;
}

blockquote cite {
    display: block;
    text-align: right;
    color: #888888;
    font-size: 0.9em;
}
