.search-drama
{
    box-sizing: border-box;
}
/*********************************
検索フォームと、こだわり条件ボタンと、検索・リセットボタンエリア
*********************************/
.search-drama-form-set
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    flex-flow: row wrap;
}
/*********************************
検索フォームと、こだわり条件ボタンエリア
*********************************/
.search-drama-form-set-window,
.search-drama-form-set-window-movie,
.search-drama-form-set-window-person,
.search-drama-form-set-window-person2
{
	display: flex;
	justify-content: space-between;
    box-sizing: border-box;
	width: 75%;
	height: 46px;
    border-radius: 3px;
    background-color: #fff;
    border: thin solid #ddd;
}
/* 検索フォーム入力部分 */
.search-drama-form-set-window-in,
.search-drama-form-set-window-in-movie,
.search-drama-form-set-window-in-person,
.search-drama-form-set-window-in-person2
{
	width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 14px;
    color: #696969;
}
/* 検索フォームアイコン */
.search-drama-form-set-window-in .ph
{
    font-size: 14px;
}
/* 検索フォーム入力 */
.search-drama-in
{
    background-color: transparent;
    background-color: initial;
    border: 0;
    box-sizing: border-box;
    flex: 1;
    font-size: 12px;
    width: 100%;
    height: 100%;
    margin: 0;
    min-width: 50px;
    outline: 0;
	padding: 8px 10px;
    line-height: normal;
    -webkit-tap-highlight-color: rgb(255,255,255);
    -webkit-tap-highlight-color: transparent;
}
/*********************************
こだわり条件ボタン内部エリア
*********************************/
.search-drama-form-set-window-button {
	display: flex;
	font-size: 14px;
}
/*
こだわりボタン部分
*/
.search-genre-button
{
	position: relative;
}
.search-drama-kodawari-genre,
.search-drama-kodawari-genre-movie,
.search-drama-kodawari-genre-person,
.search-drama-kodawari-genre-person2
{
    width: 180px;
    height: 100%;
    color: #fff;
    background-color: #f8f6f1;
    cursor: pointer;
    display: flex;
    align-items: center;
    /* justify-content: space-evenly; */
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    border-radius: 0 3px 3px 0;
}
/* 条件で探すアイコン */
.search-drama-kodawari-genre .ph,
.search-drama-kodawari-genre-movie .ph,
.search-drama-kodawari-genre-person .ph,
.search-drama-kodawari-genre-person2 .ph
{
    font-size: 16px;
    margin-right: 10px;
}
.search-drama-kodawari-genre:hover,
.search-drama-kodawari-genre-movie:hover,
.search-drama-kodawari-genre-person:hover,
.search-drama-kodawari-genre-person2:hover
{
    opacity: 0.5;
}
.search-drama-kodawari-genre
{
    background-color: #7ab359;
}
.search-drama-kodawari-genre-movie
{
    background-color: #af9b65;
}
.search-drama-kodawari-genre-person
{
    background-color: #597ab3;
}
.search-drama-kodawari-genre-person2
{
    background-color: #b25979;
}
.C
{
    display: block;
	position: absolute;
	top: 0;
	top: 44px;
	left: 0;
	left: -400px;
	left: -702px;
}
.D
{
	opacity: 0;
    visibility: hidden;
}
/*
モーダル表示
*/
.modal
{
    display: none;
    position: fixed;
    /* z-index: 10; */
    /* z-index: 1000; */
    z-index: 100000000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}
.modal-content
{
    background-color: #fefefe;
    margin: 50px auto 0 auto;
    padding: 10px;
    width: 50%;
}
/* バツアイコンdiv */
.close-btn
{
    display: block;
    display: flex;
    justify-content: flex-end;
    line-height: 1;
    margin-bottom: 40px;
    font-size: 20px;
}
/* バツアイコン */
.close-btn .ph-bold:hover
{
    opacity: 0.5;
    cursor: pointer;
}
.modal-div
{
    padding: 10px;
}
.modal-ul
{
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    font-size: 14px;
}
.modal-ul li
{
    width: -webkit-calc(98% / 2);
    width: calc(98% / 2);
    background-color: #fff;
    padding: 2px 0;
    border-bottom: thin solid #f1f1f1;
    color: #696969;
    font-size: 14px;
}
.modal-ul li label
{
    display: block;
    width: 100%;
    height: 100%;
}
.modal-ul li:nth-child(odd)
{
    margin-right: 6px;
}
.checkbox input[type="checkbox"]
{
    margin-right: 5px; 
    width: 15px;
    height: 15px;
    vertical-align: text-bottom;
}
/* 
非表示エリア（もっと表示） 
*********************************/
.label-title
{
    display: flex;
    justify-content: space-between;
    align-items: center;    font-weight: bold;
    background-color: #f5f4f3;
    padding: 10px;
    margin-bottom: 4px;
    font-size: 16px;
}
.fa-angle-down:before
{
    color: #8e8e8f;
}
/*全体*/
.hidden-box {
	display: inline;
	margin-bottom: 1em;
    padding: 0;
}
/* デフォルトは中身非表示 */
.hidden-show1000,
.hidden-show1001
{
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.8s;
}
/*チェックは見えなくする*/
.hidden-box input[id = "label1000"],
.hidden-box input[id = "label1001"]
{
    display: none;
}
/* もっと表示 */
.hidden-box label[for = "label1000"],
.hidden-box label[for = "label1001"] {
	display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 14px;
    text-align: right;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
    color: #0066c0;
    line-height: 1;
}
/*もっと表示ホバー時*/
.label-text:hover
{
	border-bottom: thin solid #0066c0;
    transition: 0.1s;
}
/* もっと表示クリックで中身表示 */
.hidden-box input[id = "label1000"]:checked ~ .hidden-show1000,
.hidden-box input[id = "label1001"]:checked ~ .hidden-show1001
{
    height: auto;
    opacity: 1;
    margin: 10px 0;
}
/* コンテンツタイトルクリックで中身表示 */
.content-div2 input[id = "label10000"]:checked ~ .checkbox,
.content-div2 input[id = "label20000"]:checked ~ .checkbox,
.content-div2 input[id = "label30000"]:checked ~ .checkbox,
.content-div2 input[id = "label40000"]:checked ~ .checkbox,
.content-div2 input[id = "label50000"]:checked ~ .checkbox
{
    height: auto;
    opacity: 1;
}
/*チェックは見えなくする*/
.content-div2 input[id = "label10000"],
.content-div2 input[id = "label20000"],
.content-div2 input[id = "label30000"],
.content-div2 input[id = "label40000"],
.content-div2 input[id = "label50000"]
{
    display: none;
}
/* デフォルトは中身非表示 */
.checkbox {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.8s;
}
/* もっと表示クリックで中身表示 */
.checkbox input[id = "label10000"]:checked ~ .checkbox,
.checkbox input[id = "label20000"]:checked ~ .checkbox,
.checkbox input[id = "label30000"]:checked ~ .checkbox,
.checkbox input[id = "label40000"]:checked ~ .checkbox,
.checkbox input[id = "label50000"]:checked ~ .checkbox
{
    height: auto;
    opacity: 1;
}
/*
検索・リセットボタンエリア（こだわり内）
*/
.search-drama-button-set-in
{
	display: flex;
    width: 100%;
    position: sticky;
    bottom: 0;
    box-sizing: border-box;
    margin-bottom: env(safe-area-inset-bottom);
    padding: 10px;
}
/* 検索ボタン（こだわり内） */
.search-drama-form-set-button
{
    width: 60%;
    background-color: #333;
	color: #fff;
	height: 46px;
	border-radius: 3px;
    font-size: 14px;
    box-shadow: 0 1px 2px rgba(0,0,0,.16);
}
.search-drama-form-set-button:hover
{
	opacity: 0.5;
}
/* リセットボタン（こだわり内） */
.search-drama-form-set-button-reset,
.search-drama-form-set-button-reset2
{
    width: 40%;
	background-color: #fff;
    /* border: thin solid #ccc; */
	color: #696969;
	height: 46px;
	border-radius: 3px;
    font-size: 13px;
    box-shadow: 0 1px 2px rgba(0,0,0,.16);
}
.search-drama-form-set-button-reset:hover,
.search-drama-form-set-button-reset2:hover
{
	opacity: 0.5;
}

.search-drama-form-set-button-reset
{
    margin-right: 10px;
}

.search-drama-form-set-button:first-of-type
{
	margin-right: 6px;
}
/*********************************
検索・リセットボタン（こだわり外）
*********************************/
.search-drama-button-set
{
	display: flex;
	width: 190px;
	width: 268px;
}
/* --------------------------------------------------------
レスポンシブ
最大幅820px以下の画面に対して適用
---------------------------------------------------------*/
@media (max-width: 820px) {

    /*********************************
    検索フォームと、こだわり条件ボタンエリア
    *********************************/
    .search-drama-form-set-window,
    .search-drama-form-set-window-movie,
    .search-drama-form-set-window-person,
    .search-drama-form-set-window-person2
    {
        /* display: block; */
        width: 100%;
        height: auto;
        border: none;
        background-color: none;
        box-shadow: none;
    }
    /* 検索フォーム入力部分 */
    .search-drama-form-set-window-in,
    .search-drama-form-set-window-in-movie,
    .search-drama-form-set-window-in-person,
    .search-drama-form-set-window-in-person2
    {
        border: 2px solid #eeece4;
        /* background-color: #f1f1f1; */
        width: 59%;
        border-radius: 3px;
        padding-left: 10px;
    }
    .search-drama-form-set-window-in
    {
        border: 2px solid #7ab359;
    }
    .search-drama-form-set-window-in-movie
    {
        border: 2px solid #af9b65;
    }
    .search-drama-form-set-window-in-person
    {
        border: 2px solid #597ab3;
    }
    .search-drama-form-set-window-in-person2
    {
        border: 2px solid #b25979;
    }
    /* 検索フォーム入力 */
    .search-drama-in
    {
        font-size: 12px;
        padding: 10px 6px;
    }
    /*********************************
    こだわり条件ボタン内部エリア
    *********************************/
    .search-drama-form-set-window-button
    {
        display: flex;
        font-size: 14px;
        width: 40%;
    }
    /*
    こだわりボタン部分
    */
    .search-genre-button
    {
        width: 100%;
        /* スクロールで付いてくる */
        position: sticky;
        top: 0;
        z-index: 100;
    }
    .search-drama-kodawari-genre,
    .search-drama-kodawari-genre-movie,
    .search-drama-kodawari-genre-person,
    .search-drama-kodawari-genre-person2
    {
        width: 100%;
        height: auto;
        padding: 9px 4px;
        margin:  0 0;
        border-radius: 3px;
        font-size: 14px;
    }
    /*
    モーダル表示
    */
    .modal-content
    {
        width: 100%;
    }
    /*********************************
    検索・リセットボタン（こだわり外）
    *********************************/
    .search-drama-button-set {
        width: 100%;
    }
}