@charset "UTF-8";

/*
Theme Name: Origin
Author: WeFull Co., Ltd.
Author URI: https://www.wefull.co.jp/
Version: 1.2
*/

header {
	display: flex;
	justify-content: space-between;
}

header img.logo {
	max-width: 200px;
	object-fit: contain;
}

@media screen and (min-width: 768px){
	.outline {
		max-width: 1540px;
    	margin: auto;
		padding: 0 1rem;
    	display: flex;
    	justify-content: space-between;
	}
}

@media screen and (max-width: 767px){
	.outline {
		display: block;
		padding: 0 15px;
	}
}

@media screen and (min-width: 768px){
	.wiki_footer {
		max-width: 1540px;
    	margin: 2rem auto 0;
		padding: 2rem 0;
		border-top: 1px solid #a2a9b1;
	}
	
	.wiki_footer p,
	.wiki_footer ul {
		font-size: 0.75em;
	}
}

@media screen and (max-width: 767px){
	.wiki_footer {
		display: block;
		padding: 0 15px;
		margin: 2rem auto 0;
		padding: 0 0 2rem;
		border-top: 1px solid #a2a9b1;
		background: #eee;
	}
	
	.wiki_footer p.description,
	.wiki_footer ul {
		font-size: 0.875em;
		padding-left: 15px;
		padding-right: 15px;
	}
	
	.wiki_footer p.time {
		font-size: 0.875em;
		font-weight: bold;
		color: #54595d;
		border-bottom: 1px solid #c8ccd1;
		margin-bottom: 2rem;
		padding: 0.75em 15px;
	}
	
	.wiki_footer p.time span {
		display: none;
	}
}

.wiki_footer ul {
	display: flex;
}

.wiki_footer ul li {
	margin-right: 1em;
}

article {
    width: calc(100% - 480px);
}

@media screen and (max-width: 767px){
	article {
		width: 100%;
	}
}

aside.left_menu,
aside.right_menu {
	max-height: calc(100vh - 150px);
    position: sticky;
    top: 20px;
	overflow-x: hidden;
    overflow-y: auto;
}

aside.left_menu {
	width: 240px;
}

aside.right_menu {
	width: 200px;
}

@media screen and (max-width: 767px){
	aside.left_menu,
	aside.right_menu {
		width: 100%;
	}
}

aside.left_menu h2,
aside.right_menu h2 {
	font-size: 18px;
	margin-bottom: 0.5em;
	padding: 0.5em 0;
	border-bottom: 1px solid #a2a9b1;
}

aside.right_menu {
	padding-right: 10px;
}

aside.right_menu ul li {
	position: relative;
}

aside.right_menu ul li.empty::after {
	content: "＊";
    position: absolute;
    font-size: 14px;
	top: 10px;
    right: 10px;
    color: #999;
	
}

aside.right_menu ul li:not(:last-child){
	margin-bottom: 1rem;
}

aside.right_menu ul li a {
	display: block;
	color: #333;
	background: #fafafa;
	padding: 10px;
	border: 1px solid #eee;
	border-radius: 10px;
} 

aside.right_menu ul li a .team,
aside.right_menu ul li a .position {
	display: block;
	font-size: small;
}

aside.right_menu ul li a .position {
	display: flex;
	color: #fff;
	line-height: 1;
	padding: 0 5px;
	align-items: center;
	border-radius: 5px;
}

aside.right_menu ul li a .position.pitcher {
	background: #ed6bca;
}

aside.right_menu ul li a .position.catcher {
	background: #6e9eff;
}

aside.right_menu ul li a .position.first,
aside.right_menu ul li a .position.second,
aside.right_menu ul li a .position.third,
aside.right_menu ul li a .position.shortstop {
	background: #bfac4c;
}

aside.right_menu ul li a .position.outfield {
	background: #9ebf3b;
}

aside.right_menu ul li a .position.dh {
	background: #666;
}

aside.right_menu ul li a .number {
	display: flex;
	color: #fff;
	font-size: 11px;
	font-weight: bold;
	text-align: center;
	background: #3366cc;
	margin-right: 5px;
	line-height: 1;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	aspect-ratio: 1 / 1;
	border-radius: 100px;
}

aside.right_menu ul li a .name {
	font-weight: bold;
}

aside.right_menu ul li a:hover {
	color: #333;
	background: #eee;
	text-decoration: none;
}

aside.right_menu ul li a p.main,
aside.right_menu ul li a p.meta {
	display: flex;
}

aside.right_menu ul li a p.meta {
	margin-bottom: 6px;
	padding-bottom: 6px;
	border-bottom: 1px solid #ccc;
	align-items: center;
	justify-content:;
}

aside.right_menu ul li a p.main  {
	justify-content: space-between;
}

nav.sp_nav ul li:not(:last-child){
	border-bottom: 1px solid #ccc;
}

nav.sp_nav ul li a {
	display: block;
	color: #333;
	padding: 5px;
} 

nav.sp_nav ul li a .number,
nav.sp_nav ul li a .team,
nav.sp_nav ul li a .position {
	display: block;
	font-size: small;
}

nav.sp_nav ul li a .number {
	width: 20px;
	font-weight: bold;
	text-align: center;
	color: #fff;
	background: #444;
	margin-right: 3px;
}

nav.sp_nav ul li a .name {
	font-weight: bold;
}

nav.sp_nav ul li a .position {
	display: flex;
	line-height: 1;
	padding: 0 5px;
	align-items: center;
	border-radius: 5px;
}

nav.sp_nav ul li a p.main,
nav.sp_nav ul li a p.meta {
	display: flex;
}

nav.sp_nav ul li a p.main {
	justify-content: space-between;
}

nav.sp_nav ul li a p.meta {
	margin-bottom: 5px;
}

/********** 共通ヘッダー **********/
header {
    display: flex;
	justify-content: space-between;
	max-width: 1440px;
    margin: auto;
	padding: 10px;
}

@media screen and (max-width: 767px){
	header {
		height: 50px;
		padding: 0 10px;
	}
}

header img.logo {
	display: block;
	max-width: 200px;
}

@media screen and (max-width: 767px){
	header img.logo {
		position: relative;
    	width: 160px;
	}
}

.site-content {
    margin-top: 20px;
}

article p {
	font-size: 0.944em;
}

article .box {
	margin-bottom: 1rem;
}

@media screen and (max-width: 767px){
	article .box {
		display: none;/*はじめは非表示*/
		margin-bottom: 0.5rem;
	}
}

article h1 {
	font-size: 1.8em;
	font-weight: normal;
	margin-bottom: 0.6em;
    border-bottom: 1px solid #a2a9b1;
}

@media screen and (max-width: 767px){
	article h1 {
		font-family: 'Linux Libertine', 'Georgia', 'Times', 'Source Serif Pro', serif;
		border-bottom: 1px solid #eaecf0;
	}
}

article span {
	font-weight: bold;
}

article h2 {
	font-size: 1.5em;
	font-weight: normal;
	margin: 0.25em 0 0.5em 0;
	padding-top: 0.5em;
    padding-bottom: 0.17em;
    border-bottom: 1px solid #a2a9b1;
	overflow: hidden;
}

@media screen and (max-width: 767px){
	article h2 {
		font-size: 1.4em;
		font-family: 'Linux Libertine', 'Georgia', 'Times', 'Source Serif Pro', serif;
		border-bottom: 1px solid #eaecf0;
		padding-bottom: 0.4em;
	}
}

article h2.sp_only {
    display: flex;
    align-items: center;
}

article h2.sp_only::before {
	content: "";
    display: block;
    background-image: url(./img/arrow4.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 24px;
    height: 24px;
	margin-right: 5px;
}

article h2.sp_only.close::before {
	transform: rotate(180deg);
}

article h3 {
	font-size: 1.2em;
	margin: 0.5em 0 0 0;
	padding: 0.5em 0;
}

article h4 {
	margin-top: 0.2em;
    margin-bottom: 0.5em;
}

article table.record {
	word-break: break-all;
	margin: 1em 0;
	background-color: #f8f9fa;
}

@media screen and (max-width: 767px){
	article table.record {
		display: block;
    	width: 100% !important;
    	box-sizing: border-box;
		overflow: auto;
    	overflow-y: hidden;
    	overflow-x: auto;
	}
}

article table.record th,
article table.record td {
	font-size: small;
	border: 1px solid #a2a9b1;
    padding: 0.2em 0.4em;
	white-space: nowrap;
}

@media screen and (max-width: 767px){
	article table.record th,
	article table.record td {
		font-size: 13px;
		padding:  0.3em 0.2em;
	}
}

article table.record td {
	text-align: right;
}

article table.record.rank td {
	text-align: center;
}

article table.record td.gold {
	background: gold;
}

article table.record td.silver {
	background: silver;
}

article table.record td.bronze {
	background: #c96;
}

article table.record td span {
	font-weight: bold;
}

article table.record td span.red {
	color: red;
}

article table.record tr.head th {
	background-color: #eaecf0;
    text-align: center;
	line-height: 1.2;
}

/* article table.record tr.head th a{
	writing-mode: vertical-rl;
    -moz-text-align-last: justify;
    text-align-last: justify;
    letter-spacing: 0.3em;
} */

article table.record tr:not(.head) td:first-child {
	text-align: center;
}

article table.record tr.bg_gray td {
	background: #eaecf0;
}

article ul.record {
	list-style: disc;
	padding-left: 30px;
}

article ul.record li {
	font-size: 0.944em;
}

@media screen and (max-width: 767px){
	article ul.record li {
		line-height: 1.65;
	}
}

article ul.record span.red {
	color: red;
}

article ul.title {
	list-style: disc;
	margin-bottom: 1rem;
	padding-left: 25px;
}

@media screen and (max-width: 767px){
	article ul.title {
		padding-left: 20px;
	}
}

article ul.title li {
	font-size: 0.944rem;
	margin-bottom: 0.1rem;
}

@media screen and (max-width: 767px){
	article ul.title li {
		line-height: 1.65;
	}
	
	article ul.title li:not(:last-child) {
		margin-bottom: 10px;
	}
}

article ul.title li ul {
	margin-top: 0.3rem;
	margin-bottom: 0.3rem;
}

article ol.references {
	font-size: 90%;
    list-style: auto;
    padding-left: 30px;
}

@media screen and (max-width: 767px){
	article ol.references {
		padding-left: 20px;
	}
}

article ol.references li {
	margin-bottom: 0.2em;
}

@media screen and (max-width: 767px){
	article ol.references li {
		margin-bottom: 0.5em;
	}
}

/* 情報ボックス */
.sidebox {
	float: right;
    clear: right;
	margin: 0.5em 0 0.5em 1em;
	border: 1px solid #a2a9b1;
    background-color: #f8f9fa;
}

@media screen and (max-width: 767px){
	.sidebox {
		width:100%;
		float: none;
		margin: 1rem 0;
		border: 1px solid #eaecf0;
	}
}

.sidebox caption {
    margin-top: 0.5em;
    font-size: 110%;
    font-weight: bold;
}

.sidebox table {
	width: 100%;
	font-size: 88%;
	box-sizing: border-box;
	border-collapse: separate;
    text-indent: initial;
    border-spacing: 2px;
}

@media screen and (max-width: 767px){
	.sidebox table {
		border-spacing: 1px;
	}
}

.sidebox table img.picture {
	
}

@media screen and (max-width: 767px){
	.sidebox table img.picture {
		display: block;
		max-width: 80%;
		margin: 0 auto 1rem;
	}
}

.sidebox table img.kokki {
	max-width: 25px;
}

.sidebox table th.head {
	color: #fff;
}

.sidebox table th.side {
	width: 30%;
	font-size: 95%;
	text-align: left;
	color: #fff;
}

.sidebox table td.data {
	width: 70%;
	font-size: 95%;
}

@media screen and (max-width: 767px){
	.sidebox table th,
	.sidebox table td {
		padding: 7px 10px;
	}
	
	.sidebox table th.side,
	.sidebox table td.data {
		width: 50%;
	}
}

.sidebox table td ul {
	list-style: disc;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 25px;
}

@media screen and (max-width: 767px){
	.sidebox table td ul {
		padding-top: 0;
		padding-bottom: 0;
		padding-left: 15px;
	}
}

.sidebox table td ul li {
	font-size: 95%;
	line-height: 1.5;
	margin-bottom: 0.1em;
}

@media screen and (max-width: 767px){
	.sidebox table td ul li {
		line-height: 2;
	}
}

/* チームごとの配色振り分け */

/* 朝日 */
.sidebox table.asahi th.head {
	background: #FF7820;
}
.sidebox table.asahi th.side {
	background: #000;
}
aside.right_menu ul li.asahi a .number {
	background: #FF7820;
}
aside.right_menu ul li.asahi a .team {
	color: #000;
}

/* 阪急 */
.sidebox table.hankyu th.head {
	background: #000;
}
.sidebox table.hankyu th.side {
	color: #000;
	background: #FFE100;
}
aside.right_menu ul li.hankyu a .number {
	color: #000;
	background: #FFE100;
}
aside.right_menu ul li.hankyu a .team {
	color: #000;
}

/* トヨタ */
.sidebox table.toyota th.head {
	background: #003595;
}
.sidebox table.toyota th.side {
	background: #005DAD;
}
aside.right_menu ul li.toyota a .number {
	background: #003595;
}
aside.right_menu ul li.kyoto a .team {
	color: #003595;
}

/* 京都 */
.sidebox table.kyoto th.head {
	background: #003333;
}
.sidebox table.kyoto th.side {
	background: #990033;
}
aside.right_menu ul li.kyoto a .number {
	background: #990033;
}
aside.right_menu ul li.kyoto a .team {
	color: #990033;
}

/* 東京 */
.sidebox table.tokyo th.head {
	background: #073170;
}
.sidebox table.tokyo th.side {
	color: #073170;
	background: #96c800;
}
aside.right_menu ul li.tokyo a .number {
	color: #073170;
	background: #96c800;
}
aside.right_menu ul li.tokyo a .team {
	color: #073170;
}

/* 宮城 */
.sidebox table.miyagi th.head {
	background: #870010;
}
.sidebox table.miyagi th.side {
	color: #000;
	background: #FFCC30;
}
aside.right_menu ul li.miyagi a .number {
	background: #870010;
}
aside.right_menu ul li.miyagi a .team {
	color: #870010;
}

/* キーエンス */
.sidebox table.fukuoka th.head {
	color: #000;
	background: #FBC700;
}
.sidebox table.fukuoka th.side {
	background: #000;
}
aside.right_menu ul li.fukuoka a .number {
	color: #000;
	background: #FBC700;
}
aside.right_menu ul li.fukuoka a .team {
	color: #000;
}

/* ソニー */
.sidebox table.sony th.head {
	background: #202040;
}
.sidebox table.sony th.side {
	background: #AA9010;
}
aside.right_menu ul li.sony a .number {
	background: #AA9010;
}
aside.right_menu ul li.sony a .team {
	color: #202040;
}

/* 札幌 */
.sidebox table.sapporo th.head {
	background: #006666;
}
.sidebox table.sapporo th.side {
	background: #666;
}
aside.right_menu ul li.sapporo a .number {
	background: #006666;
}
aside.right_menu ul li.sapporo a .team {
	color: #666;
}

/* 西鉄 */
.sidebox table.nishi th.head {
	background: #00215B;
}
.sidebox table.nishi th.side {
	background: #00A0E0;
}
aside.right_menu ul li.nishi a .number {
	background: #00A0E0;
}
aside.right_menu ul li.nishi a .team {
	color: #00215B;
}

/* 南海 */
.sidebox table.osaka th.head {
	background: #660066;
}
.sidebox table.osaka th.side {
	background: #444;
}
aside.right_menu ul li.osaka a .number {
	background: #660066;
}
aside.right_menu ul li.osaka a .team {
	color: #444;
}

/* ロッテ */
.sidebox table.lotte th.head {
	background: #000;
}
.sidebox table.lotte th.side {
	color: #000;
	background: #ccc;
}
aside.right_menu ul li.lotte a .number {
	background: #000;
}
aside.right_menu ul li.lotte a .team {
	color: #000;
}

/* 左サイドメニュー */
.left_menu ul li {
	font-size: 0.875rem;
	line-height: 2.2;
}

.left_menu ul li.sub {
	margin-left: 1rem;
}

/********** ハンバーガーメニュー **********/
.hamburger {
	display: flex;
    position: fixed;
    width: 80px;
    height: 80px;
	top: 10px;
    right: 2rem;
    color: #fff;
	background: #fff;
    border: 1px solid #fff;
    border-radius: 100%;
	align-items: end;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
}

@media screen and (min-width: 1200px){
	.hamburger {
		display: none;
	}
}

@media screen and (max-width: 767px){
	.hamburger {
		width: 50px;
    	height: 50px;
		top: 0;
		right: 0;
		border: none;
		border-radius: unset;
	}
}

.hamburger p {
	font-size: 0.8rem;
	font-weight: bold;
	margin-bottom: 10px;
}

@media screen and (max-width: 767px){
	.hamburger p {
		font-size: 0.7rem;
		margin-bottom: 3px;
	}
}

.hamburger span {
	display: block;
    position: absolute;
	width: 50%;
    height: 2px;
	left: 25%;
	background: #333;
	transition: 0.3s;
}

@media screen and (max-width: 767px){
	.hamburger span {
		width: 60%;
		left: 20%;
	}
}

.hamburger span:nth-child(1){
	top: 16px;
}
.hamburger span:nth-child(2){
	top: 28px;
}
.hamburger span:nth-child(3){
	top: 40px;
}

@media screen and (max-width: 767px){
	.hamburger span:nth-child(1){
		top: 12px;
	}
	.hamburger span:nth-child(2){
		top: 24px;
	}
	.hamburger span:nth-child(3){
		top: 36px;
	}
}

.hamburger p.close {
	display: none;
	transition: 0.3s;
}

.hamburger.active p.close {
	display: block;
}

.hamburger.active p.open {
	display: none;
	transition: 0.3s;
}

@media screen and (max-width: 767px){
	.hamburger p.open,
	.hamburger.active p.close{
		display: none;
	}
}

.hamburger.active span:nth-child(1) {
    top: 28px;
    left: 20px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
    background: #333;
    transition: 0.3s;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
	transition: 0.3s;
}

.hamburger.active span:nth-child(3) {
    top: 28px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
    background: #333;
    transition: 0.3s;
}

@media screen and (max-width: 767px){
	.hamburger.active span:nth-child(1),
	.hamburger.active span:nth-child(3){
		top: 24px;
		left: 12px;
	}
}

nav.globalMenuSp {
  position: fixed;
  z-index : 2;
  top  : 0;
  right : -102%;
  color: #000;
  transition: all 0.6s;
  background: #fff;
  padding: 100px 20px 20px;
  width: 60%;
  height: 100%;
  overflow-y: auto;
  box-shadow: 0 2px 2px rgb(0 0 0 / 30%);
}

@media screen and (max-width: 767px){
	nav.globalMenuSp {
		width: 100%;
		max-width: 200px;
		padding: 50px 10px 10px;
	}
}

nav.globalMenuSp ul {
  width: 100%;
  transition: 0.3s;
}

nav.globalMenuSp ul.first{
	margin-top: 50px;
}

nav.globalMenuSp ul li {
  position: relative;
  list-style-type: none;
  width: 100%;
}

/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
  right: 0;
}

.globalMenuSp h2{
	font-size: 20px;
	line-height: 50px;
}

.novel_page {
	padding: 0 10px;
}

.novel_page .wrap {
	max-width: 800px;
	margin: auto;
}

.novel_page .head {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background: #eee;
    padding: 1rem;
	border-bottom: 1px solid #ddd;
}

@media screen and (max-width: 767px){
	.novel_page .head {
		padding: 0;
	}
}

.novel_page .head .wrap{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}

.novel_page .head .title {
	width: 100%;
    font-weight: bold;
    text-align: center;
}

@media screen and (min-width: 768px){
	.novel_page .head .title {
		width: 50%;
        font-size: 1.4rem;
        color: #fff;
        background: #4d6b9b;
        line-height: 40px;
	}
}

@media screen and (max-width: 767px){
	.novel_page .head .title {
		font-size: 0.9rem;
		color: #fff;
		background: #666;
	}
}

.novel_page .head form {
	width: calc(50% - 100px);
	max-width: 600px;
}

@media screen and (max-width: 767px){
	.novel_page .head form {
		width: calc(100% - 120px);
	}
	
	.novel_page .head form select {
		font-size: 14px;
	}
}

.novel_page .text {
	margin-top: 100px;
	padding-bottom: 2rem;
}

@media screen and (max-width: 767px){
	.novel_page .text {
		margin-top: 90px;
	}
	
	.novel_page .text p {
		font-size: 14px;
		line-height: 1.8;
	}
}

.novel_page .text h2,
.novel_page .text h3 {
	margin-bottom: 1rem;
}

.novel_page .text h2 {
	padding-left: 10px;
	border-left: 5px solid;
}

.nav-icon {
	width: 40px;
    line-height: 40px;
    color: #fff;
    background: #36c;
    text-align: center;
    border: 1px solid;
}

@media screen and (max-width: 767px){
	.nav-icon {
		width: 50px;
		line-height: 50px;
		border: 0;
	}
}

.nav-icon:not(.disable):hover {
	background: #578af2;
}

.nav-icon.disabled {
    color: #ccc;      /* グレーアウト */
	background: #fff;
    pointer-events: none; /* クリック無効 */
    cursor: default;
}

.search .container {
	max-width: 1540px;
	margin: 0 auto;
	padding: 2rem 0;
}

/*** Twittor ***/
.twittor {
	background: linear-gradient(to right, #172439, #4d6b9b, #172439);
	min-height: 100vh;
}

.twittor #container {
	position: relative;
	max-width: 600px;
	margin: auto;
	padding: 80px 1rem 0;
	background: #fff;
	min-height: 100vh;
}

@media screen and (min-width: 601px){
	.twittor #container {
		box-shadow: 0 0 20px #333;
	}
}

@media screen and (max-width: 600px){
	.twittor #container {
		padding: 60px 0 0;
	}
}

.twittor .panel {
	position: fixed;
    width: 600px;
	height: 80px;
    top: 0;
    left: calc(50% - 300px);
    display: flex;
    align-items: center;
    justify-content: space-between;
	color: #fff;
    background: #16bc7a;
    padding: 0 1rem;
    z-index: 10;
}

@media screen and (max-width: 600px){
	.twittor .panel {
		width: 100%;
		height: 60px;
		left: 0;
		padding: 10px;
	}
}

.twittor .panel button {
	width: 60px;
	font-weight: bold;
	color: #fff;
    background: #117b51;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.twittor .panel button.hide {
	visibility: hidden;
}

.twittor .panel a:hover {
	text-decoration: none;
}

.twittor .panel i {
	display: flex;
    align-items: center;
    justify-content: center;
	width:40px;
	height: 40px;
	color: #fff;
}

.twittor .panel i.logo {
	font-size: 24px;
}


.twittor .panel i.back {
	font-size: 32px;
}

.twittor #post-list {

}

@media screen and (max-width: 600px){
	.twittor #post-list {

	}
}

.twittor #post-list .post-item,
.twittor #reply-list .post-item {
	position: relative;
	padding: 1rem 0 1rem 50px;
}

@media screen and (max-width: 600px){
	.twittor #post-list .post-item,
	.twittor #reply-list .post-item {
		padding: 10px 10px 10px 50px;
	}
}

.twittor #post-list .post-item::before,
.twittor #reply-list .post-item::before{
	display: block;
	position: absolute;
	content: "";
	top: 1rem;
	left: 0;
	width: 40px;
	height: 40px;
	background-image: url(./img/icon.jpg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: bottom center;
	border-radius: 100px;
}

@media screen and (max-width: 600px){
	.twittor #post-list .post-item::before,
	.twittor #reply-list .post-item::before {
		width: 32px;
		height: 32px;
		left: 10px;
	}
}

.twittor #post-list .post-item:not(:last-child){
	border-bottom: 1px solid #ddd;
}

.twittor #post-list .post-item .head,
.twittor #reply-list .post-item .head{
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 5px;
	margin-top: 5px;
}

@media screen and (max-width: 600px){
	.twittor #post-list .post-item .head {
		/* margin-bottom: 10px; */
	}
}

.twittor #post-list .post-item .head p.name,
.twittor #reply-list .post-item .head p.name{
	display: flex;
	align-items: center;
	font-weight: bold;
	margin: 0;
}

.twittor #post-list .post-item .head time,
.twittor #reply-list .post-item .head time{
	font-size: 0.9em;
}

@media screen and (max-width: 600px){
	.twittor #post-list .post-item p.txt,
	.twittor #reply-list .post-item p.txt{
		font-size: 14px;
		line-height: 1.3;
	}
}

.twittor #post-list .post-item .head button,
.twittor #post-list .post-item .foot-area button {
	width: 28px;
	padding: 4px;
	margin-left: 5px;
	color: #870010;
}

.twittor #post-list .post-item .post-image img,
.twittor #reply-list .post-item .post-image img {
	display: block;
	width: auto;
	max-width: 100%;
	border: 1px solid #ccc;
	border-radius: 10px;
	margin-bottom: 1rem;
}

.twittor #reply-list .post-item span {
	display: inline-block;
	font-weight: bold;
    color: #4c80ea;
	margin-bottom: 5px;
}

.twittor .post-item .foot-area {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.twittor .post-item .foot-area .engage {
	display: flex;
	align-items: center;
	width: calc(100% - 100px);
}

.twittor .post-item .foot-area time {
	width: 100px;
	font-size: 0.9em;
	text-align: right;
}

.twittor #post-modal .modal-content {
	position: relative;
	background: #fff;
	width: 500px;
	margin: 100px auto;
	padding: 20px;
	border-radius: 8px;
}

@media screen and (max-width: 600px){
	.twittor #post-modal .modal-content {
		width: 100%;
		padding: 10px;
		border-radius: 0;
		margin: 0;
	}
}

.twittor #post-modal .modal-content .name,
.twittor #reply-form-container .name{
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.twittor #post-modal .modal-content .name p,
.twittor #reply-form-container .name p {
	width: fit-content;
	font-weight: bold;
	white-space: nowrap;
	margin: 0;
}

.twittor #post-modal .modal-content textarea,
.twittor #reply-form-container textarea{
	width: 100%;
}

.twittor #post-modal .modal-content textarea{
	height: 300px;
}

@media screen and (max-width: 600px){
	.twittor #post-modal .modal-content textarea{
		height: 120px;
		padding-right: 60px;
	}
}

.twittor #reply-form-container textarea{
	height: 120px;
}

.twittor #post-modal .modal-content .submit,
.twittor #reply-form-container .reply-form-buttons {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.twittor #post-modal .modal-content .submit button:not(#remove-image),
.twittor #reply-form-container .reply-form-buttons button{
	border: 0;
	height: 50px;
	transition: 0.3s;
}

.twittor #post-modal .modal-content .submit button#submit-post,
.twittor #reply-form-container .reply-form-buttons button#submit-reply{
	width: 70%;
	font-weight: bold;
	color: #fff;
    background: #16bc7a;
	border: 1px solid #16bc7a;
}

@media screen and (max-width: 600px){
	.twittor #post-modal .modal-content .submit button#submit-post {
		width: 60%;
	}
}

.twittor #post-modal .modal-content .submit button#submit-post:hover,
.twittor #reply-form-container .reply-form-buttons button#submit-reply:hover {
	background: #117b51;
	transition: 0.3s;
}

.twittor #post-modal .modal-content .submit button#close-modal,
.twittor #reply-form-container .reply-form-buttons button#cancel-reply {
	width: 29%;
	color: #fff;
	background: #999;
}

.twittor #post-modal .modal-content .submit button#close-modal:hover,
.twittor #reply-form-container .reply-form-buttons button#cancel-reply:hover {
	background: #bbb;
	transition: 0.3s;
}

.twittor #post-modal .modal-content .submit button#close-modal {
	position: absolute;
	margin: 0 auto;
    bottom: -60px;
    right: 0;
    left: 0;
	height: 40px;
	border: 1px solid #fff;
	border-radius: 100px;
}

/* モーダル全体の背景（黒い透過） */
#post-modal {
    display: none; /* JSで制御 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

/* アニメーションの設定 */
.modal-content {
    position: relative;
    top: -100%; /* 最初は画面の上に隠しておく */
    transition: top 0.2s ease; /* 0.4秒かけて動く */
}

/* 表示された時の状態 */
#post-modal.is-visible .modal-content {
    top: 0; /* 画面の一番上まで降りてくる */
}

#toggle-reply-form {
	width: 50%;
	font-weight: bold;
	text-align: center;
	margin: 0 auto;
    padding: 10px;
	color: #117b51;
    background: #e2f4ec;
	border: 1px solid #789f8f;
    border-radius: 8px;
    transition: background 0.3s;
}

#toggle-reply-form:hover {
    background: #fff;
}

#reply-list .post-item .foot-area .engage{
	visibility: hidden;
}

/* いいねボタン */
.like-btn {
	width: fit-content;
    background: none;
    border: none;
    cursor: pointer;
    color: #65676b;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.2s;
	margin-left: 10px;
}

.like-btn:hover {
    background-color: rgba(224, 36, 94, 0.1);
    color: #e0245e;
}

.reply-section {
	padding-bottom: 1rem;
    border-bottom: 1px solid #ccc;
}

@media screen and (max-width: 600px){
	.twittor #post-list a.reply-btn,
	.like-btn {
		font-size: 14px;
	}
	
	.reply-section {
		padding: 10px;
	}
}

/* 押した時のアニメーション */
@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}
.heart-beat i {
    animation: heartBeat 0.3s ease-in-out;
}

/* 自作ボタンのデザイン */
.image-upload-wrapper {
	width: 29%;
}

@media screen and (max-width: 600px){
	.image-upload-wrapper {
		width: 39%;
	}
}

.custom-file-upload {
	width: 100%;
    display: inline-block;
	line-height: 50px;
    padding: 0 15px;
    cursor: pointer;
    background: #f0f2f5;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 16px;
	font-weight: bold;
	text-align: center;
    transition: 0.3s;
}

@media screen and (max-width: 600px){
	.custom-file-upload {
		font-size: 14px;
		padding: 0 5px;
	}
}

.custom-file-upload:hover {
    background: #e4e6e9;
}

/* プレビュー画像のデザイン */
.preview-container {
    position: absolute;
    bottom: 90px;
    right: 30px;
    width: fit-content;
}

@media screen and (max-width: 600px){
	.preview-container {
		bottom: 74px;
    	right: 16px;
	}
}

#preview-img {
    max-width: 80px;
    border-radius: 8px;
    border: 1px solid #ddd;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

@media screen and (max-width: 600px){
	#preview-img {
		max-width: 50px;
	}
}

/* プレビューを消すための「×」ボタン */
#remove-image {
    position: absolute;
    top: -5px;
    right: -5px;
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    line-height: 20px;
    text-align: center;
	padding: 0;
}