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

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

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

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

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

/* フローティングバナー */
.floating-banner {
  position: fixed;
  top: 96%; /* 縦位置 */
  right: 60px; /* 右端からの位置 */
  transform: translateY(-50%);
  z-index: 20;
}
.floating-banner a {
  display: flex;
  align-items: center;
  gap: 0.5em;
  /*writing-mode: vertical-rl;*/
  color: #fff; /* 文字色 */
  font-size: 16px; /* 文字サイズ */
  font-weight: 700; /* 文字太さ */
  /*background-color: #197A80;*/ /* 背景色 */
  background-color: #f29600; /* 背景色 */
  letter-spacing: 0.1em; /* 文字間隔 */
  padding: 1.2em 0.7em; /* 上下左右余白 */
  border-radius: 10px 10px 10px 10px; /* 角丸 */
  transition: opacity 0.25s;
}
.floating-banner a:hover {
  opacity: 0.7;
}
.floating-banner i::before {
  padding-bottom:3px; /* フォントアイコンの余白調整 */
}

@media screen and (max-width: 834px) {
  .floating-banner {
    position: fixed;
    top: 88%; /* 縦位置 */
    right: 10px; /* 右端からの位置 */
    transform: translateY(-50%);
    z-index: 20;
  }
  .floating-banner a {
    display: flex;
    align-items: center;
    gap: 0em;
    /*writing-mode: vertical-rl;*/
    color: #fff; /* 文字色 */
    font-size: 12px; /* 文字サイズ */
    font-weight: 400; /* 文字太さ */
    /*background-color: #197A80;*/ /* 背景色 */
    background-color: #f29600; /* 背景色 */
    letter-spacing: 0.1em; /* 文字間隔 */
    padding: 1.2em 0.7em; /* 上下左右余白 */
    border-radius: 10px 10px 10px 10px; /* 角丸 */
    transition: opacity 0.25s;
  }
  .floating-banner a:hover {
    opacity: 0.7;
  }
  .floating-banner i::before {
    padding-bottom:3px; /* フォントアイコンの余白調整 */
  }
}