@charset 'utf-8';

textarea {
    width:88vw;
    height:50vw;
    font-size: 24px;
}

/* 共通部分 */

body {
    font-family: sans-serif;
    margin: 0;
}

img {
    width: 100%;
}

#test {
    background-image: url("../images/Leo-cate.jpeg");
    background-size: contain;
    background-repeat: no-repeat;
    height: 100px;
}

#none-style {
    text-decoration: none;
    color: black;
}

h1.heading-large {
    font-size: 2rem;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 700;
    font-style: normal;
    margin: 3rem auto 1.5rem;
    text-align: center;
}

footer {
    margin-top: 10rem;
}

/* お問い合わせフォーム */
#form {
    text-align: center;
}
.required {
    color: #fff;
    background-color: red;
    border-radius: 3px;
    padding: 2px;
    margin: 0.3rem;
    font-size: 0.8em;
}

/* 各ページの上部に余白 */
.spacer {
    width: 100%;
    height: 64px;
}

/* ロゴ */
h1.shop-name{
    font-family: "M PLUS Rounded 1c";
    font-size: 32px;
    margin: 0;
}

.logo {
    display: flex;
    margin: auto 0;
    align-items: center;
}

.logo img {
    width: 44px;
    height: 44px;
}

/* スライドメニュー */
#menu-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #f4eeac;
    /* height: 419px; */
    z-index: 9999;
    /* translate: 0 -419px; */

    height: 540px;
    translate: 0 -540px;
}

.overlay {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9998;
    background: rgba(0, 0, 0, .3);
}

#menu-close {
  border: none;
  outline: none;
  background: none;
  padding: 0;
  position: fixed;
  top: 1rem;
  right: 1rem;
}

#close-menu img {
    z-index: 10000;
}

#menu-panel ul {
    display: flex;
    flex-direction:column;
    text-align: center;
    padding: 0;
    margin-top: 106px;
    gap: 66px
}
#menu-panel ul li {
    list-style: none;
}
#menu-panel ul li a{
    text-decoration: none;
    color: brown;
    font-family: "M PLUS Rounded 1c";
    font-size: 32px;
}

/* ヘッダー */
header {
    height: 44px;
    left: 0;
    right: 0;
    top: 0;
    display: flex;
    position: fixed;
    justify-content: space-between;
    margin-top: 0;
    background-color: wheat;
}

.main-nav {
    display: none;
}

.tel {
    display: none;
}
/* ヒーロー画像の配置 */
.hero {
    margin-top: 44px;
    margin-bottom: 1rem;
}

.hero .desktop-hero {
    display: none;
}

/* 中見出し */
.heading-medium {
    display: inline-block;
    font-size: min(4vw, 24px);
    background-color: wheat;
    color: brown;
    padding: 8px 16px;
    border-top-right-radius: 24px;
    border-bottom-right-radius: 24px;
    margin-top: 72px;
    margin-bottom: 32px;
}

/* 生体カテゴリ */

.cate-wrap {
    padding: 16px 0 16px;
    background-color: #f4eeac;
    margin: 1rem auto;
}

.category {
    padding-top: 16px;
    width: 96vw;
    margin: 42px auto 72px;
    display: flex;
    gap: 24px;
    overflow-x: auto;
    margin: 0 auto;
}

.categories {
    margin: 0 0 16px;
    color: white;
    font-size: 24px;
    background-color: grey;
    flex: 0 0 auto;
    text-align: center;
    line-height: 102px;
    width: 136px;
    /* 装飾 */
    border-radius: 8px;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, .3);
    transition: .3s;
}
.categories:hover {
    transform: scale(1.05);
}

#leo {
    background-image: url('../images/Leo-cate.jpeg');
    background-size: contain;
}

#nishi {
    background-image: url('../images/NIshi-cate.jpeg');
    background-size: contain;
}

#turtle {
    background-image: url('../images/Turtle-cate.jpeg');
    background-size: contain;
}

#snake {
    background-image: url('../images/Snake-cate.jpg');
    background-size: contain;
}

a.kind {
    text-decoration: none;
}

/* アクセス */
.access {
    text-align: center;
    margin: 1rem auto 0;
}

.access p {
    margin-bottom: 24px;
}

.access-button {
    color: #ffffff;
    background-color: #00C8B3;
    border: 0;
    border-radius: 8px;
    font-size: 24px;
    margin-top: 0;
    text-decoration: none;
    padding: 3px 8px;
    transition: .2s;
}
.access-button:hover {
    color: #00c8b3;
    background-color: #8c8c8c;
}


iframe {
    width: 88%;
    height: calc(100vw*0.58);
}

/* レスポンシブ改行 */
span {
    display: inline-block;
}

/* フッター */

/* テーブル */
table {
    margin: 12px auto;
    border-collapse: collapse;
}

table th {
    font-weight: normal;
    text-align: left;
}

table th,
table td {
    border-bottom: 1px solid #000000;
    padding: 8px 0;
}

table td {
    padding-left: 24px;
}


.sns {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 42px;
}

.sns img {
    width: 32px;
}



.small {
    text-align: center;
    background-color: wheat;
}

/*
お取り扱い生体のぺージ
============================================= */
#menu {
    display: grid;
    gap: 1rem;
    max-width: 96vw;
    margin: auto;
    grid-template-columns: repeat(2, 1fr);
}

#menu img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.category button {
    border: none;
    background: none;
}

.category button:hover {
    cursor: pointer;
}

.kind:hover {
    cursor: pointer;
}
.pagination {
    justify-content:center;
    margin: 8rem auto;
    display:flex;
    gap:1rem;
}
.pagination button {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 8px;
    border: 1px solid #000;
    background-color: wheat;
    color: #000;
}

/*
店舗情報のぺージ
========================================= */
.exhibition {
    margin: 2rem auto;
    width: 88vw;
}
.exhibition img{
    width: 100%;
    border-radius: 24px;
}
#concept {
    width: 80vw;
    margin: 0 auto;
    font-size: 16px;
    font-weight: 500;
}
.sns-article {
    text-align: center;
}
.sns-article iframe {
    margin: 1rem auto;
}

/* レスポンシブ。デスクトップ版 */
@media (min-width: 620px) {
    /* ヒーロー画像切り替え */

    .hero .desktop-hero {
        display: block;
        /* margin-top: 64px; */
    }

    .hero .mobile-hero {
        display: none;
    }
}

@media (min-width: 800px) {
    /* ヘッダー */
    header {
        height: 64px;
    }
    .hamburger {
        display: none;
    }
    .logo img{
        width: 64px;
        height: 64px;
    }
    .logo h1 {
        font-size: 40px;
    }

    /* スペーサー */
    .spacer {
        height: 102px;
    }

    /* ナビゲーション */
    .on-off {
        display: none;
    }

    .main-nav {
        display: block;
    }
    ul {
        display: flex;
        gap: 6vw;
        padding: 0 24px;
        line-height: 64px;
        margin: 0;
    }
    li {
        list-style: none;
    }
    li a {
        font-size: 1.2rem;
        text-decoration: none;
        color: brown;
        font-family: "M PLUS Rounded 1c";
        white-space: nowrap;
        transition: .4s;
    }
    li a:hover {
        color: greenyellow;
    }

    .hero .desktop-hero {
        display: block;
        margin-top: 64px;
    }

    /* 中見出しを小さく 
    min関数で既に実装済み*/

    /* 生体カテゴリのサイズ等変更 */
    .category {
        justify-content: space-evenly;
        width: 88vw;
    }

    .categories {
        width: 160px;
        height: 120px;
        line-height: 120px;
    }

    /* 生体カテゴリラップの形変更 */
    .cate-wrap {
        width: 96vw;
        margin: 42px auto 72px;
        border-radius: 16px;
        box-shadow: 8px 8px 4px rgba(0, 0, 0, .3);
    }

    /* 生体一覧 */
    #menu {
        grid-template-columns: repeat(5, 1fr);
    }
    /* GoogleMapの縦横比設定 */
    Iframe {
        width: 88vw;
        height: 40vw;
    }

    /* フッターテーブルを横長に */
    table td {
        padding-left: 56px;
        padding-right: 32px;
    }
    table th {
        padding-left: 32px;
    }
    
    table th,td {
        font-size: 24px;
    }

    /* 店舗情報 */
    .arrangement {
        display:flex;
        gap: 2rem;
        width: 88vw;
        margin: 3rem auto 0;
        /* align-items: flex-start; */
        align-items: stretch;
    }
    .exhibition {
        margin-top: 0;
    }
    #concept {
        font-size: 20px;
        font-weight: 400;
    }
    .access {
        margin-top: 3rem;
    }
    .sns-article {
        display: flex;
        width: 88vw;
        margin: 3rem auto 0;
        gap: 2.5vw;
    }
}

@media (min-width: 1140px) {
    .tel {
        font-family: "M PLUS Rounded 1c";
        display: block;
        margin: auto auto 7px 24px;
        font-size: 1.4rem;
        white-space: nowrap;
    }
}
