@charset "utf-8";
@import url('style-base.css');

/*
Theme Name: FIP MAG
Theme URI: https://f-inte.jp/
Description: FIP MAG Only Single
Author: NODA
Version: 1.0.0
*/


/*--------------------------------------------------------
  add mystyle
----------------------------------------------------------*/
.nocomments {
  display:none !important;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Arial, Meiryo, sans-serif;
  line-height: 1.75;
  font-size: 1.8rem;
  height: 100%;
}

#singles {
  max-width: 650px;
  margin: 0 auto;
}

@media only screen and (max-width: 750px) {
body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Arial, Meiryo, sans-serif;
  line-height: 1.75;
  font-size: 1.7rem;
  height: 100%;
}
}

/*--------------------------------------------------------
  文字装飾
----------------------------------------------------------*/
h1 { font-size: 1.6em; font-weight: bold; margin: 1em 0; letter-spacing: 1px; }
h2 { font-size: 1.6em; font-weight: bold; margin: 1em 0; border-bottom: 1px solid #999; letter-spacing: 1px; }
h3 { font-size: 1.4em; font-weight: bold; margin: 1em 0; letter-spacing: 1px; }
h4 { font-size: 1.4em; font-weight: bold; margin: 1em 0; border-bottom: 1px solid #999; letter-spacing: 1px; }
h5 { font-size: 1.2em; font-weight: bold; margin: 1em 0; letter-spacing: 1px; }
h6 { font-size: 1.2em; font-weight: bold; margin: 1em 0; border-bottom: 1px solid #999; letter-spacing: 1px; }

p { margin: 2em 0; }
ul, ol {
  margin: 2em 0;
  padding-left: 1em;
}

img.aligncenter { margin: 0 auto; display: block; }
img.alignleft { float:left; margin: 0 auto; display: block; }
img.alignright { float:right; margin: 0 auto; display: block; }



img { max-width: 100% !important; height: auto; }

blockquote { margin: 2em 0.5em; border: 1px solid #ccc; background: #f4f4f4; font-size: 0.8em; padding: 0 1em; display: block; }
blockquote p { margin: 1em 0; }

.date { font-size: 0.8em; color: #666; text-align:right; }
.author { font-size: 0.8em; color: #666; text-align:right; }

h1.ttl {  margin-top: 0.5em; }




/*--------------------------------------------------------
  記事リンク
----------------------------------------------------------*/
.nextlink-wrapper {
  overflow: hidden;
  margin: 2em 0;
  border: 1px solid #999;
  border-width: 1px 0;
}
.nextlink-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 0;
}
.nextlink-wrapper ul li {
  width: 50%;
  list-style-type:none;
}
.nextlink-wrapper ul li a,
.nextlink-wrapper ul li div {
  position: relative;
  display: block;
  box-sizing:border-box;
  padding: 1em;
}
.nextlink-wrapper ul li.next a {
  border-left: 1px solid #ccc;
  background:url("./img/right_icon.png") right center no-repeat;
  padding-right: 30px;
}
.nextlink-wrapper ul li.next a:hover {
  background:#fff url("./img/right_icon.png") right center no-repeat;
  padding-right: 30px;
  text-decoration: underline;
}
.nextlink-wrapper ul li.prev a {
  border-right: 1px solid #ccc;
  background:url("./img/left_icon.png") left center no-repeat;
  padding-left: 30px;
}
.nextlink-wrapper ul li.prev a:hover {
  background:#fff url("./img/left_icon.png") left center no-repeat;
  padding-left: 30px;
  text-decoration: underline;
}


/*--------------------------------------------------------
  関連記事リンク　※同一カテゴリーの直近ポスト
----------------------------------------------------------*/
.related-post-wrap {
  margin: 2em 0;
}

.related-post-wrap ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  align-items: stretch;
  flex-direction:row;
}

.related-post-wrap ul li {
  width: 50%;
  list-style-type:none;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  flex-direction:row;
}
.related-post-wrap ul li div.related-post {
  margin: 5px;
  border: 1px solid #ccc;
}
.related-post-wrap ul li div.related-post div.thumb {
  width: 100%;
}
.related-post-wrap ul li div.related-post a {
  padding: 10px;
  display: block;
  height: 100%;
  position: relative;
}
.related-post-wrap ul li div.related-post a:hover {
  /*background: #f4f4f4; */
  text-decoration: underline;
}

/*--------------------------------------------------------
  コメント
----------------------------------------------------------*/

h4.comment { font-size: 1.4em; font-weight: bold; margin: 1em 0; border-bottom: 1px solid #999; border-top: 1px solid #999; letter-spacing: 1px; text-align: center; padding: 0.5em 0; }

#commentform input,
#commentform textarea {
  padding: 1rem;
  max-width: 100%;
  box-sizing: border-box;
}
#commentform #submit {
  font-size: 1.8rem;
  padding: 1.1rem 3rem;
  text-align: center;
  background: #202020;
  border: 1px solid #202020;
  color: #fff;
  border-radius: 5px;
}
#commentform #submit:hover {
  background: #666;
}

#commentform p {
  margin: 1.5em 0;
}

/*--------------------------------------------------------
  コメント一覧
----------------------------------------------------------*/
ol.commentlist {
  font-size: 90%;
}
ol.commentlist p {
  margin: 1em 0;
}


/*--------------------------------------------------------
  フッター
----------------------------------------------------------*/
.dspnone {  display: none !important;  }

.common-footer {
  margin-top: 2em;
  font-size: 80%;
}
.common-footer-logo {
  margin: 1rem auto;
}
.common-footer-logo img {
  max-width: 65px;
  margin: 0 auto;
  display: block;
}
.common-footer ul.filink {
  padding: 1rem;
  text-align: center;
  margin: 0 auto;
}
.common-footer ul.filink li {
  display: inline-block;
  color: #333;
}
.common-footer ul.filink li a {
  color: #333;
  text-decoration: none;
}
.common-footer ul.filink li a:hover {
  border-bottom: 1px dotted #666;
  color: #666;
}
.clearfix::after {
   content: "";
   display: block;
   clear: both;
}

.copy {
  background: #333;
  text-align: center;
  color: #fff;
  padding: 0.5rem 0;
}

.pagetop {
  position: fixed;
  right: 60px;
  bottom: 50px;
}
.pagetop img {
  width: 60px;
}


/*--------------------------------------------------------
  ビデオ
----------------------------------------------------------*/

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  margin-bottom: 20px; /*追加*/
}

.video-container iframe,  
.video-container object,  
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*--------------------------------------------------------
  スマホのときの左右スペース
----------------------------------------------------------*/

@media only screen and (max-width: 750px) {
.entry-content { padding: 0 25px; }
.nextlink-wrapper { margin: 0 25px; }
.related-post-wrap { padding: 0 25px; }
.comment-wrapper { padding: 0 25px; }

.pagetop {
  position: fixed;
  right: 5px;
  bottom: 10px;
}
.pagetop img {
  width: 30px;
}


}