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

/************************************
** 子テーマ用のスタイルを書く
************************************/

/* ===== 記事用カスタムクラス ===== */

.summary-box {
  border: 2px solid #4caf50;
  border-radius: 8px;
  padding: 1.2em 1.5em;
  margin: 1.5em 0;
  background-color: #f9fbe7;
}

.summary-box__title {
  font-weight: bold;
  font-size: 1.05em;
  margin-bottom: 0.6em;
  color: #2e7d32;
}

.summary-box ul {
  margin: 0;
  padding-left: 1.4em;
}

.summary-box li {
  margin-bottom: 0.4em;
}

.note {
  border-left: 4px solid #ff9800;
  padding: 0.8em 1em;
  margin: 1.2em 0;
  background-color: #fff8e1;
  font-size: 0.93em;
  color: #5d4037;
}

.note::before {
  content: "※ ";
  font-weight: bold;
  color: #e65100;
}

.balloon {
  position: relative;
  display: inline-block;
  background-color: #e3f2fd;
  border: 1px solid #90caf9;
  border-radius: 8px;
  padding: 0.8em 1.2em;
  margin: 1em 0 1em 1em;
  font-size: 0.95em;
  color: #0d47a1;
}

.balloon::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 12px 6px 0;
  border-style: solid;
  border-color: transparent #90caf9 transparent transparent;
}

.balloon::after {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px 11px 5px 0;
  border-style: solid;
  border-color: transparent #e3f2fd transparent transparent;
}

.cta-area {
  text-align: center;
  padding: 2em 1em;
  margin: 2em 0;
  background-color: #fff3e0;
  border-radius: 8px;
}

.cta-area__text {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 1em;
  color: #bf360c;
}

.cta-button {
  display: inline-block;
  padding: 0.85em 2.5em;
  background-color: #ff5722;
  color: #fff;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  box-shadow: 0 4px 10px rgba(255, 87, 34, 0.4);
}

.cta-button:hover {
  background-color: #e64a19;
  transform: translateY(-2px);
}

.cta-button:active {
  transform: translateY(0);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.95em;
}

.spec-table th,
.spec-table td {
  border: 1px solid #ddd;
  padding: 0.7em 1em;
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  background-color: #f5f5f5;
  font-weight: bold;
  width: 30%;
  color: #333;
}

.spec-table tr:nth-child(even) td {
  background-color: #fafafa;
}

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

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

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