@charset "UTF-8";
/*
Theme Name:   JIN-Child
Template:     jin
Author:       CrossPiece
Author URI:   https://crosspiece.co.jp
Version:      1.0
Description:  JIN 子テーマ（Alpha カスタム）
*/

/* ==========================================================================
   ベース・レイアウト
   ========================================================================== */

body,
#wrapper {
  background: #EFEAE3;
}

.right {
  text-align: left;
}

@media (min-width: 1200px) {
  #contents {
    width: 100%;
  }
}
@media (min-width: 768px) {
    #contents {
        margin-top: 0;
        margin-bottom: 0;
    }
}
#contents {
    padding-top: 0;
}

#main-contents-one,
#main-contents {
  width: 100%;
  float: none;
  margin: 0;
}

/* ==========================================================================
   記事本文 .cps-post-main / .art-content
   ========================================================================== */

.cps-post-main {
  position: relative;
  z-index: 0;
}

/* リスト ul */
.cps-post-main .art-content ul,
.cps-post-main .art-content ul[class] {
  padding-left: 1.5em;
  margin-top: 0.5em;
  margin-bottom: 1em;
  list-style: disc;
  list-style-position: outside;
}

.cps-post-main .art-content ul li,
.cps-post-main .art-content ul li::before {
  position: static;
  display: list-item;
  margin-bottom: 0.25em;
  padding-left: 0.25em;
}

.cps-post-main .art-content ul li::before {
  display: none;
  content: none;
}

/* リスト ol */
.cps-post-main .art-content ol {
  counter-reset: none;
  padding-left: 1.5em;
  margin-top: 0.5em;
  margin-bottom: 1em;
  list-style: decimal;
  list-style-position: outside;
}

.cps-post-main .art-content ol ol {
  counter-reset: none;
  margin-left: 0.5em;
  margin-top: 0.25em;
  margin-bottom: 0.5em;
  padding-left: 0.5em;
}

.cps-post-main .art-content ol ol li::before,
.cps-post-main .art-content ol > li::before,
.cps-post-main .art-content ol > li::after,
.cps-post-main .art-content table ol li::before,
.cps-post-main .art-content table ol li::after {
  display: none !important;
  content: none !important;
  counter-increment: none;
}

.cps-post-main .art-content ol > li,
.cps-post-main .art-content table ol li,
.cps-post-main .art-content ol > li > ol > li::after {
  position: static;
  display: list-item;
  padding-left: 0.25em;
  margin-bottom: 0.25em;
}

.cps-post-main .art-content ol ul,
.cps-post-main .art-content div ul,
.cps-post-main .art-content div ol {
  margin-top: 0.25em;
  margin-bottom: 0.5em;
}

.cps-post-main .art-content div ol,
.cps-post-main .art-content div ul {
  margin-bottom: 0.5em;
}

.cps-post-main .art-content div ol li:last-of-type,
.cps-post-main .art-content div ul li:last-of-type {
  margin-bottom: 0.25em;
}

/* 段落・見出し */
.cps-post-main .art-content p {
  padding-bottom: 1em;
  margin-top: 0;
  margin-bottom: 0;
  letter-spacing: inherit;
  line-height: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.cps-post-main .art-content h2,
.cps-post-main .art-content h3,
.cps-post-main .art-content h4,
.cps-post-main .art-content h5 {
  font-weight: inherit;
  letter-spacing: inherit;
}

/* テーブル */
.cps-post-main .art-content table,
.cps-post-main .art-content table tr td,
.cps-post-main .art-content table tr th {
  margin-bottom: 1em;
  border: 1px solid #ccc;
  padding: 8px;
  font-size: inherit;
  font-weight: inherit;
}

/* ==========================================================================
   Contact Form 7 / Android
   ========================================================================== */

.wpcf7 {
  background: rgba(215, 215, 215, 0.15);
}

@media (max-width: 767px) {
  .android .cps-post-main ol > li:after,
  .android .cps-post-main table ol li:after {
    width: 20px;
    height: 20px;
    left: 0;
    top: 11px;
  }

  .android .cps-post-main ol > li:before,
  .android .cps-post-main table ol li:before {
    left: 0;
    height: 20px;
    width: 20px;
    top: 0;
  }
}
