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

/* --------------------------------------------------
// HEX #ff008c ベース 洗練された見出しデザイン（フォントサイズ指定なし）
// 全ての記事の本文領域に適用されます
-------------------------------------------------- */

/* 共通設定 */
/* .entry-content 内のhタグに適用。Gutenbergのwp-block-headingクラスも考慮 */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content .wp-block-heading { /* wp-block-headingも直接指定 */
    font-family: 'メイリオ', 'Meiryo', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif !important; /* フォントファミリーを確実に適用 */
    color: #1a1a1a !important; /* 基本の文字色をより濃いグレーに */
    font-weight: bold !important; /* 太字 */
    line-height: 1.4 !important; /* 行の高さ */
    margin-top: 2.5em !important; /* 上の余白 */
    margin-bottom: 1em !important; /* 下の余白 */
    box-sizing: border-box !important; /* パディングを幅に含める */
    background-color: transparent !important; /* 基本的に背景は透明 */
    border-radius: 0 !important; /* 基本的に角丸なし */
    padding: 0 !important; /* 基本的にパディングなし */
    border: none !important; /* 既存のボーダーをリセット */
    box-shadow: none !important; /* 既存の影をリセット */
}

/* h1 のデザイン（ページタイトル） */
/* .entry-content 内のh1に適用 */
.entry-content h1,
.entry-content .wp-block-heading:is(h1) { /* wp-block-headingのh1にも適用 */
    /* font-sizeは指定しない */
    color: #ff008c !important; /* ベースカラーを強調 */
    text-align: center !important; /* 中央寄せ */
    margin-top: 1.5em !important;
    margin-bottom: 1.5em !important;
    padding-bottom: 0.5em !important;
    border-bottom: 3px solid #ff008c !important; /* 太い下線 */
    line-height: 1.2 !important;
    background-color: transparent !important;
    border-left: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* h2 のデザイン */
/* .entry-content 内のh2に適用 */
.entry-content h2,
.entry-content .wp-block-heading:is(h2) { /* wp-block-headingのh2にも適用 */
    /* font-sizeは指定しない */
    color: #1a1a1a !important; /* 文字色は濃いグレー */
    padding: 0.5em 1em 0.5em 1em !important; /* 内側の余白 */
    border-left: 8px solid #ff008c !important; /* 左側に太いマゼンタライン */
    border-bottom: 1px solid #e0e0e0 !important; /* 薄いグレーの下線 */
    background-color: #fcfcfc !important; /* わずかに背景色 */
    border-radius: 4px !important; /* 少し角丸 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important; /* 控えめな影 */
    margin-top: 2.5em !important;
    margin-bottom: 1em !important;
}

/* h3 のデザイン（調整版） */
/* .entry-content 内のh3に適用 */
.entry-content h3,
.entry-content .wp-block-heading:is(h3) { /* wp-block-headingのh3にも適用 */
    /* font-sizeは指定しない */
    color: #1a1a1a !important; /* 文字色は濃いグレー */
    padding: 0.5em 1em !important; /* 上下左右のパディングを均等に */
    border-bottom: 3px solid #ff008c !important; /* マゼンタの下線を追加 */
    border-radius: 3px !important; /* 少し角丸 */
    margin-top: 2em !important; /* 上の余白調整 */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important; /* 控えめな影 */
}

/* h4 のデザイン（調整版） */
/* .entry-content 内のh4に適用 */
.entry-content h4,
.entry-content .wp-block-heading:is(h4) { /* wp-block-headingのh4にも適用 */
    /* font-sizeは指定しない */
    color: #333333 !important; /* 文字色は中くらいのグレー */
    padding-left: 1em !important; /* 左パディング */
    border-left: 3px solid #ff008c !important; /* 左側に細いマゼンタライン */
    border-bottom: 1px dashed #ff088c !important; /* 薄いグレーの破線 */
    margin-top: 1.8em !important;
    margin-bottom: 0.8em !important;
    padding-bottom: 0.3em !important; /* 下線との間に少し余白 */
    background-color: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* h5 のデザイン（調整版） */
/* .entry-content 内のh5に適用 */
.entry-content h5,
.entry-content .wp-block-heading:is(h5) { /* wp-block-headingのh5にも適用 */
    /* font-sizeは指定しない */
    color: #555555 !important; /* 文字色はやや薄いグレー */
    margin-top: 1.5em !important;
    margin-bottom: 0.5em !important;
    padding-left: 0.8em !important;
    border-left: 2px solid #ff008c !important; /* 最も細いマゼンタライン */
    font-weight: normal !important; /* 太字を解除して少し柔らかく */
    background-color: #f8f8f8 !important; /* 非常に薄いグレーの背景 */
    padding: 0.5em 0.8em !important; /* 左右のパディングを追加 */
    border-radius: 2px !important; /* 少し角丸 */
    box-shadow: none !important;
    border-bottom: none !important;
}

/* 既存の他のCSSをここに継続して記述 */
/*
  以下は、ご提示いただいた既存のCSSコードです。
  上記の見出しCSSの後に、これらのコードをコピー＆ペーストしてください。
*/

.catelist-section {
  margin-bottom: 60px;
}

.catelist-entries {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.catelist-section h2.page-title {
  font-size: 1.4em;
  margin-bottom: 1em;
  border-left: 4px solid #ff008c;
  padding-left: 8px;
}

.catelist-more .btn {
  display: inline-block;
  padding: 10px 20px;
  background: #ff008c;
  color: #fff;
  border-radius: 25px;
  transition: 0.3s;
}

.catelist-more .btn:hover {
  background: #e6007e;
}

/* 全国都道府県リスト */
.prefecture-list {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 5px;
}

.prefecture-list h2,
.child-area-list h2 {
    font-size: 1.3em;
    margin-bottom: 15px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}

.prefecture-list ul,
.child-area-list ul {
    list-style: none;
    padding: 0;
    display: grid; /* グリッド表示 */
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* 120px以上で自動調整 */
    gap: 10px; /* アイテム間の隙間 */
}

.prefecture-list li,
.child-area-list li {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    text-align: center;
}

.prefecture-list li a,
.child-area-list li a {
    display: block;
    padding: 10px 5px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.prefecture-list li a:hover,
.child-area-list li a:hover {
    background-color: #ff008c;
    color: #fff;
}

/* 店舗リスト (詳細表示用) */
.shop-list-details { /* クラス名を変更 */
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 5px;
}

.shop-list-details h2 {
    font-size: 1.3em;
    margin-bottom: 15px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}

.shop-list-details ul {
    list-style: none;
    padding: 0;
}

.shop-list-details li {
    margin-bottom: 20px; /* 各店舗間の余白 */
    padding-bottom: 20px;
    border-bottom: 1px dashed #e0e0e0; /* 区切り線 */
}

.shop-list-details li:last-child {
    border-bottom: none;
}

.shop-item h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.shop-item h3 a {
    color: #007bff;
    text-decoration: none;
}

.shop-item h3 a:hover {
    text-decoration: underline;
}

.shop-item p {
    margin-bottom: 5px;
    line-height: 1.5;
}

.shop-item p strong {
    min-width: 80px; /* ラベルの幅を揃える */
    display: inline-block;
}

.shop-item .map-link a {
    display: inline-block;
    padding: 5px 10px;
    background-color: #4285f4; /* Googleマップの青色 */
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.shop-item .map-link a:hover {
    background-color: #357ae8;
}

/* 都道府県への戻るリンク */
p.back-to-prefecture {
    margin-top: 20px;
    font-size: 0.9em;
}

p.back-to-prefecture a {
    color: #007bff;
    text-decoration: none;
}

p.back-to-prefecture a:hover {
    text-decoration: underline;
}

/* ←全国の店舗一覧に戻る リンク */
p.back-to-all-shops {
    margin-top: 10px; /* 上のヘッダーとの余白 */
    margin-bottom: 20px; /* 下の要素との余白 */
    font-size: 0.95em;
}

p.back-to-all-shops a {
    color: #007bff; /* 通常時の色 */
    text-decoration: none;
    transition: color 0.3s ease-in-out; /* ホバー時のアニメーション */
}

p.back-to-all-shops a:hover {
    text-decoration: underline;
}

/* 取扱サービステーブルのスタイル */
.shop-services-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    margin-top: 1em; /* テーブル上の余白 */
}

.shop-services-table th,
.shop-services-table td {
    border: 1px solid #eee; /* 薄いボーダー */
    padding: 10px 12px;
    text-align: left;
    font-size: 0.95em;
}

.shop-services-table th {
    background-color: #f8f8f8; /* 薄いグレーの背景 */
    font-weight: bold;
    color: #333;
}

.shop-services-table td:first-child {
    width: 70%;
    color: #333;
}

.shop-services-table td:last-child {
    width: 30%;
    text-align: center;
    font-weight: bold;
    color: #ff008c; /* 〇/― の色をマゼンタに */
}

/* CTAボタンのスタイル（以前のものを継続） */
.cta-microcopy {
    color: #ff008c; /* ベースカラー */
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.5em;
    font-size: 0.9em;
}

.article-cta-14000-entry a {
    display: inline-block;
    background-color: #ff008c; /* ベースカラー */
    color: #fff;
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.article-cta-14000-entry a:hover {
    background-color: #e0007b; /* ホバーで少し濃いマゼンタに */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.article-cta-14000-entry {
    text-align: center;
    margin: 30px auto;
}

/* Google Mapのリンクラッパーの幅と高さをiframeに合わせる */
.google-map-link-wrapper {
    max-width: 800px;
    height: 350px;
    margin: 0 auto;
}

/* iframeのレスポンシブ対応（必要であれば） */
.google-map-link-wrapper iframe {
    max-width: 100%;
    height: auto;
}