@charset "utf-8";
/* CSS Document */

/*==================================
ページトップへのボタン
====================================*/

#pagetop {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background-color: rgba(0, 0, 0, 0.7);
	width: 50px;
	height: 50px;
	z-index: 100;
	cursor: pointer;
	border-radius: 50%;
}

#pagetop:before {
	content: '';
	position: absolute;
	top: 20px;
	left: 50%;
	transform: translateX(-50%) rotate(-45deg);
	width: 10px;
	height: 10px;
	border-top: 5px solid #fff;
	border-right: 5px solid #fff;
	transition: .5s;
}

#pagetop:hover::before {
	top: 12px;
}

#pagetop a{
	display: block;
	height: 100%;
}

/*==================================
ホバーの共通化
====================================*/

.cmn_hover {
	transition: 0.5s;
}

.cmn_hover:hover {
	opacity: 0.6;
	text-decoration: none;
}

/*==================================
共通のpadding設定
====================================*/

.sub_pdg {
	padding: 100px 0;
}

/*====================
一覧ページネーション
====================*/

.pagenation {
	display: flex;
	justify-content: center;
	margin: 60px auto 0;
}

.pagenation li {
	margin: 0 5px;
}

.pagenation li span,
.pagenation li a {
	padding: 10px;
	display: block;
	background-color: #fff;
	border: 1px solid;
	line-height: 1.5;
}

.pagenation li span,
.pagenation li:hover a {
	color: #fff;
}

.pagenation li span,
.pagenation li a:hover {
	background-color: #434343;
}

.post_none {
	margin: 0 auto;
	font-size: 2rem;
}

.top_post_none {
	font-size: 1.4rem;
	color: #fff;
}

/*========================================
詳細ページネーションの設定
==========================================*/

.paginated-link {
	display: flex;
	justify-content: center;
	color: inherit;
	line-height: 1;
	margin-top: 40px;
}

.paginated-link a {
	line-height: 1;
}


.back-link {
	position: relative;
	width: 100px;
	text-align: center;
	border-left: 1px solid;
	border-right: 1px solid;
}

.prev-link,
.next-link {
	width: 40%;
}

.prev-link {
	margin-right: 20px;
	text-align: right;
}

.next-link {
	margin-left: 20px;
}

/*==================================
パンくずリスト設定
====================================*/

.breadcrumbs {
	position: absolute;
	left: 0;
	width: 100%;
	padding: 7px 0;
	z-index: 20;
}

.breadcrumbs .bread_boxs {
	justify-content: flex-start;
}

body:not(#top) .breadcrumbs .bread_boxs {
	flex-direction: row;
	padding: 4px 0;
}

.breadcrumbs li {
	list-style: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	position: relative;
}

.breadcrumbs .bread_name {
	flex: 1;
}

.breadcrumbs li:not(:last-child)::before {
	content: ' ';
	display: block;
	margin: auto;
	border-top: 1px solid;
	border-right: 1px solid;
	transform: rotate(45deg);
	position: absolute;
	top: 0;
	bottom: 0;
	right: 13px;
	width: 7px;
	height: 7px;
}

.breadcrumbs li,
.breadcrumbs a {
	font-size: 1.2rem;
}

.breadcrumbs a {
	text-decoration: underline;
	overflow: hidden;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.breadcrumbs li:not(:last-child) {
	padding: 0 30px 0 0;
}


/*post_tag_item*/

.post_tag_item{
	margin-bottom: 40px;
	color: inherit;
}

.post_tag_item_select{
	display: block;
	width: 300px;
	padding: 7px 10px;
	line-height: 1.5;
	margin-left: auto;
	font-weight: inherit;
	font-family: inherit;
	color: inherit;
	vertical-align: middle;
	font-size: 1.5rem;
	outline: none;
	border: 2px solid #f39800;
	background-color: #fff;
}

.post_tag_item_option{
	font-weight: inherit;
	font-family: inherit;
	color: inherit;
}


/*==================================
テキスト中央寄席の設定
====================================*/

.cen_txt {
	text-align: center;
}

/*==================================
ここから追加
====================================*/

/* wakoku_shop_bnr */

.wakoku_shop_bnr{
	position: fixed;
	bottom: 110px;
	right: 0;
	transition: .4s;
	transform: translateX(160px);
	z-index: 20;
}

.wakoku_shop_bnr:hover{
	transform: translate(0);
}

.wakoku_shop_bnr a{
	display: flex;
	align-items: center;
	color: #fff;
	line-height: 1;
	padding: 0 0 0 30px;
	background: #9b7b4e;
	width: 250px;
	height: 80px;
}

.wakoku_shop_bnr_icon{
	width: 32px;
	margin-right: 30px;
}

.wakoku_shop_bnr_txt{
	font-size: 20px;
}

.wakoku_shop_bnr_min{
	display: block;
	font-size: 13px;
	margin-bottom: 10px;
}

.wakoku_cmn_txt p:not(:last-child){
	margin-bottom: 25px;
}

.wakoku_cmn_btn{
	text-align: center;
}

.wakoku_cmn_btn a{
	display: inline-block;
	color: #fff;
	line-height: 1;
	font-size: 20px;
	padding: 20px 120px;
	background: #9b7b4e;
}

/* wakoku_cmn_ttl */

.wakoku_cmn_ttl{
	text-align: center;
	font-weight: bold;
	color: #9b7b4e;
	letter-spacing: 0.16em;
	font-size: 30px;
	line-height: 1;
	margin-bottom: 50px;
}

.wakoku_cmn_ttl span{
	display: block;
	font-weight: 400;
	font-size: 20px;
	letter-spacing: 0.08em;
	margin-bottom: 22px;
}

.wakoku_cmn_btn a{
  position:relative;
  display:inline-block;        /* 幅を持たせる */
  overflow:hidden;
}

/* 光の筋の初期状態 */
.wakoku_cmn_btn a::before{
  content:'';
  position:absolute;
  top:0;
  left:-100%;                  /* 画面外からスタート */
  width:50%;
  height:100%;
  background:rgba(255,255,255,.25);
  transform:skewX(-25deg);
  filter:blur(4px);
}

/* ホバーしたらアニメ開始 */
.wakoku_cmn_btn a:hover::before{
  animation:shine .8s forwards;/* forwards で最後の位置を保持 */
}

@keyframes shine{
  to{ left:130%; }             /* 右へ抜ける */
}

/*show_img*/

/* ───────── フェードイン（上下左右移動なし） ───────── */
.show_img_fade{
  opacity: 0;
  transform: translateY(20px) scale(.97);
  filter: blur(6px);
}

/* ビューポートに入ったらアニメ開始 */
.show_img_fade.js-on-fade{
  animation: anime_fade_focus 1.5s cubic-bezier(.22, .61, .36, 1) forwards;
}

/* キーフレーム */
@keyframes anime_fade_focus{
  0%   { opacity:0; transform:translateY(20px) scale(.97); filter:blur(6px); }
  30%  { opacity:.4;               /* 先に薄く出てくる */ }
  100% { opacity:1; transform:none; filter:blur(0); }
}

/* ───────── アニメ（下→上） ───────── */
.show_img.js-on {
  max-width: 100%;
  animation-name: anime_bottom_to_top;
  animation-fill-mode: forwards;
  animation-duration: 1.2s;
  animation-timing-function: ease;
}
/* クリップを下端から上へ広げる */
@keyframes anime_bottom_to_top {
  0%   { opacity:0; clip-path:polygon(0 100%,100% 100%,100% 100%,0 100%); }
  100% { opacity:1; clip-path:polygon(0 0,100% 0,100% 100%,0 100%); }
}

/* ───────── アニメ（右→左） ───────── */
.show_img_lf.js-on-lf {                 /* ← 好きなクラス名で */
  max-width: 100%;
  animation-name: anime_right_to_left;
  animation-fill-mode: forwards;
  animation-duration: 1.2s;
  animation-timing-function: ease;
}
/* クリップを右端から左へ広げる */
@keyframes anime_right_to_left {
  0%   { opacity:0; clip-path:polygon(100% 0,100% 0,100% 100%,100% 100%); }
  100% { opacity:1; clip-path:polygon(0 0,100% 0,100% 100%,0 100%); }
}

/* ───────── アニメ（右→左） ───────── */

.show_img_rt.js-on-rt {                /* hr = horizontal-right */
  max-width: 100%;
  animation-name: anime_left_to_right;
  animation-fill-mode: forwards;
  animation-duration: 1.2s;
  animation-timing-function: ease;
}
/* クリップを左端から右へ広げる */
@keyframes anime_left_to_right {
  0%   { opacity:0; clip-path:polygon(0 0,0 0,0 100%,0 100%); }
  100% { opacity:1; clip-path:polygon(0 0,100% 0,100% 100%,0 100%); }
}


