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

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

/************************************
** Googleカレンダー埋め込みブロック
************************************/
.flatfield-calendar {
  margin-bottom: 28px;
}
.flatfield-calendar__note {
  font-size: 12px;
  color: #555;
  background: #f0faf6;
  border-left: 3px solid #2ca98a;
  padding: 8px 12px;
  margin: 12px 0 10px;
  line-height: 1.7;
}
.flatfield-calendar__frame {
  width: 100%;
  border: none;
  display: block;
}

/************************************
** LINE 友達登録ウィジェット（サイドバー）
************************************/
.flatfield-line-widget {
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 2px;
  overflow: hidden;
}
.flatfield-line-widget__heading {
  background: #06c755;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.flatfield-line-widget__heading::before {
  content: '';
  display: inline-block;
  width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M19.365 9.863c.349 0 .63.285.63.631 0 .345-.281.63-.63.63H17.61v1.125h1.755c.349 0 .63.283.63.63 0 .344-.281.629-.63.629h-2.386c-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63h2.386c.346 0 .627.285.627.63 0 .349-.281.63-.63.63H17.61v1.125h1.755zm-3.855 3.016c0 .27-.174.51-.432.596-.064.021-.133.031-.199.031-.211 0-.391-.09-.51-.25l-2.443-3.317v2.94c0 .344-.279.629-.631.629-.346 0-.626-.285-.626-.629V8.108c0-.27.173-.51.43-.595.06-.023.136-.033.194-.033.195 0 .375.104.495.254l2.462 3.33V8.108c0-.345.282-.63.63-.63.345 0 .63.285.63.63v4.771zm-5.741 0c0 .344-.282.629-.631.629-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63.346 0 .628.285.628.63v4.771zm-2.466.629H4.917c-.345 0-.63-.285-.63-.629V8.108c0-.345.285-.63.63-.63.348 0 .63.285.63.63v4.141h1.756c.348 0 .629.283.629.63 0 .344-.281.629-.629.629M24 10.314C24 4.943 18.615.572 12 .572S0 4.943 0 10.314c0 4.811 4.27 8.842 10.035 9.608.391.082.923.258 1.058.59.12.301.079.766.038 1.08l-.164 1.02c-.045.301-.24 1.186 1.049.645 1.291-.539 6.916-4.078 9.436-6.975C23.176 14.393 24 12.458 24 10.314'/%3E%3C/svg%3E") no-repeat center/contain;
}
.flatfield-line-widget__body {
  background: #fff;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.flatfield-line-widget__desc {
  font-size: 12px;
  color: #555;
  text-align: center;
  line-height: 1.6;
  margin: 0;
}
.flatfield-line-widget__qr {
  display: block;
  width: 150px; height: 150px;
}
.flatfield-line-widget__btn {
  display: block;
  width: 100%;
  background: #06c755;
  color: #fff !important;
  text-align: center;
  padding: 10px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none !important;
  transition: opacity .2s;
}
.flatfield-line-widget__btn:hover {
  opacity: .85;
}
.flatfield-line-widget__caption {
  font-size: 10px;
  color: #aaa;
  text-align: center;
  margin: 0;
}

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

/*834px以下*/
@media screen and (max-width: 834px){
  .flatfield-calendar__frame {
    height: 420px;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  .flatfield-calendar__frame {
    height: 360px;
  }
}
