@charset "utf-8";

/* ここから全体 */

.flex {
    display: flex;
}

body {
    font-size: 21px;
    padding: 0;
    margin: 0;
    padding-inline: 3rem;
    background-color: #f8f9fa;
}

/* ここまで全体 */

/* ここからヘッダー */

.search-box {
    width: 300px;
    height: 30px;
    padding: 10px;
    border: 1px solid #3498db;
    border-radius: 15px;
    /* ここで丸みを調整 */
    font-size: 16px;
    outline: none;
}

.search-box:focus {
    border-color: #3498db;
    /* フォーカス時の色を変更（オプション） */
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
    /* フォーカス時のエフェクトを追加 */
}

.search-button {
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 15px;
    /* ボタンを丸くする */
    width: 50px;
    /* 幅と高さを揃えることで真円に */
    height: 50px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.1s, box-shadow 0.1s;
    /* アニメーションを追加 */
}

.search-button:active {
    transform: scale(0.9);
    /* 押したときに小さくする */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    /* 影を浅くして凹んだ感を出す */
}

.search-button:hover {
    background-color: #2980b9;
    /* ホバー時の色変更 */
}

.kensaku {
    margin-top: 35px;
    margin-left: 30px;
}

h1 {
    margin-top: 10px;
}

nav {
    display: flex;
    /* 横並びに */
    justify-content: space-around;
    /* 均等に間隔を空ける */
    background-color: #f8f9fa;
    /* 背景色を追加 */
    padding: 10px 0;
    /* ナビゲーション全体の上下余白を設定 */
    margin-top: -40px;
}

nav a {
    text-decoration: none;
    /* 下線を削除 */
    color: #007bff;
    /* テキストの色を設定 */
    margin: 0 15px;
    /* 各リンク間の余白を設定 */
    font-size: 16px;
    /* フォントサイズ */
    font-weight: bold;
    /* 太字 */
}

nav a:hover {
    color: #0056b3;
    /* ホバー時の色 */
    text-decoration: underline;
    /* ホバー時に下線を追加 */
}

/* ここまでヘッダー */


/* ここからボディー */

.main-button{
    background-color: #f8f9fa;
}

.main-button:hover{
    background-color: #A8C7FA;
}

.syoga img {
    width: 305px;
    height: 215px;
}

.star {
    font-size: 2em;
    /* 全体の文字サイズ */
    color: #ccc;
    /* デフォルトの星の色 */
    cursor: pointer;
    /* マウスカーソルを指マークに */
    display: inline-flex;
    /* 星と数字を横並びに */
    align-items: center;
    /* 数字を中央揃え */
    margin-right: 10px;
    /* 星間のスペース */
}

.star:hover {
    color: #f5d215;
    /* ホバー時の星の色 */
}

.star .number {
    margin-left: 5px;
    /* 星と数字の間のスペース */
    font-size: 16px;
    /* 数字のフォントサイズ */
    color: gray;
    /* 数字のデフォルト色 */
}

.star.selected {
    color: #f5d215;
    /* 選択された星の色 */
}

.bg-color {
    background-color: #A8C7FA;
    padding: 5px 100px;
}

.icon {
    text-align: center;
    border-bottom: 2px solid #A8C7FA;
    margin: 0 30px;
    font-size: 12px;
    font-weight: bold;
}

figure {
    margin: 50px 10px;
    line-height: 25px;
}

.amount {
    font-size: 36px;
}

.mixitup-button{
    overflow-x: scroll;
    /* border: none;
    outline: none; */
}

.mixitup-button button{
    outline: none;
    border: none;
}

/* ここまでボディー */

/* ここからフッター */

#modoru {
    margin-right: auto;
}

.sns a {
    margin: 10px;
}

/* ここまでフッター */