@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/

/* common */
table:not(.has-border-color) :where(th, td) {
    border: 1px solid #d2d2d2;
}

/* AI企業募集ののコンテンツページ */
/* 投稿日時非表示 */
.post-7 .date-tags {
  display: none;
  }

.article_publication_date_and_time {
  font-size: 0.7em;
}
.article_publication_date_and_time::before {
  content:"\f017";
  font-family: fontawesome;
  margin-right: 3px;
}

main#main {
  background-image: url(https://bakusai.com/ai/wp-content/uploads/2024/07/AI_contents_background_img.png);
  background-repeat: repeat;
box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.4);
}

div#toc {
  background-color: #FFF;
  margin-bottom: 2em !important;
}

h1.wp-block-heading {
  font-size: 26px;
}

h2.wp-block-heading {
background: none !important;
border-bottom: 3px solid #0d507e;
padding:20px;
}

div.wp-block-column is-layout-flow wp-block-column-is-layout-flow {
filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.3));
}

.article h5 {
  font-size: 18px;
  padding: 9px 0 0;
  border-bottom: 0;
  color: #0d507e;
}

/*ハンバーガーメニュー*/
/*スマホのサイドバーメニューを左から右に表示*/
.sidebar-menu-content {
  -webkit-transform: translateX(-105%);
  transform: translateX(-105%);
  right: auto;
  left: 0;
} 

div.google_form_box {
  border: 1px solid rgb(218, 220, 224);
  background-color: #eef2f5;
  border-radius: 8px;
  width: fit-content;
  margin: 0px auto 2em;
}

/* header ホームボタン */
li#menu-item-117 {
  background-color: #0d507e;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 30px;
  width: 210px;
  height: 45px;
}
li#menu-item-117 a {
  display: inline-block;
  width: 100%;
  color: #FFF !important;
}

li#menu-item-117 a div.caption-wrap div.item-label::before {
  content: "\f015";
  font-family: fontawesome;
  margin-right: 4px;
  background-color: #FFF;
  color: #0d507e;
  background-color: ＃FFF　!important;
  border-radius: 50%;
  padding: 4px;
  box-sizing: border-box;
}

li#menu-item-117 a:hover div.caption-wrap div.item-label::before{
  background-color: rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .2);
}

/* footer */
.footer-uni-emoji {
  font-size: 13px;
  font-family: Segoe UI emoji;
}

/* 5ch */
span.\35 ch_heading_en {
  font-size: 19px;
  line-height: 20px;
}

main#main {
  background-image: none;
  box-shadow: none;
}

/* シェアする */
.sns-share-message {
  position: relative;
  display: block;
  margin: 1.5em auto;
  padding: 4px 10px;
  width: 130px;
  color: #0d507e;
  font-size: 16px;
  font-weight: bold;
  background: #FFF;
  border: solid 2px #0d507e;
  box-sizing: border-box;
  border-radius: 20px;
}

.sns-share-message:before {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 47%;
  margin-left: -15px;
  border: 10px solid transparent;
  border-top: 10px solid #FFF;
  z-index: 2;
  transform: translate(50%, 0%);
}

.sns-share-message:after {
  content: "";
  position: absolute;
  bottom: -25px;
  left: 46%;
  margin-left: -17px;
  border: 12px solid transparent;
  border-top: 12px solid #0d507e;
  z-index: 1;
  transform: translate(48%, 0%);
}

h2.wp-block-heading {
  background: none !important;
  border-bottom: 3px solid #608faf;
  padding: 13px 20px 20px;
  border-left: 6px solid #0d507e;
}

.page-id-209 h1.entry-title,
.page-id-649 h1.entry-title {
  text-decoration: underline;
  text-underline-offset: -0.2em;
  text-decoration-thickness: 0.5em;
  text-decoration-color: #ed1e783f;
  text-decoration-skip-ink: none;
}

p.release_date_b_no1 {
  font-size: 12px;
  margin: -25px 0 20px 0;
}

p.release_date {
  font-size: 12px;
  margin: -5px 0 10px 0;
}

.article h3 {
  border-left: 7px solid #0d507e;
  border-right: none;
  border-top: none;
  border-bottom: none;
  font-size: 22px;
  padding: 6px 20px;
  margin-top: 26px;
}

/* 本家が語るページ */
.page-id-797 #content {
  margin-top: 0;
}

.page-id-797 .entry-content {
  margin-top: 0;
}

h2.wp-block-heading.h2-addition {
  margin: 48px 0 0 0;
}

.page-id-797 h4.wp-block-heading {
  display: flex;
  align-items: center;
  gap: 0.5em;
  border-top: none;
  border-bottom: none;
  color: #0d507e;
  margin-top: 26px;
  padding-left: 0;
}

.page-id-797 h4.wp-block-heading::after {
content: "";
flex-grow: 1;
height: 1px;
background-color: #0d507e;
}

h6.wp-block-heading.sakujyo-h6 {
  font-size: 17px;
  padding: 0;
  border-bottom: 0;
  margin: 15px 0 8px 0;
}

figure.wp-block-image.size-full.mv_pc {
  display: block;
}

figure.wp-block-image.size-full.mv_sp {
  display: none;
}

.page-id-797 .date-tags {
  display: none;
  }

.banner_extd {
    text-align: center;
    position: relative;
    margin: 0 auto 2rem;
    width: 728px;
    height: 113px;
}

.pc_ad_back_ad728_113 {
    position: absolute;
    width: 728px;
    height: 113px;
    inset: 0;
    z-index: 0;
}

.adSection.ad_320_120 {
  display: none;
}

ul.sakujo-item-list,
ul.sakujo-beg-list {
  padding-left: 13px;
}

ul.sakujo-item-list li,
ul.sakujo-beg-list li {
  list-style: none;
}

ul.sakujo-item-list li::before,
ul.sakujo-beg-list li::before,
.sakujo-bge-anc p::before,
h6.wp-block-heading.sakujyo-h6,
.sakujo-point-arrow,
.sakujo-lawyer-link {
  font-family: 'FontAwesome';
  margin-right: 3px;
  display: inline-block;
}

ul.sakujo-item-list li::before {
  content: "\f046";
  color: #ff0000;
}

ul.sakujo-beg-list li::before {
  content: "\f14a";
  color: #0d507e;
}

ul.sakujo-beg-list li {
    margin-left: 0.5em;
    text-indent: -0.5em;
    margin-bottom: 12px;
    line-height: 22px;
}

.sakujo-bge-anc {
  border-bottom: 1px solid #0d507e;
  padding: 0 0 8px 0;
  margin: 0 0 30px 0;
}

.sakujo-bge-anc p::before {
  content: "\f13a";
  color: #0d507e;
}

h6.wp-block-heading.sakujyo-h6::before {
  content: "\f0c8";
  color: #0d507e;
  margin-right: 3px;
  font-size: 14px;
  vertical-align: 1px;
}

.sakujo-point-arrow::before {
  content: "\f061";
  font-size: 13px;

}

.sakujo-lawyer-link::after {
  content: "\f08e";
  color: #0d507e;
  margin-left: 5px;
}

.sakujo-bge-anc a {
  text-decoration: none;
  color: #0d507e;
  font-weight: bold;
}

.sakujo-point-wrapper {
  background-color: #fbfbfb;
  padding: 8px 20px;
  border: 2px solid #ff6262;
  border-radius: 6px;
  width: max-content;
  margin: 25px auto 0;
}

.sakujo-point {
  font-size: 18px;
  font-weight: bold;
  color: #ff0000;
}

.sakujo-point-arrow {
  padding: 2px;
}

.sakujo-lawyer-content {
  background-color: #fff;
  padding: 20px 20px 13px;
  box-shadow: 0 0 4px #666;
  margin: 0 auto 20px;
  width: 70%;
  position: relative;
}

.sakujo-lawyer-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.sakujo-lawyer-img {
  width: 30%;
  margin-right: 20px;
  min-width: 130px;
  max-width: 145px;
  height: auto;
}

.sakujo-lawyer-office a {
  color: #0d507e;
  text-decoration: none;
}

.sakujo-lawyer-office {
  font-size: 20px;
  font-weight: bold;
  padding: 0 0 5px;
  border-bottom: 1px solid #0d507e;
  margin: 0 0 10px 0;
  color: #0d507e;
}

.sakujo-lawyer-link {
  font-size: 15px;
  font-weight: bold;
  position: absolute;
  bottom: 15px;
  right: 15px;
  color: #0d507e;
}

.sakujo-lawyer-link a {
  color: #0d507e;
  text-decoration: none;
  cursor: pointer;
}

.sakujo-lawyer-text {
    color: var(--cocoon-text-color);
}

.sakujo-lawyer-box {
  position: relative;
}

.sakujyo-hyo-2column {
  gap: 3%;
}

.page-id-797 figure.wp-block-table {
  width: 60%;
  margin: 0 auto;
}

.page-id-797 figure.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border: 1px solid var(--cocoon-x-thin-color);
}

.page-id-797 figure.wp-block-table th,
.page-id-797 figure.wp-block-table td {
  word-break: break-word;
  padding: 0.8em 1em;
}

.page-id-797 figure.wp-block-table thead th {
  background-color: #0d507e;
  color: #fff;
  text-align: center;
  border: 1px solid var(--cocoon-x-thin-color);
}

.page-id-797 .wp-block-table thead {
  border-bottom: none;
}

.page-id-797 figure.wp-block-table td {
  background-color: #fff;
  color: #000;
  border: 1px solid var(--cocoon-x-thin-color);
  padding: 0.8em 1em;
}

.page-id-797 figure.wp-block-table th {
  padding: 0.8em 1em;
}

.pc-img {
  display: block;
}

.img-addition {
  border: 1px solid #ddd;
}

.sp-img {
  display: none;
}

.sakujo-lawyer-paid {
  position: absolute;
  top: -10px;
  left: -10px;
}

.sakujo-lawyer-paid img {
  width: 60px;
}

.sakujo-external-link {
    margin-left: 4px;
}

#lawyer-list a {
    text-decoration-line: none;
}

ol.toc-list.open {
    line-height: 2em;
    text-decoration-line: underline;
}

/* 情報流通プラットフォーム対処法への対応について */
.platform-policy-table td:first-child {
    background: #0d507e;
    color: #fff;
}

.platform-policy-table td {
    padding: 13px;
}

.page-id-1094 .date-tags {
    display: none;
}

figure.Changes-table tr:first-child {
    background: #0d507e;
    font-weight: bold;
    color: #fff;
    text-align: center;
}

figure.Changes-table td {
    vertical-align: baseline;
    padding: 10px 13px;
}

p.Changes-scroll-note {
    display: none;
  }

.Changes-table tr:nth-child(2) td:nth-child(3),
.Changes-table tr:nth-child(3) td:nth-child(2),
.Changes-table tr:nth-child(4) td:nth-child(2),
.Changes-table tr:nth-child(5) td:nth-child(3),
.Changes-table tr:nth-child(6) td:nth-child(2) {
  color: #777;
}

.Changes-table tr:nth-child(2) td:nth-child(4),
.Changes-table tr:nth-child(3) td:nth-child(3),
.Changes-table tr:nth-child(4) td:nth-child(3),
.Changes-table tr:nth-child(5) td:nth-child(4),
.Changes-table tr:nth-child(6) td:nth-child(3) {
  color: #ff0000;
  font-weight: bold;
}

.Changes-table tr:nth-child(1) td:nth-child(4) {
  border-top: 2px solid red;
  border-left: 2px solid red;
  border-right: 2px solid red;
}

.Changes-table tr:nth-child(2) td:nth-child(4),
.Changes-table tr:nth-child(3) td:nth-child(3),
.Changes-table tr:nth-child(4) td:nth-child(3),
.Changes-table tr:nth-child(5) td:nth-child(4),
.Changes-table tr:nth-child(6) td:nth-child(3) {
  border-left: 2px solid red;
  border-right: 2px solid red;
}

.Changes-table tr:nth-child(6) td:nth-child(3) {
  border-bottom: 2px solid red;
}

p.p-policy-text {
    margin-bottom: 2px;
}

p.p-policy-notice {
    font-size: 14px;
}

/* 目次 */
.toc-content > ol.toc-list > li > a {
    font-weight: bold;
}

.toc-content ol.toc-list li ol {
    margin-left: 4em;
}

div#toc {
    width: 60%;
}

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

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

@media screen and (max-width: 767px) {
  div#toc {
      width: 100%;
  }

  .toc-content ol.toc-list li ol {
      margin-left: 0.3em;
  }

  /* 本家が語るページ */
  .page-id-797 main.main {
    padding: 0 16px 32px;
  }

  figure.wp-block-image.size-full.mv_pc {
    display: none;
  }

  figure.wp-block-image.size-full.mv_sp {
    display: block;
  }

  .banner_extd {
    display: none;
  }

  .adSection.ad_320_120 {
    position: relative;
    width: 100%;
    height: 120px;
    margin: 15px auto;
    display: block;
    text-align: center;
  }
  
  .adSection div {
    border-bottom: 0;
    margin: 0 auto;
    padding: 0;
    display: block;
  }
  
  .ad_back_disap img {
    object-fit: contain;
    width: 100%;
    margin: auto;
    height: 100%;
    background: #fff;
  }

  .ad_back_ad320_120 {
    position: absolute;
    width: 320px;
    height: 120px;
    inset: 0;
    z-index: 0;
  }

  .sakujo-lawyer-content {
    width: 95%;
    padding: 16px;
  }

  .sakujo-lawyer-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .sakujo-lawyer-img {
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
    max-width: none;
  }

  .sakujo-lawyer-img img {
    width: 100%;
    height: auto;
  }

  .sakujo-lawyer-office {
    text-align: center;
    font-size: 18px;
  }

  .sakujo-lawyer-link {
    position: static;
    margin-top: 15px;
    text-align: right;
    display: block;
  }

  .sakujo-point-wrapper {
    margin: 0 auto 0.8em;
    width: 80%;
    padding: 6px 8px;
  }

  .pc-img {
    display: none;
  }

  .sp-img {
    display: block;
  }

  .img-addition {
    border: 1px solid #ddd;
  }
  
  .sp-img-size {
    width: 80%;
    margin: 0 auto;
  }

  .page-id-797 figure.wp-block-table {
    width: 100%;
  }

  .sakujo-lawyer-paid img {
    width: 15vw;
  }

  .responsive-column {
    flex-direction: column-reverse;
  }

  /* 情報流通プラットフォーム対処法への対応について */
  .platform-policy-table table,
  .platform-policy-table tbody,
  .platform-policy-table tr,
  .platform-policy-table td {
    display: block;
    width: 100%;
  }

  figure.Changes-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  p.Changes-scroll-note {
    display: block;
    font-size: 12px;
    margin: 0 0 2px 0;
  }

  .page-id-1094 .column-wrap {
    display: flex;
    flex-direction: column;
  }

  .increased-cost-img {
    order: 2;
  }

  .increased-cost-text {
    order: 1;
  }

}

/*480px以下*/
@media screen and (max-width: 480px){
  .wp-block-button__link {
    font-size: 20px;
    line-height: 24px;
    padding: 10px;
  }

  .wp-block-button__width-75 {
    width: 100% !important;
  }

  .timeline-item-content {
    padding: 1px 5px 8px 13px;
  }

  .sakujo-point-wrapper {
    width: 100%;
  }
}
