@charset "UTF-8";

/*-----------------------------------------------------
Lingerica+vote　TOP用スタイルシート全体
FileName:	defualt/style.css
Version:	06.11.11
-----------------------------------------------------*/
.share-block {
	max-width:90%;
  margin: 40px 0;
  padding: 20px;
  border-radius: 12px;
  background: #f7f9fb;
  border: 1px solid #dfe7ef;
}

.share-block h2 {
  margin-bottom: 10px;
  font-size: 22px;
  color: #063663;
}

.share-block p {
  margin-bottom: 20px;
}

.share-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.share-btn {
  background: #ffffff;
  border: 1px solid #ccd6dd;
  padding: 10px 15px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
  display: inline-block;
}

.share-btn.highlight {
  background: #ffebe6;
  border-color: #ffb199;
}

.share-sub {
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 18px;
  color: #333;
}


/*表示用*/
.vote-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 16px;
  margin: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: box-shadow 0.2s;
}
.vote-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.vote-card {
  position: relative;
  padding: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  margin: 12px;
}
.badge-area {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  flex-direction:  row;
  align-items: flex-end;
  gap: 4px;
flex-wrap: wrap; 
justify-content: flex-end;
}
.badge {
  font-size: 0.75em;
  padding: 2px 6px;
  border-radius: 4px;
  background-color: #eee;
  color: #333;
}
.badge.new { background-color: #4caf50; color: #fff; font-weight: bold;}
.badge.hot { background-color: #ffbfea; color: #fff; font-weight: bold;}
.badge.comment { background-color: #2196f3; color: #fff; font-weight: bold;}
.badge.category { background-color: #e91e63; color: #fff; font-weight: bold;}

/*検索フォーム*/
.search_container{
  box-sizing: border-box;
}
.search_container input[type="text"]{
 background: #fff;
  border:  1px solid #999;
  height: 2.0em;
}
.search_container input[type="text"]:focus {
  outline: 0;
}
.search_container input[type="submit"]{
  cursor: pointer;
  border: none;
  background: #3879D9;
  color: #fff;
  outline : none;
  height: 2.5em;
  width: 4.0em;
  margin-left:10px;
text-align: center;
}
.search_container ::-webkit-input-placeholder {
  color: #3879D9;
}
input[name="q"] {
  width: 60%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
input[name="q"]:focus {
  border-color: #ff7aa8;
  outline: none;
}

@media (max-width: 768px) {
  .badge_area {
    top: auto;
    bottom: 8px;
    right: 8px;
    flex-direction: row;
    flex-wrap: wrap;
  }
}
