@charset "UTF-8";

/*
==================================================

   絵文字の検索ツール Emoji Tools

==================================================
*/



/*
==================================================
  コンテンツ
==================================================
*/

/* ----- 文字サイズ ----- */
#content section p,
#content section dl {
font-size: 0.96rem;
}

/* ----- fieldsetのスタイル ----- */
#content fieldset {
margin: 0;
padding: 0;
border: none;
}

/* ----- オペレーション ----- */
#content section.operation {
width: 100%;
margin: 0 0 60px;
text-align: center;
}
#content section.operation h2 {
margin: 0 0 10px;
font-size: 1.8rem;
line-height: 1.4;
}
#content section.operation p {
line-height: 1.6;
}

#content section.operation section {
margin: 20px 0;
}
#content section.operation section h3 {
margin: 0 0 2px;
font-size: 1.4rem;
line-height: 1.4;
}

/* ----- 絵文字モード・コピーモード ----- */
#content div.mode {
margin: 15px 0;
}
#content div.mode p {
margin: 0 0 3px;
line-height: 1.4;
}
#content div.mode p:last-child {
margin: 0;
line-height: 1;
}
#content div.mode p label {
display: inline-block;
margin: 0 2px;
padding: 7px 12px;
background: #f5f5f5;
font-size: 15px;
}
#content div.mode p label:nth-of-type(1) {
background: #ffe5cc;
}

/* ----- 絵文字のカテゴリー ----- */
#content section.operation div.select {
position: relative;
width: 300px;
height: 40px;
margin: 0 auto;
background: #ffffff;
border: 2px #7f7f7f solid;
border-radius: 5px;
z-index: 1;
}
#content section.operation div.select::after {
position: absolute;
content: '';
width: 8px;
height: 8px;
top: 50%;
right: 10px;
border-bottom: 2px #2a2a2a solid;
border-right: 2px #2a2a2a solid;
transform: translateY(-50%) rotate(45deg);
z-index: -1;
}
#cate {
appearance: none;
-moz-appearance: none;
-webkit-appearance: none;
width: 100%;
height: 100%;
padding: 0 10px;
background: none;
border: none;
font-size: 17px;
}

#content section.operation p#loading {
height: 1.4em;
margin: 0 0 -16px;
font-size: 15px;
color: #ff0000;
}

/* ----- NoScript ----- */
#content noscript p {
color: #ff0000;
}

/* ----- リストレイアウト ----- */
#content section.operation div.list-wrap {
display: flex;
column-gap: 30px;
min-height: 500px;
padding: 0 25px;
background: #f5f5f5;
}
#sub-section {
width: 250px;
}
#emoji-section {
flex-grow: 1;
}

/* ----- サブカテゴリー ----- */
#sub-cate div.sub-cate {
display: none;
padding: 20px 0;
}
#sub-cate div.sub-cate:first-child {
display: block;
}
#sub-cate div.sub-cate p {
text-align: left;
}
#sub-cate div.sub-cate p.cate-name {
margin: 0 0 5px;
font-weight: bold;
}
#sub-cate div.sub-cate p.note {
margin: 10px 0 0;
font-size: 0.9rem;
color: #7f7f7f;
line-height: 1.4;
}

#sub-cate div.sub-cate div.inner {

}

#sub-cate div.sub-cate button {
display: flex;
column-gap: 7px;
align-items: center;
width: 100%;
margin: 0 0 5px;
padding: 0 5px;
background: #ffffff;
border: 1px #c0c0c0 solid;
border-radius: 7px;
font-size: 14px;
text-align: left;
line-height: 1;
}
#sub-cate div.sub-cate button:last-child {
margin: 0;
}

#sub-cate div.sub-cate button:hover {
background: #e5f8ff;
}
/* 無効状態の時 */
#sub-cate div.sub-cate fieldset[disabled] button:hover {
background: #ffffff;
}

#sub-cate div.sub-cate button.current {
background: #fff8e5;
border: 1px #ff6565 solid;
}
/* 無効状態の時 */
#sub-cate div.sub-cate fieldset[disabled] button.current {
background: #fff8e5;
}

#sub-cate div.sub-cate button b,
#sub-cate div.sub-cate button span {
display: block;
width: 30px;
height: 24px;
margin: 7px 0 6px;
font-size: 24px;
text-align: center;
}

/* ----- 絵文字リスト ----- */
#emoji div.emoji-list {
display: none;
padding: 20px 0;
}
#emoji div.emoji-cate:first-child div.emoji-list:first-child {
display: block;
}
#emoji div.emoji-list p {
margin: 0 0 5px;
font-weight: bold;
text-align: left;
}

#emoji div.emoji-list div.inner {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
gap: 5px;
}

#emoji div.emoji-list button {
display: block;
position: relative;
padding: 9px 5px 4px;
background: #ffffff;
border: 1px #c0c0c0 solid;
border-radius: 7px;
font-size: 13px;
line-height: 1.2;
/* 以下テスト */
display: grid;
grid-template-rows: subgrid;
grid-row: span 2;
}

#emoji div.emoji-list button:hover {
background: #e5f8ff;
}
/* 無効状態の時 */
#emoji div.emoji-list fieldset[disabled] button:hover {
background: #ffffff;
}

#emoji div.emoji-list button b,
#emoji div.emoji-list button span {
display: block;
height: 45px;
margin: 0 0 1px;
font-size: 45px;
text-align: center;
}
#emoji div.emoji-list button.copied::after {
display: block;
content: 'コピー完了';
position: absolute;
top: 30px;
left: 0;
right: 0;
width: 94px;
margin: auto;
padding: 3px 0;
background: #197fe5;
border: 1px #ffffff solid;
border-radius: 13px;
font-size: 13px;
font-weight: bold;
color: #ffffff;
}

/* ----- 説明 ----- */
#content section.description {
width: 980px;
margin: 0 auto 60px;
}
#content section.description h2 {
margin: 0 0 10px;
font-size: 1.6rem;
text-align: center;
line-height: 1.4;
}
#content section.description div.inner {
margin: 0 auto 20px;
padding: 30px;
background: #f5f5f5;
border-radius: 12px;
}
#content section.description div.inner:last-child {
margin: 0 auto;
}

#content section.description p {
margin: 0 0 1em;
line-height: 1.8;
}
#content section.description p:last-child {
margin: 0;
}

#content section.description dl {
margin: 5px 0;
}
#content section.description dl div {
margin: 0 0 20px;
}
#content section.description dl div:last-child {
margin: 0;
}
#content section.description dl dt {
margin: 0 0 1px;
line-height: 1.4;
}
#content section.description dl dd {
margin: 0 0 2px;
line-height: 1.4;
}
#content section.description dl dd:last-child {
margin: 0;
}



/* ----- ★899 ----- */
@media screen and (max-width: 899px) {

/* ----- 文字サイズ ----- */
#content section p,
#content section dl {
font-size: 16px;
}

/* ----- オペレーション ----- */
#content section.operation {
margin: 0 0 50px;
}
#content section.operation h2 {
font-size: 22px;
}

#content section.operation section h3 {
font-size: 18px;
}

/* ----- 絵文字のカテゴリー ----- */
#content section.operation div.select {
width: 290px;
}
#cate {
font-size: 16px;
}

/* ----- リストレイアウト ----- */
#content section.operation div.list-wrap {
display: block;
min-height: 0;
padding: 0;
background: #ffffff;
}
#sub-section {
width: auto;
}

/* ----- サブカテゴリー ----- */
#sub-cate div.sub-cate {
padding: 15px 10px;
background: #f5f5f5;
}
#sub-cate div.sub-cate p.cate-name {
margin: 0 0 3px;
}
#sub-cate div.sub-cate p.note {
font-size: 15px;
}

#sub-cate div.sub-cate div.inner {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
gap: 5px;
}

#sub-cate div.sub-cate button {
display: block;
margin: 0;
padding: 5px 2px 4px;
font-size: 13px;
text-align: center;
line-height: 1.2;
}
#sub-cate div.sub-cate button:hover {
background: #ffffff;
}
#sub-cate div.sub-cate button.current {
background: #fff8e5;
}
#sub-cate div.sub-cate button b,
#sub-cate div.sub-cate button span {
width: auto;
height: 22px;
margin: 0 0 4px;
font-size: 22px;
}

/* ----- 絵文字リスト ----- */
#emoji div.emoji-list {
padding: 15px 10px;
background: #f5f5f5;
}
#emoji div.emoji-list p {
margin: 0 0 3px;
}

#emoji div.emoji-list div.inner {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
gap: 5px;
}

#emoji div.emoji-list button {
padding: 6px 2px 4px;
font-size: 13px;
}
#emoji div.emoji-list button:hover {
background: #ffffff;
}
#emoji div.emoji-list button b,
#emoji div.emoji-list button span {
height: 40px;
margin: 0 0 1px;
font-size: 40px;
}
#emoji div.emoji-list button.copied::after {
top: 15px;
width: 92px;
padding: 4px 0;
border-radius: 13px;
font-size: 13px;
}

/* ----- 説明 ----- */
#content section.description {
width: auto;
margin: 0 auto 50px;
}
#content section.description h2 {
font-size: 18px;
}
#content section.description div.inner {
padding: 25px 15px;
border-radius: 10px;
}

}
/* ----- /899 ----- */



