/* font import */
@import url('https://fonts.googleapis.com/css?family=Quicksand:300,400,500,700');

/* layout */
body {
    font-family: 'Quicksand', Arial, sans-serif;
    font-size: 20px;
    background: #EFECE7;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}
.container {
    width: 90%;
    margin: auto;
    overflow: hidden;
}

/* header */
header {
    position: fixed;
    top: 0;
    height: 100px; /* ヘッダーの高さを100pxに固定 */
    width: 100%;
    background: #000000;
    color: #EFECE7;
    padding: 0; /* パディングをリセット */
    border-bottom: #000000 3px solid;
    z-index: 1000;
}
.header-content {
    display: flex;
    justify-content: space-between;
    height: 100%;
}
.logo {
    width: 50px;
    height: 50px;
    margin-top: 0px;
    margin-right: 15px;
}
header h1 {
    font-size: 2em;
    margin-top: 20px;
    display: flex;
    align-items: center;
}
nav ul {
    list-style: none;
    padding: 0;
    height: 50px;
    margin-top: 25px;
    display: flex;
    align-items: center;
}
nav li {
    font-size: 1.2em;
    margin-left: 30px;
    align-items: center;
}
nav a {
    color: #EFECE7; /* 通常のリンクの色 */
    text-decoration: none;
}
nav a:visited {
    color: #EFECE7; /* 訪問済みリンクの色 */
}

/* shop picture slider */
.slider {
    background-color: #9f9f9f;
    margin-top: 100px;
    margin-bottom: 30px;
    margin-left: auto; /* 左右のマージンを自動に設定 */
    margin-right: auto;
    overflow: visible;
}
.slick-slide img {
    height: 30vw;
    max-height: 400px;
    min-height: 200px;
    object-fit: cover;
    width: 100%;
}

/* Common Contents */
.basic-content {
    display: flex;
    justify-content: center;
    color: #000000;
}
.content{
    margin-top: 50px;
    color: #000000;
}
.title {
    font-size: 2em;
    display: flex;
    justify-content: center;
}

/* about we cats */
.about-content {
    display: flex;
    justify-content: center;
    color: #000000;
    flex: 1;
}
.sns-links {
    width: 70%;
    color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    margin: 0 auto;
}

.sns-links div {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    margin-right: 10px;
    width: 45%;
    margin-bottom: 5px;
}
.sns-links a {
    color: #000000;
    text-decoration: underline;
}

.ico_sns {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

/* whatsnew */
.whatsnew-content {
    display: flex;
    justify-content: center;
    color: #000000;
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
}

.whatsnew-table {
    border-collapse: collapse;
    margin: 0 auto;
    padding: 0;
    width: 80%;
    table-layout: fixed;
    color: #000000;
    background-color: #EFECE7;
}

.whatsnew-table td:first-child,
.whatsnew-table th:first-child {
    width: 20%;
    white-space: nowrap;
}
.whatsnew-table td:last-child,
.whatsnew-table th:last-child {
    width: 80%;
}

/* price list */
.price-precaution {
    font-size: 0.8em;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    color: #000000;
}
.price-precaution h3 {
    text-align: left;
}
.price-precaution a {
    color: #000000;
    text-decoration: underline;
}
.pricelist {
    width: 60%;
    height: auto;
}

table {
    border-collapse: collapse;
    margin: 0 auto;
    padding: 0;
    width: 650px;
    table-layout: fixed;
    color: #000000;
    background-color: #EFECE7;
}
  
table tr {
    padding: .35em;
    border-bottom: 1px dotted #000000;
}
table tr:last-child{
     border-bottom: 2px solid #000000;
}
table th,
table td {
    padding: 1em 10px 1em 1em;
}
table a {
    color: #000000;
    text-decoration: underline;
}
tbody th {
      color: #000000;
}
.txt{
     text-align: center;
     font-size: .85em;
}
.price{
     text-align: center;
}

/* cats */
.cats-content {
    margin-left: 50px;
    margin-right: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
} 
.cat-info {
    width: 30%;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.cat-info img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 5 / 3;
}
.cat-info h5 {
    color: #000000;
    text-align: center;
}
.cat-info a {
    text-decoration: none; /* リンクの下線を表示しない */
}

/* access */
.access-map {
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

/* footer */
/* footer {
    background: #000000;
    color: #EFECE7;
    display: flex;
    justify-content: center;
}
.footer-content {
    font-size: 1.0em;
    display: flex;
} */
footer {
    background: #000000;
    color: #EFECE7;
    display: flex;
    justify-content: center;
    padding: 10px 0; /* 上下のパディングを追加 */
    width: 100%; /* フッターの幅を100%に設定 */
    box-sizing: border-box; /* パディングを含めて幅を計算 */
}
.footer-content {
    font-size: 1.0em;
    display: flex;
    width: 100%; /* フッターコンテンツの幅を100%に設定 */
    justify-content: space-between; /* コンテンツを左右に配置 */
    white-space: nowrap; /* テキストの折り返しを防止 */
    flex-wrap: nowrap; /* フレックスアイテムの折り返しを防止 */
}

/* bottom navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f8f8f8;
    border-top: 1px solid #e7e7e7;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}
.bottom-nav a {
    text-decoration: none;
    color: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.bottom-nav img {
    width: 24px;
    height: 24px;
    margin-bottom: 5px;
}
.bottom-nav span {
    color: #000000;
    font-size: 12px;
}

#scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #000000;
    color: #EFECE7;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    display: none;
}
  

/* pc & tablet */
@media screen and (min-width: 768px) {
    html {
        scroll-padding-top: 80px;
        scroll-behavior: smooth;
    }
    .slider {
        width: 75%;
    }
    .slick-slide img {
        height: 30vw;
        max-height: 600px;
    }
    header {
        position: fixed;
        top: 0;
        left: 0;
        height: 100px;
        width: 100%;
        z-index: 1000;
    }
    body {
        padding-top: 70px;
    }
    a {
        color: white;
        text-decoration: none;
      }
    .bottom-nav {
        display: none;
    }
    .footer-content {
        justify-content: center;
        align-items: center;
    }
    .cafename {
        flex: 5;
        padding-left: 100px;
    }
    .cafeinfo {
        flex: 5;
        width: 500px;
    }
}

/* smartphone */
@media screen and (max-width: 768px) {
    body {
        font-size: 12px;
    }
    header {
        position: fixed;
        top: 0;
        height: 70px; /* ヘッダーの高さを100pxに固定 */
        width: 100%;
        background: #000000;
        color: #EFECE7;
        padding: 0; /* パディングをリセット */
        border-bottom: #000000 3px solid;
        z-index: 1000;
    }
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    header h1 {
        font-size: 2em;
        margin-top: 10px;
        display: flex;
        align-items: center;
    }
    .logo {
        margin-right: 10px;
        margin-bottom: 10px;    
    }
    .content{
        margin-top: 20px;
    }
    .title {
        font-size: 1.5em;
    }

    /* sns-links を2行で表示 */
    .sns-links {
        flex-wrap: wrap; /* 追加 */
    }

    .sns-links div {
        width: 45%; /* 追加 */
        margin-bottom: 10px; /* 追加 */
    }


    .whatsnew-content {
        width:100%
    }
    
    .whatsnew-table {
        border: 0;
        width:100%
    }

    .whatsnew-table td:first-child,
    .whatsnew-table th:first-child {
        width: 30%;
        white-space: nowrap;
    }
    .whatsnew-table td:last-child,
    .whatsnew-table th:last-child {
        width: 70%;
    }

    table {
        border: 0;
        width:100%
    }
    .price-precaution {
        font-size: 0.8em;
    }
    .cats-content {
        margin-left: 10px;
        margin-right: 10px;
    }
    .cat-info {
        width: 25%;
    }
    .cat-info a {
        font-size: 1.2em;
    }
    .cat-info img {
        aspect-ratio: 4  / 3;
    }
    nav {
        display: none;
    }
    footer {
        margin-bottom: 64px;
    }
    .footer-content {
        margin-left: 0px;
    }
    .cafename {
        flex: 4;
    }
    .cafeinfo {
        flex: 6;
    }
}
