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

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

/* 見出しリセット */
/* 見出し2 */
.article h2{
background:none;
padding: 0;
}

/* 見出し3 */
.article h3{
border-top:none;
border-bottom:none;
border-left:none;
border-right:none;
padding: 0;
}

/* 見出し4 */
.article h4{
border-top:none;
border-bottom:none;
padding: 0;
}

/* 見出し5 */
.article h5{
border-bottom:none;
padding: 0;
}

/* 見出し6 */
.article h6{
border-bottom:none;
padding: 0;
}

/*見出しの変更*/

/*見出し：h1*/
.heading-25 {
    position: relative;
    color: #4a4a4a;
    text-align: center;
}

.heading-25::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    color: #c8e7ff;
    font-size: 60px;
    line-height: 1;
    content: attr(data-word);
    pointer-events: none;
}


/*見出し：h2*/
.article h2 {
  position: relative;
  padding: 5px 5px 5px 42px;
  background: #68b1d4;
  font-size: 20px;
  color: white;
  margin-left: -33px;
  line-height: 1.3;
  z-index:-1;
}

.article h2:before {
  position: absolute;
  content: '';
  left: -2px;
  top: -2px;
  border: none;
  border-left: solid 40px white;
  border-bottom: solid 79px transparent;
  z-index:-2
}

/*見出し：h3*/

.article h3 {
  position: relative;
  padding-left: 25px;
}

.article h3:before {
  position: absolute;
  content: '';
  bottom: -3px;
  left: 0;
  width: 0;
  height: 0;
  border: none;
  border-left: solid 15px transparent;
  border-bottom: solid 15px rgb(112, 187, 204);
}
.article h3:after {
  position: absolute;
  content: '';
  bottom: -3px;
  left: 10px;
  width: 100%;
  border-bottom: solid 3px rgb(112, 187, 204);
}
}

/*見出し：h6*/

.article h6 {
  position: relative;
  padding: 8px 15px;
  margin-left: 40px;
  background: #def3ff;
  border-radius: 20px;
}

.article h6:before {
  font-family: "Font Awesome 5 Free";
  content: "\f111";
  font-weight: 900;
  position: absolute;
  font-size: 15px;
  left: -40px;
  bottom: 0;
  color: #def3ff;
}

.article h6:after {
  font-family: "Font Awesome 5 Free";
  content: "\f111";
  font-weight: 900;
  position: absolute;
  font-size: 23px;
  left: -23px;
  bottom: 0;
  color: #def3ff;
}

/* 枠線の削除 */
    .no-border {
      border: none;
    }

/* 文字の下半分のみのライン*/
.under {
  background: linear-gradient(transparent 50%, #FFF1AB 50%);
}

/* 文字の下半分のみのライン（細め）*/
.under2 {
  background: linear-gradient(transparent 70%, #DDEAEE 40%);
}

/* 二重線ライン*/
.under3 {
  border-bottom: double 6px #7159A6;
}

/* 右上リボン*/
.ribbon14 {  
  display: inline-block;
  position: absolute;
  top: -6px;
  right: 10px;
  margin: 0;
  padding: 10px 0 7px;
  z-index: 2;
  width: 28px;
  text-align: center;
  color: white;
  font-size: 15px;
  background: #000000;
  border-radius: 2px 0 0 0;
  }

.ribbon14:before {
  position: absolute;
  content: '';
  top: 0;
  right: -5px;
  border: none;
  border-bottom: solid 6px #000000;
  border-right: solid 5px transparent;
}

.ribbon14:after {
  content: '';
  position: absolute;
  left: 0;
  top: 100%;
  height: 0;
  width: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 10px solid #000000;
}


/* 画像の上にのせるテキスト*/

.kasaneru1-tag{
position: relative;
}
.kasaneru1-tag p{
  position: absolute;
  color: white;
  font-size: 8px;
　font-weight: bold;
  top:0;/*左上に配置*/
  right: 0;/*左上に配置*/
  background: #000000;/*背景色*/
  padding: 0.3rem 0.5rem;/*文字の回りの余白*/
  margin: 0; 
}


/* 画像の上に画像*/

.kasaneru6{
  position: relative;
}

.kasaneru6 img.imagup{
  position: absolute;
  top:0;/*左上に配置*/
  right: 0;/*左上に配置*/
  margin: 0; 
}


/* マウスオーバーでポップアップ*/

.message {
    position: relative;
}
.message span.remark {
    display: none;
}
.message a:hover span.remark {
    background: none repeat scroll 0 0 #FFF1AB;
    border: 1px solid #CCCCCC;
    color: #000000;
    display: block;
    line-height: 1.2em;
    margin: 0.5em;
    padding: 0.5em;
    position: absolute;
    top: 50px;
    width: 12em;
}

/*画像をポップアップで拡大*/

.lb {
    display: flex;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,.7);
    opacity: 0;
    transition: .3s opacity ease;
    pointer-events: none;
    z-index: 100;
}

.lb img {
    width: auto !important;
    max-height: 100%!important;
    cursor: pointer;
}

.lb img,
.lb iframe {
    transform: scale(.85);
    transition: .3s all ease;
}

.lb:target {
    opacity: 1;
    pointer-events: auto;
    z-index: 101;
}

.lb:target img,
.lb:target iframe {
    transform: scale(1);
}

/* なんちゃって閉じるボタン*/
.lb::before,.lb::after {
    display: block;
    position: fixed;
    content: "";
    width: 24px;
    height:3px;
    top: 24px;
    right: 12px;
    background: #fff;
    border-radius: 4px;
}
.lb::before {
    transform: rotate(-315deg);
}
.lb::after {
    transform: rotate(315deg);
}

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

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

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