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

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

/**
 * Webアプリ紹介記事の起動導線。
 *
 * 通常のボタンよりもアプリ名と用途を先に伝え、リンク先がWebアプリで
 * あることを、記事本文を読み飛ばした場合でも判断できる構成にする。
 */
a.popomee-app-launch,
a.popomee-app-launch:visited {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 36px;
  gap: 14px;
  align-items: center;
  margin: 28px 0;
  padding: 16px 18px;
  border: 1px solid #254548;
  border-radius: 8px;
  background: #31585b;
  color: #fff;
  text-decoration: none;
}

a.popomee-app-launch:hover {
  border-color: #1e3b3d;
  background: #26494c;
  color: #fff;
  text-decoration: none;
}

.popomee-app-launch:focus-visible {
  outline: 3px solid #305d84;
  outline-offset: 3px;
}

.popomee-app-launch__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 6px;
  background: #dd6b5d;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
}

.popomee-app-launch__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.popomee-app-launch__title,
.popomee-app-launch__description {
  display: block;
}

.popomee-app-launch__title {
  color: #fff;
  font-size: 1.0625rem;
  line-height: 1.4;
  word-break: keep-all;
}

.popomee-app-launch__description {
  color: #edf8f8;
  font-size: 0.875rem;
  line-height: 1.5;
}

.popomee-app-launch__arrow {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #dd6b5d;
  border-radius: 6px;
  background: #dd6b5d;
  color: #fff;
  font-size: 1.25rem;
}

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

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

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

  .popomee-app-launch {
    grid-template-columns: 36px minmax(0, 1fr) 28px;
    gap: 8px;
    padding: 14px;
  }

  .popomee-app-launch__icon {
    width: 36px;
    height: 36px;
    font-size: 1.375rem;
  }

  .popomee-app-launch__title {
    font-size: 0.9375rem;
  }

  .popomee-app-launch__description {
    font-size: 0.8125rem;
  }

  .popomee-app-launch__arrow {
    width: 28px;
    height: 28px;
    font-size: 1.125rem;
  }
}
