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

.appreach {
  text-align: left;
  padding: 10px;
  border: 1px solid #7C7C7C;
  overflow: hidden;
}
.appreach:after {
  content: "";
  display: block;
  clear: both;
}
.appreach p {
  margin: 0;
}
.appreach a:after {
  display: none;
}
.appreach__icon {
  float: left;
  border-radius: 10%;
  overflow: hidden;
  margin: 0 3% 0 0 !important;
  width: 25% !important;
  height: auto !important;
  max-width: 120px !important;
}
.appreach__detail {
  display: inline-block;
  font-size: 20px;
  line-height: 1.5;
  width: 72%;
  max-width: 72%;
}
.appreach__detail:after {
  content: "";
  display: block;
  clear: both;
}
.appreach__name {
  font-size: 16px;
  line-height: 1.5em !important;
  max-height: 3em;
  overflow: hidden;
}
.appreach__info {
  font-size: 12px !important;
}
.appreach__developper, .appreach__price {
  margin-right: 0.5em;
}
.appreach__posted a {
  margin-left: 0.5em;
}
.appreach__links {
  float: left;
  height: 40px;
  margin-top: 8px;
  white-space: nowrap;
}
.appreach__aslink img {
  margin-right: 10px;
  height: 40px;
  width: 135px;
}
.appreach__gplink img {
  height: 40px;
  width: 134.5px;
}
.appreach__star {
  position: relative;
  font-size: 14px !important;
  height: 1.5em;
  width: 5em;
}
.appreach__star__base {
  position: absolute;
  color: #737373;
}
.appreach__star__evaluate {
  position: absolute;
  color: #ffc107;
  overflow: hidden;
  white-space: nowrap;
}
/* プロフィールリンク削除(2026/3) */
.author-box .author-name a {
  pointer-events: none;
  text-decoration: none;
  color: inherit;
}
/* 行間調整*/
.entry-content p {
  line-height: 1.9;
  margin-bottom: 1.5em;
}
/* 見出し強調　*/
.entry-content h2 {
  border-left: 5px solid #0073aa;
  padding-left: 12px;
  margin-top: 2em;
  font-size: 22px;
}
/* リンク強調　*/
.entry-content a {
  color: #0073aa;
  text-decoration: underline;
}
/* 全体質感UP　*/
.entry-content img {
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
/* スマホ最適化　*/
@media screen and (max-width: 768px) {
  .entry-content {
    padding: 0 12px;
  }
}
/* ブログカードを浮かせる */
.entry-card-wrap {
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 12px; /* 角丸でやわらかく */
  overflow: hidden;
}

/* ホバー時に浮きと影 */
.entry-card-wrap:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}
/*SNSボタン制御*/
.author-box .sns-follow a {
  border-radius: 50%;
  transition: 0.3s;
}

.author-box .sns-follow a:hover {
  transform: translateY(-3px);
}
/* プロフィール内リンクを中央寄せ */
.author-box p:last-child {
  text-align: center;
  margin-top: 10px;
}
/* ライン付きリンク */
.author-box p a {
  display: inline-block;
  font-weight: bold;
  color: #0073aa;
  text-decoration: none;
  border-bottom: 2px solid #0073aa;
  padding-bottom: 2px;
  transition: 0.3s;
}
.author-box p a:hover {
  color: #005177;
  border-bottom: 2px solid #005177;
}
/*外側ほんのりグレー*/
.main {
  background: #f7f7f7;
}
.author-box .avatar {
  width: 110px !important;
  height: 110px !important;
  border-radius: 50%;
}
/* ===== 記事エリアを自然におしゃれ化 ===== */
.content {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  padding: 20px;
  box-sizing: border-box;
}
/* ===== スマホ調整（重要） ===== */
@media screen and (max-width: 768px) {
  .content {
    padding: 15px;
    border-radius: 8px;
  }
}
.entry-content {
  font-size: 16px;
}
/* サイドバー調整 */
.sidebar {
  padding-left: 10px;
}

/* 最新記事タイトル中央＋装飾 */
.sidebar-title-new {
  text-align: center;
  font-weight: bold;
  position: relative;
  margin-bottom: 15px;
}

/* ワンポイントマーク */
.sidebar-title-new::before {
  font-family: "Font Awesome 5 Free";
  content: "\f017";
  font-weight: 900;
  color: #0073aa;
  margin-right: 6px;
}
/* 「次のページ」ボタンを非表示 */
.pagination-next-link {
  display: none !important;
}
/* プロフィールボックス全体 */
.author-box {
  text-align: center;
  padding: 20px 15px;
}

/* アイコンを中央＆少し大きく */
.author-box .author-thumb {
  float: none;
  margin: 0 auto 10px;
}

.author-box .author-thumb img {
  width: 80px;
  height: 80px;
}

/* 名前 */
.author-box .author-name {
  font-size: 16px;
  margin-bottom: 8px;
}

/* 説明文 */
.author-box p {
  font-size: 14px;
  line-height: 1.7;
}
/* フッター全体 */
.custom-footer {
  background: #f7f7f7;
  padding: 40px 20px;
}

/* 横並びの本体 */
.footer-inner {
  display: flex !important;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

/* 各ブロック */
.footer-box {
  flex: 1;
  min-width: 250px;
}

/* 見出し */
.footer-box h3 {
  font-size: 16px;
  margin-bottom: 15px;
  padding-left: 10px;
  position: relative;
}

/* 左の縦線 */
.footer-box h3 {
  position: relative;
  padding-left: 12px;
  line-height: 1.4;
}

.footer-box h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 1em;
  background: #0073aa;
}

/* リスト */
.footer-box ul {
  list-style: none;
  padding: 0;
}

.footer-box li {
  margin-bottom: 8px;
}

/* リンク */
.footer-box a {
  text-decoration: none;
  color: #333;
}

.footer-box a:hover {
  color: #0073aa;
}

/* スマホ */
@media screen and (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
  }
}
/* フッター左をぶち抜く */
.footer-left {
  width: 100% !important;
  max-width: 100% !important;
}

/* あなたのフッターを画面いっぱいに */
.custom-footer {
  width: 100%;
  margin-left: 0;
  background: #f7f7f7;
  padding: 40px 20px;
  box-sizing: border-box;
}
/* フッター文字調整 */
.footer-box h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer-box li {
  font-size: 14px;
  line-height: 1.7;
}

.footer-box p {
  font-size: 14px;
  line-height: 1.7;
}
@media screen and (max-width: 480px){
  .speech-person {
    width: 80px;
    min-width: 80px;
  }
}
@media screen and (max-width: 768px) {
  .entry-content {
    font-size: 15px;
    line-height: 1.9;
  }
}
/* ===== シェア全体 ===== */
.sns-share {
  text-align: center;
  margin-top: 40px;
}

/* SHAREタイトル */
.sns-share::before {
  content: "SHARE";
  display: block;
  font-size: 14px;
  color: #bbb;
  margin-bottom: 15px;
  letter-spacing: 3px;
}

/* 横並び */
.sns-share ul {
  display: flex;
  justify-content: center;
  gap: 10px;
}
/* ボタン（色は残す） */
.sns-share a {
  border-radius: 8px;
  padding: 8px 10px;
  box-shadow: none !important;
}

/* 少し淡くする */
.sns-share a {
  opacity: 0.9;
}

/* ホバー */
.sns-share a:hover {
  opacity: 1;
  transform: translateY(-2px);
}
@media screen and (max-width: 768px) {
  .sns-share-buttons {
    display: flex !important;
    flex-wrap: nowrap !important; /* 折り返し禁止 */
    gap: 6px;
  }

  .sns-share-buttons a {
    flex: 1; /* ← 均等に縮む */
    text-align: center;
    padding: 8px 4px;
    font-size: 11px;
  }

  .sns-share-buttons i {
    font-size: 18px;
  }
}
/* 吹き出しアイコン調整 */
.speech-person img {
  border-radius: 50% !important;
  object-fit: cover;
}
.speech-balloon {
  border-radius: 16px !important;
  padding: 12px 14px;
}

.speech-balloon::before {
  border-radius: 4px;
}
.update-box {
  position: relative;
  border: 1px solid #eee;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  padding: 24px 14px 14px;
  margin-top: 18px;
  overflow: visible;
}

/* タブ部分 */
.update-title {
  position: absolute;
  top: -14px;
  left: 14px;
  margin: 0;
  padding: 4px 12px;
  background: #fff;
  border: 1px solid #00a0c0;
  border-radius: 999px;
  font-weight: bold;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 中身だけスクロール */
.update-scroll {
  max-height: 180px;
  overflow-y: auto;
}

.update-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.update-box li {
  border-bottom: 1px dashed #eee;
  padding: 8px 0;
}

.update-box li:last-child {
  border-bottom: none;
}

.update-box a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.update-box a:hover {
  color: #ff6600;
}

.date {
  font-size: 12px;
  color: #999;
  display: block;
}

.new {
  display: inline-block;
  background: #ff3b30;
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-right: 6px;
  animation:pulse 2s infinite;
}

@keyframes pulse{
50%{opacity:.7;}
}

.update-label {
  display: inline-block;
  background: #00a0c0;
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 6px;
}
.info-label {
  display: inline-block;
  background: #666;
  color: #fff;
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 4px;
  margin-right: 6px;
}

.comment-guide{
  display:flex !important;
  align-items:center !important;
  gap:20px !important;
  margin:24px 0 28px !important;
  overflow:visible !important;
}

.comment-guide img.comment-chara{
  width:90px !important;
  max-width:none !important;
  height:auto !important;
  display:block !important;
  flex:0 0 90px !important;
border-radius:50% / 40% !important; /* 楕円 */
  box-shadow:0 2px 6px rgba(0,0,0,0.08) !important;
}}

.comment-guide .comment-bubble{
  display:block !important;
  background:#ffffff !important;
  border-radius:12px !important;
  padding:14px 18px !important;
  font-size:16px !important;
  line-height:1.8 !important;
  color:#333 !important;
  position:relative !important;
  margin:0 !important;
}

.comment-guide .comment-bubble:before{
  content:"" !important;
  position:absolute !important;
  top:20px !important;
  left:-12px !important;
  width:0 !important;
  height:0 !important;
  border-top:8px solid transparent !important;
  border-bottom:8px solid transparent !important;
  border-right:12px solid #e0f4ff !important;
}

@media screen and (max-width: 480px){
  .comment-guide{
    gap:12px !important;
    align-items:flex-start !important;
  }

  .comment-guide img.comment-chara{
    width:72px !important;
    flex:0 0 72px !important;
  }

  .comment-guide .comment-bubble{
    font-size:14px !important;
    line-height:1.7 !important;
    padding:10px 12px !important;
  }

  .comment-guide .comment-bubble:before{
    top:16px !important;
  }
}
/* =========================
   キャラ＋吹き出し 共通
========================= */
.comment-guide,
.contact-guide{
  display:flex !important;
  align-items:center !important;
  gap:20px !important;
  margin:24px 0 28px !important;
  overflow:visible !important;
}

/* キャラ画像 */
.comment-guide .comment-chara,
.contact-guide .contact-chara{
  width:90px !important;
  height:70px !important;
  max-width:none !important;
  object-fit:cover !important;
  display:block !important;
  flex:0 0 90px !important;
  border-radius:50% / 40% !important; /* 楕円 */
  box-shadow:0 2px 6px rgba(0,0,0,0.08) !important;
}

/* 吹き出し本体 */
.comment-guide .comment-bubble,
.contact-guide .contact-bubble{
  display:block !important;
  background:#ffffff !important;
  border-radius:12px !important;
  padding:14px 18px !important;
  font-size:16px !important;
  line-height:1.8 !important;
  color:#333 !important;
  position:relative !important;
  margin:0 !important;
  box-shadow:0 2px 6px rgba(0,0,0,0.04) !important;
}

/* 吹き出しの三角 */
.comment-guide .comment-bubble:before,
.contact-guide .contact-bubble:before{
  content:"" !important;
  position:absolute !important;
  top:20px !important;
  left:-12px !important;
  width:0 !important;
  height:0 !important;
  border-top:8px solid transparent !important;
  border-bottom:8px solid transparent !important;
  border-right:12px solid #ffffff !important;
}

/* =========================
   Contact Form 7 本体
========================= */
.wpcf7 form p{
  margin-bottom:18px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 textarea{
  width:100%;
  border:1px solid #ddd;
  border-radius:12px;
  background:#fff;
  padding:14px 16px;
  font-size:16px;
  line-height:1.6;
  box-sizing:border-box;
  -webkit-appearance:none;
  appearance:none;
}

.wpcf7 textarea{
  min-height:180px;
  resize:vertical;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 textarea:focus{
  outline:none;
  border-color:#8fd0f2;
  box-shadow:0 0 0 3px rgba(143,208,242,0.20);
}

.wpcf7 input[type="submit"]{
  display:inline-block;
  width:100%;
  max-width:420px;
  border:none;
  border-radius:999px;
  background:#8fd0f2;
  color:#fff;
  font-size:16px;
  font-weight:700;
  padding:14px 24px;
  cursor:pointer;
  transition:0.2s ease;
  -webkit-appearance:none;
  appearance:none;
}

.wpcf7 input[type="submit"]:hover{
  opacity:0.92;
  transform:translateY(-1px);
}

/* =========================
   コメント欄の入力欄
========================= */
.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"]{
  width:100%;
  border:1px solid #ddd;
  border-radius:12px;
  background:#fff;
  padding:14px 16px;
  font-size:16px;
  line-height:1.6;
  box-sizing:border-box;
  -webkit-appearance:none;
  appearance:none;
}

.comment-form textarea{
  min-height:180px;
  resize:vertical;
}

.comment-form textarea:focus,
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus{
  outline:none;
  border-color:#8fd0f2;
  box-shadow:0 0 0 3px rgba(143,208,242,0.20);
}

.comment-form p{
  margin-bottom:18px;
}

/* コメント送信ボタン */
.comment-form input[type="submit"],
.form-submit .submit{
  display:inline-block;
  width:100%;
  max-width:420px;
  border:none;
  border-radius:999px;
  background:#8fd0f2;
  color:#fff;
  font-size:16px;
  font-weight:700;
  padding:14px 24px;
  cursor:pointer;
  transition:0.2s ease;
  -webkit-appearance:none;
  appearance:none;
}

.comment-form input[type="submit"]:hover,
.form-submit .submit:hover{
  opacity:0.92;
  transform:translateY(-1px);
}

/* 必須マーク */
.required{
  color:#d97777;
  font-weight:700;
}

/* クッキー保存欄 */
.comment-form-cookies-consent{
  display:flex;
  align-items:flex-start;
  gap:8px;
  font-size:14px;
  line-height:1.8;
  color:#666;
}

.comment-form-cookies-consent input[type="checkbox"]{
  margin-top:4px;
}

/* =========================
   スマホ調整
========================= */
@media screen and (max-width: 480px){
  .comment-guide,
  .contact-guide{
    gap:12px !important;
    align-items:flex-start !important;
  }

  .comment-guide .comment-chara,
  .contact-guide .contact-chara{
    width:72px !important;
    height:56px !important;
    flex:0 0 72px !important;
  }

  .comment-guide .comment-bubble,
  .contact-guide .contact-bubble{
    font-size:14px !important;
    line-height:1.7 !important;
    padding:10px 12px !important;
  }

  .comment-guide .comment-bubble:before,
  .contact-guide .contact-bubble:before{
    top:16px !important;
  }

  .comment-form input[type="submit"],
  .form-submit .submit,
  .wpcf7 input[type="submit"]{
    max-width:100%;
  }
}
.comment-guide,
.contact-guide{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important; /* ←追加 */
  gap:20px !important;
  margin:24px auto 28px !important; /* ←中央寄せ */
  max-width:600px; /* ←横幅制限で美しく */
}
.footer-box ul li a::before {
  content: "> ";
  color: #0073aa;
}

/*ボックスメニューカスタマイズ*/
/* ④ 下線アクセント型 */
.box-menus {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  background: transparent !important;
  border: none !important;
  margin: 24px 0;
}

.box-menus .box-menu {
  flex: 1 1 calc(16.666% - 14px);
  min-width: 140px;
  background: #ffffff !important;
  border: 1px solid #e7edf2 !important;
  border-radius: 14px !important;
  padding: 24px 14px 20px !important;
  box-shadow: 0 6px 18px rgba(40, 60, 80, 0.05) !important;
  transition: all 0.25s ease !important;
  position: relative;
}

.box-menus .box-menu::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 12px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #9fd7cf, #9bb9d9);
  opacity: 0.75;
}

.box-menus .box-menu:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(40, 60, 80, 0.09) !important;
}

.box-menus .box-menu i,
.box-menus .box-menu .fa {
  color: #5ea9a1 !important;
  font-size: 29px !important;
  margin-bottom: 12px;
}

.box-menus .box-menu .label-box-menu {
  font-size: 16px;
  font-weight: 700 !important;
  color: #2a3640 !important;
}

.box-menus .box-menu .menu-caption {
  margin-top: 6px;
  font-size: 12px;
  color: #7d8792 !important;
}

@media (max-width: 1024px) {
  .box-menus .box-menu {
    flex: 1 1 calc(33.333% - 14px);
  }
}

@media (max-width: 767px) {
  .box-menus .box-menu {
    flex: 1 1 calc(50% - 14px);
  }
}
/* =========================
   上質系ヘッダーメニュー
========================= */

/* メニュー全体の帯 */
.navi {
  background: linear-gradient(180deg, #9ac4cf 0%, #769abf 100%) !important;
}
  box-shadow: 0 6px 16px rgba(40, 60, 80, 0.08);
  border: none !important;
}

/* メニュー内の横並び全体 */
.navi-in > ul {
  gap: 4px;
}

/* 各メニュー項目 */
.navi-in > ul > li > a {
  color: #2b3742 !important;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 18px 20px !important;
  transition: all 0.25s ease;
  position: relative;
}

/* ホバー時 */
.navi-in > ul > li > a:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #3a4a56 !important;
}

/* 下線アクセント */
.navi-in > ul > li > a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 10px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.navi-in > ul > li > a:hover::after {
  transform: scaleX(1);
}

/* 現在のページ */
.navi-in > ul > .current-menu-item > a,
.navi-in > ul > .current-menu-ancestor > a {
  background: rgba(255, 255, 255, 0.10) !important;
}

.navi-in > ul > .current-menu-item > a::after,
.navi-in > ul > .current-menu-ancestor > a::after {
  transform: scaleX(1);
}

/* サブメニュー */
.navi-in .sub-menu {
  background: #ffffff !important;
  border: 1px solid #e5edf2 !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 24px rgba(40, 60, 80, 0.10) !important;
  overflow: hidden;
}

/* サブメニューの各項目 */
.navi-in .sub-menu a {
  color: #33424d !important;
  font-size: 14px;
  padding: 14px 18px !important;
  border-bottom: 1px solid #eef3f6;
  transition: all 0.2s ease;
}

.navi-in .sub-menu li:last-child a {
  border-bottom: none;
}

.navi-in .sub-menu a:hover {
  background: #f5fafc !important;
  color: #4e9ea0 !important;
}

/* スマホメニュー開閉ボタン周辺の色調整用 */
.mobile-menu-buttons {
  background: #769abf !important;
}

/* スマホ時の見え方を少し整える */
@media (max-width: 767px) {
  .navi-in > ul > li > a {
    font-size: 14px;
    padding: 16px 14px !important;
  }
}
.header {
  padding-bottom: 10px;
}
.widget-title {
  background: #f4f8fb;
  color: #2b3742 !important;
  border-left: 4px solid #8fbac9;
}