
/* ② 文字の背景を丸くする */
.circle-label {
  background-color: #CE1433;     /* 背景色 */
  color: white;                  /* 文字色 */
  display: inline-flex;          /* 内容のサイズに合わせる */
  justify-content: center;       /* 水平中央寄せ */
  align-items: center;           /* 垂直中央寄せ */
  width: 2em;                    /* 丸のサイズ */
  height: 2em;                   /* 丸のサイズ（widthと同じで正円） */
  border-radius: 50%;            /* 完全な丸型 */
  font-size: 1em;                /* 文字サイズ */
  font-weight: bold;            /* お好みで強調 */
}

.round {
  background-color: #CE1433;
  border-radius: 9999px; /* 完全な丸型に近づけたいとき */
  padding: 0.3em 0.8em;
  display: inline-block;
  white-space: nowrap;
  color: white;
  font-size: 0.9em;
}

/* ③ 画像の角に丸みをつける */
.photo img{
	 border-top-right-radius: 30px; /* 右上の丸み */
 border-top-left-radius: 30px; /* 左上の丸み */
 border-bottom-right-radius: 30px; /* 右下の丸み */
 border-bottom-left-radius: 30px; /* 左下の丸み */
}


/* ④ スマホ画面での下部追従バー */
@media screen and (max-width: 959px) {
    body {
        padding-bottom: 60px; /* 固定メニューの高さに合わせて余白を設定 */
    }
    #fixed-bottom-menu {
        display: block;
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        z-index: 99;
        background-color: #ffffff;
        padding: .3em .3em;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1); /* 薄い影を追加 */
    }
    #fixed-bottom-menu .swell-block-column {
        padding: .5em;
    }
    #fixed-bottom-menu .swell-block-button__link[data-has-icon] {
        padding: 1em 1em;
    }    
}
@media screen and (min-width: 960px) {
    #fixed-bottom-menu, #fixed-sidebar-menu {
        display: none; /* PCでは非表示にする */
    }
}


/* ==============================================
  ⑤ カラム用ホバーエフェクトCSSクラス
   japan-trails.comの"Bar Hopping in Shinjuku"セクション用
============================================== */

/* メインのホバーエフェクトクラス */
.hover-lift-card {
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hover-lift-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* 画像コンテナ用クラス */
.hover-image-container {
    position: relative;
    overflow: hidden;
}

.hover-image-container img,
.hover-image-container .image-bg {
    transition: transform 0.3s ease;
}

.hover-lift-card:hover .hover-image-container img,
.hover-lift-card:hover .hover-image-container .image-bg {
    transform: scale(1.1);
}

/* オーバーレイエフェクト */
.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 107, 107, 0.3), rgba(78, 205, 196, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.hover-lift-card:hover .hover-overlay {
    opacity: 1;
}

/* テキスト要素のカラーチェンジ */
.hover-title {
    transition: color 0.3s ease;
}

.hover-lift-card:hover .hover-title {
    color: #ff6b6b;
}

.hover-subtitle {
    transition: color 0.3s ease;
}

.hover-lift-card:hover .hover-subtitle {
    color: #4ecdc4;
}

/* バッジやラベル用 */
.hover-badge {
    transition: all 0.3s ease;
    transform: scale(0.95);
}

.hover-lift-card:hover .hover-badge {
    transform: scale(1);
    background-color: #27ae60;
}

/* 価格表示用 */
.hover-price {
    transition: all 0.3s ease;
}

.hover-lift-card:hover .hover-price {
    color: #e74c3c;
    font-weight: bold;
}

/* ボタン用エフェクト */
.hover-button {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hover-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.hover-lift-card:hover .hover-button::before {
    left: 100%;
}

/* アイコン用の回転エフェクト */
.hover-icon {
    transition: transform 0.3s ease;
}

.hover-lift-card:hover .hover-icon {
    transform: rotate(5deg) scale(1.1);
}

/* レーティング（星）用 */
.hover-rating {
    transition: all 0.3s ease;
}

.hover-lift-card:hover .hover-rating {
    color: #f1c40f;
    transform: scale(1.05);
}

/* パルスエフェクト（バッジ等に使用） */
.hover-pulse {
    animation: none;
    transition: all 0.3s ease;
}

.hover-lift-card:hover .hover-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }
}

/* ===============================
   特定セクション用のカスタムクラス
=============================== */

/* Bar Hopping セクション専用 */
.bar-hopping-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* より強いエフェクト版 */
.hover-lift-strong {
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hover-lift-strong:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

/* よりサブトルなエフェクト版 */
.hover-lift-subtle {
    transition: all 0.2s ease;
    cursor: pointer;
}

.hover-lift-subtle:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* ===============================
   レスポンシブ対応
=============================== */

/* モバイル端末では軽いエフェクトに */
@media (max-width: 768px) {
    .hover-lift-card:hover,
    .hover-lift-strong:hover {
        transform: translateY(-4px) scale(1);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    }
    
    /* タッチデバイスではホバーエフェクトを無効化 */
    @media (hover: none) {
        .hover-lift-card:hover,
        .hover-lift-strong:hover,
        .hover-lift-subtle:hover {
            transform: none;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
    }
}

 /* ⑥ H1の下の隙間調整 */
.l-mainContent__inner>.post_content {
margin-top: 10px;
}

 /* ⑦ リッチカラムにリンクを指定 */
.column-link{
display: block;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 10;
}

/*⑧ 投稿ページのタイトル*/
.c-postTitle__ttl{
font-size:1.8rem;
}

/*⑨ グローバルナビデザイン*/
.c-gnav>.menu-item>a .ttl {
	font-weight: bold;
	letter-spacing: 0.03em;
        color: #fdfdfd;
        font-size: 20px;
}


/*⑪　お知らせバー表示*/
@media (min-width: 960px) {
	.home .c-infoBar {
		display:block;
		height:35px;
	}

	.home .l-header {
		margin-top:42px;
	}

}

/*12　アイコン色変更*/
.swl-inline-icon2 {
    color: #CE1433;
}

/* 背景色と角に丸みをつける */
.white2{
    background-color:#fefefe; /* 背景色*/
    border-radius: 10px; /* 全体の丸み */
    padding:0.5em; /* 余白をつける */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 薄い影 */
}

/* SWELL用：特定のブロックのみに左右64pxの余白を適用 */
/* 使い方：ブロックの「高度な設定」→「追加CSSクラス」に「mobile-padding-64」を入力 */

@media (max-width: 768px) {
  /* メインクラス：左右64pxの余白 */
  .mobile-padding-64 {
    padding-left: 64px !important;
    padding-right: 64px !important;
  }
  
  /* 子要素にも適用したい場合 */
  .mobile-padding-64 > * {
    padding-left: 64px !important;
    padding-right: 64px !important;
  }
  
  /* 画像・動画は余白なしにする */
  .mobile-padding-64 .wp-block-image,
  .mobile-padding-64 .wp-block-video,
  .mobile-padding-64 .wp-block-embed,
  .mobile-padding-64 img,
  .mobile-padding-64 video {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* 他のサイズオプションも用意 */
@media (max-width: 768px) {
  /* 左右32pxの余白 */
  .mobile-padding-32 {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
  
  /* 左右48pxの余白 */
  .mobile-padding-48 {
    padding-left: 48px !important;
    padding-right: 48px !important;
  }
  
  /* 左右80pxの余白 */
  .mobile-padding-80 {
    padding-left: 80px !important;
    padding-right: 80px !important;
  }
  
  /* 余白をリセット（0にする） */
  .mobile-padding-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* 小型スマホ（375px以下）用の調整 */
@media (max-width: 375px) {
  /* 小型スマホでは自動的に半分に調整 */
  .mobile-padding-64 {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
  
  .mobile-padding-80 {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }
}

/* 他のサイズオプションも用意 */
@media (max-width: 768px) {
  /* 左右16pxの余白 */
  .mobile-padding-16 {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
	
.read-more-outer {
  position: relative !important;
}

.read-more-text {
  max-height: 7em !important;
  overflow: hidden !important;
  line-height: 1.8 !important;
  transition: max-height 0.6s ease !important;
}

.read-more-outer.expanded .read-more-text {
  max-height: 2000px !important;
  overflow: visible !important;
}

.read-more-fade {
  height: 80px !important;
  margin-top: -80px !important;
  background: linear-gradient(to bottom, transparent, #ffffff) !important;
  position: relative !important;
  z-index: 1 !important;
  transition: opacity 0.3s ease !important;
}

.read-more-outer.expanded .read-more-fade {
  display: none !important;
}

.read-more-btn-wrap {
  text-align: center !important;
  margin-top: 12px !important;
  position: relative !important;
  z-index: 2 !important;
}

.read-more-btn {
  background: #ffffff !important;
  border: 1px solid #cccccc !important;
  border-radius: 999px !important;
  padding: 8px 40px !important;
  font-size: 0.85em !important;
  font-weight: bold !important;
  cursor: pointer !important;
}

.read-more-btn:hover {
  background: #f0f0f0 !important;
}
	

