@charset "utf-8";

* {
    margin: 0;
    padding: 0;
}

header {
    background: url(topbar.png);
    background-size: cover;
    margin-bottom: 30px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* iPhoneの自動文字拡大を無効化（全ページ共通がおすすめ） */
html { -webkit-text-size-adjust: 100%; }

/* ナビのコンテナをフレックス化して折り返し禁止に */
header .nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

/* 画像リンクのベースラインズレ対策 */
header .nav a { display: inline-flex; align-items: center; }
header .nav img,
.logo img { display: block; height: 50px; }  /* heightは今の指定に合わせてOK */


.nav a {
  margin-left: 10px;       /* ボタン間の間隔 */
  text-decoration: none;
}

section {
    margin-top: 50px;
    margin-bottom: 100px;
}

h1 {
    font-size: 18px;
}

p {
    font-size: 14px;
}

ul {
    display: flex;
    list-style: none;
    vertical-align: top;
    justify-content: center;
    text-align: center;
    font-family: Zen Maru Gothic;
    color: #7c6c78;
}

li{
    margin: 0 20px;
}

div {
    margin-left: 20px;
}

footer {
    text-align: center;
    color: #7c6c78;
    font-size: 16px;
    font-family: Solway Medium;
    margin-top: 100px;
    margin-bottom: 100px;
}

@media only screen and (max-width:500px){
   ul{
    display: block;
   }
}