@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){
  /*必要ならばここにコードを書く*/
}

/* ===============================
   スマホ向け記事パーツ共通デザイン
================================ */

.sp-box,
.sp-summary-box,
.sp-point-box,
.sp-jump-box,
.sp-related-box,
.sp-cta-box,
.sp-step-box,
.sp-faq-box {
  box-sizing: border-box;
  width: 100%;
  margin: 1.4em 0;
  padding: 1.1em;
  border-radius: 14px;
  line-height: 1.8;
  font-size: 0.96em;
}

.sp-box-title {
  display: flex;
  align-items: center;
  gap: 0.45em;
  margin-bottom: 0.7em;
  font-weight: 700;
  font-size: 1.05em;
}

.sp-box-title::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7em;
  height: 1.7em;
  border-radius: 50%;
  color: #fff;
  font-size: 0.9em;
  font-weight: 700;
}

/* 冒頭まとめボックス */
.sp-summary-box {
  background: #fff7f8;
  border: 1px solid #f4a7b9;
}

.sp-summary-box .sp-box-title {
  color: #d9486e;
}

.sp-summary-box .sp-box-title::before {
  content: "✓";
  background: #e85b7f;
}

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

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

/* ポイントボックス */
.sp-point-box {
  background: #fff9e8;
  border: 1px solid #f2c66d;
}

.sp-point-box .sp-box-title {
  color: #c78600;
}

.sp-point-box .sp-box-title::before {
  content: "!";
  background: #f0a400;
}

/* ジャンプリンク */
.sp-jump-box {
  background: #f7f5ff;
  border: 1px solid #c9bdf5;
}

.sp-jump-box .sp-box-title {
  color: #6653b6;
}

.sp-jump-box .sp-box-title::before {
  content: "↘";
  background: #7a67d8;
}

.sp-jump-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65em;
}

.sp-jump-buttons a {
  display: block;
  padding: 0.85em 0.6em;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #cfc6f5;
  color: #5544aa;
  text-align: center;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.92em;
}

.sp-jump-buttons a:hover {
  opacity: 0.85;
}

/* 比較表：スマホ対応 */
.sp-compare-wrap {
  margin: 1.4em 0;
  overflow-x: auto;
}

.sp-compare-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.92em;
  background: #fff;
}

.sp-compare-table th {
  background: #eaf7ed;
  color: #23723b;
  font-weight: 700;
}

.sp-compare-table th,
.sp-compare-table td {
  border: 1px solid #d8e6dc;
  padding: 0.75em;
  text-align: left;
  vertical-align: top;
}

/* スマホではカード型に切り替えたい場合 */
.sp-card-compare {
  display: grid;
  gap: 0.9em;
  margin: 1.4em 0;
}

.sp-card-item {
  background: #fff;
  border: 1px solid #d8e6dc;
  border-radius: 12px;
  padding: 1em;
}

.sp-card-item-title {
  font-weight: 700;
  color: #23723b;
  margin-bottom: 0.5em;
}

.sp-card-item dl {
  margin: 0;
}

.sp-card-item dt {
  font-weight: 700;
  color: #555;
  margin-top: 0.5em;
}

.sp-card-item dd {
  margin: 0.2em 0 0.5em;
}

/* STEP解説 */
.sp-step-box {
  background: #f5f9ff;
  border: 1px solid #b7d0f2;
}

.sp-step-box .sp-box-title {
  color: #2367aa;
}

.sp-step-box .sp-box-title::before {
  content: "1";
  background: #2f80d8;
}

.sp-step-list {
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sp-step-list li {
  counter-increment: step;
  position: relative;
  padding: 0.85em 0.85em 0.85em 3.1em;
  margin-bottom: 0.7em;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #d8e8fb;
}

.sp-step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0.85em;
  top: 0.85em;
  width: 1.7em;
  height: 1.7em;
  border-radius: 50%;
  background: #2f80d8;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* FAQ */
.sp-faq-box {
  background: #f4fbfa;
  border: 1px solid #a9ded8;
}

.sp-faq-box .sp-box-title {
  color: #168277;
}

.sp-faq-box .sp-box-title::before {
  content: "?";
  background: #20a99a;
}

.sp-faq-item {
  margin-bottom: 0.7em;
  background: #fff;
  border: 1px solid #cbeae6;
  border-radius: 10px;
  overflow: hidden;
}

.sp-faq-item summary {
  cursor: pointer;
  padding: 0.9em 1em;
  font-weight: 700;
  list-style: none;
}

.sp-faq-item summary::-webkit-details-marker {
  display: none;
}

.sp-faq-item summary::after {
  content: "＋";
  float: right;
  color: #168277;
}

.sp-faq-item[open] summary::after {
  content: "－";
}

.sp-faq-answer {
  padding: 0 1em 1em;
  color: #444;
}

/* 関連記事カード */
.sp-related-box {
  background: #fff7fa;
  border: 1px solid #efb5c8;
}

.sp-related-box .sp-box-title {
  color: #c94f78;
}

.sp-related-box .sp-box-title::before {
  content: "→";
  background: #dd6b91;
}

.sp-related-card {
  display: flex;
  align-items: center;
  gap: 0.9em;
  padding: 0.9em;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #f0c6d5;
  text-decoration: none;
  color: #333;
}

.sp-related-thumb {
  flex: 0 0 72px;
  height: 72px;
  border-radius: 10px;
  background: #f2f2f2;
  overflow: hidden;
}

.sp-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sp-related-text {
  flex: 1;
}

.sp-related-label {
  display: inline-block;
  margin-bottom: 0.25em;
  color: #c94f78;
  font-size: 0.8em;
  font-weight: 700;
}

.sp-related-title {
  font-weight: 700;
  line-height: 1.6;
}

/* CTAボックス */
.sp-cta-box {
  background: #f2f7ff;
  border: 2px solid #2f80d8;
  text-align: center;
}

.sp-cta-title {
  margin-bottom: 0.5em;
  color: #1f5f9f;
  font-weight: 700;
  font-size: 1.08em;
}

.sp-cta-text {
  margin-bottom: 0.9em;
  color: #444;
}

.sp-cta-button {
  display: block;
  padding: 0.95em 1em;
  border-radius: 999px;
  background: #2f80d8;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}

.sp-cta-button:hover {
  opacity: 0.88;
}

/* スマホ調整 */
@media screen and (max-width: 480px) {
  .sp-box,
  .sp-summary-box,
  .sp-point-box,
  .sp-jump-box,
  .sp-related-box,
  .sp-cta-box,
  .sp-step-box,
  .sp-faq-box {
    padding: 1em;
    border-radius: 12px;
    font-size: 0.95em;
  }

  .sp-jump-buttons {
    grid-template-columns: 1fr;
  }

  .sp-related-card {
    align-items: flex-start;
  }

  .sp-related-thumb {
    flex-basis: 64px;
    height: 64px;
  }
}

/* PC表示時：記事パーツの横幅を整える */
@media screen and (min-width: 769px) {
  .sp-summary-box,
  .sp-point-box,
  .sp-jump-box,
  .sp-related-box,
  .sp-cta-box,
  .sp-step-box,
  .sp-faq-box,
  .sp-card-compare,
  .sp-compare-wrap {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  .sp-card-compare {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===============================
   ozu100.jp 追加記事パーツ
   説明記事の飽き防止・スマホ読みやすさ改善
================================ */

/* 共通 */
.ozu-talk,
.ozu-answer-label,
.ozu-reason-box,
.ozu-choice-box,
.ozu-calc-box,
.ozu-store-check-box,
.ozu-alert-box,
.ozu-mini-summary,
.ozu-h2-lead {
  box-sizing: border-box;
  width: 100%;
  margin: 1.4em 0;
  line-height: 1.8;
  font-size: 0.96em;
}

/* 1. 吹き出しコメント */
.ozu-talk {
  display: flex;
  gap: 0.9em;
  align-items: flex-start;
}

.ozu-talk-icon {
  flex: 0 0 58px;
  text-align: center;
}

.ozu-talk-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff3cf;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6em;
  margin: 0 auto 0.25em;
}

.ozu-talk-name {
  font-size: 0.75em;
  color: #777;
}

.ozu-talk-balloon {
  position: relative;
  flex: 1;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  padding: 1em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.ozu-talk-balloon::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 20px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 9px solid #e5e5e5;
}

.ozu-talk-balloon::after {
  content: "";
  position: absolute;
  left: -7px;
  top: 21px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 8px solid #fff;
}

/* 2. 結論ラベル */
.ozu-answer-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75em;
  padding: 1em;
  background: #f5fbf1;
  border: 1px solid #a7d78a;
  border-radius: 12px;
}

.ozu-answer-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #5bae42;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.ozu-answer-text strong {
  color: #2f7d26;
}

/* 3. 理由ポイントボックス */
.ozu-reason-box {
  background: #fffaf0;
  border: 1px solid #f0c66a;
  border-radius: 14px;
  padding: 1.1em;
}

.ozu-reason-title {
  display: flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 700;
  color: #b97800;
  margin-bottom: 0.7em;
}

.ozu-reason-title::before {
  content: "💡";
  font-size: 1.2em;
}

.ozu-reason-box ul {
  margin: 0;
  padding-left: 1.3em;
}

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

/* 4. 迷ったらコレ！ボックス */
.ozu-choice-box {
  position: relative;
  background: #fff7f7;
  border: 2px solid #e85d75;
  border-radius: 14px;
  padding: 1.3em 1em 1em;
}

.ozu-choice-title {
  display: inline-block;
  position: absolute;
  top: -1.05em;
  left: 50%;
  transform: translateX(-50%);
  background: #e85d75;
  color: #fff;
  padding: 0.35em 1.3em;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}

.ozu-choice-list {
  display: grid;
  gap: 0.65em;
  margin-top: 0.3em;
}

.ozu-choice-item {
  background: #fff;
  border: 1px solid #f1b8c3;
  border-radius: 10px;
  padding: 0.8em;
}

.ozu-choice-item strong {
  color: #d8425f;
}

/* 5. 料金計算カード */
.ozu-calc-box {
  background: #f5f9ff;
  border: 1px solid #b8d4f4;
  border-radius: 14px;
  padding: 1.1em;
}

.ozu-calc-title {
  font-weight: 700;
  color: #2367aa;
  margin-bottom: 0.8em;
}

.ozu-calc-formula {
  background: #fff;
  border: 1px dashed #7fb0e4;
  border-radius: 12px;
  padding: 1em;
  font-weight: 700;
  text-align: center;
  color: #1f5f9f;
}

.ozu-calc-note {
  margin-top: 0.75em;
  font-size: 0.9em;
  color: #555;
}

/* 6. 店舗ページで見る場所ボックス */
.ozu-store-check-box {
  background: #f4fbfa;
  border: 1px solid #9eddd5;
  border-radius: 14px;
  padding: 1.1em;
}

.ozu-store-check-title {
  display: flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 700;
  color: #168277;
  margin-bottom: 0.7em;
}

.ozu-store-check-title::before {
  content: "🔎";
  font-size: 1.15em;
}

.ozu-check-grid {
  display: grid;
  gap: 0.55em;
}

.ozu-check-grid div {
  background: #fff;
  border: 1px solid #c8e8e4;
  border-radius: 10px;
  padding: 0.7em 0.85em;
}

.ozu-check-grid div::before {
  content: "✓";
  color: #168277;
  font-weight: 700;
  margin-right: 0.4em;
}

/* 7. 注意点アラート */
.ozu-alert-box {
  background: #fff5f5;
  border: 1px solid #ef9a9a;
  border-left: 5px solid #e54848;
  border-radius: 12px;
  padding: 1em;
}

.ozu-alert-title {
  font-weight: 700;
  color: #d33b3b;
  margin-bottom: 0.5em;
}

.ozu-alert-title::before {
  content: "⚠ ";
}

/* 8. ミニまとめボックス */
.ozu-mini-summary {
  background: #f7fbff;
  border: 1px dashed #79aee8;
  border-radius: 14px;
  padding: 1.1em;
}

.ozu-mini-summary-title {
  font-weight: 700;
  color: #2367aa;
  margin-bottom: 0.6em;
}

.ozu-mini-summary-title::before {
  content: "📝 ";
}

.ozu-mini-summary ul {
  margin: 0;
  padding-left: 1.2em;
}

/* 9. H2直下の短い導入ボックス */
.ozu-h2-lead {
  background: #ffffff;
  border-left: 5px solid #f0b429;
  padding: 0.8em 1em;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}

.ozu-h2-lead strong {
  color: #b97800;
}

/* PC表示調整 */
@media screen and (min-width: 769px) {
  .ozu-talk,
  .ozu-answer-label,
  .ozu-reason-box,
  .ozu-choice-box,
  .ozu-calc-box,
  .ozu-store-check-box,
  .ozu-alert-box,
  .ozu-mini-summary,
  .ozu-h2-lead {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  .ozu-check-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホ調整 */
@media screen and (max-width: 480px) {
  .ozu-talk {
    gap: 0.65em;
  }

  .ozu-talk-icon {
    flex-basis: 48px;
  }

  .ozu-talk-icon-circle {
    width: 46px;
    height: 46px;
    font-size: 1.35em;
  }

  .ozu-talk-balloon {
    padding: 0.9em;
  }

  .ozu-choice-title {
    font-size: 0.9em;
  }
}

/* 吹き出しアイコンを画像にする */
.ozu-talk-icon-img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 0.25em;
  border: 2px solid #fff3cf;
  background: #fff3cf;
}

@media screen and (max-width: 480px) {
  .ozu-talk-icon-img {
    width: 46px;
    height: 46px;
  }
}

/* ===============================
   ozu100.jp リード文デザイン
================================ */

.ozu-lead-box {
  margin: 1.4em 0;
  padding: 1.2em 1.1em;
  background: linear-gradient(135deg, #fffaf0 0%, #fff7f7 100%);
  border: 1px solid #f0c66a;
  border-radius: 16px;
  line-height: 1.9;
  box-shadow: 0 3px 12px rgba(0,0,0,0.05);
}

.ozu-lead-label {
  display: inline-block;
  margin-bottom: 0.7em;
  padding: 0.25em 0.85em;
  background: #f0b429;
  color: #fff;
  border-radius: 999px;
  font-size: 0.86em;
  font-weight: 700;
}

.ozu-lead-box p {
  margin: 0 0 0.8em;
}

.ozu-lead-box p:last-child {
  margin-bottom: 0;
}

.ozu-lead-box strong {
  color: #d76b00;
}

@media screen and (min-width: 769px) {
  .ozu-lead-box {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }
}