@charset "UTF-8";
/*
Theme Name: PanPilu
Theme URI: https://oreemo.booth.pm/
Author: Jiren
Author URI: https://wordpress.org/
Description: 夜のお店での利用を目的としたワードプレスのテーマになります。出勤管理機能含めプラグインは一切利用していないので、安心爆速で動作します。
Requires PHP: 5.6.39
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: PanPilu
*/

:root {
  --main-pink: #e91e63;       /* メインの濃いピンク */
  --light-pink: #fce4ec;      /* 背景用の薄いピンク */
  --accent-gold: #c5a059;     /* アクセントのゴールド */
  --text-color: #333333;      /* 通常テキスト */
  --dark-bg: #2c001e;         /* フッターなどの濃い背景（紫系） */
  --white: #ffffff;
  --shadow: 0 4px 15px rgba(233, 30, 99, 0.15); /* ピンクがかった影 */
  --font-serif: 'Noto Serif JP', serif;
  --font-sans: 'Noto Sans JP', sans-serif;
}

body{
	background: #fdf5f8; /* ほんのりピンクがかった白 */
    background-image: linear-gradient(to bottom, #fff0f5, #ffffff);
	margin:0;
	padding : 0;
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
}

img {
	max-width:100%;
	height:auto;
    border-radius: 4px; /* 画像の角を少し丸く */
}

/* ユーザープロフィール（キャスト詳細）の見出し */
#user-prof-container h4{
	display: inline-block;
	border-bottom: 2px solid var(--main-pink);
    color: var(--main-pink);
	margin-bottom:15px;
	padding-right:15px;
    padding-bottom: 5px;
    font-family: var(--font-serif);
    font-weight: 600;
}

.t-c a{
	color: var(--text-color);
	text-decoration: none;
    transition: color 0.3s;
}
.t-c a:hover {
    color: var(--main-pink);
}

.t-c img{
	width:100%;
	height:300px;
    object-fit: cover; /* 画像の比率を維持してトリミング */
    box-shadow: var(--shadow);
}

@media screen and (max-width: 768px) {
	.t-c img{
		width:100%;
		height:250px;
	}
}
@media screen and (max-width: 400px) {
	.t-c img{
		width:100%;
		height:200px;
	}
}

.sub-header{
	height:55px;
	width:100%;
	background: var(--main-pink);
    background: linear-gradient(90deg, #e91e63, #ff4081); /* グラデーション */
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.sub-header a{
	color: var(--white);
    font-weight: bold;
    font-family: var(--font-serif);
}

.top-image{
	margin-top: 10px;
	margin-bottom:20px;
}
.top-image img{
	width:100%;
	max-width: 100%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#m-thumbnail img{
	width:65px;
	height:90px;
    object-fit: cover;
    border: 1px solid var(--light-pink);
}

#user-prof-container table{
	text-align: center;
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}
#user-prof-container th {
    background: var(--light-pink);
    color: var(--main-pink);
    padding: 10px;
    border-bottom: 1px solid #eee;
}
#user-prof-container td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

#current-image img{
	width:400px;
	height:500px;
    object-fit: cover;
    border: 3px solid var(--white);
    box-shadow: var(--shadow);
}

@keyframes fadeIn {
    0% {
		/*opacity: 0;*/
		width:0;
    }
    100% {
		/*opacity: 1;*/
		width:100%;
    }
}
.fadeIn {
	animation-name: fadeIn;
	animation-duration: 0.5s;
}

FOOTER{
	padding:40px 10px;
	width:100%;
	background: var(--dark-bg);
    border-top: 3px solid var(--main-pink);
	color :#D4D4D4;
	font-size:0.9em;
}
FOOTER h3 {
    color: var(--main-pink);
    font-family: var(--font-serif);
    border-left: 3px solid var(--accent-gold);
    padding-left: 10px;
    margin-bottom: 15px;
}
FOOTER a{
	color : #eda8c6;
	text-decoration: none;
    transition: all 0.3s;
}
FOOTER a:hover{
	color : var(--white);
    text-shadow: 0 0 5px var(--main-pink);
}
.copyright{
	text-align:center;
	margin-top:30px;
    color: #888;
}


/***********************************************************
トップページのイベント一覧エリア
***********************************************************/
.top-kizi a{
	text-decoration: none;
	color: var(--text-color);
    display: block;
    background: var(--white);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.top-kizi a:hover{
	text-decoration: none;
	color: var(--main-pink);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.top-kizi{
	margin:20px 0;
}


/***********************************************************
イベント一覧レスポンシブ
***********************************************************/
.news-outer{
	display:flex;
	width:100%;
	flex-wrap: wrap;
    gap: 15px; /* アイテム間の隙間 */
}
.news-outer > div{
	width:32%;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.news-outer > div:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}
@media screen and (max-width: 1024px) {
	.news-outer > div{
		width:48%;
	}
}
@media screen and (max-width: 768px) {
	.news-outer > div{
		width:100%;
        margin-bottom: 10px;
	}
}

.news-outer-index{
	display:flex;
	width:100%;
	flex-wrap: wrap;
	margin:30px 0;
    justify-content: space-between;
}
.news-outer-index > div{
	width:48%;
	margin-bottom: 15px;
    background: #fff;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 5px;
}
@media screen and (max-width: 768px) {
	.news-outer-index > div{
		width:100%;
		margin-left:0;
	}
}

/***********************************************************
スライダーのCSS
***********************************************************/
.slider{
	max-width: 1000px;
	margin : 60px auto;
	position: relative;
    border: 5px solid var(--white);
    box-shadow: var(--shadow);
    border-radius: 8px;
}

.slider .left-side, .slider .right-side{
	position: absolute;
	height:40px;
	width:40px;
	background-color: var(--main-pink); 
	border-radius: 50%;
	color:#fff;
	font-size:18px;
	top:50%;
	cursor: pointer;
	margin-top: -20px;
	line-height: 40px;
	text-align: center;
	transition: all .5s ease;
    opacity: 0.8;
}

.slider .left-side:hover, .slider .right-side:hover{
	box-shadow: 0px 0px 15px rgba(233, 30, 99, 0.6);
	background: #c2185b;
    opacity: 1;
}

.slider .left-side{
	left: -20px; 
}

.slider .right-side{
	right: -20px;
}
.slider .slider-items .item{
	display: none;
	position: relative;
}
.slider .slider-items .item img{
	width:100%;
	max-width: 100%;
	max-height:500px;
	display: block;
	animation:zoom 1s ease;
    object-fit: cover;
}
.slider .slider-items .item.active{
	display: block;
}


@keyframes zoom{
	0%{transform: scale(1.1);opacity: 0}
	100%{transform: scale(1);opacity:1}
}

#current-area{
	width:100%;
	overflow: hidden;
	position: relative;
}

#slider-innder{
	width:100%;
}

.slide-image{
	width:100%;
	position: relative;
}

.slide-image img{
	width:100%;
	height:100%;
	object-fit: cover;
	box-sizing: border-box;
}

/***********************************************************
固定ページのテーブル
***********************************************************/
.page-area table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    background: #fff;
    margin-bottom: 20px;
}
.page-area table tbody tr:first-child{
	background: var(--main-pink);
	color:#fff;
    font-weight: bold;
    font-family: var(--font-serif);
}

.page-area td{
	border-bottom:1px solid #f0f0f0;
}

.page-area th,.page-area tr:first-child td{
	border-bottom:none;
}
.page-area th,.page-area tr:last-child td{
	border-bottom: 3px solid var(--main-pink);
}
.page-area td,.page-area th{
	padding:12px 20px;
}

/***********************************************************
スケジュールの擬似テーブル
***********************************************************/
.sc-th a{
	text-decoration: none;
	color: var(--text-color);
}
.schedule-outer{
	display:flex;
	width:100%;
	flex-wrap: wrap;
	background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}
.schedule-image {
	width: 15%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.schedule-image a{
	text-decoration: none;
	color: var(--main-pink);
	font-size:0.9em;
    font-weight: bold;
}

.schedule-inner{
	display:flex;
	width:84%;
	flex-wrap: wrap;
	margin-top:0; 
    align-items: center;
}

.schedule-inner > div {
	width:13%;
    padding: 2px;
}
.schedule-inner > div > div:first-child {
	background: var(--light-pink); 
	color: var(--main-pink);
    font-weight: bold;
    border-radius: 4px 4px 0 0;
    border: none;
}
.schedule-inner > div > div {
	border:solid 1px #eee;
	text-align: center; 
	font-size:0.9em;
	padding:6px 0px;
    background: #fff;
}

@media screen and (max-width: 768px) {
	.schedule-inner > div > div{
		font-size:0.8em;
	}
}
@media screen and (max-width: 668px) {
	.schedule-inner > div {
		width:100%;
        display: flex;
	}
    .schedule-inner > div > div {
        flex: 1;
        border-radius: 0;
    }
}

/********************************************/
/*			プロフィールリスト表示				*/
/********************************************/
.user-list-outer{
	display:flex;
	width:100%;
	flex-wrap: wrap;
	margin-top:15px;
    justify-content: flex-start;
    box-sizing: border-box; /* 親要素も確実に含める */
}

.user-list-outer > div {
	margin:0;
	width:25%;	
    padding: 10px; 
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.user-list-outer > div .card {
    width: 100% !important; 
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid transparent;
}

/* ★修正：公開日（HTMLタグのsmall）をキャストカード内で完全に非表示にする */
.user-list-outer small,
.cast-item small {
    display: none !important;
}

/* ★修正：出勤時間（class="small"）は確実に表示させる */
.user-list-outer .small {
    display: block !important;
    font-size: 0.85em;
    color: #666;
    margin-top: 5px;
}

.user-list-outer > div:hover .card {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--light-pink);
}

@media screen and (max-width: 968px) {
	.user-list-outer > div {
		width:33.333%;	
	}
}

/* スマホ版 2列表示設定（iPhone段落ち対策済み） */
@media screen and (max-width: 768px) {
    .user-list-outer {
        margin-left: -5px;
        margin-right: -5px;
        /* iOS Safariの隙間対策 */
        display: flex !important;
        flex-wrap: wrap !important;
    }
	.user-list-outer > div {
		width: 50% !important; 
        max-width: 50% !important; /* iPhone対策：幅を厳格に制限 */
        flex: 0 0 50% !important;  /* iPhone対策：伸縮を抑制 */
        padding: 5px !important; 
        box-sizing: border-box !important; /* パディングを幅に含める */
	}
}

/************************************************/
/*			見出し系		*/
.midasi{
	font-size:0.9em;
    margin-bottom: 20px;
}
.midasi span{
	font-size:1.6em;
	border-bottom: 2px solid var(--light-pink);
    color: var(--text-color);
    font-family: var(--font-serif);
    position: relative;
    padding-left: 15px;
    display: inline-block;
}
.midasi span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 80%;
    background: var(--main-pink);
    border-radius: 3px;
}

@media(min-width: 768px){
	a[href^="tel:"]{
	  pointer-events: none;
	}
}

.tel-area{
	text-decoration: none;
	color: var(--main-pink);
	font-size: 1.1em;
    font-weight: bold;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

/**********************************
入口ページ
*/
#enter-alert{
	width:100%;
	height:100%;
	background:rgba(44, 0, 30, 0.95); 
	position: fixed;
	top:0;
	bottom:0;
	z-index:99;
    backdrop-filter: blur(5px);
}

#enter-alert .enter-info{
	position: fixed;
	top: 50%;
	left:50%; 
	transform: translateY(-50%) translateX(-50%);
	color:white;
    text-align: center;
    width: 80%;
    max-width: 600px;
}

#enter-alert .enter-info .enter-nav{
	display:flex;
	width:100%;
	flex-wrap: wrap;
	margin-top:30px;
    justify-content: center;
}

#enter-alert .enter-info .enter-nav > div{
	margin: 10px;
}

.enter-nav a{
	text-decoration:none;
	color: var(--white);
    background: var(--main-pink);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
    transition: all 0.3s;
    display: block;
}

.enter-nav a:hover{
	text-decoration:none;
	background: #c2185b;
    transform: scale(1.05);
}
.disable{
	animation:enter 0.5s ;
}
@keyframes enter{
	0%{opacity: 1;}
	100%{opacity: 0; display: none;}
}

.editor-double{
	display:flex;
	width:100%;
	flex-wrap: wrap;
	margin-top:15px;
    gap: 20px;
}
.editor-double > div {
	width:48%;
}

@media screen and (max-width: 768px) {
	.editor-double > div {
		width:100%;
	}
}

.widjet_area{
	margin:15px 0;
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 8px;
}
.widjet_area iframe{
	width:100%;
	min-height:350px;
    border-radius: 8px;
}
#header-image img{
	width:100%;
	height:auto;
}

.search-box{
	display:flex;
	width:100%;
	flex-wrap: wrap;
	margin:30px 0;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    align-items: center;
    gap: 10px;
}
.search-box > div {
	margin-left:0;
}
.search-box input[type="text"], .search-box select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fafafa;
}

.search-box button{
	border: none;
    background: var(--main-pink);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}
.search-box button:hover{
	background: #c2185b;
}