@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "リュウミン R-KL", "serif";
    letter-spacing: 0.03rem;
}

.main-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    width: 100%;
}

/* カバーページ全体のベース設定 */
.cover-container {
    min-height: 100vh; /* 画面全体の高さ */
    min-height: 100dvh;
    background-color: #fff; /* 余白部分は白 */
    display: flex;
    flex-direction: column;
    position: relative;
}

/* 背景画像の設定 */
.bg-image-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;    /* 横幅100% */
    height: 87%;    /* 天地90% */
    background-color: white;
    background-image:
        linear-gradient(#000935 0%, white 101%),
        radial-gradient(black 10%, transparent 30%), 
        radial-gradient(black 10%, transparent 30%),
        linear-gradient(rgba(210, 105, 30, 0.35), rgba(210, 105, 30, 0.3)),
        url("/images/hokusai.webp");
    background-size: 101% 101%, 10px 10px, 10px 10px, auto, cover;
    background-position: 0 0, 0 0, 5px 5px, 0 0, right top;
    background-blend-mode: screen, normal, normal, normal, normal;
    z-index: 1;
}

.logomark-sh {
    filter: drop-shadow(2px 3px 3px rgba(0, 0, 0, 0.8));
}

/* コンテンツ（ロゴ・テキスト）の設定 */
.cover-content {
    position: relative;
    z-index: 2; /* 画像の上に表示 */
    text-align: center;
    /* color: #fff; /* 背景が暗い場合を想定して白文字に設定 */
    padding-top: 3rem;
}

.shop-title {
    font-family: "リュウミン B-KL", "serif";
    writing-mode: vertical-rl;
    white-space: nowrap;
    margin-bottom: 0;
    font-weight: bold;
    color: white;
    /* iPhone縦向きで「小さすぎない」サイズに固定 */
    font-size: 1.5rem;
}

/* テキストの視認性を上げるための調整（任意） */
.cover-content h4 {
    text-shadow: 2px 2px 2.5px rgba(0,0,0,0.9);
}

.footer {
    font-size: 0.8rem;
    position: relative;
    text-align: center;
    width: 100%;
    z-index: 3;
    padding: 1rem 0;
    background-color: white;
}


/* ==========================================
   1. 基本スタイル（スマホ・全ての画面に共通）
   ========================================== */
.small-sp {
  width: 37%;
  height: auto;
}


/* ==========================================
   2. 中間サイズ（タブレット・スマホ横向き）
   ========================================== */
@media (min-width: 768px) {
.small-sp { 
    width: 55%; 
  }
.shop-title {
    font-size: 1.7rem;
  }
}

/* ==========================================
   3. 大型モニター（27インチなど）
   ========================================== */
@media (min-width: 1400px) {
.small-sp { 
    width: 70%; 
    max-width: 350px; /* 巨大化防止の保険 */
  }
.shop-title {
    font-size: 1.7rem;
  }
}

/* ==========================================
   4. 特殊条件（画面の高さが低い時）
   ========================================== */
@media (max-height: 574px) {
.small-sp {
    width: auto;
    height: 40vh;
  }
}

@media (max-height: 956px){
    .shop-title {
        font-size: 1.3rem;
    }
}

/* 画面の「高さ」が低い時（iPhone横向きなど）の調整 */
@media screen and (max-height: 574px) {
.small-sp {
    /* 現在の設定より高さをアップ（例：40vh → 65vh） */
    width: auto;
    height: 55vh; 
    /* 文字との距離を詰めたい場合はここで調整 */
    margin-right: -8px; 
  }
.shop-title {
    /* 横向き時は高さがないので、文字サイズを少し抑えるとバランスが良いです */
    font-size: 1.2rem; 
  }
}

/* 画面の高さが500px以下の時（iPhone横向きなど）、フッターを非表示にする */
@media screen and (max-height: 500px) {
.footer {
    display: none !important;
  }
}
