@charset "utf-8";

.title {
    height: 310px;
    background-image: url(../images/menu/bg-main.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /* 背景画像サイズは親要素を覆うサイズに */

    /* タイトル文字を上下左右に位置させるコード */
    display: flex;
    flex-direction: column;
    /* flexの並ぶ方向を決める column＝縦方向 */
    justify-content: center;
    /* 水平方向 */
    align-items: center;
    /* 垂直方向 */
    color: #fff;
    text-shadow: 1px 1px 10px #4b2c14;
    /* 横ずれ 縦ずれ ぼかし 影色 */
}

.title h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: bold;
}

.title p {
    font-size: 14px;
    margin-top: 15px;
}

.item-list {
    width: 930px;
    max-width: 90%;
    margin: 75px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, 240px);
    /* 240pxの箱が画面内に入らなくなったら下に折り返す */
    column-gap: 95px;
    /* 列の間隔 */
    row-gap: 70px;
    /* 行の間隔 */
    justify-content: center;
}

.item-list dl {
    margin-top: 20px;
}

.item-list dt {
    font-weight: bold;
}

.item-list dd {
    font-size: 13px;
    line-height: 20px;
    margin-top: 10px;
}

.item-list .price {
    font-weight: bold;
    margin-top: 15px;
}

.item-list li {
    position: relative;
    /* 絶対値配置の基準点 */
}

.item-list .item-label {
    position: absolute;
    /* 絶対値配置 */
    top: 0;
    left: calc(100% + 18px);
    /* 異なる単位同士を計算するコマンド
    calc(数字　+　数字) */
    font-size: 10px;
    white-space: nowrap;
    /* 絶対改行させない */
    transform-origin: top left;
    /* 変形の基準点を左上に */
    transform: rotate(90deg);
    /* ９０度回転する */
}

.footer {
    margin-top: 100px;
}


/* ここからモバイル用cssの設定 */
@media (max-width: 800px) {
    .item-list {
        margin-top: 45px;
        row-gap: 40px;
    }
}