@charset "UTF-8";

/*共通部分設定*/
html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
    line-height: 1.7;
    color: #432;
    font-weight: bold;
    background: #FaF7F0;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4%;
}

/*Header 設定*/
.page-header {
    display: flex;
    justify-content: space-between;
}

.logo {
    width: 260px;
    margin-top: 10%;
}

/*導覽列設定*/
.main-nav {
    display: flex;
    font-size: 1.0rem;
    margin-top: 34px;
    list-style: none;
    line-height: 1.0;
}
.main-nav li {
    margin-left: 36px;
}
.main-nav a {
    color: aliceblue;
}
.main-nav a:hover {
    color: antiquewhite;
}

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

/*主內容設定*/
.home-content {
    text-align: center;
    margin-top: 5%;
}
.home-content p {
    font-size: 2.6rem;
    margin: 10px 0 126px;
    text-align: left;
    color: aliceblue;
}

/*Title 設定*/

.page-title {
    font-size: 3.6rem;
    font-family: 'Philosopher', serif;
    font-weight: normal;
    color: aliceblue;
}

.page-title-other {
    font-size: 5rem;
    font-family: 'Philosopher', serif;
    font-weight: normal;
    color: aliceblue;
    text-align: center;
}

.button {
    font-size: 1.375rem;
    background: #7b4a2b;
    color: #fff;
    border-radius: 5px;
    padding: 18px 32px;
}
.button:hover {
    background: firebrick;
}

/*背景設定*/

.big-bg {
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

#home {
    background-image: url(../images/BG.jpg);
    min-height: 100vh;
}

#head {
    background-image: url(../images/BG.jpg);
    margin-bottom: 40px;
}
#head .page-title-news {
    text-align: center;
}

/*最新消息主內容設定*/
article {
    width: 74%;
}
article img {
    margin-bottom: 20px;
}
article p {
    margin-bottom: 1rem;
}

.content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

/*日期裝飾設定*/
.post-info {
    position: relative;
    padding-top: 4px;
    margin-bottom: 40px;
}
.post-date {
    background: #432;
    border-radius: 50%;
    color: #fff;
    width: 100px;
    height: 100px;
    font-size: 1.625rem;
    text-align: center;
    position: absolute;
    top: 0;
    padding-top: 10px;
}
.post-date span {
    font-size: 1rem;
    border-top: 1px rgba(255, 255, 255, .5) solid;
    padding-top: 6px;
    display: block;
    width: 60%;
    margin: 0 auto;
}
.post-title {
    font-family: "Yu Mincho", "YuMincho", serif;
    font-size: 2rem;
}
.post-title,
.post-cat {
    margin-left: 120px;
}

/*歷史頁面設定*/
.history {
    text-align: center;
}
.history-info {
    text-align: center;
    padding-top: 4px;
    margin-bottom: 40px;
}
.history-title {
    font-family: "Yu Mincho", "YuMincho", serif;
    font-size: 3.26rem;
}

.borderb {
    border-top: 2px #432 solid;
    margin-top: 26px;
}

/*人名放大設定*/
.name {
    font-size: 1.6rem;
}

/*邊欄設定*/
aside {
    width: 22%;
}
aside p {
    padding: 12px 10px;
}

.sub-menu {
    margin-bottom: 60px;
    list-style: none;
}
.sub-menu li {
    border-bottom: 1px #ddd solid;
}
.sub-menu a {
    color: #432;
    padding: 10px;
    display: block;
}
.sub-menu a:hover {
    color: #0bd;
}

.sub-title {
    font-size: 1.375rem;
    padding: 0 8px 8px;
    border-bottom: 2px #432 solid;
    font-weight: bolder;
}

/*來信詢問設定*/
#location {
    padding: 4% 0;
}

.location-info p {
    padding: 12px 10px;
}

/*來杯好茶設定*/
.grid {
    display: grid;
    gap: 26px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-top: 6%;
    margin-bottom: 50px;
}

/*SNS 設定*/
#sns {
    padding: 4% 0;
}
#sns .wrapper {
    display: flex;
    justify-content: space-between;
}
#sns .sub-title {
    margin-bottom: 30px;
}
.sns-box {
    width: 50%;
}

/*回頂頁按鈕設定*/
.post-top {
    background: firebrick;
    border-radius: 50%;
    color: #fff;
    width: 56px;
    height: 56px;
    font-size: 1.26rem;
    text-align: center;
    position: fixed;
    right: 8px;
    bottom: 8px;
    padding-top: 12px;
    margin: 0;
}
.post-top:hover {
    background-color: darkred;
}

/*頁尾設定*/
footer {
    background: #432;
    text-align: center;
    padding: 26px 0;
}
footer p {
    color: #fff;
    font-size: 0.875rem;
}

/*媒體查詢設定*/
@media (max-width: 600px) {
    .page-title,
    .page-title-other {
        font-size: 2.2rem;
    }
    
    .main-nav {
        display: block;
        font-size: 1.26rem;
        margin-top: 10px;
        line-height: 1.6;
        width: 50vh;
        text-align: right;
    }
    .main-nav li {
        margin: auto;
    }
    
    .home-content {
        margin-top: 20%;
    }
    
    .home-content p {
        font-size: 1.6rem;
        margin: 10px 0 56px;
        text-align: center;
        color: aliceblue;
    }
    .page-header {
        flex-direction: column;
        align-items: center;
    }
    
    .news-content {
        flex-direction: column;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    article,
    aside {
        width: 100%;
    }
    
    #news .page-title .page-title-news {
        margin-top: 30px;
    }
    
    aside {
        margin-top: 60px;
    }
    
    .post-info {
        margin-bottom: 30px;
    }
    
    .post-date {
        width: 70px;
        height: 70px;
        font-size: 1rem;
    }
    .post-date span {
        font-size: 0.875rem;
        padding-top: 2px;
    }
    
    .post-title {
        font-size: 1.375rem;
    }
    
    .post-cat {
        font-size: 0.875rem;
        margin-top: 10px;
    }
    
    .post-title,
    .post-cat {
        margin-left: 80px;
    }
    
    .post-top {
        background: firebrick;
        border-radius: 50%;
        color: #fff;
        width: 56px;
        height: 56px;
        font-size: 1.26rem;
        text-align: center;
        position: fixed;
        right: 8px;
        bottom: 8px;
        padding-top: 12px;
        margin: 0;
    }
    
    .history-info {
        margin-bottom: 30px;
    }
    
    .history-title {
        font-size: 2.6rem;
    }
    
    article p {
        font-size: 1.26rem;
    }
    
    .location-info {
        width: 100%;
    }
    
    #sns .wrapper {
        flex-direction: column;
    }
    
    .sns-box {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .content {
        display: block;
    }
}

/*網站建置中設定*/
.wait {
    min-height: 100vh;
}