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



#container {
    overflow-x: hidden;
}
.home .entry-content{
    margin-bottom: 0 !important;
}
.home .footer{
    margin-top: 0 !important;
}
.home .content,
.home .main{
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
	background-color: #fff;
}
.home .article{
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.home .entry-content{
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.a-wrap:hover{
    transform: none !important;
    opacity: 1 !important;
    box-shadow: none !important;
    background: inherit !important;
}
.a-wrap img{
    transition: opacity .25s ease;
}
.a-wrap:hover img{
    opacity: .8;
}

html,
body{
    height:100%;
}
#container{
    min-height:100vh;
    display:flex;
    flex-direction:column;
}
#content{
    flex:1;
}

/* 
.gtranslate-jp{
  position: relative;
  padding-left: 18px;
}

.gtranslate-jp::before{
  content: "|";
  position: absolute;
  left: 0;
  top: 40%;
  transform: translateY(-40%);
  opacity: .5;
}
.gtranslate-en a{
  padding: 0 0.8em 0 1em !important;
}
.gtranslate-jp a{
  padding: 0 !important;
}

.entry-content .has-small-font-size {
  font-size: 0.9rem !important;
  line-height: 1.6;
  color: #666;
}
 */
/* テーブル内のリストだけ余白をなくす */
.entry-content table td ul,
.entry-content table td ol {
  margin-bottom: 0 !important;
}

.spdn {
  display: block;
}
.pcdn {
  display: none;
}
@media screen and (max-width: 750px) {
.pcdn  {
       display: block;
      }
.spdn  {
    display: none;
      }
  }
.widget-entry-card-update-date {
  display: none;
}

/* 日付 */
.date-tags{
  margin-bottom: 2rem !important;
}
.post-date .entry-date {
  font-size: 18px;
  font-weight: 600;
}
.post-update .entry-date {
  font-size: 14px;
  opacity: 0.7;
}
.page .date-tags {
  display: none;
}

/* ==========================
ヘッダー
========================== */
.menu-header .item-label{
    font-weight: 700;
}
.menu-header a{
    transition: opacity .2s ease;
}
.menu-header a:hover{
    background: transparent !important;
    color: inherit !important;
    opacity: .65;
}

/* =========================
   モバイルヘッダー
========================= */
@media (max-width: 768px){
    .mobile-header-menu-buttons{
        display: flex;
        align-items: center;
        background: #f4f0e7 !important;
        min-height: 76px;
        box-shadow: none !important;
        border-bottom: none !important;
    }
    .navi-menu-button{
        order: 1;
    }
    .logo-menu-button{
        order: 2;
        flex: 1;
        display: flex;
        align-items: center;
		padding-right: 44px;
    }
	
    .site-logo-image{
        max-height: 48px;
        width: auto;
    }
    .search-menu-button{
        display: none !important;
    }
    .mobile-header-menu-buttons .menu-icon{
        font-size: 22px;
        color: #333;
    }
    .mobile-header-menu-buttons .menu-caption{
        display: none;
    }
    .menu-mobile{
        display: none !important;
    }
    .mobile-header-menu-buttons,
    .mobile-header-menu-buttons li{
        box-shadow: none !important;
    }
	.header-container{
        padding-top: 25px;
    }
}

/* ==========================
フッター
========================== */
.footer-left{
    text-align: center;
}
.footer-left .textwidget{
    text-align: center;
}
.footer-left .widget_media_image{
    max-width: 180px;
    margin: 0 auto 15px;
}

.footer-left .widget_media_image img{
    width: 100%;
    height: auto;
}
.footer-left .textwidget p{
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
}
.footer{
    font-size: 16px;
}
.footer-widget a{
    font-size: 16px;
    line-height: 1.5;
}
.footer-widget li{
    margin-bottom: 8px;
}
.footer a,
.footer a:hover{
    color: inherit !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
	padding: 0 !important;
}
.footer a:hover{
    text-decoration: underline;
}
.footer-bottom{
    margin-top: 0 !important;
}
.footer aside{
    margin-bottom: 0 !important;
}
.footer-left{
    flex: 1.5;
}
.footer-center{
    flex: 0.6;
}
.footer-right{
    flex: 1.8;
}
@media (max-width: 768px){
    .footer-widgets{
        display: flex !important;
        flex-wrap: wrap;
    }
    .footer-left{
        width: 100% !important;
        text-align: center;
        margin-bottom: 25px;
        flex: none !important;
    }
    .footer-center,
    .footer-right{
        width: 50% !important;
        box-sizing: border-box;
        flex: none !important;
    }
    .footer-center{
        padding-right: 10px;
        padding-left: 50px;
    }
    .footer-right{
        padding-left: 10px;
    }
    .footer-center ul,
    .footer-right ul{
        padding-left: 0;
    }
}


/* ==========================
TOP見出し
========================== */
.entry-content .mabashi-h2{
    position: relative;
    text-align: center;
    border: none !important;
    background: none !important;
    margin: 80px 0 50px;
    padding: 0 !important;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.4;
    color: #0681c8;
}
.entry-content .mabashi-h2::before{
    content: "";
    display: block;
    width: 100px;
    height: 72px;
    margin: 0 auto -5px;
    background-image: url("/wp-content/uploads/2026/06/h2-icon.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.entry-content .mabashi-h2::after{
    display: block;
    margin-top: 0px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #4d4d4d;
}
.entry-content .pickup-title::after{
    content: "PICKUP NEW";
}
.entry-content .localguide-title::after{
    content: "LOCAL GUIDE";
}
.entry-content .info-title::after{
    content: "INFO";
}

@media(max-width:768px){
    .entry-content .mabashi-h2{
        font-size: 1.7rem;
        margin: 60px 0 35px;
    }
    .entry-content .mabashi-h2::before{
        width: 50px;
        height: 50px;
    }
    .entry-content .mabashi-h2::after{
        font-size: 0.75rem;
    }
}

.home .article h3{
  border: none;
  background: none;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #4f4032;
  padding: 0;
  margin: 80px 0 25px;
}
.home .article h3:after{
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin: 10px auto 0;
  background: #c59b6d;
}
.home .article h3:before{
  content: "\f02b";
  font-family: FontAwesome;
  margin-right: 8px;
  color: #6b5f4b;
  font-size: 1.0em;
}

/* ==========================
下層見出し
========================== */
body:not(.home) .entry-content h2.wp-block-heading{
  background: #0693e3 !important;
  color: #fff !important;
  padding: 0.6em 0.8em 0.8em 0.8em !important;
  margin-top: 3em !important;
}

body:not(.home) .entry-content h3{
  border: none;
  font-size: 20px;
  font-weight: 700;
  position: relative;
  margin: 1.5em 0 0.8em;
  padding-left: 18px;
}

body:not(.home) .entry-content h3::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 1.2em;
  background: #2f6fb2;
}

/* ==========================
カテゴリ一覧
========================== */
/* PCのみ本文の文章を読みやすい幅に */
@media (min-width: 769px) {
  .entry-content p.wp-block-paragraph ,  .entry-content ul.wp-block-list {
    max-width: 800px;
    margin-left: 1em;
  }
}

/* ==========================
リスト
========================== */
.article ul li, .article ol li{
	margin-bottom: 0.6em;
	line-height: 1.6;
}


/* ==========================
テーブル
========================== */
.entry-content table{
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e5e5e5;
  background: #fff;
  font-size: 18px;
}
.entry-content tr{
  border-bottom: 1px solid #eeeeee;
}
.entry-content td{
  padding: 8px 12px;  /* ←ここで「縮める」 */
  background: #fff;
  vertical-align: top;
}
.entry-content tr:last-child{
  border-bottom: none;
}
.entry-content td:first-child{
  width: 20%;
  font-weight: 600;
  background: #ebe0c6;
}

/* ==========================
googlemap
========================== */
.entry-content iframe {
  width: 960px;
  height: 450px;
  border: 0;
}
.entry-content .mabashi-custom-map iframe {
  width: 960px;
  height: 640px;
  border: 0;
}


@media (max-width: 768px) {
  .entry-content iframe {
    height: 280px;
  }
  .entry-content .mabashi-custom-map iframe {
  width: 960px;
  height: 280px;
}
}


/* ==========================
アピールエリア
========================== */
.appeal{
    background-size: contain;
}
.header-container, .main, .sidebar, .footer{
    background-color: #f4f0e7;
}
.navi{
    background-color: #f4f0e7;
}
.header-container-in.hlt-top-menu{
    padding-top: 0.6em;
	padding-bottom: 0.6em;
}
/* スマホ（画面幅768px以下）のときだけ画像を差し替える */
@media screen and (max-width: 768px) {
  #appeal {
    background-image: url("/wp-content/uploads/2026/07/main_img_sp.webp") !important;
	height: 125vw !important; /* ★画面幅に合わせた完璧な比率で高さを自動計算します */
    background-size: cover !important; /* 隙間なく全体を覆う */
    background-position: center !important; /* 画像の真ん中を基準にする */
  }
}

/* ==========================
TOP馬橋ってなに
========================== */
.mabashi-about{
    position: relative;
    padding: 60px;
	margin-top: -50px;
    overflow: hidden;
}
.mabashi-about::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/wp-content/uploads/2026/06/top_toha_map.png");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    z-index: 0;
}
.mabashi-about > *{
    position: relative;
    z-index: 1;
}

@media (max-width: 768px){
    .mabashi-about{
        padding: 20px;
	    margin-bottom: 0 !important;
    }
    .mabashi-about::before{
        display: none;
    }
    .mabashi-about::after{
    content: "";
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-top: -80px;
    background-image: url("/wp-content/uploads/2026/06/top_toha_map.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    }
}

/* ==========================
TOP馬橋西口・東口
========================== */
.mabashi-district{
    text-align: center;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.mabashi-district .wp-block-image{
    display: table;
    margin-left: auto !important;
    margin-right: auto !important;
	margin-bottom: 10px;
}
.mabashi-district .wp-block-image img{
    width:100% !important;
    max-width:460px;
    height:auto;
}
.district-title{
    margin: 0 0 0.5em !important;
/*     color: #0681c8; */
    font-size: clamp(22px, 2.0vw, 30px);
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.3;
    text-align: center;
}
.district-txt{
    text-align: left;
    max-width:460px;
}



/* ==========================
TOPスポット
========================== */
.spot-section{
    margin: 50px 0 60px !important;
}
.spot-section > .wp-block-columns{
    align-items: center;
}
.spot-label{
    min-height: 350px;
    background:
        url("/wp-content/uploads/2026/06/spot_title_pc.png")
        center center / contain no-repeat;
}
.spot-card{
    position: relative;
}
.spot-card .wp-block-image{
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
}
.spot-card .wp-block-image img{
    width: 100%;
    aspect-ratio: 1.1 / 1;
    object-fit: cover;
    display: block;
    transition: .4s;
}
.spot-card:hover img{
    transform: scale(1.05);
}
.spot-card .wp-block-image::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.6),
        rgba(0,0,0,0)
    );
    z-index: 1;
    pointer-events: none;
}
.spot-card p{
    position: absolute;
    left: 18px;
    bottom: 18px;
    margin: 0 !important;
    color: #fff !important;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    z-index: 5;
    text-shadow:
        0 2px 8px rgba(0,0,0,.6);
}

@media (max-width:768px){
    .spot-section{
        margin: 60px 0;
    }
    .spot-section > .wp-block-columns{
        gap: 20px;
    }
    .spot-label{
        min-height: 120px;
        background-image:
            url("/wp-content/uploads/2026/06/spot_title_sp.png");
    }
    .spot-card{
        margin-bottom: 15px;
    }
    .spot-card .wp-block-image img{
        aspect-ratio: 3 / 2;
    }
    .spot-card p{
        left: 12px;
        bottom: 12px;
        font-size: 1rem !important;
        line-height: 1.3;
    }
    .spot-section .wp-block-columns:last-child{
        flex-wrap: nowrap !important;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 10px;
    }
    .spot-section .wp-block-columns:last-child > .wp-block-column{
        min-width: 180px;
    }
}

/* ==========================
TOP新着情報
========================== */
/* .pickup-section{
    position: relative;
    width: 100vw;
    max-width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 10px 20px 60px;
} */
.pickup-section{
    position: relative;
    width: 100vw;
    max-width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 0px 20px 80px;
    margin-top: 120px;
    margin-bottom: 0 !important;
}
.pickup-section:before{
    content:"";
    position:absolute;
    top:-70px;
    left:-10%;
    width:120%;
    height:70px;
    background:#fff;
    border-radius:50% 50% 0 0 / 100% 100% 0 0;
}

.pickup-section > .wp-block-columns{
    max-width: 1200px;
    margin: 0 auto !important;
}

.widget-entry-cards .a-wrap{
    background:#fff;
    box-shadow:0 4px 20px rgba(0,0,0,.10);
    transition:all .3s ease;
	border: 1px solid #e9e9e9;
	padding: 8px;
}
.widget-entry-card-thumb{
    overflow:hidden;
}
.widget-entry-card-thumb img{
    transition:transform .5s ease;
}

.widget-entry-cards .a-wrap:hover .widget-entry-card-thumb img{
    transform:scale(1.06);
}
.widget-entry-cards:not(.large-thumb-on) .card-title{
    padding:0 0.6em 0.5em 1em !important;
}
.widget-entry-card-date{
    padding:0 0.6em 0.3em 1em !important;
}
.fa-clock-o{
   display: none; !important;
}

@media (max-width: 768px){
  .pickup-section{
    padding-bottom: 40px;
  }
  .pickup-section .is-layout-flex{
    gap: 0.5rem !important;
  }
  .widget-entry-cards{
    padding: 0 2%;
  }
  .widget-entry-cards .a-wrap{
    width: 100%;
    max-width: 100%;
    margin: 0 auto 30px !important;
  }
  .widget-entry-card-thumb img{
    width: 100%;
    height: auto;
    display: block;
  }
}

/* カテゴリバッチ */
.widget-entry-card-thumb{
  position: relative !important;
  overflow: hidden;
}
.widget-entry-card-thumb .cat-label{
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  z-index: 10;
  display: inline-block !important;
  width: auto !important;
  max-width: none !important;
  padding: 5px 10px !important;
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 700;
  line-height: 1 !important;
  letter-spacing: 0.05em;
  color: #fff !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 3px !important;
  white-space: nowrap;
}

/* イベント */
.category-event .cat-label,
.category-event-post .cat-label{
  background: #d94841 !important;
}
/* 食べる */
.category-eat .cat-label,
.category-eat-post .cat-label{
  background: #e67e22 !important;
}
/* お店 */
.category-shop .cat-label,
.category-shop-post .cat-label{
  background: #2b6cb0 !important;
}
/* スポット */
.category-spot .cat-label,
.category-spot-post .cat-label{
  background: #2f855a !important;
}
/* まち案内 */
.category-guide .cat-label,
.category-guide-post .cat-label{
  background: #8b6f47 !important;
}

.cat-label,
.entry-category{
    border: none !important;
    box-shadow: none !important;
    border-radius: 3px;
    color: #fff !important;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
	left: 0.8em !important;
	top: 0.8em !important;
}

/* ==========================
TOPイベント
========================== */
.home{
    overflow-x:hidden;
}
.event-section{
    position: relative;
    width: 100vw;
    max-width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0;
    margin-right: 0;
    padding: 60px 20px;
    background-image:url("/wp-content/uploads/2026/06/bg_event.jpg");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}
.event-section::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    z-index: 0;
}
.article h2.event-title{
    position: relative;
    z-index: 2;
    margin: 0 auto 20px;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #fff !important;
    font-size: clamp(30px, 3vw, 48px) !important;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.08em;
    line-height: 1.2;
}
.event-card{
    position: relative;
    z-index: 1;
    max-width:1000px;
    width:90%;	
    margin: 0 auto 80px;
    background: rgba(255,255,255,0.85);
	backdrop-filter: blur(8px);
    padding: 35px 40px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.event-card:last-child{
    margin-bottom: 0;
}
.event-card .wp-block-media-text{
    grid-template-columns: 42% 58%;
    align-items: start;
}
.event-card .wp-block-media-text__content{
    padding-top: 0;
    align-self: start;
}
.event-date{
    display: inline-block;
    margin: 10px 0 0px;
    padding: 6px 14px;
    background: #0681c8;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    border-radius: 999px;
}
.event-day{
    font-size: 1.4rem;
    font-weight: 700;
}
.event-card p{
    line-height: 1.8;
    color: #555;
}

@media (max-width: 768px){
    .event-section{
        padding: 40px 15px;
    }
    .event-card{
        padding: 0 0 20px 0;
        margin-bottom: 40px;
    }
    .event-day{
        font-size: 1.1rem;
    }
    .event-card .wp-block-media-text{
        display: block;
    }
    .event-card img{
        margin-bottom: 20px;
    }
}

/* ==========================
   TOP 店舗紹介
========================== */
.shop-card{
    position: relative;
    overflow: visible;
    margin-bottom: 40px;
}
.shop-card .wp-block-image{
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
}
.shop-card .wp-block-image img{
    width: 100%;
    aspect-ratio: 1.2 / 1;
    object-fit: cover;
    display: block;
    transition: .4s;
}
.shop-card:hover img{
    transform: scale(1.05);
}
.shop-info{
    position: absolute;
    right: 15px;
    bottom: -20px;
    background: #fff;
    padding: 14px 18px;
    border-radius: 10px;
    box-shadow:
        0 6px 20px rgba(0,0,0,.12);
    z-index: 10;
    min-width: 140px;
    max-width: 80%;
}
.shop-name{
    margin: 0 !important;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: #333;
}
.shop-category{
    margin: 2px 0 0 !important;
    color: #0681c8;
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.4;
}

@media (max-width:768px){
    .shop-card{
        margin-bottom: 15px;
    }
    .shop-card .wp-block-image img{
        aspect-ratio: 1.4 / 1;
    }
    .shop-info{
        right: 10px;
        bottom: 10px;
        padding: 10px 14px;
        min-width: 110px;
        max-width: 85%;
    }
    .shop-name{
        font-size: .9rem;
        line-height: 1.3;
    }
    .shop-category{
        font-size: .7rem;
    }
}

/* タグ一覧 */
.tag-links{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 760px;
    margin: 0 auto;
}
.tag-links .wp-block-button{
    margin: 0 !important;
	padding-bottom: 10px;
}
.tag-links .wp-block-button__link{
    position: relative;
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid #d8cdbb;
    color: #6b5f4b;
    border-radius: 4px;
    padding: 12px 16px 12px 34px !important;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    box-shadow: none;
    transition: all .25s ease;
}
.tag-links .wp-block-button__link:before{
    content: "\f02b";
    font-family: FontAwesome;
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    opacity: .7;
}
.tag-links .wp-block-button__link:hover{
    background: #0681c8 !important;
    border-color: #0681c8 !important;
    color: #fff !important;
}



/* ==========================
TOPお知らせ
========================== */
.info-section{
    position: relative;
    width: 100vw;
    max-width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 10px 20px 80px;
    margin: 0 !important;
}
.info-section .info-list-box{
    max-width: 1200px;
    margin: 0 auto;
}

.info-list{
    max-width: 850px;
    margin: 0 auto;
    padding: 20px 30px;
    background:#fff !important;
    border: 1px solid #ece6dc !important;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
.info-list-item{
    display: flex;
    align-items: center;
    gap: 15px;
    background:transparent;
    border:none;
    border-bottom:1px solid #ece6dc;
    border-radius:0;
    padding:14px 0;	
}
.info-list-item-meta{
    display: flex;
    align-items: center;
    gap: 10px;
    order: 1;
    flex-shrink: 0;
}
.info-list-item-content{
    order: 2;
	margin-bottom: 0;
}
.info-list-item-date{
    font-size: 15px;
    color: #333;
	margin-right: 5px;
}
.info-list-item-categorys .entry-category{
    background: #8b6f47;
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 0px 6px ;
    font-size: 12px;
}
.info-list-item-content-link{
    color: #333;
    font-weight: 600;
    text-decoration: none;
}
.info-list.is-style-frame-border{
	border: none;
}


/* ==========================
投稿・固定ページの横幅
========================== */
.single .content-in{
    max-width: 1100px;
}
.single .main,
.single #main{
    max-width: 960px;
    margin: 0 auto;
}
/* 固定ページ（TOP除く） */
.page:not(.home) .content-in{
    max-width:1100px;
}
.page:not(.home) .main,
.page:not(.home) #main{
    max-width:960px;
    margin:0 auto;
}


.breadcrumb{
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
	padding-left: 2rem !important;
	font-size:15px !important;
}

/* 記事下の一覧に戻るボタン */
.back-to-list{
    text-align: center;
    margin: 50px 0;
}
.back-to-list a{
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid #0681c8;
    border-radius: 4px;
    background: #fff;
    color: #0681c8;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: .25s;
}
.back-to-list a:hover{
    background: #0681c8;
    color: #fff;
    opacity: 1;
}

/* ==========================
アクセスページ
========================== */
/* --- 全体コンテナ --- */
.mabashi-access-guide {
  margin: 2em 0;
  font-family: sans-serif;
}
.mabashi-category {
  margin-bottom: 3.5em;
}
.mabashi-category-title {
  font-size: 1.3em !important;
  font-weight: bold;
  color: #333;
  margin-bottom: 1.2em !important;
  display: flex;
  align-items: center;
  gap: 10px;
  border: none !important;
  background: none !important;
}

/* WordPressの自動改行バグをCSSで強制無効化 */
.mabashi-route-grid br,
.mabashi-route-grid p {
  display: none !important;
}

/* --- PC環境（画面幅769px以上）での2列×2行固定設定 --- */
@media screen and (min-width: 769px) {
  .mabashi-route-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: stretch !important;
  }
  .mabashi-route-card {
    width: calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
    flex: 0 0 calc(50% - 10px) !important;
    margin-bottom: 20px !important;
    display: block !important;
  }
}

/* --- カード自体の共通デザイン --- */
.mabashi-route-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5em;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  position: relative;
  box-sizing: border-box !important;
}
.mabashi-card-head {
  font-weight: bold;
  font-size: 1.05em;
  color: #111827;
  margin-bottom: 0.3em;
  padding-right: 70px;
}
.mabashi-time-badge {
  position: absolute;
  top: 1.5em;
  right: 1.5em;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 0.75em;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 4px;
}

/* --- 縦型タイムライン --- */
.mabashi-timeline {
  list-style: none !important;
  padding: 0 !important;
  margin: 1.5em 0 0 0 !important;
}
.mabashi-timeline li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 0 !important;
  padding-bottom: 1.5em;
}
.mabashi-timeline li:last-child {
  padding-bottom: 0;
}
.mabashi-timeline li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 18px;
  bottom: 0;
  width: 2px;
  background: #cbd5e1;
}
.mabashi-timeline li:last-child::before {
  display: none;
}
.mabashi-timeline li::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #00a3af;
  box-sizing: border-box;
}
.mabashi-timeline li:last-child::after {
  border-color: #ff9900;
  background: #ff9900;
  transform: scale(1.2);
}
.mabashi-spot {
  display: block;
  font-weight: bold;
  font-size: 0.95em;
  color: #333;
  line-height: 1.4;
}
.mabashi-spot.mabashi-goal {
  color: #d46b08;
}
.mabashi-transit {
  display: block;
  font-size: 0.8em;
  color: #64748b;
  margin-top: 4px;
  line-height: 1.4;
}

/* --- スマホ対応（画面幅768px以下は自動で1列） --- */
@media screen and (max-width: 768px) {
  .mabashi-route-grid {
    display: block !important;
  }
  .mabashi-route-card {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 20px !important;
  }
}

/* スマホメニューの区切り線 */
.menu-divider {
  border-top: 2px solid #e5e7eb !important; /* 区切り線の色 */
  margin-top: 15px !important;              /* 上に空けるスキマ */
  padding-top: 15px !important;             /* 線から文字までのスキマ */
  width: 80%;
}
/* フッター背景 */
.footer{
	padding-top: 0 !important;
}
.footer {
    position: relative;
    background-color: #0681c8 !important; /* フッターを青色に指定 */
    padding-top: 120px !important; 
    border-top: none !important; 
}

.footer::before {
    content: "";
    position: absolute;
    top: -1px; 
    left: 0;
    width: 100%;
    height: 90px; 
    /* ★基本設定：下層ページ用に背景をベージュ（#f4f0e7）にする */
    background: #f4f0e7 url("/wp-content/uploads/2026/06/bg_footer_town.png"); 
    background-repeat: repeat-x; 
    background-position: center top;
    background-size: auto 100%; 
    z-index: 1;
}

/* ★追加：トップページ（.home）のときだけ、イラストの背景色を白（#fff）に上書き */
.home .footer::before {
    background-color: #fff;
}