/* すべてのページに適用される設定 */
html {
    font-size: 16px;
    font-family: sans-serif;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0 0 0 0;
}
p, li, td {
    line-height: 1.7;
}
a:link {
    color: #F07d34;
    text-decoration: none;
}
a:visited {
    color: #F07d34;
    text-decoration: none;
}
a:hover {
    color: #F07d34;
    text-decoration: underline;
}
a:active {
    color: #F07d34;
    text-decoration: underline;
}
img {
    max-width: 100%;
}

/* すべてのページに適用 - ヘッダー */
.header {
    padding-top: 40px;
    background-image: url(../images/head.png);
    background-repeat: repeat-x;
}
.logo {
    text-align: left;
}
.nav ul {
    margin: 30px 0 0 0;
    padding: 0;
    list-style-type: none;

    display: flex;
    justify-content: center;
    gap: 40px;
}
.nav a:link {
    color:#3b67a8;
}
.nav a:visited {
    color:#3b67a8;
}
.nav a:hover {
    text-decoration: none;
}
.nav a:active {
    text-decoration: none;
}
.nav a:hover {
    background-color: #a0b7d9;
  transition: background-color 0.5s;
}

/* すべてのページに適用 - ヒーロー */
.hero {
    padding: 137px 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: #3b67a8;
    text-align: center;
}
.hero.index {
    padding: 200px 0;
    background-image: url(../images/home-hero.png);
}

/* すべてのページに適用 - メイン */
main {
    margin: 90px auto 90px auto;
    max-width: 1000px;
}
main h2 {
    margin: 60px 0 20px 0;
    border-bottom: 2px solid #3b67a8;
    padding: 0 0 5px 0;
    color: #3b67a8;
    font-size: 1.3rem;
}

/* すべてのページに適用 - フッター */
.gotop {
    text-align: center;
}
.copyright {
    margin-top: 20px;
    margin-bottom: 0;
    padding-top: 75px;
    padding-bottom: 75px;
    background-color: #3b67a8;
    color: #FFFFFF;
    text-align: center;
}

/* 個別のスタイル */

/* index.html */
.logo-harerun {
    text-align: center;
}
.jizen a{
    display:block;
}
.jizen a:hover{
    transform:scale(1.05);
    transition:0.3s;
}
.fair-info {
    border-collapse: collapse;
}
.fair-info th, .fair-info td {
    border: 1px solid #DBDBDB;
    padding: 20px;
}
.fair-info th {
    width: 140px;
    text-align: center;
    vertical-align: top;
}