@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 h2,
.article h3,
.article h4,
.article h5,
.article h6
{
padding: 0;
margin: 0;
background:none;
border-collapse: separate;
border-spacing: 0;
border-top: none;
border-right: none;
border-bottom: none;
border-left: none;
line-height: normal;
position:relative;
}

/*見出しの変更*/

/*見出し：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);
}
}


/*見出し：吹き出し＼　／*/

.heading01 {
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 26px;
	text-align: center;
}

.heading01::before,
.heading01::after {
	content: '';
	width: 3px;
	height: 40px;
	background-color: #3fc1c9;
}

.heading01::before {
	margin-right: 30px;
	transform: rotate(-35deg)
}
.heading01::after {
	margin-left: 30px;
	transform: rotate(35deg)
}


/*見出し：左右にライン*/

.heading02 {
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 26px;
	text-align: center;
}

.heading02::before,
.heading02::after {
	content: '';
	width: 70px;
	height: 3px;
	background-color: #e3bf00;
}

.heading02::before {
	margin-right: 20px;
}
.heading02::after {
	margin-left: 20px;
}

/*見出し：四角形の装飾*/
.heading-31 {
    position: relative;
    padding: .3em 0 .2em 1em;
    border-bottom: 3px solid #e9cd0c;
    color: #333333;
}

.heading-31::before {
    position: absolute;
    top: 0;
    left: .3em;
    transform: rotate(55deg);
    height: 11px;
    width: 12px;
    background: #e9cd0c;
    content: '';
}

.heading-31::after {
    position: absolute;
    transform: rotate(15deg);
    top: .6em;
    left: 0;
    height: 8px;
    width: 8px;
    background: #e9cd0c;
    content: '';
}

/*見出し：色とフォントサイズを変える*/
.emphasis_design2 {
  color: #4d9bc1;
  font-size: 2em;
}


/* 枠線の削除 */
    .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;
}

/* 斜めのライン*/
.emphasis_design21 {
  position: relative;
  padding: 0 0.1em;
}
.emphasis_design21::after {
  content: '';
  background-color: #c8e7ff;
  width: 100%;
  height: 0.5em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-5deg);
  -webkit-transform: translate(-50%, -50%) rotate(-5deg);
  -ms-transform: translate(-50%, -50%) rotate(-5deg);
  z-index: -1;
}

/* 背景色を変える*/
.emphasis_design19 {
  background-color: #4d9bc1;
  color: #fff;
  padding: 0 0.1em;
}


/* 右上リボン*/
.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);
}

/*2段や3段の多段リスト（マルチカラム）*/

ul.sample1{
  column-count: 2;        /* 列数を2列に指定 */
}

ul.sample1 li{
  list-style:none;
  font-size: 70%;
}

/*検索窓のデザイン（シンプル）*/

input.search-edit{
  border: 0;
  border-bottom: 1px solid #333;/*ラインの色*/
  border-radius: 0;
}
input.search-edit::placeholder{
  color: #aaa;/*placeholderの文字色*/
}
span.fa-search::before{
  color: #333;/*虫眼鏡の色*/
}


/* サイドバー見出し変更 */
.sidebar h3{
background: none!important;/*背景を消す*/
color: #333333;/*文字色*/
font-size: 12px;/*文字の大きさ*/
border-bottom: solid 1px skyblue;/*右側の線の種類・太さ・色*/
position: relative;
padding: 0.5em;/*余白*/
margin: 1.5em 0;/*余白*/
}

.sidebar h3:after{
position: absolute;
content: " ";
display: block;
border-bottom: solid 1px #1e7cd1;/*左側の線の種類・太さ・色*/
bottom: -1px;/*左側の線の位置*/
left: 0;/*左側の線の位置*/
width: 40%;/*左側の線の幅*/
}


/* ニトリ風ボタン */
.btn-flat-logo {
  position: relative;
  display: inline-block;
  font-weight: bold;
  padding: 0.25em 0.5em;
  text-decoration: none;
  color: #FFF;
  background: #00bcd4;
  transition: .4s;
}

.btn-flat-logo:hover {
  background: #1ec7bb;
}


/* 丸みのある下線付きボタン */
.btn-border-bottom {
  position: relative;
  display: inline-block;
  font-weight: bold;
  padding: 0.25em 0;
  text-decoration: none;
  color: #67c5ff;  
}

.btn-border-bottom:before {
  position: absolute;
  content: '';
  width: 100%;
  height: 4px;
  top:100%;
  left: 0;
  border-radius: 3px;
  background:#67c5ff;
  transition: .2s;
}

.btn-border-bottom:hover:before {
  top: -webkit-calc(100% - 3px);
  top: calc(100% - 3px);
}

/* 内側に枠線ボタン */

.button-49 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    margin: 0 auto;
    padding: .6em 2em;
    border: 2px solid #fff;
    border-radius: 25px;
    box-shadow: 0 0 0 3px #97bcdb;
    background-color: #97bcdb;
    color: #fff;
    font-weight: 600;
    font-size: 12px;
}

.button-49::after {
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    margin-left: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    content: '';
}


/* シンプルなフラットボタン */
/* https://www.yuu-diaryblog.com/2017/04/22/css-button-2/ */
a.bt-samp34{
  display: block;
  text-decoration: none;
  height:35px;
  width: 120px;
  line-height: 37px;
  text-align: center;
  color: #2bb6c1;
  border:solid 1px #2bb6c1;
  border-radius: 20px;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  -ms-transition: 0.3s;
  transition: 0.3s;
}
a.bt-samp34:hover{
  background: #2bb6c1;
  color: #fff;
}


/* 斜め左右に広がるエフェクト付きボタン */
/* https://www.yuu-diaryblog.com/2017/04/22/css-button-2/ */
a.bt-samp39{
  display: block;
  position: relative;
  text-decoration: none;
  height:35px;
  width: 120px;
  line-height: 37px;
  text-align: center;
  color: #97bcdb;
  border:solid 2px #97bcdb;
  overflow: hidden;
  z-index: 1;
}
a.bt-samp39:after{
  content:"";
  position: absolute;
  top: 50%;
  left: 50%;
  height: 0;
  width: 100%;
  background : #97bcdb;
  opacity: 0;
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(45deg);
  -moz-transform: translateX(-50%) translateY(-50%) rotate(45deg);
  -ms-transform: translateX(-50%) translateY(-50%) rotate(45deg);
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  -ms-transition: 0.3s;
  transition: 0.3s;
  z-index: -1;
}
a.bt-samp39:hover{
  color: #fff;
}
a.bt-samp39:hover:after{
  height: 250%;
  opacity: 1;
}
a.bt-samp39:active:after{
  height: 350%;
  opacity: 1;
}


/*見出し：上下にライン*/

.heading-35 {
  color: #708090;/*文字色*/
  padding: 0.5em 0;/*上下の余白*/
  border-top: solid 3px #e9cd0c;/*上線*/
  border-bottom: solid 3px #e9cd0c;/*下線*/
}

/*見出し：左上にアクセントのあるデザイン*/

.ttl_frame1 {
  font-weight: bold;
  padding: 0.5em 1em;
    --x-gradient: linear-gradient(90deg, #ffe94f 0 100%);
    --y-gradient: linear-gradient(#ffe94f 0 15px, transparent 0 calc(100% - 15px), #ffe94f calc(100% - 15px));
  background-image:var(--x-gradient), var(--y-gradient), var(--x-gradient), var(--y-gradient);
  background-repeat: no-repeat;
  background-size: 100% 3px, 3px 100%, 100% 3px, 3px 100%;
  background-position: top, right, bottom, left;
  position: relative;
}


/*ボックス：ずらしデザイン*/
.box-design9 {
  margin: 20px auto;
  padding: 20px;
  background-color: transparent;
  border: 2px solid #948779;
  position: relative;
}
.box-design9::after {
  content: '';
  background-color: #FFF4DB;
  width: 100%;
  height: 100%;
  position: absolute;
  top: -7px;
  left: 7px;
  z-index: -1;
}



/*ボタン：丸が背景になるボタン（文字色反転*/
.circle_btn02 {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 300px; /* ボタンの最大幅 */
  padding: 1em 2em;
  color: initial; /* 文字色 */
  transition: 0.3s ease-in-out;
  font-weight: bold;
  text-decoration: none;
}

.circle_btn02::before, .circle_btn02::after {
  content: "";
  position: absolute;
  display: block;
  top: 50%;
}

.circle_btn02::before {
  width: 0.5em;
  height: 0.5em;
  left: 1em;
  border-top: solid 2px #fff; /* 矢印の色 */
  border-right: solid 2px #fff; /* 矢印の色 */
  z-index: 2;
  transform: translateY(-50%) rotate(45deg);
  transition: all 0.3s;
}

.circle_btn02::after {
  left: 0;
  background: #429fad; /* 背景色 */
  z-index: 1;
  width: 3em;
  height: 3em;
  border-radius: 3em;
  transform: translateY(-50%);
  transition: all 0.5s;
}

.circle_btn02 span {
  position: relative;
  transition: all 0.3s;
  z-index: 3;
}

/* マウスオーバーした際のデザイン */
.circle_btn02:hover span {
  color: #fff; /* 文字色 */
}

.circle_btn02:hover:before {
  left: 2rem;
}

.circle_btn02:hover:after {
  right: 0;
  width: 100%;
}


/* セロテープ風 */
.cstm-box-tape {
   position: relative; /* タイトルをボックス内の左上に配置するための基準 */
   margin: 0 auto 2em; /* 外側の余白（上下と中央配置） */
   background-color: #E6ECF2; /* ボックス背景色 */
   border-radius: 5px; /* 角を少し丸めて柔らかい印象に */
}

.cstm-box-tape .box-title {
   background-color: rgb(255 255 255 / .5); /* テープ背景色と透過 */
   border-left: 2px dotted rgb(0 0 0 / .1); /* テープのギザギザ左 */
   border-right: 2px dotted rgb(0 0 0 / .1); /* テープのギザギザ右 */
   box-shadow: 0 0 5px rgb(0 0 0 / .12); /* テープ影 */
   transform: rotate(-2deg); /* テープの傾き */
   color: #666; /* タイトル文字色 */
   padding: 10px 20px; /* タイトルの余白 */
   line-height: 1; /* タイトルの行の高さ */
   position: absolute; /* 親要素の左上に固定 */
   top: -1em; /* 上端に配置 */
   left: 1em; /* 左端に配置 */
   display: inline-block; /* タイトルの幅を内容に合わせる */
   font-size: 0.9em; /* タイトルのフォントサイズ */
   width: auto; /* タイトル幅を内容に応じて可変にする */
   max-width: calc(100% - 2em); /* 左右の余白を考慮して最大幅を調整 */
   white-space: nowrap; /* タイトルを1行に固定 */
   overflow: hidden; /* はみ出した部分を非表示 */
   text-overflow: ellipsis; /* 省略記号（...）を表示 */
}

.cstm-box-tape .box-content {
   padding: 2.5em 2em 2em; /* コンテンツ内の余白 */
}

/* pタグの余白を0にする */
.cstm-box-tape p { margin:0; }

/* お知らせリスト */
.news_container {
width: 90%;
max-width:1000px;
margin: 50px auto;
}
.news_title {
color: #674196;
text-align: center;
font-size: 20px;
font-weight: bold;
}
.news_list {
margin: 20px 0;
border-top: 1px dashed #443c32;
}
.news_list li {
padding: 15px 5px;
border-bottom: 1px dashed #e3bf00;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.date {
font-size: 12px;
margin-right: 10px;
}
.category {
display: inline-block;
color: #fff;
width: 120px;
font-size: 10px;
text-align: center;
margin-right: 10px;
padding: 2px 8px;
background-color: #674196;
}
.news_text a {
color: #333;
font-size: 12px;
}

.news_btn {
text-align: center;
margin-top: 50px;
}
.news_btn a {
color: #674196;
}
.btn {
color: #674196;
padding: 10px 50px;
background: #fff;
border: 2px solid #674196;
border-radius: 50px;
transition: all 0.5s;
}
.btn:hover {
color: #fff;
background: #674196;
}
.btn:after {
font-family: 'Font Awesome 5 Free';
content: "\f0da";
font-weight: 900;
padding-left: 10px;
}

@media screen and (max-width: 559px) {
.news_container {
width: 100%;
padding: 0 20px;
}
.news_text a {
display: block;
margin-top: 10px;
text-overflow: ellipsis;
overflow: hidden;
}
}



/* シンプルボタン：駿河屋用 */
.button-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    margin: 1em;
    padding: .7em 1em;
    border: none;
    border-radius: 25px;
    background-color: #92bff8;
    color: #fff;
    font-weight: 600;
    font-size: 1em;
}

.button-1::after {
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    margin-left: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    content: '';
}

.button-1:hover {
    background-color: #82afe8;
}


/* シンプルボタン：遊々亭用 */
.button-1_1 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    margin: 1em;
    padding: .7em 1em;
    border: none;
    border-radius: 25px;
    background-color: #8edbcd;
    color: #fff;
    font-weight: 600;
    font-size: 1em;
}

.button-1_1::after {
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    margin-left: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    content: '';
}

.button-1_1:hover {
    background-color: #8edbcd;
}


/* 見出しh5：円の背景 */
.heading-29 {
    display: inline-block;
    position: relative;
    margin: calc(3.5em / 2) 0 calc(3.5em / 4) calc(3.5em / 2);
    color: #333333;
    line-height: 1;
}

.heading-29::before {
    position: absolute;
    bottom: calc(-3.5em / 4);
    left: calc(-3.5em / 2);
    z-index: -1;
    width: 3.5em;
    height: 3.5em;
    border-radius: 50%;
    background: #fcf7ba;
    content: '';
}

/* ずれた四角デザインのリスト */
ul.sample0 {
  padding: 0;
  font: 14px/1.6 'arial narrow', sans-serif;
  width:370px;
  list-style: none;
}
ul.sample0 li{
  position: relative;
  padding: 0.5em 1em 0.5em 2.3em;
  margin-bottom:5px;
  color: rgb(129,194,250);
  font-size: 13px;
  font-weight: bold;
　border-bottom: 1px solid rgba(129,194,250, 0.5);
}

ul.sample0 li:after,
ul.sample0 li:before{
  content: "";
  position: absolute;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
ul.sample0 li:before{
  top: 0.7em;
  left: 0.2em;
  width: 12px;
  height: 12px;
  border:2px solid rgba(129,194,250,0.5);
}
ul.sample0 li:after{
  top: 0.9em;
  left: 0.7em;
  width: 14px;
  height: 14px;
  background: rgba(129,194,250,0.3);
  -webkit-transform: rotate(60deg);
  -moz-transform: rotate(60deg);
  -o-transform: rotate(60deg);
  -ms-transform: rotate(60deg);
  transform: rotate(60deg);
}

/* アイキャッチラベルの非表示 */
.cat-label {display:none}


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

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

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