body {
    font-size:14px;
    color : #222;
    /*background-color: #ddd;*/
}

.strike{
    text-decoration-line: line-through;
}

.gray{
    color:rgb(140,140,140);
}

.triangle {
    /*background: #ffffff;*/
    background: rgb(230, 0, 18);
    height: calc(tan(60deg) * 10px / 2);
    width: 10px;
    /*clip-path: polygon(50% 0, 100% 100%, 0 100%);*/
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    display: inline-block;
}

.soft_img{
    width:100%;
}

.search_result , .cards{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); /* 自動で列数を調整 */
    gap: 8px; /* カード間の隙間 */
}

.search_form{
    padding: 10px 0;
    /*
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    */
}

.search_parts{
    display: flex;    /* 横並び */
    flex-wrap: wrap; /* 折り返しを許可 */
    gap: 8px;         /* 要素間の余白 */
    align-items: flex-end; /* 下揃え */
}

.card {
    border: 1px solid #ccc;
    padding: 0px;
    background: #f9f9f9;
    /*text-align: center;*/
    grid-row: span 5;
    display: grid;
    grid-template-rows: subgrid;
}

#search_form input[type="text"],
#search_form input[type="number"],
#search_form input[type="date"],
#search_form select {
    padding: 4px 8px;
    /*margin: 8px 0;*/
    /*border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;*/
}

#search_form input[type="number"]{
    width:80px;
}

#search_form input[type="checkbox"]{
    width:20px;
    height:20px;
    margin : 0 0 0 8px;
}

#search_form button {
    display: inline-block;
    background: #4a90e2;
    color: #fff;
    padding: 4px 25px;
    margin-top: 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

#search_form button:hover {
    background: #357ab8;
}

#search_form input:focus,
#search_form select:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 4px rgba(74,144,226,0.4);
    outline: none;
}

.ng_list{
    /*display: none;*/
    padding: 10px 0;
    overflow: hidden;
    opacity: 0;
    max-height: 0;
    transition: opacity 0.5s ease, max-height 0.5s ease;

    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.ng_list.show {
    opacity: 1;
    max-height: 1000px; /* 可変対応: 大きめに設定 */
}

#toggleArrow {
    cursor: pointer;
    /*font-size: 20px;*/
    user-select: none; /* テキスト選択防止 */
    display: inline-block;
}

.toggle{
    cursor: pointer;
}

label {
    user-select: none; /* テキスト選択防止 */
}

.ng_maker div,.ng_title div{
    margin: 14px 8px;
}

.ng_maker div button,.ng_title div button{
    margin-right: 8px;
}

.ng{
    display:none;
}

.maker_search_btn{
    padding:3px;
    margin-left:8px;
}
/*
#search_form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-family: "Segoe UI", sans-serif;
    font-size: 14px;
    color: #333;
}

#search_form input[type="text"],
#search_form input[type="number"],
#search_form input[type="date"],
#search_form select {
    width: 100%;
    padding: 8px 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#search_form input:focus,
#search_form select:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 4px rgba(74,144,226,0.4);
    outline: none;
}

#search_form div {
    margin: 10px 0;
}

#search_form label {
    margin-right: 8px;
    font-weight: 500;
}
*/
.seo_h1{
    font-size:14px;
    font-weight: normal;
}

.ad {
    text-align: center;
}

.input-wrapper {
  position: relative;
  display: inline-block;
}

.input-wrapper input {
  padding-right: 24px; /* 右側にクリアボタン用のスペースを空ける */
  /*width: 200px;
  height: 30px;
  font-size: 14px;
  */
}

/* クリアボタン */
.clear-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  color: #999;
  /*display: none;*/ /* 初期は非表示 */
  user-select: none;
}

.clear-btn:hover {
  color: #333;
}

.mt20{
    margin-top: 20px;
}

.mb20{
    margin-bottom: 20px;
}

.ml20{
    margin-left: 20px;
}

.lr_container {
  display: flex;
  justify-content: space-between; /* 左右に配置 */
}

.left {
  text-align: left;
}

.right {
  text-align: right;
}