/**********/
/*   ID   */
/**********/

/* メニューエリア */
#menu-area{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 20px auto;
    gap: 20px;
    padding: 30px 10px;
    max-width: 800px;
    width: 100%;
    justify-content: center;
}


/**********/
/* クラス */
/**********/

/* PCレイアウト = 表示 */
.image-layout{
    display: flex;
    gap: 10px;
    max-height: 400px;
    max-width: 250px;
    margin: 20px auto;
    justify-content: center;
    
}

/* モバイルレイアウト = 非表示 */
.mobile-layout{
    display: none;
    text-align: center;
}

/* モバイルレイアウト内の「img」タブ */
.mobile-layout img{
    display: block;
    width: 200px;
    height: 260px;
    object-fit: cover;
    border: 4px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 2);
    margin: 0 auto;
}

/* フェードアニメーション */
.fade{
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.fade.show{
    opacity: 1;
}

/* ボタン */
.common-btn{
    display: block;
    width: 250px;
    text-align: center;
    padding: 20px;
    background-color: rgb(240, 233,226);
    color: #0b4e6e;
    border: 2px solid #0b4e6e;
    flex: 1 1 calc(33% -20px);
    text-decoration: none;
    border-radius: 12px;
    transition: 0.3s;
    font-weight: bold;
}

/* ボタンカーソルセット時 */
.common-btn:hover{
    background: #4ea4cc;
    color: #fff;
}

/*** スマホ用デザイン ***/
@media screen and (max-width: 768px){
/*** ID ***/
    /* メイン画像 */
    #main-pic{
        height: 100px;
        margin: 30px auto;
    }

    /* メニューエリア */
    #menu-area{
         display: grid;
         grid-template-columns: 1fr;
         margin: 0 auto;
         justify-items: center;
         width: 100%;
         max-width: 250px;
     }

/* クラス */
    /* PCレイアウト = 非表示 */
    .pc-layout{
        display: none;
    }

    /* モバイルレイアウト = 表示 */
    .image-layout{
        display: flex;
        justify-content: center;
        margin: 20px auto;
        width: 100%;
        max-width: 100%;
    /*    text-align: center; */
    }

    .image-layout img{
        width: 100%;
        height: auto;
        max-width: 250px;
        border-radius: 8px;
    }

    /* ボタン */
    .common-btn{
         width: 90%;
    }
}