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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* フローティングバナー */
.floating-banner {
    position: fixed;
    top: 14%;
    right: 0px;
    transform: translateY(-50%);
    z-index: 20;
    height: 68px;
}
.floating-banner a {
  display: flex;
  align-items: center;
  gap: 0.5em;
  writing-mode:initial;
  color: #fff; /* 文字色 */
  font-size: 16px; /* 文字サイズ */
  font-weight: 700; /* 文字太さ */
  background-color: #c9151e; /* 背景色 */
  letter-spacing: 0.1em; /* 文字間隔 */
  padding: 1.2em 0.7em; /* 上下左右余白 */
  border-radius: 10px 0 0 10px; /* 角丸 */
  transition: opacity 0.25s;
}
.floating-banner a:hover {
  opacity: 0.7;
}
.floating-banner i::before {
  padding-bottom:3px; /* フォントアイコンの余白調整 */
}

@media screen and (max-width: 600px) {
  .floating-banner {
    display: none; /* スマホで非表示 */
  }
	.floating-banner {
    position: fixed;
    bottom: 5%;
    right: 0px;
    transform: translateY(-50%);
    z-index: 20;
    height: 38px;
}
	.floating-banner a {
    display: flex;
    align-items: center;
    gap: 0.5em;
    writing-mode: initial;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    background-color: #c9151e;
    letter-spacing: 0.1em;
    padding: 1.2em 0.7em;
    border-radius: 10px 0 0 10px;
    transition: opacity 0.25s;
}
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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