@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*アプリーチレイアウト用*/
.appreach {
  text-align: left;
  padding: 10px;
  border: 1px solid #7C7C7C;
  overflow: hidden;
}
.appreach:after {
  content: "";
  display: block;
  clear: both;
}
.appreach p {
  margin: 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;
}
.appreach__name {
  font-size: 16px;
  line-height: 1.5em !important;
  max-height: 3em;
  overflow: hidden;
}
.appreach__info {
  font-size: 12px !important;
}
.appreach__developper, .appreach__price {
  margin-right: 0.5em;
}
.appreach__posted a {
  margin-left: 0.5em;
}
.appreach__links {
  float: left;
  height: 40px;
  margin-top: 8px;
  white-space: nowrap;
}
.appreach__aslink img {
  margin-right: 10px;
  height: 40px;
  width: 135px;
}
.appreach__gplink img {
  height: 40px;
  width: 134.5px;
}
.appreach__star {
  position: relative;
  font-size: 14px !important;
  height: 1.5em;
  width: 5em;
}
.appreach__star__base {
  position: absolute;
  color: #737373;
}
.appreach__star__evaluate {
  position: absolute;
  color: #ffc107;
  overflow: hidden;
  white-space: nowrap;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/************************************
** テーブル横スクロール
************************************/
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table {
  width: max-content;
  border-collapse: separate;
  border-spacing: 0;
}

.table th,
.table td {
  border: 2px solid #eee;
  padding: 4px 8px;
  white-space: nowrap;
}

/* 固定列の共通設定 */
.sticky-col {
  position: -webkit-sticky;
  position: sticky;
  background-color: #fff;
  z-index: 1;
}

/* ヘッダーの固定列 */
.table th.sticky-col {
  background-color: #333333;
  z-index: 2;
}

/* 1列固定テーブル */
.fixed-col-1 .col-1 {
  left: 0;
}

/* 2列固定テーブル */
.fixed-col-2 .col-1 {
  left: 0;
  min-width: 55px;
  width: 55px;
  box-sizing: border-box;
}

.fixed-col-2 .col-2 {
  left: 55px;
}

/* 固定列の右端に影（最後の固定列のみ） */
.fixed-col-1 .col-1::after,
.fixed-col-2 .col-2::after {
  content: "";
  position: absolute;
  top: 0;
  right: -4px;
  bottom: 0;
  width: 4px;
  box-shadow: inset 4px 0 4px -4px rgba(0, 0, 0, 0.15);
}

/************************************
** スマホ対応
************************************/
@media screen and (max-width: 768px) {
  /* 1列固定テーブルのスマホ対応 */
  .fixed-col-1 .sticky-col {
    white-space: normal;
    min-width: 120px;
    max-width: 120px;
    width: 120px;
    word-break: break-word;
  }

  /* 2列固定テーブルのスマホ対応 */
  .fixed-col-2 .col-1 {
    min-width: 40px;
    max-width: 40px;
    width: 40px;
  }

  .fixed-col-2 .col-2 {
    left: 40px;
    white-space: normal;
    min-width: 110px;
    max-width: 110px;
    width: 110px;
    word-break: break-word;
  }
}
