@charset "UTF-8";
/* 共通部分
------------------------------- */
html {
    font-size: 62.5%;/*---エンドユーザーの指定を使う---*/
    scroll-behavior: smooth;/*HTML全体にスムーススクロールを適用した*/
}

body{
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", sans-serif;
    line-height: 1.7;
    color: #432;
    margin-top: 60px;/*ヘッダーのぶんだけボディを下げます*/
    background-image: url(../images/kabegami-01.png);/*k壁紙・cssからみた画像の場所になるので注意*/
    background-repeat: repeat;
}
a {/*---リンク下線の表示OFF---*/
    text-decoration: none;
}
img {
    max-width: 100%;/*---画像基本100％---*/
}
.yuji-boku-regular {/*グーグルフォント朴雄二*/
        font-family: "Yuji Boku", serif;
        font-weight: 400;
        font-style: normal;
      }


/*---レイアウト---*/
.wrapper {
    max-width: 1120px;/*サイトの最大幅*/
    margin: auto;/*要素をセンター合わせに*/
    padding: 0 1.5rem;/*上下ゼロ、左右を15px相当*/
    overflow:hidden;/*はみ出ているものを無視する*/

}

.align-center {/*この名前で囲んだ部分はセンター配置できるので使おう*/
    text-align: center;
}

.background-ilust{
   background-color: rgba(0, 255, 255, 0.313);
}




.page-title {/*ページのタイトルの色と大きさ行ぞろえ*/
    /*メンテ用・background-color: aqua; */   
    color: #601e25;
    font-size: 2.5rem;
       border-style: solid;/*下線のスタイルは実線*/
       border-width: 4px 0px 4px 0px;/*下線つけた*/
       border-color: #92b809;   
        margin-top:30px;
        width: fit-content;/*ボーダーラインとテキストの幅をそろえる*/
        font-weight:bold;/*文字を太くした*/
 }     
.mentenance-mark{
    width: 80px;
}
.menu-alea{
    width: 100%;
    margin-top:30px;
    margin-bottom:150px;
}
.grid{
    display: grid;
    gap: 2rem 1.5rem;
    grid-template-columns: repeat(2,1fr);
    text-align: center;
}
.item img{
    background-color: rgb(253, 253, 253);
    aspect-ratio: 5/2;
    object-fit: cover;
    border-radius: 16px;/*角を丸くする*/
    border:solid 3px #fb5b7b
}
.item h1{
    font-size: 1.8rem;
    line-height:2rem;
}
.item p{
    font-size:1.5rem;
}

      .menu a:hover {/*Menuをさわると色が変わる*/
            color: rgb(248, 8, 188);
      }


.menu-botan-only{
 width: 70px;
 margin-bottom:100px;
}



.page-footer {/*フッター*/
     background-color: rgb(48, 2, 215);
     color: aliceblue;
     text-align: center;
     margin-top: 40px;
     padding-bottom: 10px;
     font-size:1.5rem;
     opacity: .5;
         position: fixed; /* ← fixedで固定する */
    bottom:  0; /* 下部から配置の基準位置を決める */
    left: 0; /* 左から配置の基準位置を決める */
    width: 100%; 
}






/* ------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
デスクトップ版
--------------------------------------------------------------------------------------------------------------- */
@media (min-width: 800px) {
     /* 見出し */
    body {
        margin-top: 50px; /* ヘッダーの高さ分の余白をいれ、後ろの要素が隠れないようにする */
   }

   


  .page-title {/*ページのタイトルの色と大きさ行ぞろえ*/
    font-size: 3rem;/*大きくした*/
      border-width: 6px 0px 6px 0px;/*下線太らせた*/
        margin-top:50px;
 }        
 
.background-ilust img{/*表紙の背景*/
   width: 600px;
}



 .menu-alea{
    width: 100%;
    margin-top:30px;
}
.grid{
    display: grid;
    gap: 2rem 1.5rem;
    grid-template-columns: repeat(5,1fr);
    text-align: center;
}
.item img{
    background-color: rgb(253, 253, 253);
    aspect-ratio: 5/3;
    object-fit: cover;
    border-radius: 16px;/*角を丸くする*/
    border:solid 3px #fb5b7b
}
.item h1{
    font-size: 1.5rem;
}
.item p{
    font-size:1rem;
}





} /*←メディアアクリの閉じ*/