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

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

/*注意*/
.box8 {
    padding: 0.5em 1em;
    margin: 2em 0;
    color: #232323;
    background: #fff8e8;
    border-left: solid 10px #ffc06e;
}
.box8 p {
    margin: 0; 
    padding: 0;
}

.box25 {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #313131;
    border-radius: 8px;
}
.box25 .box-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 19px;
    background: #FFF;
    color: #313131;
    font-weight: bold;
}
.box25 p {
    margin: 0; 
    padding: 0;
}
.box25 ul {
    margin: 0 12px 0 12px; 
    padding: 0;
}

.box26 {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #95ccff;
    border-radius: 8px;
}
.box26 .box-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 19px;
    background: #FFF;
    color: #95ccff;
    font-weight: bold;
}
.box26 p {
    margin: 0; 
    padding: 0;
}
.box26 ul {
    margin: 0 12px 0 12px; 
    padding: 0;
}

.toc {
	width: 100%;
}

.main .toc {
	width: 95%;
}

/*投稿記事の導入文で「記事を書いた人」で使っている*/
.card_body{
    margin: 0;
    padding: 0;
    /*height: 100vh;*/
    justify-content: center;
    align-items: center;
    display: flex;
    /*background: #eee;*/
    word-wrap:break-word; 
}

.card{
    --font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    /*width: 340px;*/
	width: 100%;
    overflow: hidden;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
	margin: 0 0 30px 0;
}

.card_image img{
    width: 100%;
    height: 160px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    object-fit: cover;
}

.profile_image img{
    z-index: 1;
    width: 120px;
    height: 120px;
    position: relative;
    margin-top: -75px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 100px;
    border: 10px solid #fff;
    transition-duration: 0.4s;
    transition-property: transform;
}

.profile_image img:hover{
    transform: scale(1.1);
}

.card_content .card_title p{
    font-size: 25px;
    text-align: center;
    margin: 0;
}

.card_content p{
    font-size: 16px;
    text-align: justify;
    padding: 0 20px 0 20px;
	margin: 0;
}

.card_content ul li{
    font-size: 16px;
    text-align: justify;
	list-style-type: none!important;
}

.card_content ul li:before {
    font-family: FontAwesome;
    content: "\f138";/*アイコンの種類*/
    margin: 0 5px 0 0;
    left : 1em;/*左端からのアイコンまでの距離*/
    color: skyblue;/*アイコン色*/
}

.icons{
    text-align: center;
    padding-top: 5px;
    padding-bottom: 30px;
}

.icons a{
    text-decoration: none;
    font-size: 20px;
    color: #0abde3;
    padding: 0 14px;
    transition-duration: 0.4s;
    transition-property: transform;
}

.icons a:hover{
    color: #000;
    transform: scale(1.5);
}



.card_body2{

    margin: 0;
    padding: 0;
	height: 100vh;
	
}

.card2{
	position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    height: auto;
    transform-style: preserve-3d;
    perspective: 600px;
    transition: 1s ease;

}

.card2 .front{
	position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: #000;
    backface-visibility: hidden;
    transform: rotateX(0deg);
    transition: 1s ease;
    object-fit: contain;

}

.card2:hover .front{
    transform: rotateX(-180deg);
	overflow: hidden;
}

.card2 .back{
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    backface-visibility: hidden;
    transform: rotateX(180deg);
    transition: 1s ease;
}

.card2 .back::before{
    content: '';
	position: absolute;
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.card2:hover .back{
    transform: rotateX(0deg);
}

.card2 .back .details{
	position: relative;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.card2 .back .details p{
    margin: 0;
    padding: 0;
    font-size: 24px;
    color: #fff;
}

.card2 .back .details p span{
    font-size: 16px;
    color: #a7a7a7;
}

.social-icons{
    padding: 10px 0;
}

.social-icons a{
    display: inline-block;
    width: 36px;
    height: 36px;
    text-align: center;
    background: #262626;
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    transition: 0.5s;
}

.social-icons a{
    line-height: 36px;
}

.social-icons a:hover{
    background: #e91e63;
}

.card_body2 .card2 .front img{
    max-width: 100%;
    height: auto;
    width /***/:auto;
}



/* プロフィールページの画像アニメーション */
.image_body{
	position:relative;
    margin: 0;
    padding: 0;
	width: 100%;
	height: auto;
}

.image_hoshi1{
    position:absolute;
    top:0;
    left:0;
    z-index: 2;
}

.image_hoshi1 img{
    animation: anime1 0.5s ease 0s infinite alternate;
    transform-origin:center;
}
@keyframes anime1 {
    from {
      transform: scale(1,1);
    }
    to {
      transform: scale(1.1,1.1);
    }
  }

.image_hoshi2{
    position:absolute;
    top:0;
    left:0;
    z-index: 2;
}

.image_hoshi2 img{
    animation: anime2 0.5s ease 0s infinite alternate;
    transform-origin:center;
}
@keyframes anime2 {
    from {
      transform: scale(1,1);
    }
    to {
      transform: scale(1.1,1.1);
    }
  }

.image_hoshi3{
    position:absolute;
    top:0;
    left:0;
    z-index: 2;
}

.image_hoshi3 img{
    animation: anime3 0.5s ease 0s infinite alternate;
    transform-origin:center;
}
@keyframes anime3 {
    from {
      transform: scale(1,1);
    }
    to {
      transform: scale(1.1,1.1);
    }
  }


/* サイドバーのh3用cssリセットして新しいスタイル適用 */
.sidebar h3{
	border: none;
    background: none;
    padding: 0;
	border-bottom: 6px double #000;
	color: #000
}

.sidebar h3:first-letter{
	font-size: 150%;
    color: #EB8686;
}

.sidebar h3::before{
    content: none;
}

.sidebar h3::after{
    content: none;
}

.button01{
	width: 100%;
	text-align: center;
	font-size: 0;
    margin-bottom: 32.4px;
}

.button01 a{
	text-decoration: none;
    display: inline-block;
	outline: 0;
	border: none;
	box-shadow: none;
	cursor: pointer;
	padding: 9px 22px;
	font-size: 22px;
	height: 50px;
	font-weight: 400;
	color: #fff;
	text-align: center;
	line-height: normal;
	background: rgb(162,209,196);
	background: linear-gradient(90deg, #a2d1c4 0, #e9b0ac 100%);
	border-radius: 50px;
	transition: color .2s ease,background-color .2s ease,box-shadow .2s ease;
}

.button01 a:hover{
	color: #fff;
	text-decoration: none;
	box-shadow: 0 0 0 0.15rem #5ceace;
}


.button02{
	width: 100%;
	text-align: center;
	font-size: 0;
   margin-bottom: 32.4px;
}

.button02 a{
	text-decoration: none;
    display: inline-block;
	outline: 0;
	border: none;
	box-shadow: none;
	cursor: pointer;
	padding: 9px 22px;
	font-size: 22px;
	height: 50px;
	font-weight: 400;
	color: #fff;
	text-align: center;
	line-height: normal;
	background: rgb(255,189,18);
	border-radius: 50px;
	transition: color .2s ease,background-color .2s ease,box-shadow .2s ease;
}

.button02 a:hover{
	color: #fff;
	text-decoration: none;
	box-shadow: 0 0 0 0.15rem #5ceace;
}




.button_caption{
	font-size: 14px;
}


.button_caption::before{
	content: "＼";
}


.button_caption::after{
	content: "／";
}

/************************************
** ■見出しカスタマイズ（h2-6）初期化
************************************/
.article h2,
.article h3,
.article h4,
.article h5,
.article h6{
  padding: 0;
  margin: 0;
  font-size: medium;
  border-collapse: separate;
  border-spacing: 0;
  border-top: none;
  border-right: none;
  border-bottom: none;
  border-left: none;
  line-height: normal;
  position:relative;
  margin-bottom: 32.4px;
}

/************************/
/* 見出しタグ */
/************************/
.article h2{
color: #fff;
font-size: 33px;
position: relative;
padding: 8px 0 8px 24px;
border-radius: 32px 0;
background: #348498;
}
.article h3{
border:none;
font-size: 27px;
}
.article h3::first-letter {
padding-left: 10px;
font-size: 33px;
color: #fb8a8a;
margin-right: 2px;
border-left:solid 1px #9d9d9d;
}

.article h4 {
  /*線の種類（二重線）太さ 色*/
  border: none;
  background: none;
  font-size: 21px;
  border-bottom: double 5px #348498;
}

.article h5{
padding: 0.2em;
border-bottom: dotted 2px #fb8a8a;
font-size: 18px;
}

/* chatGPT作成 */
/* 中央配置＆アフィリエイトボタンのスタイル */
.cta-button-wrapper {
  text-align: center;
  margin: 30px 0;
}

.cta-button {
  display: inline-block;
  background-color: #ffc107;
  color: #000;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #e0a800;
  color: #000;
}

/* chatGPT作成 */
/* アフィリエイト開示ボックス（冒頭）のスタイル */
.aff-disclosure {
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 0.75rem;
  line-height: 1.7;
}
.aff-disclosure strong { font-weight: 700; }



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

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

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
  /*抜粋記事なし*/
  .blogcard-snippet {
    display: none;
  }

  /*ブログカードタイトル大きく*/
  .blogcard-title {
    font-size: 1.2rem; 
  }
}
