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

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

.sidebar {
font-size: 0.9em;
}

.speech-wrap {
  font-size: 0.9em;
}

/*グローバルメニュー 文字の大きさを変更*/
#navi .navi-in > .menu-header .item-label{
	font-size: 14px;
}

/*マウスオーバー時のメニューの色を変更*/
#navi .navi-in a:hover{
	color: #000000!important;
	background: white;
	transition: all 0.5s ease;
}

/*マーカー色*/
.marker {background-color: #fff896; }

.marker-under {
background: linear-gradient(transparent 60%, #fff896 60%);
}

/*見出し*/
.article h2{
  padding: 0.5em;
  background: #d0f2d7;
  border-bottom: solid 3px #00bf63;
  margin-top: 2.5em;
}

.article h3 {
  margin-top: 2.5em;
}

.article h4 {
  font-size: 20px !important;
	color: #00bf63;
  border-bottom: 1px solid #00bf63;
  margin-top: .5em;
  padding-bottom: .5em;
  margin-bottom: 15px;
  border-top: none;
}

.article h5 {
  font-size: 20px !important;
	color: #00bf63;
  border-bottom: 1px solid #00bf63;
  padding-bottom: .5em;
  margin-bottom: 15px;
  border-top: none;
}

.article h6 {
  font-size: 20px !important;
  border-left: 3px solid #00bf63;
  padding: .5em .7em;
  margin-bottom: 15px;
  border-top: none;
  border-bottom: none;
}

/*目次*/
.toc-title {
	font-weight:bolder;
}

.toc {
	width: 70%;
	box-shadow: 5px 5px 5px rgba(0,0,0,0.2);
	border-top: 10px solid #cccccc;
	border-color: #cccccc !important;
	margin-bottom: 3em !important;
}

.toc-list > li a {
font-weight: bold;
display:block;
margin-top:10px;
margin-left: 10px;
}

.toc-list > li a::before {
font-family: "Font Awesome 5 Free";
content : "\f0da";
margin-right: 7px;
}

.toc-list > li li a {
font-weight: normal;
margin-top:0;
margin-left: 2em;
}

.toc-list > li li a::before {
content: "";
width: 7px;
height: 7px;
left: -2px;
display: inline-block;
border-radius: 50%;
background: #00bf63;
position: relative;
margin-bottom: 2px;
}

.toc-list > li li li a::before {
content: "";
width: 7px;
height: 7px;
left: -2px;
display: inline-block;
border-radius: 50%;
background: #cccccc;
position: relative;
margin-bottom: 2px;
}

/*ボタン*/
a.btn {
	background-color: #d0f2d7;
	color: black;
	border: 1px solid #00bf63;
}

/*問い合わせ*/
.wpcf7-form input[type="submit"] {
	border: 2px solid #00bf63;
	background-color: #d0f2d7;
	font-weight: bold;
}

.wpcf7-form input[type="submit"]:hover {
	color: white;
}

/*フォント*/
.font-bold {
  font-weight: bold;
}

.font-large {
  font-size: larger;
}

.font-small {
  font-size: smaller;
}

span.marker-green {
  background: linear-gradient(transparent 80%, #1EAA39 100%);
  font-size: larger;
}

.font-green {
  color: #1EAA39;	
}

.font-white {
  color: white;	
}
  
span.marker-yellow {
  background: linear-gradient(transparent 60%, #ff9 60%);
  font-weight: bold;
}

span.line-yellow {
  background: linear-gradient(transparent 60%, #ff9 60%);
}
  
.box-heading {
  display: inline-block;
  background: #1EAA39;
  padding: 3px 10px;
  color: #ffffff;
}
  
.box-text {
  padding: 15px;
  border: 2px solid #1EAA39;
}

.emphasis_design {
text-emphasis: circle #1EAA39;
}

.recommend-place {
position: relative;
background: #D0F2D7;
padding: 1em 1em;
margin: 1em 0em;
line-height: 1.5em;
border-left: solid 2em #1EAA39;
}

.recommend-place:before {
font-family: "Font Awesome 5 Free";
content: "\f303";
position: absolute;
padding: 0em;
color: white;
font-weight: 900;
left: -1.35em;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
}

.list-tit {
font-weight: bold;
margin: 0;
padding: .5em;
 text-align: left;
}

.list-tit span {
padding: 0 6px;
}

.list-box {
border-radius: 5px;
box-shadow: 0 0 10px 1px #d7d7d7;
padding: 1em;
}

.list-design {
display: block;
list-style: none;
margin: 0;
padding: 0 .5em;
width: initial;
}

.list-design li {
border-bottom: 1px dashed #b9b9b9;
padding: .5em 0;
}

.emphasis_design11 span {
position: relative;
padding: 0 .5em;
margin: 0 .3em;
}
.emphasis_design11 span::before,
.emphasis_design11 span::after {
position: absolute;
width: 20px;
height: 30px;
content: '';
}
.emphasis_design11 span::before {
border-left: double 5px #4d9bc1;
border-top: double 5px #4d9bc1;
top: 0;
left: 0;
}
.emphasis_design11 span::after {
border-right: double 5px #4d9bc1;
border-bottom: double 5px #4d9bc1;
bottom: 0;
right: 0;
}

.balloon-right {
position: relative;
display: inline-block;
margin: 1.5em 15px 1.5em 0;
padding: 7px 10px;
min-width: 120px;
max-width: 100%;
color: #000;
background: #f5f5f5;
}

.balloon-right:before {
content: "";
position: absolute;
top: 50%;
left: 100%;
margin-top: -15px;
border: 15px solid transparent;
border-left: 15px solid #f5f5f5;
}

.balloon-right p {
margin: 0;
padding: 10px;
}

.required {
font-size: 0.8em;
padding: 3px;
background: #cc0000;
color: #ffffff;
border-radius: 2px;
margin-right: 10px;
margin-bottom: 2px;
display: inline-block;
}

.box-gray{
	font-size:0.9em;
	padding:2em;/*内側の余白*/
	background: none;/*元のボックス背景色なし*/
	border:1px solid white ;/*線の太さ・種類・色*/
	position: relative;/*配置（基準）*/
}
.box-gray:after{
	background-color:#d0f2d7;/*ずらしたボックスの背景色*/
	border:none;
	content: '';
	position: absolute;/*配置（ここを動かす）*/
	top: 7px;/*上から7pxずらす*/
	left: 7px;/*左から7pxずらす*/
	width: 100%;
	height: 100%;
	z-index: -1;
}

@media (min-width: 769px) {
.mb-only {
  display: none;
}
}

@media screen and (max-width: 768px) {
.pc-only {
  display: none;
}
.toc {
  width: 100%;
}
}

/* =====================================================================
   駐車場経営の知恵袋 ─ トップページ（front-page.php）専用スタイル
   Cocoon 子テーマの style.css の末尾に貼り付けるか、別ファイルとして
   enqueue してください（手順は README.md 参照）。
   すべて #pk クラスで囲っているので Cocoon 本体には影響しません。
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700;900&family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root{
  --pk-accent:#1fa463;
  --pk-accent-dark:#16804d;
}

/* 自前ヘッダー/フッターを使うため、念のため Cocoon の余白をリセット */
.pk-page *{ box-sizing:border-box; }
.pk-page{
  font-family:'Noto Sans JP',sans-serif;
  background:#f4f7f2;
  color:#21302a;
  -webkit-font-smoothing:antialiased;
  line-height:1.7;
}
.pk-page a{ color:inherit; }
.pk-inner{ max-width:1120px; margin:0 auto; padding:0 24px; }
.pk-zmaru{ font-family:'Zen Maru Gothic',sans-serif; }

/* ---------- ヘッダー ---------- */
.pk-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid #e6ece6;
}
.pk-header-inner{
  max-width:1120px; margin:0 auto; padding:14px 24px;
  display:flex; align-items:center; gap:28px;
}
.pk-logo{ display:flex; align-items:center; gap:11px; text-decoration:none; flex-shrink:0; }
.pk-logo-mark{
  width:38px; height:38px; border-radius:11px;
  background:var(--pk-accent); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-family:'Zen Maru Gothic',sans-serif; font-weight:900; font-size:23px;
  box-shadow:0 3px 10px rgba(31,164,99,.35);
}
.pk-logo-text{ font-family:'Zen Maru Gothic',sans-serif; font-weight:700; font-size:19px; color:#21302a; letter-spacing:.02em; }
.pk-nav{ display:flex; gap:24px; margin-left:auto; list-style:none; padding:0; margin-top:0; margin-bottom:0; flex-wrap:wrap; }
.pk-nav a{ text-decoration:none; color:#3c4a43; font-size:14px; font-weight:500; }
.pk-nav a:hover{ color:var(--pk-accent-dark); }

/* ---------- ヒーロー ---------- */
.pk-hero{ background:linear-gradient(180deg,#eaf6ee 0%,#f4f7f2 100%); }
.pk-hero-inner{
  max-width:1120px; margin:0 auto; padding:56px 24px 48px;
  display:flex; flex-wrap:wrap; gap:48px; align-items:center;
}
.pk-hero-text{ flex:1 1 440px; min-width:300px; }
.pk-badge{
  display:inline-flex; align-items:center; gap:7px;
  background:#fff; border:1px solid #d6e7db; color:var(--pk-accent-dark);
  font-size:12.5px; font-weight:700; padding:6px 13px; border-radius:999px; margin-bottom:20px;
}
.pk-badge .dot{ width:7px; height:7px; border-radius:50%; background:var(--pk-accent); display:inline-block; }
.pk-hero h1{
  font-family:'Zen Maru Gothic',sans-serif; font-weight:900;
  font-size:40px; line-height:1.32; margin:0 0 16px; color:#1c2b24; letter-spacing:.01em;
}
.pk-hero h1 .hl{ color:var(--pk-accent-dark); }
.pk-hero-lead{ font-size:16px; line-height:1.85; color:#52615a; margin:0 0 28px; max-width:480px; }

.pk-search{
  display:flex; background:#fff; border-radius:999px; padding:6px;
  box-shadow:0 8px 28px rgba(31,45,40,.10); max-width:540px;
}
.pk-search input{
  flex:1; border:none; outline:none; padding:13px 20px;
  font-size:15px; background:transparent; font-family:inherit; color:#21302a; min-width:0;
}
.pk-search input::placeholder{ color:#9aa89f; }
.pk-search button{
  border:none; background:var(--pk-accent); color:#fff; border-radius:999px;
  padding:0 28px; font-weight:700; font-size:15px; font-family:'Zen Maru Gothic',sans-serif;
  cursor:pointer; flex-shrink:0;
}
.pk-search button:hover{ background:var(--pk-accent-dark); }

.pk-tags{ display:flex; flex-wrap:wrap; align-items:center; gap:9px; margin-top:18px; }
.pk-tags .label{ font-size:12.5px; color:#7c8a82; font-weight:500; }
.pk-tags a{
  text-decoration:none; font-size:12.5px; color:#3c4a43; background:#fff;
  border:1px solid #dde7df; padding:5px 13px; border-radius:999px;
}
.pk-tags a:hover{ border-color:var(--pk-accent); color:var(--pk-accent-dark); }

.pk-hero-media{ flex:1 1 320px; min-width:280px; }
.pk-hero-card{
  position:relative; border-radius:24px; overflow:hidden;
  box-shadow:0 18px 44px rgba(31,45,40,.12);
  background:repeating-linear-gradient(135deg,#e4eee7,#e4eee7 14px,#dbe8de 14px,#dbe8de 28px);
  aspect-ratio:4/3; display:flex; align-items:center; justify-content:center;
}
.pk-hero-card img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.pk-ph-label{
  font-family:ui-monospace,Menlo,monospace; font-size:12px; color:#7c8a82;
  background:rgba(255,255,255,.8); padding:6px 12px; border-radius:8px;
}
.pk-hero-stats{
  position:absolute; left:18px; bottom:18px; background:#fff; border-radius:16px;
  padding:14px 18px; box-shadow:0 6px 20px rgba(31,45,40,.12); display:flex; gap:18px;
}
.pk-hero-stats .num{ font-family:'Zen Maru Gothic',sans-serif; font-weight:900; font-size:22px; color:var(--pk-accent-dark); line-height:1; }
.pk-hero-stats .num small{ font-size:13px; }
.pk-hero-stats .cap{ font-size:11px; color:#7c8a82; margin-top:4px; }
.pk-hero-stats .sep{ width:1px; background:#e6ece6; }
.pk-hero-stats .stat{ text-align:center; }

/* ---------- セクション見出し ---------- */
.pk-section{ max-width:1120px; margin:0 auto; padding:64px 24px 8px; }
.pk-eyebrow{ font-family:ui-monospace,monospace; font-size:12px; font-weight:700; color:var(--pk-accent); letter-spacing:.12em; }
.pk-section h2{ font-family:'Zen Maru Gothic',sans-serif; font-weight:700; font-size:27px; margin:6px 0 0; color:#1c2b24; }
.pk-sec-head{ margin-bottom:28px; }
.pk-sec-head.row{ display:flex; align-items:flex-end; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.pk-link-btn{
  text-decoration:none; font-size:13.5px; font-weight:700; color:var(--pk-accent-dark);
  border:1px solid #d6e7db; border-radius:999px; padding:9px 20px; background:#fff;
}
.pk-link-btn:hover{ background:#eaf6ee; }

/* ---------- カテゴリ ---------- */
.pk-cats{ display:grid; grid-template-columns:repeat(auto-fit,minmax(248px,1fr)); gap:18px; }
.pk-cat{
  text-decoration:none; color:inherit; background:#fff; border:1px solid #eaeeea;
  border-radius:20px; padding:24px; display:flex; flex-direction:column; gap:14px;
  transition:transform .15s, box-shadow .15s;
}
.pk-cat:hover{ transform:translateY(-4px); box-shadow:0 14px 30px rgba(31,45,40,.10); }
.pk-cat-icon{ width:54px; height:54px; border-radius:15px; display:flex; align-items:center; justify-content:center; }
.pk-cat-title{ font-family:'Zen Maru Gothic',sans-serif; font-weight:700; font-size:17px; color:#1c2b24; margin-bottom:5px; }
.pk-cat-desc{ font-size:13.5px; color:#69776f; line-height:1.6; }
.pk-cat-more{ font-size:13px; font-weight:700; margin-top:auto; }

/* ---------- お悩み ---------- */
.pk-concerns-card{ background:#fff; border:1px solid #eaeeea; border-radius:24px; padding:36px 34px; }
.pk-concerns-head{ display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; margin-bottom:22px; }
.pk-concerns-head h2{ font-family:'Zen Maru Gothic',sans-serif; font-weight:700; font-size:23px; margin:0; color:#1c2b24; }
.pk-concerns-head span{ font-size:13.5px; color:#7c8a82; }
.pk-concerns-list{ display:flex; flex-wrap:wrap; gap:11px; }
.pk-concern{
  text-decoration:none; display:inline-flex; align-items:center; gap:9px;
  background:#f4f7f2; border:1px solid #e3ebe4; border-radius:14px; padding:13px 18px;
  font-size:14.5px; font-weight:500; color:#33423a;
}
.pk-concern:hover{ background:#eaf6ee; border-color:var(--pk-accent); color:var(--pk-accent-dark); }
.pk-concern .q{ color:var(--pk-accent); font-weight:700; }

/* ---------- 新着記事 ---------- */
.pk-articles{ display:grid; grid-template-columns:repeat(auto-fill,minmax(312px,1fr)); gap:22px; }
.pk-card{
  text-decoration:none; color:inherit; background:#fff; border:1px solid #eaeeea;
  border-radius:18px; overflow:hidden; display:flex; flex-direction:column;
  transition:transform .15s, box-shadow .15s;
}
.pk-card:hover{ transform:translateY(-4px); box-shadow:0 14px 32px rgba(31,45,40,.10); }
.pk-card-thumb{
  position:relative; aspect-ratio:16/9;
  background:repeating-linear-gradient(135deg,#eef2ee,#eef2ee 12px,#e6ebe6 12px,#e6ebe6 24px);
  display:flex; align-items:center; justify-content:center;
}
.pk-card-thumb img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.pk-card-thumb .ph{ font-family:ui-monospace,monospace; font-size:11px; color:#9aa89f; }
.pk-cat-badge{ position:absolute; top:12px; left:12px; font-size:11.5px; font-weight:700; color:#fff; padding:5px 11px; border-radius:8px; background:var(--pk-accent); }
.pk-pr-badge{ position:absolute; top:12px; right:12px; font-size:10.5px; font-weight:700; color:#8a7355; padding:4px 9px; border-radius:6px; background:#fff5e6; border:1px solid #f0ddba; }
.pk-card-body{ padding:18px 20px 20px; display:flex; flex-direction:column; flex:1; }
.pk-card-body h3{ font-family:'Zen Maru Gothic',sans-serif; font-weight:700; font-size:16.5px; line-height:1.5; margin:0 0 9px; color:#1c2b24; text-wrap:pretty; }
.pk-card-excerpt{ font-size:13.5px; line-height:1.7; color:#69776f; margin:0 0 16px; text-wrap:pretty; }
.pk-card-date{ margin-top:auto; display:flex; align-items:center; gap:8px; font-size:12px; color:#9aa89f; }

/* ---------- ランキング ---------- */
.pk-rank-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(420px,1fr)); gap:14px 36px; }
.pk-rank{
  text-decoration:none; color:inherit; display:flex; align-items:center; gap:16px;
  background:#fff; border:1px solid #eaeeea; border-radius:14px; padding:14px 18px;
}
.pk-rank:hover{ border-color:var(--pk-accent); box-shadow:0 8px 20px rgba(31,45,40,.07); }
.pk-rank-num{
  flex-shrink:0; width:34px; height:34px; border-radius:10px; background:#eaf6ee;
  color:var(--pk-accent-dark); font-family:'Zen Maru Gothic',sans-serif; font-weight:900;
  font-size:17px; display:flex; align-items:center; justify-content:center;
}
.pk-rank-title{ font-size:14.5px; font-weight:500; line-height:1.5; color:#2b3a32; text-wrap:pretty; }

/* ---------- CTA ---------- */
.pk-cta-wrap{ max-width:1120px; margin:0 auto; padding:64px 24px 72px; }
.pk-cta{
  background:linear-gradient(120deg,var(--pk-accent) 0%,var(--pk-accent-dark) 100%);
  border-radius:28px; padding:52px 44px; text-align:center; color:#fff;
  position:relative; overflow:hidden;
}
.pk-cta .blob1{ position:absolute; right:-40px; top:-40px; width:200px; height:200px; border-radius:50%; background:rgba(255,255,255,.08); }
.pk-cta .blob2{ position:absolute; left:-30px; bottom:-50px; width:160px; height:160px; border-radius:50%; background:rgba(255,255,255,.07); }
.pk-cta h2{ font-family:'Zen Maru Gothic',sans-serif; font-weight:900; font-size:28px; margin:0 0 12px; position:relative; }
.pk-cta p{ font-size:15.5px; line-height:1.8; margin:0 auto 26px; max-width:520px; opacity:.95; position:relative; }
.pk-cta-btn{
  display:inline-block; background:#fff; color:var(--pk-accent-dark); text-decoration:none;
  font-family:'Zen Maru Gothic',sans-serif; font-weight:700; font-size:15.5px;
  padding:15px 36px; border-radius:999px; box-shadow:0 8px 22px rgba(0,0,0,.15); position:relative;
}
.pk-cta-btn:hover{ transform:translateY(-2px); }

/* ---------- フッター ---------- */
.pk-footer{ background:#1c2b24; color:#c5d2cb; }
.pk-footer-inner{ max-width:1120px; margin:0 auto; padding:48px 24px 28px; display:flex; flex-wrap:wrap; gap:40px; justify-content:space-between; }
.pk-footer-about{ max-width:300px; }
.pk-footer-logo{ display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.pk-footer-logo .mark{ width:34px; height:34px; border-radius:10px; background:var(--pk-accent); color:#fff; display:flex; align-items:center; justify-content:center; font-family:'Zen Maru Gothic',sans-serif; font-weight:900; font-size:20px; }
.pk-footer-logo .name{ font-family:'Zen Maru Gothic',sans-serif; font-weight:700; font-size:17px; color:#fff; }
.pk-footer-about p{ font-size:13px; line-height:1.8; color:#9caaa2; margin:0; }
.pk-footer-cols{ display:flex; gap:56px; flex-wrap:wrap; }
.pk-footer-col h4{ font-family:'Zen Maru Gothic',sans-serif; font-weight:700; font-size:14px; color:#fff; margin:0 0 14px; }
.pk-footer-col .links{ display:flex; flex-direction:column; gap:10px; }
.pk-footer-col a{ text-decoration:none; color:#c5d2cb; font-size:13px; }
.pk-footer-col a:hover{ color:#fff; }
.pk-copy{ border-top:1px solid #2d3d35; }
.pk-copy-inner{ max-width:1120px; margin:0 auto; padding:18px 24px; font-size:12px; color:#7e8d84; }

/* ---------- レスポンシブ ---------- */
@media (max-width:768px){
  .pk-nav{ display:none; }               /* スマホはCocoonのモバイルメニューに任せる場合は非表示でOK */
  .pk-hero h1{ font-size:30px; }
  .pk-hero-inner{ padding:40px 20px 36px; }
  .pk-section{ padding:48px 20px 8px; }
  .pk-section h2{ font-size:23px; }
  .pk-concerns-card{ padding:26px 20px; }
  .pk-cta{ padding:40px 24px; }
  .pk-rank-grid{ grid-template-columns:1fr; }
}

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

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

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