@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/


.item-list{
  display: flex;
  justify-content: center; /* 中央寄せ */
}
.writer-profile-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 2px dashed #eee;
}
/* カードの右・左共通 */
.wp-left, .wp-right {
  padding: 25px 20px;
}
/* カードの左側 */
.wp-left {
  width: 35%;
  border-right: 2px dashed #eee;
  text-align: center;
}
/* カードの右側 */
.wp-right {
  width: 65%;
}

/* 左側 */

/* 三角 */
.wp-label::before,
.wp-label::after {
  content: '';
  border: 14px solid transparent;
  position: absolute;
  left: 50%;
  margin-left: -14px;
}
/* 線 */
.wp-label::before {
  border-top-color: #222;
  bottom: -28px;
}
/* 地 */
.wp-label::after {
  border-top-color: #fff;
  bottom: -27px;
}
/* 吹き出し内のテキスト */
.wp-label p {
  color: #222;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

/* 画像 */
.wp-img {
  width: 100px;
  height: 100px;
  margin: 20px auto;
}
/* 画像を丸く、枠線をつける */
.wp-img img {
  border-radius: 50%;
  border: 2px solid #eee;
}
/* 名前 */
.wp-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #6C9FCE;
  margin-bottom: 5px;
}

/* 右側 */

/* 最後の要素にだけ下に余白をつけない */
.ul-center ul li:not(:last-child) {
  padding-bottom: 3px;
}

/* 文章を左揃え・中央寄せに */
.wp-content {
  text-align: center;
  display: block;
}
/* 文章 */
.wp-content p {
  text-align: left;
  display: inline-block;
  color: #7b7b7b;
  font-size: 14px;
  font-weight: 600;
  line-height: 2.0;
}

/* 767px（iPad）以下 */

@media (max-width: 767px) {
  /* カードを縦並びに */
  .writer-profile-card {
    display: block;
  }
  /* 左右の幅を100%に */
  .wp-left, .wp-right {
    width: 100%;
    padding: 35px 20px;
  }
  /* 点線を左から下に */
  .wp-left {
    border-right: none;
    border-bottom: 2px dashed #eee;
  }
}
