@charset "utf-8";

.ad{
    display: none;   /* スマホ版は非表示 */ 
}

/*   共通部分
-------------------------------------------- */

html{
    font-size: 100%;
}

body{
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", "sans-searif";
    line-height: 1.7;
    color: #432;
}

a{
    text-decoration: none;            /* 下線を消す */
}

img{
    max-width: 100%;
}

/* レイアウト */
.wrapper {/* ロゴとナビの最大の離れ幅を指定している */
    max-width: 1120px;
    margin: auto;/* 正式には0 auto 0 auto */
    padding: 0 1.5rem;/* 正確には 0 1.5rem 0 1.5rem */
}
.align-center{
    text-align: center;
}

/* 見出し */
.font-english{
    font-family: 'Philosopher', sans-serif;
    font-weight: normal;
}

.page-title,
.heading-large,
.heading-medium{
    font-size: 3rem;            /*  共通*/
    text-align: center;
}

.page-title{
    margin-top: 2rem;            /* 追加 */
    line-height: 1.4;
}

.heading-large{
    margin-bottom: 1rem;            /* 追加 */
}

/* ボタン */
.btn{
    display: inline-block;
    font-size: 1.5rem;
    background-color: #0bd;
    color: #fff;
    border-radius: 8px;
    padding: .75rem 1.5rem;
    /* transition: .5s; */
    transition-property: background-color;  /*  アニメーションを適用するプロパティ（今回は背景の色の変化）*/
    transition-duration: 1s;                /* アニメーションの実行までの所要時間 */
    transition-timing-function: ease-out;   /* アニメーションの速度やタイミング */
    transition-delay: 200ms;               /* アニメーションが始まるまでの待ち時間 */
}

.btn:hover{
    background-color: #0090aa;
    scale: 1.2;

    rotate: -5deg;
}

/* iframe */
.iframe{
    width: 100%;
}


/* ヘッダー
-------------------------------------------- */
.page-header{
    padding-top: .5rem;
}

.logo{
    width: 210px;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    font-size: 1.5rem;
    list-style: none;
}

.main-nav a{
    color: #432;
}

.main-nav a:hover{
    color: #0bd;
}


.cover{
    background-size: cover;
    background-position: center bottom;
    height: 800px;
}

.sub-cover{
    background-size: cover;
    background-position: center bottom;
    height: 528px;
    margin-bottom: 4rem;
}

.cover-home{
    background-image: url(../images/cover-home-s.webp);
}

.about{
    max-width: 736px;
    padding: 0 1.5rem;
    margin: 3rem auto 0;            /*  プロパティが３つの時は２つ目が左右の指定*/
}

.about p{
    margin-bottom: 3rem;
}

/* NEWS
-------------------------------------------- */
.cover-news{
    background-image: url(../images/cover-news-s.webp);
}

/* 記事部分
-------------------------------------------- */
.post{
    margin-bottom: 3rem;
}

.post-title{
    font-weight: normal;
    margin-bottom: 1.25rem;
}

.post-info{
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.post-cat {
    display: flex;
    gap: 5rem;
    list-style: none;
}

.post-cat a{
    color: #432;
    background-color: #faf7f0;
    border-radius: 8px;
    font-size: .875rem;
    padding: .5rem .75rem;
}

.post-cat a:hover{
    background-color: #c9c2bc;
}

.post-date{
    font-size: .875rem;
}

.post-thumbnail{
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

.post p{
    margin-bottom:1.5rem ;
    line-height: 2;
}

/* サイドバー */
.side-menu{
    list-style: none;
    text-align: center;
    margin-bottom: 4rem;
}

.side-menu li{
    border-bottom: 1px solid #c9c2bc;
}

.side-menu a{
    color: #432;
    display: block;
    padding: 1rem;
}

.side-menu a:hover{
    color: #0bd;
}

/* MENU */
.cover-menu{
    background-image: url(/images/cover-menu-s.webp);
}

.grid{
    display: grid;
    gap: 2rem 1.5rem;
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
}

.item img{
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 16px;
}

.item p{
    font-size: .875rem;
}

/* contact */
.cover-contact{
    background-image: url(/images/cover-contact-s.webp);
}

/* 店舗情報 */
.location{
    margin-bottom: 3.5rem;
}

.location-info{
    margin-bottom: 2rem;
}

.location-info .info{
    padding: 0;
}

/* お問い合わせ */
.email{
    max-width: 916px;
    background-color: #faf7f0;
    border-radius: 48px;
    padding: 1.5rem 2.5rem 2.5rem;
    margin: 0 auto 2rem;
}

.email p{
    margin: 1rem 0 2rem;
}

/* SNS */
.sns-item{
    margin-bottom: 2rem;
}

.sns-item .heading-medium{
    margin-bottom: .5rem;
}

.sns-youtube{
    aspect-ratio: 16/9;
}

.sns-youtube iframe{
    height: 100%;
}

/* フッター
-------------------------------------------- */

.page-footer{
    background-image: url(../images/footer-s.webp);
    background-size: cover;
    background-position: center;
    padding-top: 12rem;
}

.info{
    width: 100%;
    max-width: 544px;
    margin: auto;
    padding: 0 1.5rem;
    border-spacing: 0;
}

.info th,
.info td{
    border-bottom: 1px solid #c9c2bc;
}

.info th{
    text-align: left;
    font-weight: normal;
    padding: 1rem;
}

.info td{
    padding: 1rem 0;
}

.copyright{
    background-color: #432;
    text-align: center;
    padding: 2rem 0;
    margin-top: 6rem;
    color: #fff;
}


/* デスクトップ版（レスポンシブに対応させるため、@media(min-width:800px)で囲って、すべてのページに適応させる
-------------------------------------------- */
@media(min-width:800px){
    .ad{
        display: block;   /* パソコン版は強制表示（スマホ版を非表示にしたら画像が消えたため）（教科書外） */ 
    }
   /* 見出し */ 
    .page-title{
        font-size: 5rem;
   }

    .heading-large{
        font-size: 4rem;
   }

   .post-title{
    font-size: 2rem;
   }

   /* ヘッダー */
   .page-header{    /* .containerにあたる */
        display: flex;
        justify-content:space-between ;
        padding-top: 1.5rem;
   }

   .main-nav{
        font-size: 2rem;
   }

    /* ヘッダーカバー画像 */
    .sub-cover{
        height: 400px;
        margin-bottom: 6rem;
    }



    /* HOME*/
    .cover-home{
        background-image: url(../images/cover-home-l.webp);
    }

    .about{
        margin: 4rem auto 0;  /* 4rem auto 0 auto  */
    }

    /* NEWS*/
    .cover-news{
        background-image: url(../images/cover-news-l.webp);
    }

    .news-cotents{
        display: flex;
        justify-content: space-between;
    }

    .post{
        width: 60%;     /* 2カラムなら70% */
        order: 2;       /* orderは表示したい順番の指定*/
                        /* orderはdisplay: flex;の指定がある子要素*/
    }

    .sidebar{
        width: 22%;
        order: 3;
    }

    .ad{
        order: 1;
    }

    .sidebar .heading-medium{
        line-height: 1;
        margin-bottom: 1rem;
    }

    /* MENU */
    .cover-menu{
        background-image: url(/images/cover-menu-l.webp);
    }

    .grid{
        gap: 3rem 2rem;
        grid-template-columns: repeat(3, 1fr);
    }

    .item img{
        margin-bottom: .5rem;
    }

    .item p{
        font-size: 1rem;
    }

    .item-big{
        grid-column: 1/3;
        grid-row: 1/3;
    }

    .item-big img{
        height: 94.5%;
        width: 100%;
    }

    /* contact */

    .cover-contact{
        background-image: url(../images/cover-contact-l.webp);
    }
    
    .location{
        display: flex;
        gap: 2rem;
    }

    .location-info{
        width: 32%;
    }

    .location-info .info th{
        padding-left: 2rem;
    }

    .location-map{
        width: 64%;
    }

    .email{
        margin-bottom: 4rem;
    }

    .sns{
        display: flex;
        align-items: flex-start;
        gap: 2rem;
        margin-bottom: 0;
    }

    .sns-item{
        flex: 1;
    }


    /* フッター */
    .page-footer{
        background-image: url(../images/footer-l.webp);
        padding-top: 12rem;
    }

    .info th{
        padding-left: 2.5rem;
    }

}