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

/* =========================================================
   同一記事内ページ分割（<!--nextpage-->）のページ送り 最終CSS
   - functions.php が出力する .my-page-links を装飾
   - 別記事ナビやシェアボタン等は一切巻き込まない
========================================================= */

.my-page-links{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin:18px 0 22px;
  padding:0;
  border:0;
  background:transparent;
}

.my-page-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;

  padding:10px 16px;
  border:1px solid #dcdcdc;
  border-radius:12px;
  background:#fff;

  text-decoration:none !important;
  font-weight:700;
  line-height:1;
  box-shadow:0 1px 0 rgba(0,0,0,.06);
}

.my-page-links a:hover{
  box-shadow:0 6px 18px rgba(0,0,0,.08);
}

/* 文字被り・謎の四角の原因（疑似要素/子要素装飾）を無効化 */
.my-page-links a::before,
.my-page-links a::after{
  content:none !important;
  display:none !important;
}
.my-page-links a *{
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  outline:0 !important;
  padding:0 !important;
  margin:0 !important;
}

/* スマホだけ少し小さく（任意） */
@media screen and (max-width: 480px){
  .my-page-links a{
    padding:9px 12px;
    font-size:14px;
  }
}
