﻿@charset "utf-8";

/*----------------
キーワード検索
-------------------*/

/* h2リセット */
#content .keyword_search h2{
    display: block;
    height: auto;
    min-height: auto;
    margin: 0;
    padding: 0;
    box-shadow: none;
    line-height: 1;
    background: none;
}

#content .keyword_search h2::after{
    position:  static;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: none;
    opacity: 1;
    content: none;
    transform: translateY(0);
}

/* h2設定 */

#content .keyword_search h2 {
    position: relative;
    margin-bottom: 10px;
    padding-bottom: 10px;
    font-size: 22px;
    font-weight: bold;
    color: #454545;
    border-bottom: solid 4px #EFEFEF;
}

#content .keyword_search h2:after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 4px #FEAF2C;
    bottom: -4px;
    width: 40%;
}

/* 全体枠 */

.keyword_search{
    position: relative;
    padding: 10px;
    z-index: 1;
    background: #FFF;
}

/* フォーム */

.keyword_search form{
	display: flex;
    justify-content: center;
    /* Safari用 */
    display: -webkit-flex; 
    -webkit-justify-content: center;
}

.keyword_search input[type="submit"],
.keyword_search input[type="text"]{
	display: block;
}

/* テキストボックス */

.keyword_search input[type="text"] {
    height: 50px;
    width: 220px;
    margin-right: 10px;
    padding-left: 10px;
    border-radius: 3px;
    border: 1px solid #CCC;
    font-weight: bold;
    font-size: 20px;
    background: #F4F4F4;
    flex-grow: 3;
    /* Safari用 */
    -webkit-flex-grow: 3;
}

/* 初期表示文字　テキストボックス */

.keyword_search input[type="text"]::placeholder,
.keyword_search input[type="text"]::-webkit-input-placeholder{
    text-align: left;
    font-size: 20px;
    color: #CCC;
}

/* ボタン */

.keyword_search input[type="submit"] {
    background-color: #FEBD69;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 30px;
    border: none;
    border-radius: 5px;
    width: 70px;
    height: 50px;
    text-indent: 120%;
    white-space: nowrap;
    overflow: hidden;
    box-shadow: 0px -4px rgba(0,0,0,0.2) inset;
}

