@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Zen+Antique&display=swap');

*{
    padding: 0;
    margin: 0;
    line-height: 1.0;
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
}
img{
    vertical-align: bottom;
}

/* 共通パーツ */
header{
    width: 100%;
    padding: 40px 0;
    text-align: center;
}

h1{
    font-size: 70px;
    font-family: 'Zen Antique', serif;
}

.g-nav{
    width: 100%;
    height: 50px;
    background-color: #dac9a6;
    margin-bottom: 80px;
}

.g-nav>ul{ /* 子セレクタ */
    display: flex;
    width: 960px;
    margin: 0 auto;
}

.g-nav li{ /* 子孫セレクタ */
    width: 20%;
}

.g-nav a{
    color: #fff;
    text-align: center;
    display: block;
    /* background-color: #555; */
    line-height: 50px; /* heightと同じにすること */
    border-right: 1px solid #fff;
}

.g-nav li:first-of-type>a{ /* 疑似クラス nthは兄弟要素にしか使えない この場合はli */
    border-left: 1px solid #fff;
}

.g-nav a:hover{
    background-color: #eacf69;
    /* color: #000; */
}

.g-nav li.current>a{ /*    liは省略してもかまわない */
    background-color: #eacf69;
}

footer{
    width: 100%;
    height: 100px;
    background-color: #dac9a6;
}

footer>p{
    text-align: center;
    line-height: 100px;
color: #fff;
}


/* トップページ部分 */

main{
    width: 960px;
    margin: 0 auto 100px; /* p85~ */
}main .main-visual{
    margin-bottom: 100px;
}
.main-copy{
    text-align: center;
}
.main-copy>h2{ /* 子セレクタ */
        margin-bottom: 20px;
        font-size: 30px;
        font-family: 'Zen Antique', serif;

}
.main-copy>p{
    line-height: 2.4;
    width: 600px;
    margin: 0 auto;
}


/* 季節ページ部分 ※4ページともレイアウトは同じ */

.wrapper{
    display: flex;
    flex-direction: row-reverse; /* ←教科書には載ってないのよ */
}
.photo{
    margin-right: 50px;
}
.text-box>h2{
    margin-bottom: 40px;
    text-align: center;
    font-size: 30px;
    font-family: 'Zen Antique', serif;

}

.text-box>p{
    line-height: 1.8;
}

/* 季節ページ毎の部分 */
.spring>.g-nav{
    background-color: #DB4D6D;
}

.spring>footer{
    background-color: #DB4D6D;
}

.summer>.g-nav{
    background-color: #58B2DC;
}

.summer>footer{
    background-color: #58B2DC;
}

.fall>.g-nav{
    background-color: #D9AB42;
}

.fall>footer{
    background-color: #D9AB42;
}

.winter>.g-nav{
    background-color: #91989F;
}

.winter>footer{
    background-color: #91989F;
}

.winter .wrapper p{
    line-height: 1.46;
}

