/* すべてのページに適用される設定 */
html {
    font-size: 20px;
    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(https://www.kensatsu.go.jp/kakuchou/tottori/image/torichiki_oheya/dot.png);
    background-repeat: repeat-x;
}
.logo{
    text-align: center;
}
.nav ul{
    margin: 30px 0 0;
    height: auto;
    padding: 0;
    list-style-type: none ;

    display: flex;
    justify-content: center;
    gap: 40px;
}
.nav a:link{
    color: #c46429
}
.nav a:visited{
    color:#c46429
}
.nav a:hover{
    color: #f08a5d;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.nav a:active{
    color: #e76f51;
    text-decoration: underline;
}
/* 下部の画像リンクについて*/
.link-images {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  width: 100%
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* すべてのページに適用 - ヒーロー*/
.hero{
    padding: 137px 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color:#000000;
    text-align: left
}
.hero.index{
    padding: 287px 0;
    background-image:url(https://www.kensatsu.go.jp/kakuchou/tottori/image/torichiki_oheya/heya.png);
}
.hero.menu{
    background-image:url();
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.hero.contact{
    background-image:url();
}
/* すべてのページに適用 - メイン*/
main{
    margin: 90px auto 90px auto;
    max-width: 1000px;
}
main h2{
    margin:60px 0 20px 0;
    border-bottom: 2px solid #c46429;
    padding:0 0 5px 0;
    color: #c46429;
    font-size: 1.3rem;
}
/* すべてのページに適用 - フッター*/
.gotop{
    text-align: center;
}
.copyright{
    margin-top: 20px;
    margin-bottom: 0;
    padding-top: 75px;
    padding-bottom: 75px;
    background-color: #c46429;
    color: #FFFFFF;
    text-align: center;
}
/* 個別のスタイル */

/* index.html */
.logo-whale{
    text-align: center;
}
.shop-info{
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 3px solid #f6c7a8;
    border-radius: 18px;
    background-color: #fffaf7;
    box-shadow: 0 5px 15px rgba(196, 100, 41, 0.12);
}

.shop-info th, .shop-info td{
    padding: 18px 20px;
    border-bottom: 1px dashed #f2c6ad;
}

.shop-info tr:last-child th,
.shop-info tr:last-child td{
    border-bottom: none;
}

.shop-info th{
    width: 150px;
    text-align: left;
    vertical-align: top;
    color: #c46429;
    background-color: #fff0e6;
    font-weight: bold;
}

.shop-info td{
    color: #5f5149;
    background-color: #fffaf7;
}

.shop-info tr:hover th,
.shop-info tr:hover td{
    background-color: #fff4ed;
}
/* menu.html */
.items{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

/* contact.html */
form{
    margin: 0 auto;
    max-width: 640px;
}
input[type="text"],textarea{
    padding: 6px;
    width: 100%;
    font-size: 1rem;
}
textarea{
    height: 140px;
}
.submit{
    text-align: center;
}
input[type="submit"]{
    border: none;
    padding: 20px;
    width: 200px;
    background-color: #c46429;
    color: #FFFFFF;
    font-size: 1rem;
}

/* モバイル対応 */
@media (max-width: 767px){
    .nav ul{
        flex-wrap: wrap;
        gap: 20px;
    }
    main{
        padding: 0 4%;
    }
}

/* index.html */
.hero.index{
    padding: 28vh 0;
}

/* menu.html */
.items{
    grid-template-columns: 1fr 1fr;
}