/******* setting.scss *******/
/******* mixin.scss *******/
@media screen and (max-width: 1200px) {
  /******header******/
  header {
    min-width: 0;
  }

  /******footer******/
  footer {
    min-width: 0;
  }

  .contents {
    width: 100%;
  }
  .contents .side {
    width: 25%;
  }
  .contents .main {
    width: 72%;
  }

  .BlogList section .pict {
    width: 30%;
  }
  .BlogList section .pict + .secCont {
    width: 66%;
  }

  .ProfileContent .nameArea .pict {
    width: 70%;
  }
  .ProfileContent .nameArea section {
    width: 25%;
  }
  .ProfileContent .nameArea section h2 {
    font-size: 240%;
    margin-bottom: 15px;
  }
  .ProfileContent .nameArea section dl dt {
    font-size: 130%;
    margin-bottom: 20px;
    padding-bottom: 20px;
  }
  .ProfileContent .nameArea section dl dd {
    font-size: 250%;
  }
  .ProfileContent .commentArea .pict {
    width: 34%;
  }
  .ProfileContent .commentArea .pict img {
    width: 100%;
  }
  .ProfileContent .commentArea dl {
    width: 63%;
  }
}
@media screen and (max-width: 960px) {
  div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fildset, input, textarea, p, blockquote, table, th, td, address {
    font-size: 18px;
  }

  /******header******/
  header {
    background-size: auto 100%;
    min-height: 0 !important;
    padding-bottom: 10%;
  }
  header p {
    margin-bottom: 10%;
  }
  header h1 {
    padding: 0 0 0 20px;
    text-align: left;
  }
  header h1 img {
    width: 40%;
  }

  /******contents******/
  .contents .main {
    float: none;
    margin: 0 auto 40px;
    width: 100%;
  }
  .contents .side {
    float: none;
    width: 100%;
  }
  .contents .side section.sideProfile .nameArea {
    border-bottom: 1px dotted #ccc;
    display: table;
    margin: 0 auto 35px;
    width: 100%;
  }
  .contents .side section.sideProfile .pict {
    display: table-cell;
    margin: 0;
    padding: 0 0 35px;
    text-align: left;
    vertical-align: middle;
    width: 25%;
  }
  .contents .side section.sideProfile .pict img {
    width: 100%;
  }
  .contents .side section.sideProfile h2 {
    border: none;
    display: table-cell;
    margin: 0;
    padding: 0 0 35px 20px;
    text-align: left;
    vertical-align: middle;
  }
  .contents .side section.sideProfile p {
    font-size: 100%;
  }

  /******BlogList******/
  .BlogList section {
/*
    display: table;
*/
    width: 100%;
  }
  .BlogList section .pict {
    display: table-cell;
  }
  .BlogList section .pict + .secCont {
    display: table-cell;
  }

  .BlogList section .secCont p {
    height: 55px;
	 -webkit-line-clamp: 2;
  }
  .BlogList section .secCont p.date {
	 height: 25px;
  }

  /******BlogContent******/
  .BlogContent .social li {
    margin: 0 0 0 5%;
    width: 30%;
  }
  .BlogContent .social li img {
    width: 100%;
  }
  .BlogContent .pageNav li {
    margin-bottom: 20px;
    width: 48%;
  }
  .BlogContent .pageNav li a {
    height: 10px;
    padding-top: 20px;
  }
  .BlogContent .pageNav li.prev {
    float: left;
    position: relative;
    top: auto;
    left: auto;
  }
  .BlogContent .pageNav li.next {
    float: right;
    position: relative;
    top: auto;
    right: auto;
  }
  .BlogContent .pageNav li.all {
    clear: both;
    width: 100%;
  }
  .BlogContent .pageNav li.all a {
    height: auto;
    padding: 20px 0;
  }

  /******BlogContent******/
  .blogDetail header h1 img {
    width: 40%;
  }
/*
  .blogDetail .topicPath ol li:last-child {
    display: none;
  }
*/
  /******ProfileContent******/
  .prof header h1 img {
    width: 40%;
  }
  .prof .contents .side {
    display: block;
  }

  .ProfileContent .nameArea {
    position: relative;
    margin-bottom: 40px;
  }
  .ProfileContent .nameArea .pict {
    width: 100%;
  }
  .ProfileContent .nameArea section {
    margin: 0 auto 30px;
    position: relative;
    top: auto;
    right: auto;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    text-align: center;
    width: 100%;
  }
  .ProfileContent .nameArea section dl dt {
    border: none;
    margin-bottom: 15px;
    padding: 0;
  }
  .ProfileContent .commentArea .pict {
    display: none;
  }
  .ProfileContent .commentArea dl {
    display: block;
    padding: 35px 0;
    width: 100%;
  }
  .ProfileContent .commentArea dl dt {
    display: block;
    font-size: 140%;
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
  }
  .ProfileContent .commentArea dl dd {
    font-size: 100%;
    display: block;
  }
  .ProfileContent .link {
    background: #fff;
    padding: 0;
    text-align: center;
  }
  .ProfileContent .link a {
    border: 1px solid #579C46;
    font-size: 140%;
    display: inline-block;
    max-width: 530px;
    text-decoration: none;
    padding: 25px 0;
    width: 100%;
    transition: opacity 0.3s;
  }
  .ProfileContent .link a:hover {
    -moz-opacity: 0.8;
    -khtml-opacity: 0.8;
    opacity: 0.8;
    -ms-filter: "alpha(opacity=80)";
    filter: alpha(opacity=80);
  }
  .ProfileContent .link a:hover {
    text-decoration: underline;
  }
}
@media screen and (max-width: 640px) {
  header {
    background-image: url(../img/common/mainBg_sp.jpg);
    background-size: auto 100%;
    padding-bottom: 12%;
  }
  header p {
    font-size: 80%;
    margin-bottom: 12%;
  }
}
@media screen and (max-width: 560px) {
  /******header******/
  header {
    margin-bottom: 8%;
  }

  /******footer******/
  footer {
    padding: 10% 0;
  }
  footer ul {
    margin: 0 auto 5%;
  }
  footer ul li {
    display: inline-block;
    margin: 0 8px;
    width: 12%;
  }
  footer ul li img {
    width: 100%;
  }
  footer .copy {
    color: #fff;
    font-size: 120%;
  }

  /******contents******/
  .contents .main {
    margin: 0 auto 8%;
  }
  .contents .side nav,
  .contents .side section {
    padding: 8%;
  }
  .contents .side nav.sideProfile .pict,
  .contents .side section.sideProfile .pict {
    width: 30%;
  }

  .pageTop img {
    width: 60px;
  }

  /******BlogList******/
  .BlogList {
    padding: 8%;
  }
  .BlogList section {
    margin-bottom: 8%;
    padding-bottom: 8%;
  }
  .BlogList section .pict {
    width: 35%;
  }
  .BlogList section .pict + .secCont {
    width: 60%;
  }
  .BlogList section .secCont h2 {
    font-size: 110%;
    margin-bottom: 2%;
  }
  .BlogList section .secCont p {
    font-size: 90% !important;
    margin-bottom: 2%;

    height: 60px;
	 -webkit-line-clamp: 3;
  }
  .BlogList section .secCont p.date {
	 height: 20px;
  }


  /******BlogContent******/
  .BlogContent {
    padding: 8%;
  }
  .BlogContent p {
    font-size: 105%;
    margin-bottom: 5%;
  }
  .BlogContent p.date {
    color: #FF7F00;
    margin-bottom: 2%;
  }
  .BlogContent h2 {
    font-size: 180%;
    border-bottom: 1px dotted #ccc;
    margin-bottom: 8%;
    padding-bottom: 5%;
  }
  .BlogContent h3 {
    font-size: 140%;
    margin-bottom: 8%;
    padding: 3%;
  }
  .BlogContent h4 {
    font-size: 120%;
    margin-bottom: 8%;
    padding: 3%;
  }
  .BlogContent h5 {
    font-size: 120%;
    margin-bottom: 8%;
    padding: 0 0 0 3%;
  }
  .BlogContent h6 {
    font-size: 120%;
    margin-bottom: 8%;
    padding: 3%;
  }
  .BlogContent .pict {
    margin: 0 auto 8%;
  }
  .BlogContent .pict span {
    font-size: 100%;
    margin: 3% auto 0;
  }
  .BlogContent .social {
    margin: 0 auto 8%;
    padding: 8% 0 0;
  }
  .BlogContent .pageNav {
    padding: 8% 0 0;
  }
  .BlogContent .pageNav li {
    font-size: 100%;
  }
  .BlogContent .pageNav li a {
    background-size: 5% !important;
    padding: 8% 12%;
    height: 14px;
  }
  .BlogContent .pageNav li.all a {
    padding: 5%;
  }
  .BlogContent iframe {
	  height: 200px;
  }

  /******blogDetail******/
  .blogDetail header h1 img {
    width: 50%;
  }

  /******ProfileContent******/
  .prof header h1 img {
    width: 50%;
  }

  .ProfileContent {
    padding: 8%;
  }
  .ProfileContent .nameArea {
    margin-bottom: 8%;
  }
  .ProfileContent .nameArea section {
    margin: 0 auto 7%;
  }
  .ProfileContent .nameArea section h2 {
    font-size: 160%;
  }
  .ProfileContent .nameArea section dl dt {
    font-size: 110%;
    margin-bottom: 5%;
  }
  .ProfileContent .nameArea section dl dd {
    font-size: 230%;
  }
  .ProfileContent .commentArea {
    margin-bottom: 8%;
  }
  .ProfileContent .commentArea .pict {
    display: none;
  }
  .ProfileContent .commentArea dl {
    padding: 6% 0;
  }
  .ProfileContent .commentArea dl dt {
    font-size: 120%;
    margin-bottom: 4%;
  }
  .ProfileContent .link a {
    display: inline-block;
    padding: 5% 0;
  }
}
@media screen and (max-width: 470px) {
  div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fildset, input, textarea, p, blockquote, table, th, td, address {
    font-size: 14px;
  }
}
