@charset "UTF-8";

/*!
Theme Name: mj2021c
Description: Cocoon専用の子テーマ
Template:   cocoon-master
Version:    1.1.2
*/

:root {
  --mj-key-color: #0a396d;
}


/* コンテンツの横幅指定 */
.no-sidebar .content .main {
  max-width: 1200px;
  margin: 0 auto;
}
.main {
  padding: 0px 0px;
}

/* ボックスメニュー用 */
.box-menu-icon {
  color: var(--mj-key-color);
}
.box-menu:hover {
  color: var(--mj-key-color);
}
.box-menu-label {
  font-size: 16px;
}
.box-menu-description {
  font-size: 16px;
}

/* ボックスメニュー用（フッター） */
.footer .box-menu-icon {
  color: var(--mj-key-color);
}
.footer .box-menu:hover {
  color: var(--mj-key-color);
}
.footer .box-menu-label {
  color: var(--mj-key-color);
  font-size: 16px;
}
.footer .box-menu-description {
  color: var(--mj-key-color);
  font-size: 16px;
}

/* フロント固定ページ、詳細検索ページの投稿日を非表示 */
.home.page .post-date
, .post-656 .post-date {
  display: none;
}
/* フロント固定ページ、詳細検索ページの更新日を非表示 */
.home.page .post-update
, .post-656 .post-update {
  display: none;
}

/* フロント固定ページのタイトルを非表示 */
.home.page .entry-title{
  display: none;
}
/* フロント固定ページの投稿者名を非表示 */
.home.page .author-info{
  display: none;
}

/* フロント固定ページのカテゴリ表示部レイアウト調整 */
.home.page .article .wp-block-image {
  margin-bottom: 0.5em;
}
.home.page .article p {
  margin-bottom: 0.5em;
}

/* フロント固定ページの見出し */
.home.page .article h2 {
  padding: 0px;
}

/* フロント固定ページのお知らせ見出し */
.home.page .entry-content h3 {
	position: relative;
	margin-bottom: 1em;
        padding: 5px;
	text-align: center;
	color: var(--mj-key-color);
        background-color: #ffffff;
        border: 0 solid #fff;
}
.home.page .entry-content h3:before {
	content: '';
	position: absolute;
	bottom: -15px;
	display: inline-block;
	width: 90px;
	height: 1px;
	left: 50%;
	transform: translateX(-50%);
	background-color: var(--mj-key-color);
	border-radius: 2px;
        margin-bottom:10px;
}
/* フロント固定ページのお知らせタイトル */
.home.page .new-entry-card-title {
	font-size: 14pt;
}
/* フロント固定ページのお知らせスニペット */
.home.page .new-entry-card-snippet {
	font-size: 12pt;
}


/* カテゴリラベル */
.cat-label{
/* カテゴリラベルを非表示
  display: none;
*/
    border: none;
}
.eye-catch .cat-label {
/* カテゴリラベルを非表示
  display: none;
*/
    border: none;
}

/* カテゴリラベルを非表示 */
.area .cat-label{
  display: none;
}

/* タグラベル */
.tag-link, .comment-reply-link {
    color: var(--mj-key-color);
    text-decoration: none;
    display: inline-block;
    margin-right: 5px;
    padding: 1px 5px;
    font-size: 12px;
    border: 0px solid #cdcdcd;
    border-radius: 2px;
    word-break: break-all;
    background-color: #d8dbe6;
}

/* 地域一覧ページのレイアウト調整 */
.region-more-list {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 100px;
}


/* 一覧ページのレイアウト調整 */
.ect-vertical-card .entry-card-wrap {
    margin-bottom: 50px;
}


/* 投稿ページのタイトルレイアウト調整（H1） */
.entry-title, .archive-title {
    font-size: 32px;
    margin: 32px 0;
    line-height: 1.3;
}

/* 投稿ページのヘッダーレイアウト調整（H2） */
.article h2 {
    margin-top: 3.2em;
    position: relative;
    z-index: 0;
}
.article h2:before{
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    content: '';
    display: block;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin-top: 4px;
    margin-bottom: 4px;
    z-index: -1;
}

/* 投稿ページのヘッダーレイアウト調整（H2）エリアページ用 */
.area h2 {
    font-size: 18px;
    margin: 0 0 5px 0;
    padding: 0;
    line-height: 1.2;
    font-weight: bold;
    background-color: unset;
    color: #333;
}
.area h2:before{
    border-top: 0;
    border-bottom: 0;
    display: block;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin-top: 0;
    margin-bottom: 5px;
    z-index: -1;
}

/* 投稿ページのヘッダーレイアウト調整（H3～H6） */
.article h3, .article h4, .article h5, .article h6 {
    margin-top: 2.4em;
}


/* 投稿ページのテーブル内レイアウト調整 */
table.single_detail{
	border-collapse:collapse;
	margin:35px 0 25px 0;
	border:none;
}
table.single_detail tr{
	border-top: solid 1px #374140;
	border-bottom: solid 1px #374140;
}
table.single_detail td{
	border:none;
	padding: 20 20 20 20;
	line-height: 1.8;
}
table.single_detail td.detail_title{
	font-weight:bold;
	white-space: nowrap;
}
.publication{
	margin:25px 0 25px 0;
}
.detail_notes{
	font-size: 80%;
        margin-bottom: 2em;
}
.mw-google-maps-map{
	margin:35px 0 35px 0;
}
.post_content p{
	margin-top: 35px;
}

.single_event_date {
    margin-bottom: 50px;
}
.single_event_date div {
    margin-top: 15px;
    margin-bottom: 25px;
}
.single_event_date .detail_title {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 20px;
    font-size: 20px;
    font-weight: bold;
    border-left: 7px solid var(--mj-key-color);
}
.single_event_date .detail_body {
    font-size: 20px;
}
.single_event_date .detail_body p {
    display: contents;
}


table.single_detail td.detail_body{
  word-break: break-all;
}
table.single_detail p{
  padding-bottom: 0px;
  margin-bottom: 0em;
}
table.single_event_date p{
  margin-bottom: 0em;
}
table.single_event_date td.detail_title{
	font-weight:bold;
	white-space: nowrap;
}

/* タグボックス */
.blank-box.bb-tab, .bb-tab.is-style-blank-box-red, .bb-tab.is-style-blank-box-navy, .bb-tab.is-style-blank-box-blue, .bb-tab.is-style-blank-box-yellow, .bb-tab.is-style-blank-box-green, .bb-tab.is-style-blank-box-pink, .bb-tab.is-style-blank-box-orange, .bb-tab.is-style-sticky-gray, .bb-tab.is-style-sticky-yellow, .bb-tab.is-style-sticky-red, .bb-tab.is-style-sticky-blue, .bb-tab.is-style-sticky-green {
    position: relative;
    margin-top: 3em;
    border-top-left-radius: 0;
    border-width: 2px;
    border-radius: 2px;
}
.blank-box.bb-tab .bb-label, .bb-tab.is-style-blank-box-red .bb-label, .bb-tab.is-style-blank-box-navy .bb-label, .bb-tab.is-style-blank-box-blue .bb-label, .bb-tab.is-style-blank-box-yellow .bb-label, .bb-tab.is-style-blank-box-green .bb-label, .bb-tab.is-style-blank-box-pink .bb-label, .bb-tab.is-style-blank-box-orange .bb-label, .bb-tab.is-style-sticky-gray .bb-label, .bb-tab.is-style-sticky-yellow .bb-label, .bb-tab.is-style-sticky-red .bb-label, .bb-tab.is-style-sticky-blue .bb-label, .bb-tab.is-style-sticky-green .bb-label {
    font-family: "Noto Sans JP" ,sans-serif;
    font-weight: 600;
    font-size: 16px;
    left: -2px;
    border-radius: 3px 3px 0 0;
}

/* 重要なお知らせ */
.kakomi-info {
  position: relative;
  margin: 2em auto;
  padding: 1.2em;
  color: #000000; /* 文章色 */
  background-color: #fff; /* 背景色 */
  border: 1px solid #374140; /* 枠線の太さ・色 */
  width: 90%;
}
.title-info {
  position: absolute;
  padding: 0 .5em;
  left: 20px;
  top: -15px;
  font-weight: bold;
  background-color: #fff; /* タイトル背景色 */
  color: #000000; /* タイトル文字色 */
}

/* 歴史上の人物略年表 */
table.chronology th, table.chronology td {
    padding: 5px;
    font-size: 0.8em;
}

/* 本日の朝日・夕日 */
h3.sunset, h3.sunrise {
  position: relative;
  margin-top: 1em;
  margin-bottom: 3em;
  padding: 5px;
  text-align: center;
  font-size: 16pt;
  line-height: 1.5;
  color: var(--mj-key-color);
  background-color: #ffffff;
  border: 0 solid #fff;
}
h3.sunset:before, h3.sunrise:before {
  content: '';
  position: absolute;
  bottom: -20px;
  display: inline-block;
  width: 12%;
  height: 1px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--mj-key-color);
  border-radius: 2px;
  margin-bottom:10px;
}
h3.sunset span, h3.sunrise span {
  font-weight: normal;
}

/* Ajax Search Liteの検索ボックス用 */
.asl_w_container {
    margin: 0 auto !important;
    padding: 60px 0px 40px 0px;
}
div[id*='ajaxsearchlite'].asl_m {
    width: 100% !important;
}

/* 詳細検索（Search & Filter）画面用 */
.searchandfilter {
    margin: 0 auto;
    width: 90%;
    text-align: center;
    font-family: "Noto Serif JP" ,sans-serif;
    font-size: 16px;
}
.searchandfilter div > ul > li:nth-child(1){
    width: 100%;
    padding-bottom: 20px;
}
.searchandfilter div > ul > li:nth-child(2) > ul {
    text-align: left;
}
.searchandfilter div > ul > li:nth-child(3){
    width: 80%;
}
.searchandfilter input[type='submit'] {
    background-color: var(--mj-key-color);
    color: #ffffff;
    font-size: 18px;
}
.posts-not-found {
    margin-bottom: 50px;
}
.search_text {
    width: 90%;
    text-align: center;
    margin: 0 auto;
}
.search_text > p {
    text-align: left;
    padding-left: 40px;
    margin-bottom: 30px;
}

/* 目次 */
div#ez-toc-container {
    margin-left: 2%;
    margin-right: 2%;
}

/* 歴史上の人物略年表 */
table.chronology  {
  max-width: 1200px;
}
table.chronology th, table.chronology td {
    padding: 5px;
    font-size: 0.8em;
    white-space: normal;
  }

/* お問合わせフォーム（MW WP FORM） */
.mw_wp_form input[type='submit'] {
    background-color: var(--mj-key-color);
    border: 1px solid var(--mj-key-color);
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 5px;	
}
.mw_wp_form input[name='submitBack'] {
    background-color: #ffffff;
    border: 1px solid var(--mj-key-color);
    color: var(--mj-key-color);
    font-size: 18px;
}


/**************************************
  イベント
***************************************/
.event-list .entry-card-title {
    font-size: 20px;
    margin-bottom: 10px;
}
.event-list .event-list-top, .event-list .event-list-value, .event-list .event-list-content {
    font-size: 1.2em;
}
.event-list .event-list-top {
    margin-right: 10px;
}
.event-list .entry-card-snippet div {
    margin-top: 5px;
}
.event-list .entry-card-snippet div.event-list-content {
    margin-top: 15px;
}
.event-list .entry-card-snippet {
    max-height: 12.8em;
}
.home.page .event-list-top {
    margin-right: 5px;
}
.home.page .toppage-event-head {
    margin-bottom: 10px;
    font-weight: bold;
}
@media screen and (max-width: 1200px){
    .home.page .toppage-event-head {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/**************************************
  イベント（リズム連携）
***************************************/
#mt-event-list li {
    display: flex;
    margin-bottom: 50px;
}
#mt-event-list a {
    text-decoration: none;
}
.mt-event-list-eyecatch, .mt-event-list-contents {
    
}
.mt-event-list-eyecatch {
    margin-right: 15px;
}
.mt-event-list-contents h3 {
    margin-top: 0;
    margin-bottom: 0.5em;
    padding-top: 0;
    padding-left: 0;
    border: 0;
}
.mt-event-list-contents p {
    margin-bottom: 0.5em;
}
.mt-event-list-contents .event-list-top {
    margin-right: 10px;
}


/**************************************
  駅（station）
***************************************/
    .leaflet-station-icon {
        background-color: #e74c3c;
        border: 2px solid #ffffff;
        border-radius: 50%;
        color: #ffffff;
        width: 36px;
        height: 36px;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.4);
        box-sizing: border-box;
    }
    .leaflet-station-icon i {
        font-size: 16px;
        line-height: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .leaflet-popup-content a {
        color: #0a396d !important;
        text-decoration: underline;
    }
    .leaflet-popup-content a:hover {
        color: #e74c3c !important;
    }
    .spot-card-list {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-top: 1em;
    }
    .spot-card-item {
        display: flex;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        overflow: hidden;
        background: #fff;
        text-decoration: none !important;
        color: #333 !important;
        transition: box-shadow 0.2s ease, transform 0.2s ease;
    }
    .spot-card-item:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        transform: translateY(-2px);
    }
    .spot-card-thumb {
        width: 160px;
        min-width: 160px;
        height: 120px;
        object-fit: cover;
        background-color: #f7fafc;
    }
    .spot-card-content {
        padding: 12px 16px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .spot-card-title {
        font-size: 1.1em;
        font-weight: bold;
        margin: 0 0 6px 0;
        line-height: 1.4;
        color: #0a396d;
        transition: color 0.2s ease;
    }
    .spot-card-item:hover .spot-card-title {
        color: #e74c3c;
    }
    .spot-card-excerpt {
        font-size: 0.85em;
        color: #4a5568;
        line-height: 1.5;
        margin-bottom: 6px;
    }
    .spot-card-distance {
        font-size: 0.8em;
        color: #718096;
        font-weight: bold;
    }
    .station-more-btn-wrap {
        text-align: center;
        margin: 2.5em 0 1.5em;
    }
    .station-more-btn {
        display: inline-block;
        width: 100%;
        max-width: 420px;
        padding: 12px 24px;
        background-color: #ffffff;
        color: #0a396d !important;
        font-size: 1.05em;
        font-weight: bold;
        text-align: center;
        text-decoration: none !important;
        border: 2px solid #0a396d;
        border-radius: 6px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
        transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
        box-sizing: border-box;
        line-height: 1.5;
    }
    .station-more-btn:hover {
        background-color: #0a396d;
        color: #ffffff !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(10, 57, 109, 0.25);
    }
    .station-more-btn i {
        margin-left: 8px;
    }

    @media (max-width: 600px) {
        .spot-card-thumb {
            width: 100px;
            min-width: 100px;
            height: 100px;
        }
        .spot-card-content {
            padding: 8px 12px;
        }
        .spot-card-title {
            font-size: 0.95em;
        }
        .spot-card-excerpt {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .station-more-btn {
            font-size: 0.95em;
            padding: 10px 18px;
        }
    }


/**************************************
  鉄道路線（railway-line）
***************************************/
.railway-diagram-container {
    margin: 2em 0;
    padding: 1em 0;
}
.railway-line-title {
    font-size: 1.4em;
    font-weight: bold;
    color: #0a396d;
    border-bottom: 3px solid #0a396d;
    padding-bottom: 8px;
    margin-bottom: 1.5em;
}
.railway-tree {
    position: relative;
    padding-left: 32px;
    margin-left: 12px;
    list-style: none !important;
}
/* 路線縦ライン */
.railway-tree::before {
    content: '';
    position: absolute;
    top: 15px;
    bottom: 15px;
    left: 11px;
    width: 6px;
    background-color: #0a396d;
    border-radius: 3px;
}
/* 各駅のノード */
.railway-node {
    position: relative;
    margin-bottom: 24px;
}
.railway-node:last-child {
    margin-bottom: 0;
}
/* 駅の丸印ピン */
.railway-node::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 24px; /* カード中央高さ付近に設置 */
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-color: #ffffff;
    border: 4px solid #0a396d;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 2px #fff;
}
/* 駅カード本体 */
.railway-station-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 18px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.railway-station-card:hover {
    box-shadow: 0 4px 12px rgba(10, 57, 109, 0.15);
    border-color: #0a396d;
}
/* メイン駅名リンク */
.railway-station-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    color: #333 !important;
}
/* ナンバリングバッジ */
.railway-numbering-badge {
    background-color: #0a396d;
    color: #ffffff;
    font-weight: bold;
    font-size: 0.85em;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    letter-spacing: 0.5px;
}
.railway-station-name {
    font-size: 1.1em;
    font-weight: bold;
    color: #0a396d;
}
.railway-station-link:hover .railway-station-name {
    color: #e74c3c;
}
.railway-arrow {
    margin-left: auto;
    color: #a0aec0;
}

/* 他路線（乗り換え）表示領域 */
.railway-transfer-box {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #e2e8f0;
    font-size: 0.85em;
    color: #4a5568;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.railway-transfer-label {
    font-weight: bold;
    color: #718096;
}
.railway-transfer-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: #f7fafc;
    color: #0a396d !important;
    border: 1px solid #cbd5e0;
    padding: 2px 8px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.railway-transfer-badge:hover {
    background-color: #0a396d;
    color: #ffffff !important;
    border-color: #0a396d;
}

@media (max-width: 600px) {
    .railway-tree {
        padding-left: 24px;
        margin-left: 8px;
    }
    .railway-tree::before {
        left: 7px;
        width: 4px;
    }
    .railway-node::before {
        left: -24px;
        width: 14px;
        height: 14px;
        border-width: 3px;
        top: 20px;
    }
    .railway-station-card {
        padding: 10px 14px;
    }
    .railway-station-name {
        font-size: 0.95em;
    }
    .railway-transfer-box {
        font-size: 0.8em;
    }
}


/**************************************
  フッター
***************************************/
.footer_title {
    font-size: 14pt;
}
.footer_subtitle {
    font-size: 12pt;
    margin-left: 10px;
}


/**************************************
  パーツ
***************************************/

/* サイドボタン */
.logo-side-right {
    position: fixed;
    top: 100px;
    right:0;
    text-align: right;
    z-index: 10;
}
.logo-side-button {
    display: inline-block;
    padding:10px 20px;
    text-align: center;
    text-decoration: none;
    outline: none;
}
.logo-side-button,
.logo-side-button::before,
.logo-side-button::after {
    -webkit-transition: all .3s;
    transition: all .3s;
}
.logo-side-button {
    background-color: var(--mj-key-color);
    color: #fff;
}
.logo-side-button:hover {
    background-color: var(--mj-key-color);
    color:#fff !important;
}

/* ボックス */
.tab-caption-box {
    margin-left: 2%;
    margin-right: 2%;
}
.tab-caption-box-content {
    margin-top: -2px;
    padding: 1.2em 1em;
    border-radius: 2px;
    border-width: 2px;
}
.tab-caption-box-label{
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}
.caption-box {
    margin-left: 2%;
    margin-right: 2%;
}

/* カギ型ボックス */
.box-kagi {
    position: relative;
    padding:0.5em 1.5em;
    margin: 0 10px 50px 10px;
}
.box-kagi:before,.box-kagi:after{ 
    content:'';
    width: 20px;
    height: 30px;
    position: absolute;
    display: inline-block;
}
.box-kagi:before{
    border-left: solid 1px var(--mj-key-color);
    border-top: solid 1px var(--mj-key-color);
    top:0;
    left: 0;
}
.box-kagi:after{
    border-right: solid 1px var(--mj-key-color);
    border-bottom: solid 1px var(--mj-key-color);
    bottom:0;
    right: 0;
}
.box-kagi p {
    margin: 0; 
    padding: 0;
    color: var(--mj-key-color);
}

/* Videoコンテナ― */
.video-container {
  max-width: 100%;
}

/* Youtube Shots */
.youtube-shorts iframe {
  position: relative;
  aspect-ratio:9 /16;
}

.youtube-shorts .video {
  height: 100%;
  margin: 0 auto;
  overflow: visible;
  padding-bottom: 0;
  width: 100%;
}

/* 次のページボックス */
.next-page-button {
  border: 2px solid var(--mj-key-color);
  border-left: 120px solid var(--mj-key-color);
  border-radius:0.5em;
  padding: 15px 5px 15px 10px;
  font-weight: bold;
  max-width: 60%;
  margin: 20px auto;
}
.next-page-button:before {
  color: #ffffff;
  font-weight: bold;
  content:"次のページ";
  margin-right: 20px;
  margin-left: -110px;
}
/* 前のページボックス */
.prev-page-button {
  border: 2px solid var(--mj-key-color);
  border-left: 120px solid var(--mj-key-color);
  border-radius:0.5em;
  padding: 15px 5px 15px 10px;
  font-weight: bold;
  max-width: 60%;
  margin: 20px auto;
}
.prev-page-button:before {
  color: #ffffff;
  font-weight: bold;
  content:"前のページ";
  margin-right: 20px;
  margin-left: -110px;
}

/* ブログカード */
.wp-block-cocoon-blocks-blogcard {
      margin-top: 20px;
}
.internal-blogcard-site {
    display: none;  /* ドメインを非表示 */
}
.blogcard {
    padding: 1.6% 2.2% 1.6%;
    border-radius: 2px;
    white-space: normal;
}
.blogcard-footer {
    padding-top: 0;
}
.blogcard-content {
    max-height: 200px;
}


/**************************************
  歳時記（saijiki）
***************************************/
.spot-saijiki {
    margin-top: 50px;
    margin-bottom: 70px;
}
.article h3.spot-saijiki-header {
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: none;
    font-size: 1.2rem;
    text-align: center;
    letter-spacing: 0.5em;
}
.article a.spot-saijiki-link {
    border-bottom: 1px solid #ccc;
    margin-top: 5px;
    margin-bottom: 0;
}
.article a.spot-saijiki-link:first-of-type {
    border-top: 1px solid #ccc;
}
.article .spot-saijiki-body {
    border: none;
    padding: 1.6% 2.2% 1.6%;
}


/* マルチページ用ページャー */
.pager-prev-next {
    margin-top: 64px;
}
.pager-numbers {
    margin-bottom: 80px;
}
.pager-prev-next a {
    width: 100%;
}
.page-numbers {
    border: 2px solid #ddd;
    color: var(--mj-key-color);
    height: 45px;
    line-height: 45px;
    font-weight: 500;
}
.pager-prev-next span {
    font-size: 120%;
    height: 64px;
    line-height: 64px;
    margin-bottom: 10px;

}
/* アーカイブ用ページャー */
.pagination-next-link, .comment-btn {
    border: 2px solid #ddd;
    color: var(--mj-key-color);
    border-color: rgba(10,57,109,.5);
}

/* トグルボタンのレイアウト調整 */
.toggle-button {
    text-align: left;
}

/* Twitterの埋め込みレイアウト調整 */
#ctf .ctf-tweet-actions a span.fa, #ctf .ctf-tweet-actions a svg {
  color: rgb(255, 255, 255);
}
.ctf-tweet-actions span.external-icon, .ctf-tweet-actions span.internal-icon {
  color: rgb(255, 255, 255);
}
#ctf .ctf-action-count {
  color: rgb(255, 255, 255);
}
.ctf-tweet-content .blogcard-wrap {
    background-color: var(--mj-key-color);
}
#ctf a.cf {
    background-color: var(--mj-key-color);
    margin: 2px auto;
}
#ctf div.blogcard {
    border: none;
}


/**************************************
  leaflet.jp
***************************************/
/* レイアウト調整 */
.img_map .leaflet-marker-icon {
  border: 2px solid var(--mj-key-color);
  border-radius: 30px;
}
.img_map_sakura .leaflet-marker-icon {
  border: 2px solid #e95295;
  border-radius: 30px;
}

#mapcontainer_2022beach {
  width:100%; height:500px;
}
#mapcontainer_2021kamakura_maple_west {
  width:100%; height:700px;
}
#mapcontainer_2021kamakura_maple_east {
  width:100%; height:800px;
}
#mapcontainer_2021kamakura_maple_north {
  width:100%; height:800px;
}
#mapcontainer_2021kamakura_ginkgo_west {
  width:100%; height:800px;
}
#mapcontainer_2021kamakura_ginkgo_east {
  width:100%; height:900px;
}
#mapcontainer_2021kamakura_ginkgo_north {
  width:100%; height:800px;
}
/* leaflet.jpのレイアウト調整（汎用） */
#mapcontainer_300 {
  width:100%; height:300px;
}
#mapcontainer_350 {
  width:100%; height:350px;
}
#mapcontainer_400 {
  width:100%; height:400px;
}
#mapcontainer_450 {
  width:100%; height:450px;
}
#mapcontainer_500 {
  width:100%; height:500px;
}
#mapcontainer_550 {
  width:100%; height:550px;
}
#mapcontainer_600 {
  width:100%; height:600px;
}
#mapcontainer_650 {
  width:100%; height:650px;
}
#mapcontainer_700 {
  width:100%; height:700px;
}
#mapcontainer_750 {
  width:100%; height:750px;
}
#mapcontainer_800 {
  width:100%; height:800px;
}
#mapcontainer_850 {
  width:100%; height:850px;
}
#mapcontainer_900 {
  width:100%; height:900px;
}
#mapcontainer_950 {
  width:100%; height:950px;
}
#mapcontainer_1000 {
    width:100%; height:1000px;
}
#mapcontainer_1100 {
    width:100%; height:1100px;
}
#mapcontainer_1200 {
    width:100%; height:1200px;
}
@media (max-width: 834px) {
  #mapcontainer_300 {
    width:100%; height:150px;
  }
  #mapcontainer_350 {
    width:100%; height:175px;
  }
  #mapcontainer_400 {
    width:100%; height:200px;
  }
  #mapcontainer_450 {
    width:100%; height:225px;
  }
  #mapcontainer_500 {
    width:100%; height:250px;
  }
  #mapcontainer_550 {
    width:100%; height:275px;
  }
  #mapcontainer_600 {
    width:100%; height:300px;
  }
  #mapcontainer_650 {
    width:100%; height:325px;
  }
  #mapcontainer_700 {
    width:100%; height:350px;
  }
  #mapcontainer_750 {
    width:100%; height:375px;
  }
  #mapcontainer_800 {
    width:100%; height:400px;
  }
  #mapcontainer_850 {
    width:100%; height:425px;
  }
  #mapcontainer_900 {
    width:100%; height:450px;
  }
  #mapcontainer_950 {
    width:100%; height:475px;
  }
  #mapcontainer_1000 {
    width:100%; height:500px;
  }
  #mapcontainer_1100 {
    width:100%; height:550px;
  }
  #mapcontainer_1200 {
    width:100%; height:600px;
  }
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1200px以下*/
@media screen and (max-width: 1200px){
/* サイドボタン */
  .entry-content p {
     padding-left: 10px;
     padding-right: 10px;
  }


}

/*1023px以下*/
@media screen and (max-width: 1023px){
/* サイドボタン */
  .logo-side-right {
     display:none;
  }


}

/*834px以下*/
@media screen and (max-width: 834px){
  main.main, div.sidebar {
    padding: 16px 0;
  }

  .article h1 {
    padding: 0 10px;
  }
  .article h2 {
    padding: 25px 10px;
  }
  .article h3, .article h3, .article h4, .article h5, .article h6 {
    padding: 12px 5px;
  }

  table th, table td {
    padding: 10px;
    font-size: 1.0em;
  }

  table.chronology th, table.chronology td {
    padding: 5px;
    font-size: 0.8em;
  }

/* 詳細検索（Search & Filter）画面用 */
  .searchandfilter {
      width: 100%;
  }
  .search_text {
      width: 100%;
  }

/* 目次 */
div#ez-toc-container {
    margin: 30px auto;
}

/* フロント固定ページの見出し */
.home.page .article h2 {
  padding: 0px 10px;
}

/* 分割カラム内のテーブル */
  .wp-block-column table {
      margin-left: 2%;
      margin-right: 2%;
  }

/* ブログカード */
  .wp-block-cocoon-blocks-blogcard {
      margin-top: 20px;
  }
  .blogcard-title {
      font-size: 1em;
  }
  .blogcard-snippet {
      font-size: 0.9em;
      margin-top: 5px;
  }
  .blogcard-thumbnail img {
      margin-top: 5px;
  }
  .blogcard-content {
      margin-top: 5px;
  }

/* ボックス */
  .blank-box {
      padding: 1.2em 0.5em;
      margin-left: 2%;
      margin-right: 2%;
  }

  .tab-caption-box {
      margin-left: 2%;
      margin-right: 2%;
  }
  .tab-caption-box-content {
      padding: 1.2em 1em;
      border-radius: 4px;
  }

  .caption-box {
      margin-left: 2%;
      margin-right: 2%;
  }

  .button-block {
      margin-left: 2%;
      margin-right: 2%;
  }

/* AD */
  .ad-area {
      margin-left: 5%;
      margin-right: 5%;
  }


}

/*1024px以下(トップページ検索ボックス用)*/
@media only screen and (min-width: 641px) and (max-width: 1024px){
    .asl_w_container, div.asl_w.asl_m {
        margin: 0 auto;
        width: 90% !important;
    }
}

/*640px以下(トップページ検索ボックス用)*/
@media only screen and (max-width: 640px){
    .asl_w_container, div.asl_w.asl_m {
        margin: 0 auto;
        width: 90% !important;
    }
}

/*480px以下*/
@media screen and (max-width: 480px){
  /* 投稿ページのタイトル調整 */
  .entry-title {
      font-size: 24px;
      padding: 1.0em 0;
  }

  /* 投稿ページのヘッダー調整 */
/*
  .article h2, .article h3, .article h4, .article h5, .article h6 {
      padding: 0.5em 0.25em;
  }
*/
  .footer_subtitle {
      margin-bottom: 30px;
  }

  /* 本日の朝日・夕日 */
  h3.sunset, h3.sunrise {
    font-size: 14pt;
    margin-top: 1em;
    margin-bottom: 2em;
  }
  h3.sunset:before, h3.sunrise:before {
    bottom: -15px;
    width: 30%;
  }

  /* leaflet.jpのレイアウト調整 */
  #mapcontainer_2022beach {
    width:100%; height:450px;
  }
  #mapcontainer_2021kamakura_maple_west {
    width:100%; height:350px;
  }
  #mapcontainer_2021kamakura_maple_east {
    width:100%; height:450px;
  }
  #mapcontainer_2021kamakura_maple_north {
    width:100%; height:400px;
  }
  #mapcontainer_2021kamakura_ginkgo_west {
    width:100%; height:450px;
  }
  #mapcontainer_2021kamakura_ginkgo_east {
    width:100%; height:450px;
  }
  #mapcontainer_2021kamakura_ginkgo_north {
    width:100%; height:400px;
  }

}

/*440px以下*/
@media screen and (max-width: 440px){
/* ボックス */
  .container .blank-box {
      margin-left: 2%;
      margin-right: 2%;
  }
  .tab-caption-box {
      margin-left: 2%;
      margin-right: 2%;
  }

/* 次のページボックス */
  .next-page-button {
    max-width: none;
    margin-left: 2%;
    margin-right: 2%;
    border-left: 100px solid var(--mj-key-color);
 }
  .next-page-button:before {
    margin-left: -100px;
  }
/* 前のページボックス */
  .prev-page-button {
    max-width: none;
    margin-left: 2%;
    margin-right: 2%;
    border-left: 100px solid var(--mj-key-color);
 }
  .prev-page-button:before {
    margin-left: -100px;
  }


}
