@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}

.cf:after {
  content: "";
  clear: both;
  display: block;
}

@import url(https://fonts.googleapis.com/css?family=Lato:400,700);
@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);

body {
  background-color: #fff;
  font-size: 14px;
  line-height: 1.8;
  font-family: Lato, "Noto Sans JP", "游ゴシック Medium", "游ゴシック体",
    "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN",
    "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック",
    "MS PGothic", sans-serif;
  color: #666;
  background: #f8f6ef;
}

strong,
b {
  font-size: 100%;
}

em,
address {
  font-style: normal;
}

del {
  text-decoration: line-through;
}

ins {
  display: inline-block;
}

.card ul,
.card ol,
.card table,
.card blockquote,
.card pre,
address {
  margin: 20px 0;
}

.card table {
  border-collapse: collapse;
}

.alignleft {
  text-align: left;
}

.aligncenter {
  text-align: center;
}

.alignright {
  text-align: right;
}

pre {
  white-space: -moz-pre-wrap;
  /* Mozilla */
  white-space: -pre-wrap;
  /* Opera 4-6 */
  white-space: -o-pre-wrap;
  /* Opera 7 */
  white-space: pre-wrap;
  /* CSS3 */
  word-wrap: break-word;
  /* IE 5.5+ */
  display: inline-block;
}

li {
  line-height: 1.2;
}

a {
  transition: all 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
}

h2,
h3,
h4,
h5,
h6 {
  font-size: 130%;
  margin-top: 15px;
  margin-bottom: 15px;
  padding: 8px 10px;
}

/* ページの幅 */
.wrapper-in {
  width: 100%;
  /*940px*/
  margin: 0 auto;
  max-width: 940px;
  display: flex;
  justify-content: space-between;
}

/* ヘッダー */
.head-box {
  padding: 25px 0;
}

/* サイトタイトル */
.site-name a {
  display: block;
  font-size: 200%;
  color: #e60214;
  font-weight: normal;
  line-height: 1.3;
}

.site-name a:hover {
  opacity: 0.8;
}

/* キャッチコピー */
.head-copy {
  font-size: 12px;
  color: #666;
}

/* メインカラム */
.content-box {
  float: right;
  /* width: 670px; */
  max-width: 670px;
  width: -webkit-fill-available;
}

.content-box .card {
  margin: 0 0 20px 0;
  padding: 20px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #ccc;
}

.catch-img img {
  width: auto;
  height: auto;
  max-width: 100%;
  text-align: center;
}

/* スライド */
.slide {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slide-in {
  position: relative;
  left: 50%;
  width: 2340px;
  margin-left: -1170px;
}

.bx-wrapper {
  background: none;
  border: none;
  box-shadow: none;
}

.bx-wrapper .bx-pager.bx-default-pager a {
  background: #ccc;
  width: 8px;
  height: 8px;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active,
.bx-wrapper .bx-pager.bx-default-pager a:focus {
  background: #e60214;
}

.bx-wrapper .bx-controls-direction a {
  width: 40px;
  height: 40px;
  top: 97%;
}

.bx-wrapper .bx-prev {
  background: url(../images/prev.png);
  left: 50%;
  margin-left: -450px;
}

.bx-wrapper .bx-next {
  background: url(../images/next.png);
  right: 50%;
  margin-right: -450px;
}

/* サブカラム */
.side-bar {
  float: left;
  /*min-*/
  width: 250px;
}

.side-bar ul {
  position: sticky;
  top: 0;
}

.side-bar ul li ul li img {
  margin: 0 0 10px 0;
  width: 100%;
}

.side-bar>ul>li>p {
  margin: 0 0 15px 0;
  padding: 10px 0;
  text-align: center;
  color: #e60214;
  background: linear-gradient(#fff 50%, #eee 50%);
  border-radius: 5px;
  border: 1px solid #ccc;
}

.side-bar ul li ul {
  margin: 0 0 15px 0;
  padding: 15px 10px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #ccc;
}

.side-bar ul li ul li {
  padding: 0 0 20px 0;
}

.side-bar ul li ul li::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  border-bottom: 1px dashed #e60214;
}

.side-bar ul li ul li a {
  display: block;
  padding: 5px 0 10px;
  color: #646464;
}

/* 1カラム */
.post-box {
  margin: 20px 0 0;
  padding: 50px 0;
  border-top: 2px dashed #e60214;
  border-bottom: 2px dashed #e60214;
}

.post-box .card {
  margin-bottom: 10px;
  padding: 15px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.post-box .card img {
  float: left;
  width: 200px;
  margin: 0 5px 5px 0;
}

.post-box .card h2 {
  color: #666;
  font-size: 130%;
  border: none;
  border-left: 5px solid #e60214;
  margin: 0 0 10px;
  border-radius: 0;
}

.card .read-more {
  margin: 10px 0 0;
  text-align: right;
}

.card .read-more a {
  display: inline-block;
  width: 200px;
  height: 36px;
  font-size: 12px;
  line-height: 36px;
  text-align: center;
  color: #fff;
  background: #e60214;
}

.card .read-more a:hover {
  background: #fff;
  border: 1px solid #e60214;
}

/* 1カラム リンク */
.link-box {
  padding: 50px 0;
}

.link-box .links {
  display: block;
  width: 100%;
}

.link-box .links h2 {
  height: 50px;
  padding: 0 30px;
  margin: 0;
  border-bottom: 2px dashed #e60214;
  line-height: 50px;
  color: #e60214;
  background: #fff;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

.link-box .link-in {
  padding: 20px 30px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none;
}

.link-box .link-in h3 {
  border: none;
  border-radius: 0;
}

.link-box .link-in h3 a {
  display: block;
  border-bottom: none;
  color: #e60214;
}

.link-box .link-in h3 a:hover {
  color: #e60214;
}

.link-box .link-in h3 a::before {
  content: "\f08e";
  font-family: FontAwesome;
  margin-right: 5px;
  vertical-align: unset;
  display: inline-block;
  width: 2em;
  height: 2em;
  background: #e60214;
  color: #fff;
  line-height: 2em;
  border-radius: 50%;
  text-align: center;
}

/* フッター */
footer {
  margin-top: 150px;
}

.footer-in {
  width: 940px;
  margin: 0 auto;
  padding: 50px 0;
  border-top: 1px solid #ccc;
}

.footer-flex {
  display: flex;
  flex-wrap: wrap;
}

.foot-list {
  position: relative;
  display: inline-block;
  width: 33%;
  padding: 0 20px;
}

.foot-list p {
  font-size: 16px;
  color: #646464;
}

.foot-list p::before,
.foot-list p::after {
  content: "|";
  font-size: 15px;
  vertical-align: top;
  color: #666;
}

.foot-list p::before {
  margin-right: 10px;
}

.foot-list p::after {
  margin-left: 10px;
}

.foot-list ul li a {
  display: block;
  margin: 5px 0;
  padding: 10px 0;
  color: #666;
}

.foot-list ul li a::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #e60214;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: middle;
}

.foot-copy {
  display: flex;
  align-items: center;
  height: 60px;
  font-size: 12px;
  text-align: right;
  color: #e60214;
}

.to-top {
  text-align: right;
  margin-bottom: 10px;
}

.to-top a {
  display: inline-block;
  width: 45px;
  height: 45px;
  padding: 8px 0;
  text-align: center;
  line-height: 1.2;
  color: #fff;
  background: #e60214;
  border-radius: 3px;
}

/* 基本スタイル + under */
h2,
.under h1 {
  font-size: 200%;
  color: #e60214;
  font-weight: normal;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.under h1 {
  margin-top: 15px;
  margin-bottom: 15px;
  padding: 8px 10px;
}

h3,
.under h2 {
  font-size: 150%;
  color: #e60214;
  border-bottom: 1px solid #e60214;
}

h4,
.under h3 {
  color: #fff;
  background: #f5afb4;
  border-radius: 3px;
}

h5 {
  border-left: 5px solid #e60214;
}

h6 {
  border-bottom: 1px dashed #ccc;
}

strong {
  padding: 2px;
  color: #e60214;
  border: #e60214 1px solid;
}

em {
  border-bottom: 1px dashed #ccc;
}

.card ul,
.card ol {
  padding: 15px;
  border-radius: 5px;
  border: 1px solid #e60214;
}

.card ul li::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  border: 1px solid #e60214;
}

.card ol {
  counter-reset: number;
}

.card ol li,
.card ul li {
  padding: 5px 0;
}

.card ol li::before {
  counter-increment: number;
  content: counter(number);
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-right: 10px;
  line-height: 30px;
  text-align: center;
  color: #e60214;
  border: 1px solid #e60214;
  border-radius: 50%;
}

blockquote {
  position: relative;
  padding: 20px 40px;
  background: #fff;
  border: 1px dotted #e60214;
  border-radius: 5px;
}

blockquote::before {
  content: "\f10d";
  font-family: FontAwesome;
  position: absolute;
  top: 0;
  left: 20px;
  font-size: 120%;
  color: #e60214;
}

blockquote::after {
  content: "\f10e";
  font-family: FontAwesome;
  position: absolute;
  bottom: 0;
  right: 20px;
  font-size: 120%;
  color: #e60214;
}

address {
  padding: 15px;
  background: #eee;
  border-left: 5px solid #e60214;
}

ins {
  padding: 2px;
  background: #eee;
}

.card a {
  color: #666;
  border-bottom: 1px solid #e60214;
}

.card a:hover {
  color: #e60214;
}

pre {
  padding: 15px;
  background: #eee;
  border-radius: 5px;
  border: 1px solid #e60214;
}

.card table th {
  padding: 2px 5px;
  font-weight: normal;
  color: #e60214;
  border: 1px solid #e60214;
}

.card table td {
  padding: 2px 5px;
  border: 1px solid #e60214;
}

/* パンくず */
.pan-nav {
  margin: 0 0 15px;
  padding: 5px 0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.pan-nav li {
  display: inline-block;
}

.pan-nav li::after {
  content: "\f101";
  font-family: FontAwesome;
  margin: 0 5px;
}

.pan-nav li:last-child::after {
  content: none;
}

.pan-nav li a {
  color: #666;
  border-bottom: 1px solid #e60214;
}

.pan-nav li a:hover {
  color: #e60214;
}

/* 404 */
.error-message {
  font-size: 150%;
  color: #e60214;
}

/* SNS */
.sns-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 60px 0 20px;
}

.sns-btn {
  width: 24%;
}

.sns-btn a {
  display: block;
  padding: 5px 0;
  text-align: center;
  color: #fff;
  border-bottom: none;
  border-radius: 4px;
}

.sns-btn a:hover {
  opacity: 1;
}

#twitter {
  color: #00acee;
  border: 1px solid #00acee;
}

#twitter:hover {
  color: #fff;
  background: #00acee;
}

#hatena {
  color: #2d4c86;
  border: 1px solid #2d4c86;
}

#hatena:hover {
  color: #fff;
  background: #2d4c86;
}

#facebook {
  color: #3b5998;
  border: 1px solid #3b5998;
}

#facebook:hover {
  color: #fff;
  background: #3b5998;
}

#ggl-plus {
  color: #dd4b39;
  border: 1px solid #dd4b39;
}

#ggl-plus:hover {
  color: #fff;
  background: #dd4b39;
}

.card img {
  max-width: 100%;
  margin-bottom: 5px;
}