@charset "utf-8";

/* ================================================================= 
 License : e-TRUST Inc.
 File name : blog.css
 Style : reset & default
 文字コード UTF-8N 改行コード LF
 Build 20180301
================================================================= */
* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-family: apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
body {
  margin: 0px;
  padding: 0px;
  font-family: apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size: 12px;
  line-height: 20px;
  background-color: #fafafa;
  /*bg_color*/
  /*bg_image*/
  /*bg_repeat*/
  color: #000;
  /*font_color*/
}
img {
  border: 0px;
  max-width: 100%;
}
video {
  max-width: 100%;
}
input, textarea,select,button {
  margin: 0;
  padding: 4px 2px;
  font-family: sans-serif;
  font-size: 100%;
}
a {
  color: #00a2ff;
}
a:hover,a:active {
  color: #62c1f8;
  text-decoration: underline;
}
a:visited {
  color: #ff00cb;
}
a:focus {
  outline: none;
}
* html .clearfix {
  height: 1%;
}
.clearfix {
  display: block;
}
.clearfix:after {
  clear: both;
  display: block;
  height: 0px;
  line-height: 0px;
  content: ".";
  visibility: hidden;
}
select {
  padding: 4px 2px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  background-color: #fafafa;
  font-size: 100%;
  max-width: 100%;
  width: 200px;
}
form {
  position: relative;
}
input[type='text'] {
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  background-color: #fafafa;
  width: 200px;
  padding: 5px 2px;
}
input[type='text'] + button {
  position: absolute;
  right: 8px;
  top: 8px;
  display: block;
  width: 14px;
  height: 14px;
  border: none;
  text-indent: -9999px;
  overflow: hidden;
  background: url(../img/search.png) no-repeat;
  background-position: center center;
  background-size: 100%;
}
div.wrap {
  width: 96%;
  max-width: 975px;
  margin: 0 auto;
}
/*------------------------------------------------------------------
  header (1)
--------------------------------------------------------------------*/
header:nth-of-type(1) {
  width: 100%;
  background-color: #fff;
  /*header_bg_color*/
  /*header_bg_image*/
  /*header_bg_repeat*/
  border-bottom: 1px solid #e6e6e6;
  /*line_color*/
}
header:nth-of-type(1) div.wrap {
  line-height: 30px;
  padding: 23px 20px;
}
header:nth-of-type(1) div.wrap > div:nth-of-type(1) {
  float: left;
  margin-right: 20px;
}
header:nth-of-type(1) div.wrap > div:nth-of-type(1) a {
  display: block;
  width: 30px;
  height: 30px;
  background: url(../img/instagram.png) no-repeat;
  background-position: center center;
  background-size: 100%;
  text-indent: -9999px;
  overflow: hidden;
}
header:nth-of-type(1) div.wrap > div:nth-of-type(2) {
  float: right;
  margin-left: 20px;
}
header:nth-of-type(1) div.wrap > div:nth-of-type(3) {
  float: right;
  margin-left: 20px;
}
/*------------------------------------------------------------------
  header (2)
--------------------------------------------------------------------*/
header:nth-of-type(2) {
  width: 100%;
  background: #fafafa;
  /*bg_color*/
  /*bg_image*/
  /*bg_repeat*/
}
header:nth-of-type(2) div.wrap {
  line-height: 30px;
  padding: 44px 20px;
}
header:nth-of-type(2) div.wrap > div {
  border-bottom: 1px solid #e6e6e6;
  /*line_color*/
  padding-bottom: 44px;
}
header:nth-of-type(2) div.wrap div.user_img {
  margin: 15px 60px;
  width: 152px;
  height: 152px;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 76px;
  float: left;
}
header:nth-of-type(2) div.wrap div.user_name {
  float: left;
  margin-left: 44px;
}
header:nth-of-type(2) div.wrap div.user_name div:nth-of-type(1) {
  font-size: 32px;
  color: #646464;
  line-height: 80px;
}
header:nth-of-type(2) div.wrap div.user_name div:nth-of-type(2) {
  font-size: 16px;
  font-weight: bold;
  line-height: 80px;
}
/*------------------------------------------------------------------
  section
--------------------------------------------------------------------*/
sectioin {
  width: 100%;
}
section div.wrap {
  padding: 24px 20px;
}
section div.wrap div#media {
  display: flex;
  flex-direction: column;
}
section div.wrap div#media > div.row {
  width: 100%;
  display: flex;
  margin-bottom: 29px;
}
section div.wrap div#media > div.row > div.box {
  width: calc((100% - 60px) / 3);
  margin-right: 30px;
}
section div.wrap div#media > div.row > div.box a {
  display: block;
  width: 100%;
  padding-top: 100%;
  position: relative;
  overflow: hidden;
}
section div.wrap div#media > div.row > div.box a > img,
section div.wrap div#media > div.row > div.box a > video {
  max-width: initial;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
section div.wrap div#media > div.row > div.box > h3,
section div.wrap div#media > div.row > div.box > p {
  display: none;
}
section div.wrap div#media div.row > div:last-child {
  margin-right: 0;
}
section div.wrap div#more a {
  display: block;
  width: 100%;
  height: 50px;
  background-image: url(../img/more.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 30px;
  text-indent: -9999px;
  overflow: hidden;
}
section div.wrap div#more a:hover {
  background-image: url(../img/more_hover.png);
}
/* ================================================================= 
 スマホ　CSS
================================================================= */
@media only screen and (max-width: 660px){
header:nth-of-type(2) div.wrap div.user_img {
    margin: 0;
    width: 80px;
    height: 80px;
    border-radius: 40px;
}
header:nth-of-type(2) div.wrap div.user_name div:nth-of-type(1) {
  font-size: 20px;
  line-height: 40px;
}
header:nth-of-type(2) div.wrap div.user_name div:nth-of-type(2) {
  font-size: 14px;
  font-weight: bold;
  line-height: 40px;
}
section div.wrap div#media > div.row {
  margin-bottom: 6px;
}
section div.wrap div#media > div.row > div.box {
  width: calc((100% - 12px) / 3);
  margin-right: 6px;
}
section div.wrap div#media > div.row > div:last-child {
  margin-right: 0;
}
}