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

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

.article h1.main-copy {
    position: relative;
    font-size: 20px;
    text-align: center;
    color: #ffffff;
    padding: 20px;
    margin: 0 auto;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
    background: linear-gradient(
        135deg,
        rgba(180, 0, 60, 0.85),
        rgba(255, 80, 120, 0.75)
    );
    border-radius: 24px;
    box-shadow:
        0 10px 30px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.3);
    backdrop-filter: blur(6px);
    overflow: hidden;
}

.article h2 {
  font-size: 20px;
  padding: 25px;
  padding-left: 50px;
  background-color: var(--cocoon-xx-thin-color);
  border-radius: var(--cocoon-badge-border-radius);
  position: relative;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.article h2:before{
    position:absolute;
    content: "";
    background-image: url('img/bara-2.png');
    background-size: cover;
    background-repeat: no-repeat;
	width: 40px;
    height: 45px;
    top:50%;
    left:10px;
    -webkit-transform:translateY(-50%);
    transform: translateY(-50%);
}

.article h3{
  position: relative;
  border-left: 0px solid var(--cocoon-middle-thickness-color);
  border-right: 1px solid var(--cocoon-thin-color);
  border-top: 1px solid var(--cocoon-thin-color);
  border-bottom: 1px solid var(--cocoon-thin-color);
  font-size: 18px;
  padding: 12px 20px;
  overflow: hidden;
  color: white;
  font-weight: bold;
  text-align: center;
  border-radius: 3px;
  background: #455c93;
  background-image: linear-gradient(135deg, transparent 0 10px, #EBC0C7 10px 20px, transparent 10px), linear-gradient(-45deg, transparent 0 10px, #EBC0C7 10px 20px, transparent 20px);
}

.article h3::before,
.article h3::after {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 10px;
    height: 12px;
    border: 1px solid #777;
    background: #EBC0C7;
    font-size: 14px;
    content: '';
}

.article h3::before {
    transform: skew(45deg);
}

.article h3::after {
    transform: skew(-45deg);
}

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

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

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
.article h1.main-copy {
    font-size: 18px;
}

.article h2 {
		font-size: 16px;
		padding: 25px 15px;
        padding-left: 50px;
	}

.article h2:before {
		width: 30px;
		height: 35px;
	}

.article h3 {
		font-size: 16px;
	}

}
