@charset "UTF-8";
/*
Theme Name:   arkhe-child
Description:  Arkhe 子テーマ
Author:       gnight
Author URI:   https://gdgd.tokyo
Template:     arkhe
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/*--------------------------------------
トップ記事カード
--------------------------------------*/
.p-postList.-type-list {
  display: flex;
  flex-wrap: wrap;
}

.p-postList__item {
  flex-basis: 50%;
}

@media (max-width: 767px) {
  .p-postList__item {
    flex-basis: 100%;
  }
}

/*--------------------------------------
ダークテーマ調整
--------------------------------------*/
.l-header,
.l-footer {
  background: var(--ark-color--bg);
  color: var(--ark-color);
}

/*ボックスリンク*/
.arkb-boxLink__inner {
  background: #333;
}

/*--------------------------------------
ページネーション
--------------------------------------*/
.page-numbers {
  border-radius: 50%;
}

/*--------------------------------------
見出し
--------------------------------------*/
.p-entry__content h2 {
  padding: 2rem 2rem;
  border-top: 3px solid #202d3d;
  border-bottom: 3px solid #202d3d;
  font-size: 2.2rem;
}

.p-entry__content h3 {
  padding: 1rem 2rem;
  border-left: 6px double #202d3d;
  font-size: 2rem;
}

/*--------------------------------------
表示アニメーション
--------------------------------------*/
@keyframes show {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes hide {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/*--------------------------------------
アイキャッチ加工
--------------------------------------*/
.p-entry__thumb img {
  margin: 0 auto 2rem;
  box-sizing: border-box;
  /* opacity: 0.6; */
  /* box-shadow: 10px 8px 15px #ccc; */
  border-radius: 15px;
  transition: 0.3s ease-in-out;
}

@media (max-width: 767px) {
  .p-entry__thumb img {
    max-width: 480px;
  }
}
@media (min-width: 768px) {
  .p-entry__thumb img {
    max-width: 80%;
  }
}

.p-entry__thumb img:hover {
  opacity: 0.8;
  /* box-shadow: 5px 5px 10px #ccc; */
}

/*--------------------------------------
Rinker
--------------------------------------*/
#main_content .yyi-rinker-contents {
  max-width: 640px;
  margin: 1.5rem auto;
}

#main_content .yyi-rinker-box {
  border: 2px solid #202d3d;
  border-radius: 8px;
}

#main_content .credit-box,
#main_content .brand {
  display: none;
}

#main_content .yyi-rinker-image {
  align-items: center;
}

#main_content .yyi-rinker-title a {
  color: #f7f7f7;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 1rem;
}

#main_content .yyi-rinker-title a:hover {
  color: rgba(255, 0, 25, 0.8);
}

@media (max-width: 767px) {
  #main_content .yyi-rinker-links .amazonlink a:before,
  #main_content .yyi-rinker-links .rakutenlink a:before,
  #main_content .yyi-rinker-links .yahoolink a:before {
    flex-basis: 90%;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.8);
  }

  #main_content .yyi-rinker-links li {
    margin-bottom: 0;
  }

  #main_content .yyi-rinker-links li:before {
    display: none;
  }

  #main_content .yyi-rinker-links li a {
    border-radius: 4px;
    padding: 6px 24px;
  }
}

/*--------------------------------------
検索欄
--------------------------------------*/
.c-searchForm input {
  border-radius: 20px;
  padding: 5px 15px;
  outline: none;
}

/*--------------------------------------
伸びる見出し
--------------------------------------*/
.is-style-barbar {
  display: flex;
  align-items: center;
  font-weight: 900;
  opacity: 0.7;
}

.is-style-barbar::before,
.is-style-barbar::after {
  content: "";
  flex: 1;
  border-radius: 6px;
  background: currentColor;
  height: 4px;
  opacity: 0.5;
  min-width: 50px;
}

.is-style-barbar::before {
  margin-right: 12px;
}

.is-style-barbar::after {
  margin-left: 12px;
}

/*--------------------------------------
	リスト装飾(単一・複数)
--------------------------------------*/
ul.is-style-color-list {
  background: #333;
  list-style: none;
  border-radius: 5px;
  border: none;
  padding-top: 20px;
  padding-bottom: 20px;
}

ul.is-style-color-list li {
  position: relative;
  line-height: 2.5;
  margin-left: 2rem;
}

ul.is-style-color-list li:before {
  position: absolute;
  content: "";
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  left: -24px;
  background: skyblue;
}

@media (max-width: 767px) {
  ul.is-style-color-list li:before,
  ul.color-list li:before {
    width: 12px;
    height: 12px;
    left: -24px;
    bottom: 30px;
  }
}

/*--------------------------------------
	数字リスト装飾
--------------------------------------*/
ol.is-style-color-list {
  background: #333;
  list-style: none;
  border-radius: 5px;
  border: none;
  counter-reset: num-list 0;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-right: 1em;
}

ol.is-style-color-list li {
  list-style-type: none;
  position: relative;
  line-height: 3;
  margin-left: 2.5rem;
}

ol.is-style-color-list li:before {
  counter-increment: num-list;
  content: counter(num-list);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -36px;
  height: 24px;
  width: 24px;
  text-align: center;
  line-height: 24px;
  border-radius: 50%;
  background-color: #f86e60;
  color: #fff;
}

@media (max-width: 767px) {
  ol.is-style-color-list li:before {
    left: -30px;
    bottom: 13px;
  }
}

/*--------------------------------------
アプリーチ
--------------------------------------*/
.appreach {
  text-align: left;
  padding: 25px;
  margin: 30px 0;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid #333;
}
.appreach:after {
  content: "";
  display: block;
  clear: both;
}
.appreach img,
.appreach p {
  margin: 0;
  padding: 0;
}
.appreach a:after {
  display: none;
}
.appreach__icon {
  float: left;
  border-radius: 10%;
  overflow: hidden;
  margin: 0 3% 0 0 !important;
  width: 25% !important;
  height: auto !important;
  max-width: 120px !important;
}
.appreach__detail {
  display: inline-block;
  font-size: 20px;
  line-height: 1.5;
  width: 72%;
  max-width: 72%;
}
.appreach__detail:after {
  content: "";
  display: block;
  clear: both;
}
p.appreach__name {
  font-size: 16px;
  color: #f7f7f7;
  padding-bottom: 10px;
  font-weight: bold;
  line-height: 1.5em !important;
  max-height: 3em;
  overflow: hidden;
}
.appreach__info {
  font-size: 12px !important;
  color: #888;
}
.appreach__info a {
  color: #aaa;
}
.appreach__developper,
.appreach__price {
  margin-right: 0.5em;
}
.appreach__posted {
  display: none;
  margin-left: 0.5em;
}
.appreach__links {
  float: left;
  height: 40px;
  margin-top: 15px;
  white-space: nowrap;
}
.appreach__aslink img {
  margin-right: 10px;
  height: 40px;
  width: 135px;
}
.appreach__gplink img {
  height: 40px;
  width: 134.5px;
}
@media only screen and (max-width: 786px) {
  .appreach {
    margin: 20px 0;
  }
  .appreach__info {
    font-size: 11px !important;
  }
  p.appreach__name {
    font-size: 15px;
  }
}

/*--------------------------------------
メディアと文章吹き出し
--------------------------------------*/
.is-style-fukibox.wp-block-media-text,
.fukibox.wp-block-media-text {
  margin-bottom: 1.5rem;
}

.is-style-fukibox .wp-block-media-text__content,
.fukibox .wp-block-media-text__content {
  position: relative;
  margin-left: 24px;
  padding: 16px;
  border: 3px solid #eee; /*枠色*/
  border-radius: 16px;
}

.is-style-fukibox.has-media-on-the-right .wp-block-media-text__content,
.fukibox.has-media-on-the-right .wp-block-media-text__content {
  margin-left: 0;
  margin-right: 24px;
}

.is-style-fukibox .wp-block-media-text__content::before,
.fukibox .wp-block-media-text__content::before {
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 16px;
  height: 16px;
  background: linear-gradient(45deg, #3d526e 52%, transparent 52%, transparent);
  border: 3px solid #eee; /*枠色*/
  border-right-color: transparent;
  border-top-color: transparent;
  content: "";
}

.is-style-fukibox.has-media-on-the-right .wp-block-media-text__content::before,
.fukibox.has-media-on-the-right .wp-block-media-text__content::before {
  left: unset;
  right: -11px;
  transform: translateY(-50%) rotate(-135deg);
}

.is-style-fukibox .wp-block-media-text__content > p,
.fukibox .wp-block-media-text__content > p {
  margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
  .is-style-fukibox .wp-block-media-text__content,
  .fukibox .wp-block-media-text__content {
    margin-left: 0;
    margin-top: 24px;
  }

  .is-style-fukibox.has-media-on-the-right .wp-block-media-text__content,
  .fukibox.has-media-on-the-right .wp-block-media-text__content {
    margin-top: 0;
    margin-bottom: 24px;
    margin-right: 0;
  }

  .is-style-fukibox .wp-block-media-text__content::before,
  .fukibox .wp-block-media-text__content::before {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
    border-right-color: transparent;
    border-top-color: transparent;
  }

  .is-style-fukibox.has-media-on-the-right
    .wp-block-media-text__content::before,
  .fukibox.has-media-on-the-right .wp-block-media-text__content::before {
    top: unset;
    left: 50%;
    bottom: -11px;
    transform: translateX(-50%) rotate(-45deg);
  }
}

/*--------------------------------------
メディアと文章 / ミニ吹き出し
--------------------------------------*/
@media (min-width: 1096px) {
  [data-sidebar="off"] .alignwide.is-style-hukibox {
    left: unset;
    width: unset;
    grid-template-columns: 15% 1fr;
  }

  [data-sidebar="off"] .alignwide.is-style-hukibox.has-media-on-the-right {
    left: unset;
    width: unset;
    grid-template-columns: 85% 1fr;
  }
}

.is-style-hukibox {
  left: unset;
  width: unset;
  grid-template-columns: 20% 1fr;
}

.is-style-hukibox img {
  max-width: 120px;
  max-height: 120px;
  border-radius: 50%;
  border: 4px solid #202d3d;
}

.is-style-hukibox.wp-block-media-text,
.hukibox.wp-block-media-text {
  margin-bottom: 1.5rem;
}

.is-style-hukibox .wp-block-media-text__content,
.hukibox .wp-block-media-text__content {
  position: relative;
  margin-left: 24px;
  padding: 16px;
  border: 3px solid #eee; /*枠色*/
  border-radius: 16px;
}

.is-style-hukibox.has-media-on-the-right .wp-block-media-text__content,
.hukibox.has-media-on-the-right .wp-block-media-text__content {
  margin-left: 0;
  margin-right: 24px;
}

.is-style-hukibox .wp-block-media-text__content::before,
.hukibox .wp-block-media-text__content::before {
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 16px;
  height: 16px;
  background: linear-gradient(45deg, #3d526e 52%, transparent 52%, transparent);
  border: 3px solid #eee; /*枠色*/
  border-right-color: transparent;
  border-top-color: transparent;
  content: "";
}

.is-style-hukibox.has-media-on-the-right .wp-block-media-text__content::before,
.hukibox.has-media-on-the-right .wp-block-media-text__content::before {
  left: unset;
  right: -11px;
  transform: translateY(-50%) rotate(-135deg);
}

.is-style-hukibox .wp-block-media-text__content > p,
.hukibox .wp-block-media-text__content > p {
  margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
  .is-style-hukibox .wp-block-media-text__content,
  .hukibox .wp-block-media-text__content {
    margin-left: 0;
    margin-top: 24px;
  }

  .is-style-hukibox.has-media-on-the-right .wp-block-media-text__content,
  .hukibox.has-media-on-the-right .wp-block-media-text__content {
    margin-top: 0;
    margin-bottom: 24px;
    margin-right: 0;
  }

  .is-style-hukibox .wp-block-media-text__content::before,
  .hukibox .wp-block-media-text__content::before {
    position: absolute;
    top: -11px;
    left: 52px;
    transform: rotate(135deg);
    border-right-color: transparent;
    border-top-color: transparent;
  }

  .is-style-hukibox.has-media-on-the-right
    .wp-block-media-text__content::before,
  .hukibox.has-media-on-the-right .wp-block-media-text__content::before {
    top: -11px;
    left: 52px;
    transform: rotate(135deg);
  }
}
