@charset "utf-8";
/*
  Theme Name: diver
  Description: アフィリエイトにとことん強く、美しく。
  Theme URI: http://tan-taka.com/diver/
  Author: Takato Takagi
  Author URI: 
  Version: 6.0.90
  License: GNU General Public License
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
  Tags: white, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images
*/
.search-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-container h1 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
}

.form-group select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.search-button {
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 18px;
    background-color: #72c63d;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.search-button:hover {
    background-color: #8ad67c;
    color: white;
}

.search-results-container {
    font-family: Arial, sans-serif;
    margin: 0 auto;
    max-width: 1200px;
    padding: 20px;
}

.search-results-list {
    list-style-type: none;
    padding: 0;
}

.search-result-item {
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
}

.search-result-item h2 {
    font-size: 1.5em;
    margin: 0 0 10px;
}

/* 縦並び用のスタイル */
.result-row {
    display: block; /* 横並びから縦並びに変更 */
    margin-bottom: 20px;
}

.thumbnail {
    margin-bottom: 20px; /* サムネイルとポイント間の余白を追加 */
}

.thumbnail img {
    display: block; /* 画像が予期せず並ばないように明示的に設定 */
    margin: 0 auto; /* 中央揃え（オプション） */
}

.points {
    margin-top: 10px; /* サムネイル下の余白を調整 */
}

.points p {
    margin: 5px 0;
}

.rich-description {
    margin-bottom: 20px;
}

.affiliate-link {
    text-align: center;
}

.affiliate-button {
    background-color: #72c63d; /* 初期色 */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    width: 100%; /* 幅を100%に設定 */
    font-weight: bold; /* 太文字に設定 */
    text-align: center; /* テキスト中央揃え */
    box-sizing: border-box; /* パディングやボーダーを幅に含める */
}

.affiliate-button:hover {
    background-color: #8ad67c; /* 色が薄くなる */
    color: white;
}

.thumbnail img {
    width: 280px;
    height: auto; /* アスペクト比を維持 */
    display: block; /* レイアウト崩れ防止 */
}

img.aligncenter.lazyloaded {
    width: 280px;
    height: auto; /* アスペクト比を維持 */
    display: block; /* レイアウト崩れ防止 */
}

header.header-wrap {
    display: none;
}

.diver_af_ranking_wrap {
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
}