/*
Theme Name: MichiConnect
Description:宗教者の得意を売り買いするマッチングサービス
Theme URI: michiconne.com
Author: Yuki Nakamori
Author URI: derize.com
Version: 1.0
*/

@charset "utf-8";

/* /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_
モバイル向けレイアウト指定：～639px
タブレット向けレイアウト指定：～879px
PC向けレイアウト指定：880px〜
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_*/

*,
*:before,
*:after {
  box-sizing: border-box;
}

body,
html {
  height: 100%;
}

body {
  color: #000;
  font: 1em/1.8em "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro", Meiryo, "MS　Pゴシック", sans-serif;
  width: 100%;
  word-wrap: break-word;
  -webkit-text-size-adjust: 100%;
}

a {
  color: #000;
  text-decoration: none;
}

a:hover,
a img:hover {
  opacity: 0.7;
}

/* 共通画像100% */
.image img {
  display: block;
  height: auto;
  width: 100%;
}

.image {
  display: block;
  height: auto;
  width: 100%;
}

/* 共通インナー */
.inner {
  margin: 0 auto;
  max-width: 1160px;
  padding: 0 40px;
}

@media only screen and (max-width: 640px) {
  .inner {
    max-width: 520px;
    padding: 0;
    width: 92%;
  }
}

@media only screen and (max-width: 880px) {
  .inner-title {
    margin: 0 auto;
    max-width: 1160px;
    padding: 0 40px;
  }
}

@media only screen and (max-width: 640px) {
  .inner-title {
    max-width: 520px;
    padding: 0;
    width: 92%;
  }
}

/* 幅100% */
@media only screen and (max-width: 880px) {
  .fluid-box {
    left: 50%;
    position: relative;
    transform: translateX(-50%);
    width: 100vw;
  }
}

/*==========================================
 ヘッダー
===========================================*/
/* pcトップflexbox */
.flex-top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;

  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

/* トップflexbox-item */
.item-top1 {
  margin-right: 110px;
  width: 140px;
}

@media only screen and (max-width: 880px) {
  .item-top1 {
    display: none;
  }
}

.item-top2 {
  max-width: 280px;
  padding: 10px 0;
}

.item-top3 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;

  width: 250px;
}

@media only screen and (max-width: 640px) {
  .item-top1,
  .item-top2,
  .item-top3 {
    display: none;
  }
}

/* ログインと登録のflexbox-item */
.top3-box {
  max-width: 120px;
}

/* モバイルトップflexbox */
.m-item-top1,
.m-item-top2 {
  display: none;
}

@media only screen and (max-width: 640px) {
  header {
    background: #fff;
    border-bottom: 1px solid #c0c0c0;
    height: 42px;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
  }
  .m-item-top1,
  .m-item-top {
    display: block;
  }

  .m-item-top1 {
    -ms-flex-negative: 0;
    flex-shrink: 0;

    width: 110px;
    padding: 11px 0;
  }

  .m-item-top2 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }

  .m-top2-box1 {
    margin-left: 3%;
    flex-basis: 62px;
  }

  .m-top2-box2 {
    margin-left: 3%;
    flex-basis: 36px;
  }
}

/*==========================================
 スライダー
===========================================*/
/* スライダー */
.slider-wrap {
  background: url(./images/back.jpg) repeat-x left top;
  height: 476px;
}

@media only screen and (max-width: 640px) {
  .slider-wrap {
    background: url(./images/back-m.jpg) repeat-x left top;
    height: 150px;
    margin-top: 42px;
  }
}

.slider img {
  margin: 0 -40px;
  max-width: 400px;
  padding-top: 18px;
}

@media only screen and (max-width: 640px) {
  .slider img {
    margin: 0 -14px;
    max-width: 136px;
    padding-top: 6px;
  }
}

/* キャッチフレーズ */
.catch-inner {
  position: relative;
}

.catch {
  left: 40px;
  max-width: 510px;
  position: absolute;
  top: -50px;
}

@media only screen and (max-width: 880px) {
  .catch {
    max-width: 400px;
    top: -40px;
  }
}

@media only screen and (max-width: 640px) {
  .catch {
    left: 0;
    margin: 0 auto;
    max-width: 294px;
    right: 0;
    top: -32px;
  }
}

/*==========================================
 検索
===========================================*/
/* フォーム全体 */
.michi_form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  -ms-flex-wrap: wrap;
  flex-wrap: wrap;

  font-size: 0.85em;
  margin-top: 78px;
}

@media only screen and (max-width: 880px) {
  .michi_form {
    margin-top: 45px;
  }
}

@media only screen and (max-width: 640px) {
  .michi_form {
    display: none;
  }

  .michi_form-m {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -ms-flex-wrap: wrap;
    flex-wrap: wrap;

    font-size: 0.85em;
    margin: 16px 0 20px 0;
  }
}

/* カテゴリとエリア */
.select-wrap {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;

  -ms-flex-preferred-size: 200px;
  flex-basis: 200px;

  margin-right: 8px;
  position: relative;
}

@media only screen and (max-width: 880px) {
  .select-wrap {
    -ms-flex-preferred-size: 49%;
    flex-basis: 49%;

    margin: 0 0 12px;
  }

  .mr-20p {
    margin-right: 1%;
  }

  .ml-20p {
    margin-left: 1%;
  }
}

@media only screen and (max-width: 640px) {
  .inner-form {
    margin: 0 auto;
    width: 92%;
  }

  .select-wrap {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;

    margin: 0 0 12px;
  }
}

.select-wrap:before {
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  line-height: 43px;
  pointer-events: none;
  position: absolute;
  right: 15px;
  top: 0;
  z-index: 1;
}

select {
  appearance: button;
  appearance: none;
  background: none transparent;
  border: none;
  border-radius: 3px;
  font-size: inherit;
  height: 38px;
  padding: 8px 12px;
  width: 100%;
  -moz-appearance: button;
  -moz-appearance: none;
  -webkit-appearance: button;
  -webkit-appearance: none;
}

select::-ms-expand {
  display: none;
}

.select-wrap.select-primary:before {
  color: #fff;
}

.select-wrap.select-primary > select {
  background: #a2b2ff;
  color: #fff;
}

.select-wrap.select-primary > select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #fff;
}

/* キーワード */
.search_input {
  -webkit-box-flex: 4;
  -ms-flex-positive: 4;
  flex-grow: 4;

  -ms-flex-preferred-size: 200px;
  flex-basis: 200px;

  border: none;
  border-radius: 0;
  font-size: inherit;
  height: 38px;
  padding-left: 10px;
}

@media only screen and (max-width: 640px) {
  .search_input {
    background: #eee;
  }
}

.search_btn {
  -ms-flex-negative: 0;
  flex-shrink: 0;

  background: #00cec0 url(./images/search.png) no-repeat scroll;
  background-size: 43px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  height: 38px;
  text-indent: -9999px;
  width: 43px;
  margin-left: 8px;
  -moz-appearance: button;
  -moz-appearance: none;
  -webkit-appearance: button;
  -webkit-appearance: none;
}

/*==========================================
 モバイルアコーディオン
===========================================*/
/* モバイル用メニューボタン */
.btn-a {
  background: url(./images/search-a.png) no-repeat;
  background-size: contain;
  padding-top: 86.1111111%;
}

.active .btn-a {
  background: url(./images/search-b.png) no-repeat;
  background-size: contain;
  padding-top: 86.1111111%;
}

/* アコーディオン */
.mnav-wrap {
  display: none;
}

.mnav-wrap {
  background: #fff;
  box-shadow: 0 3px 10px 2px #c4c4c4;
  left: 0;
  line-height: 1.6em;
  position: absolute;
  top: 42px;
  width: 100%;
  z-index: 999;
}

.m-nav > ul > li {
  border-bottom: 1px solid #353535;
  height: auto;
  min-height: 44px;
}

.m-nav > ul > li > a {
  background: #fff url(./images/icon-mnav.png) no-repeat 5% 50%;
  background-size: 10px 16px;
  display: block;
  height: 100%;
  padding: 10px 0 10px 12%;
}

@media only screen and (min-width: 740px) {
  .m-nav > ul > li > a {
    padding: 10px 0 10px 8%;
  }
}

/*==========================================
 アバウト
===========================================*/
/* 全体の見出しとサブ*/
.about-title {
  font-size: 1.6em;
  margin-top: 20px;
  text-align: center;
}

.about-p {
  border-bottom: 3px solid #647eff;
  margin: 12px 0;
  padding-bottom: 10px;
  text-align: center;
}

p.about-p br {
  display: none;
}

@media only screen and (max-width: 880px) {
  .about-title {
    font-size: 1.2em;
  }

  p.about-p {
    font-size: 0.9em;
    line-height: 1.7em;
    margin-top: 4px;
  }

  p.about-p br {
    display: block;
  }
}

@media only screen and (max-width: 640px) {
  .about-p {
    border: none;
    margin: 5px 0 0;
    padding-bottom: 10px;
  }
}

/* 特徴タイトル */
.feature-title {
  color: #666;
  font-size: 1.4em;
  margin: 14px auto;
  text-align: center;
}

.feature-point {
  color: #647eff;
  font-size: 1.2em;
}

/* アバウト丸 */
.about {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

@media only screen and (max-width: 880px) {
  .about {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;

    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;

    max-width: 600px;
  }
}

@media only screen and (max-width: 640px) {
  .about {
    max-width: 300px;
  }
}

.about-item {
  background: url(./images/maru.png) no-repeat;
  background-size: contain;
  height: 320px;
  padding: 90px 10px 0;
  position: relative;
  text-align: center;
  width: 320px;
}

@media only screen and (max-width: 970px) {
  .about-item {
    font-size: 0.9em;
  }
}

@media only screen and (max-width: 880px) {
  .about-item {
    height: 254px;
    padding-top: 74px;
    width: 254px;
  }
}

.about-item h3 {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.maru-1:before {
  background: url(./images/maru-1.png) no-repeat;
  background-size: contain;
  content: "";
  height: 58px;
  left: 50%;
  margin-left: -29px;
  position: absolute;
  top: 18px;
  width: 58px;
}

.maru-2:before {
  background: url(./images/maru-2.png) no-repeat;
  background-size: contain;
  content: "";
  height: 58px;
  left: 50%;
  margin-left: -29px;
  position: absolute;
  top: 18px;
  width: 58px;
}

.maru-3:before {
  background: url(./images/maru-3.png) no-repeat;
  background-size: contain;
  content: "";
  height: 58px;
  left: 50%;
  margin-left: -29px;
  position: absolute;
  top: 18px;
  width: 58px;
}

.mlr-10 {
  margin: 0 10px;
}

@media only screen and (max-width: 880px) {
  .about {
    line-height: 1.6em;
    margin: 0 auto;
    width: 100%;
  }

  .mlr-10 {
    margin: 0;
  }

  .mr-m30 {
    margin-right: 4px;
  }

  .ml-m30 {
    margin-left: 4px;
  }

  .mt-m90 {
    margin-top: -28px;
  }

  .maru-1:before,
  .maru-2:before,
  .maru-3:before {
    height: 40px;
    margin-left: -20px;
    top: 20px;
    width: 40px;
  }
}

@media only screen and (max-width: 640px) {
  .mr-m30,
  .ml-m30 {
    margin: 0;
  }

  .ml-m30,
  .mt-m90 {
    margin-top: -70px;
  }
}

/*==========================================
 購入の流れ
===========================================*/
/* 購入枠バック */
.chase-wrap {
  background: #fefedc;
  margin-top: -70px;
  padding: 50px 0 20px;
  position: relative;
  z-index: -1;
}

@media only screen and (max-width: 880px) {
  .chase-wrap {
    background: none;
    font-size: 0.9em;
    line-height: 1.8em;
    margin-top: -30px;
  }
}

/* 購入枠 */
.chase-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@media only screen and (max-width: 880px) {
  .chase-container {
    display: block;
  }
}

/* 購入枠小見出し */
.chase-container h3 {
  font-size: 1.2em;
  margin-bottom: 2px;
  text-align: center;
}

@media only screen and (max-width: 880px) {
  .chase-container h3 {
    margin-bottom: 0;
    text-align: left;
  }
}

.chase-mark1:before {
  background: var(--bg-image) no-repeat;
  background-size: contain;
  content: "";
  height: 57px;
  left: 50%;
  margin-left: -32px;
  position: absolute;
  top: 46px;
  width: 64px;
}

/* 無料登録と購入の流れ */
.chase-item1 {
  -ms-flex-preferred-size: 25%;
  flex-basis: 25%;

  background: #fff;
  border-radius: 10px;
  padding: 108px 24px 0;
  position: relative;
}

.chase-item2 {
  -ms-flex-preferred-size: 75%;
  flex-basis: 75%;
}

/* 購入の流れタイトル */
.chase-title {
  background: #fff;
  color: #555;
  font-size: 1.2em;
  margin-left: 23px;
  padding-left: 10px;
}

@media only screen and (max-width: 880px) {
  .chase-title {
    background: #fefedc;
    border-bottom: 1px solid #eae7df;
    border-top: 1px solid #eae7df;
    color: #555;
    margin: 14px 0;
    padding: 4px 0;
  }
}

/* 購入の流れアイテム */
.chase-itembox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@media only screen and (max-width: 880px) {
  .chase-itembox {
    display: block;
  }
}

.chase-box {
  -ms-flex-preferred-size: 33.3333333%;
  flex-basis: 33.3333333%;

  padding: 78px 23px 20px;
  position: relative;
}

.chase-mark2:before {
  background: var(--bg-image) no-repeat;
  background-size: contain;
  content: "";
  height: 65px;
  left: 50%;
  margin-left: -32px;
  position: absolute;
  top: 10px;
  width: 64px;
}

.chase-mark3:before {
  background: var(--bg-image) no-repeat;
  background-size: contain;
  content: "";
  height: 41px;
  left: 50%;
  margin-left: -32px;
  position: absolute;
  top: 24px;
  width: 64px;
}

.chase-mark4:before {
  background: var(--bg-image) no-repeat;
  background-size: contain;
  content: "";
  height: 56px;
  left: 50%;
  margin-left: -32px;
  position: absolute;
  top: 18px;
  width: 64px;
}

@media only screen and (max-width: 880px) {
  .chase-box,
  .chase-item1 {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    padding: 10px 10px 10px 60px;
  }

  .chase-item1 {
    margin-bottom: 0;
  }

  .chase-mark1:before {
    left: 10px;
    margin-left: 0;
    margin-top: -18px;
    top: 50%;
    width: 41px;
  }

  .chase-mark2:before {
    left: 10px;
    margin-left: 0;
    margin-top: -22px;
    top: 50%;
    width: 40px;
  }

  .chase-mark3:before {
    left: 10px;
    margin-left: 0;
    margin-top: -13px;
    top: 50%;
    width: 41px;
  }

  .chase-mark4:before {
    left: 10px;
    margin-left: 0;
    margin-top: -17px;
    top: 50%;
    width: 39px;
  }
}

/*==========================================
 寄付
===========================================*/
.donation-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;

  background: #647eff;
  border-radius: 6px;
  margin: 20px auto 30px;
  max-width: 680px;
  padding: 10px 40px;
}

.donation-txt {
  color: #fff;
  padding-right: 72px;
}

.donation-btn img {
  display: block;
  width: 220px;
}

@media only screen and (max-width: 880px) {
  .donation-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;

    margin-top: -20px;
  }

  .donation-txt {
    padding: 0;
  }

  .donation-btn img {
    margin: 8px 0 6px;
    width: 180px;
  }
}

/*==========================================
 カテゴリから探す
===========================================*/
/* カテゴリタイトル */
.cat-title {
  color: #555;
  font-size: 1.4em;
  padding-left: 26px;
  position: relative;
}

.cat-title:before {
  content: "\f002";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  left: 0;
  position: absolute;
  top: 0;
}

@media only screen and (max-width: 880px) {
  .m-title {
    background: #fefedc;
    border-bottom: 1px solid #eae7df;
    border-top: 1px solid #eae7df;
    padding: 4px 0 4px 40px;
  }

  .cat-title {
    font-size: 1.1em;
    padding-left: 22px;
  }
}

@media only screen and (max-width: 640px) {
  .m-title {
    padding-left: 0;
  }
}

/* カテゴリ */
.cat-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;

  font-size: 0.9em;
  margin-top: 16px;
}

.cat-item li a {
  color: #647eff;
  display: block;
  line-height: 2.6em;
  padding-left: 14px;
  position: relative;
}

.cat-item li a:before {
  color: #c0c0c0;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  left: 0;
  position: absolute;
  top: 0;
}

@media only screen and (max-width: 880px) {
  .cat-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;

    margin-top: 4px;
  }

  .cat-item li {
    border-bottom: 1px solid #eae7df;
  }

  .cat-item li a {
    color: #000;
    padding-left: 60px;
  }

  .cat-item li a:before {
    display: none;
  }

  .cat-item li a:after {
    color: #c0c0c0;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    right: 40px;
    position: absolute;
    top: 0;
  }
}

@media only screen and (max-width: 640px) {
  .cat-item li a {
    padding-left: 10px;
  }

  .cat-item li a:after {
    right: 0;
  }
}

/*==========================================
 もっと見る
===========================================*/
.cp_box *,
.cp_box *:before,
.cp_box *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.cp_box {
  position: relative;
}

.cp_box label {
  background: linear-gradient(to bottom, rgba(250, 252, 252, 0) 0%, rgba(250, 252, 252, 0.95) 90%);
  bottom: 0;
  cursor: pointer;
  height: 140px;
  position: absolute;
  text-align: center;
  width: 100%;
  z-index: 1;
}

.cp_box input:checked + label {
  background: inherit; /* 開いた時にグラデーションを消す */
  height: 42px;
}

.cp_box label:after {
  background: #555;
  border-radius: 20px;
  bottom: 20px;
  color: #fff;
  content: "\f107"" もっと見る";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  left: 50%;
  letter-spacing: 0.05em;
  line-height: 2.5em;
  position: absolute;
  transform: translate(-50%, 0);
  width: 220px;
  z-index: 2;
}

.cp_box input {
  display: none;
}

@media only screen and (max-width: 880px) {
  .cp_box .cp_container {
    height: 250px; /* 開く前に見えている部分の高さ */
    overflow: hidden;
    transition: all 0.5s;
  }
}

.cp_box input:checked + label {
  /* display: none ; 閉じるボタンを消す場合解放 */
}

.cp_box input:checked + label:after {
  content: "\f106"" 閉じる";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.cp_box input:checked ~ .cp_container {
  height: auto;
  padding-bottom: 80px; /* 閉じるボタンのbottomからの位置 */
  transition: all 0.5s;
}

.cp_box label {
  display: none;
}

@media only screen and (max-width: 880px) {
  .cp_box label {
    display: block;
  }
}

/*==========================================
 人気、おすすめ、新着
===========================================*/
/* 黄色バック */
.back-wrap {
  background: #fefedc;
  margin-top: 30px;
  padding: 28px 0;
}

@media only screen and (max-width: 880px) {
  .back-wrap {
    background: #fff;
    margin-top: -20px;
  }
}

/* 人気タイトル */
.pop-title {
  padding-left: 30px;
}

.pop-title:before {
  content: "\f521";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

/* ボックス */
.box-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  -ms-flex-wrap: wrap;
  flex-wrap: wrap;

  margin-top: 20px;
}

li {
  background-image: none;
  list-style-type: none;
}

.box-item {
  background: #fff;
  box-shadow: 2px 2px 8px gray;
  line-height: 1.5em;
  padding: 11px;
  margin: 0 0.92592593% 20px;
  width: 23.14811481%;
}

@media only screen and (max-width: 880px) {
  .box-container {
    margin: 20px auto 10px;
    max-width: 532px;
  }

  .box-item {
    margin: 0 1.5037594% 20px;
    width: 46.9924812%;
  }
}

@media only screen and (max-width: 319px) {
  .box-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .box-item {
    margin: 0 auto 14px;
    max-width: 250px;
    width: 100%;
  }
}

/* ボックス内 */
.middle-image img {
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);

  left: 50%;
  position: absolute;
  top: 50%;
}

.middle-image {
  margin: 0 auto;
  overflow: hidden;
  padding-top: 59.2105263%;
  position: relative;
  width: 100%;
}

.cat-name {
  font-size: 0.8em;
  position: relative;
  padding-left: 10px;
  margin-top: 4px;
}

.cat-name:before {
  color: #999;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  left: 0;
  position: absolute;
  top: 0;
}

.cat-p a {
  color: #647eff;
  font-size: 0.9em;
}

a.wpp-post-title {
  color: #647eff !important;
}

.byname {
  font-size: 0.9em;
}

.new-avatar img {
  border: 3px solid #fff;
  border-radius: 50%;
  display: block;
  height: 70px;
  margin: -44px auto 0;
  position: relative;
  width: 70px;
}

@media only screen and (max-width: 415px) {
  .box-item {
    margin-bottom: 10px;
    padding: 6px;
  }

  .cat-name {
    font-size: 0.75em;
    line-height: 15px;
    margin: 0 0 2px;
    padding-left: 8px;
  }

  .cat-p {
    font-size: 0.9em;
    line-height: 18px;
  }

  .byname {
    display: none;
  }

  .new-avatar img {
    height: 50px;
    margin-top: -30px;
    width: 50px;
  }
}

/* もっと見る */
.more {
  margin: 10px auto 0;
  max-width: 240px;
}

@media only screen and (max-width: 880px) {
  .more {
    margin-top: 0;
  }
}

/* おすすめ */
.mt-30 {
  margin-top: 30px;
}

@media only screen and (max-width: 880px) {
  .mt-30 {
    margin-top: 0;
  }
}

/* おすすめタイトル */
.reco-title {
  padding-left: 24px;
}

.reco-title:before {
  content: "\f0a6";
  font-family: "Font Awesome 5 Free";
  font-size: 1.2em;
  font-weight: 900;
  top: -2px;
}

/* 新着タイトル */
.new-title {
  padding-left: 34px;
  position: relative;
}

.new-title:before {
  background: url(./images/new.png) no-repeat;
  background-size: contain;
  content: "";
  height: 17px;
  left: 0;
  position: absolute;
  top: 5px;
  width: 30px;
}

@media only screen and (max-width: 880px) {
  .new-title:before {
    height: 14x;
    top: 6px;
    width: 26px;
  }
}

/*==========================================
 お知らせ、広告枠
===========================================*/
/* お知らせタイトル */
.news-title {
  margin-top: 30px;
  padding-left: 28px;
}

.news-title:before {
  content: "\f0a1";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

@media only screen and (max-width: 880px) {
  .news-title {
    margin-top: 0;
  }
}

/* お知らせボックス */
.news-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;

  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;

  margin-top: 10px;
}

@media only screen and (max-width: 880px) {
  .news-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;

    margin-top: 0;
  }
}

.news-item1 {
  border-bottom: 2px solid #eae7df;
  border-top: 2px solid #eae7df;
  font-size: 0.9em;
  margin-right: 40px;
  width: 640px;
}

@media only screen and (max-width: 880px) {
  .news-item1 {
    border: none;
    width: 100%;
  }
}

/* 広告 */
.news-item2 {
  -ms-flex-negative: 0;
  flex-shrink: 0;

  max-width: 300px;
}

@media only screen and (max-width: 880px) {
  .news-item2 {
    margin: 10px auto 0;
  }
}

/* お知らせ内 */
.news-item1 li {
  border-bottom: 2px dotted #eae7df;
  position: relative;
}

.news-item1 li a {
  color: #647eff;
}

.news-item1 li:before {
  color: #c0c0c0;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  right: 0;
  position: absolute;
  top: 8px;
}

.news-item1-contain {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  line-height: 1.6em;
  padding: 10px 20px 10px 0;
}

time {
  color: #000;
  font-size: 0.9em;
  margin-right: 20px;
}

.news-more {
  display: block;
  margin: 10px 0;
  padding-right: 28px;
  position: relative;
  text-align: right;
}

.news-more:before {
  color: #c0c0c0;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  right: 0;
  position: absolute;
  top: 0;
}

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

.footer-back {
  background: #4c4c4c;
  padding: 20px 0;
}

/* PC */
.footer-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.footer-container h2 {
  color: #fff;
  font-size: 0.8em;
}

.foot-item li {
  font-size: 0.75em;
  padding-left: 10px;
  position: relative;
}

.foot-item li:before {
  color: #999;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  left: 0;
  position: absolute;
  top: 0;
}

.foot-item li a {
  color: #fff;
}

.mt-28 {
  margin-top: 28px;
}

@media only screen and (max-width: 880px) {
  .footer-container {
    display: none;
  }
}

/* モバイル */
.m-foot-container {
  display: none;
}

@media only screen and (max-width: 880px) {
  .m-foot-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .m-foot-item li {
    font-size: 0.75em;
    padding-left: 10px;
    position: relative;
    margin: 0 10px;
  }

  .m-foot-item li:before {
    color: #999;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    left: 0;
    position: absolute;
    top: 0;
  }

  .m-foot-item li a {
    color: #fff;
  }
}

/* コピーライト */
.copy {
  font-size: 0.75em;
  padding: 10px 0 56px;
  text-align: center;
}

/*=======================================================
ACF化に伴う対応
=======================================================*/
.footer-related {
  background: #4c4c4c;
  padding: 20px 0 40px;
}
.related-content {
  margin-bottom: 40px;
}
.related-hgroup {
  color: #fff;
  text-align: center;
  margin-bottom: 24px;
}
.related-hgroup h3 {
  font-size: 24px;
}
.related-hgroup p {
  font-size: 0.8em;
}
.related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}
.related-item {
  width: calc((100% - 24px * 3) / 4);
}
.related-item.double {
  width: calc(((100% - 24px * 3) / 2 + 24px));
}
.related-item a {
  display: flex;
  transition: all 0.3s ease;
}
.related-item a img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
@media only screen and (max-width: 880px) {
  .related-list {
    gap: 16px;
    width: min(100%, 520px);
    margin: 0 auto;
  }
  .related-item {
    width: min(calc((100% - 16px) / 2), 252px);
  }
  .related-item.double {
    width: 100%;
  }
}
