/*
.lowerMainVisualImage {
    width: 100%;
    height: auto;
    aspect-ratio: 1920 / 650;
    display: block;
}
*/

.lowerMainVisualImage {
    width: 100%;
    object-fit: cover;
}

.lowerMainVisualImage {
    position: relative;
    height: 550px;
    width: 100px;
}

.button-29 {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 270px;
    margin: 0 auto;
    padding: .8em 2em;
    overflow: hidden;
    border: 1px solid #b11086;
    border-radius: 10px;
    background-color: #b11086;
    color: #fff;
    font-size: 1.5em;
    font-weight: 600;
    letter-spacing: 0.15em;
    cursor: pointer;
    font-family: serif;
    z-index: 2;
    position: fixed;
}
.button-29:hover {
    background-color: #fff;
    color: #b11086;
    border: 1px solid #b11086;
}
.button-29::before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 0;
    height: 100%;
    background-color: #b11086;
    content: '';
    transition: width .3s ease;
}
.button-29:hover::before {
    width: 100%;
    background-color: #fff;
    color: #b11086;
    border: 1px solid #b11086;
}
.example {
    /*親div*/
    position: relative;
    /*相対配置*/
}
.example p {
    position: absolute;
    /*絶対配置*/
    color: white;
    /*文字は白に*/
    top: 14%;
    left: 14%;
}
.example img {
    width: 100%;
}
.video-wrap {
    position: relative;
    width: 100%;
    /* ✅ 動画の実比率をここで固定（16:9 の場合）*/
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* ✅ これで常に“長辺”が基準になる */
    display: block;
}
.bg-video {
    width: 100%;
    height: auto;
    display: block;
}
/* 縦書きテキスト */
.vertical-text {
    position: absolute;
    top: 50%;
    right: 48px;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 22px;
    line-height: 3.5rem;
    letter-spacing: 0.2em;
    color: #fff;
    font-family: "Hiragino Mincho ProN", serif;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    pointer-events: none;
    font-weight: 300;
    max-height: 95%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 6px;
    padding: 5%;
    height: 90%;
}

.vertical-text span {
    font-size: 1.6em;
    margin-left: 5px;
    display: block;
    letter-spacing: 0.25em;
}
.vertical-text2 {
    writing-mode: vertical-rl;
    /* ← 縦書き */
    text-orientation: upright;
    font-size: 20px;
    letter-spacing: 0.2em;
    color: #000;
    font-family: "Hiragino Mincho ProN", serif;
    line-height: 3.5rem;
    font-weight: 300;
}
.vertical-text2 span {
    font-size: 28px;
    margin-left: 5px;
    display: block;
    letter-spacing: 0.25em;
    line-height: 50px;
}
.img-wrap {
    position: relative;
    /* ← absoluteの基準 */
    width: 600px;
    /* 好きなサイズ */
    height: 400px;
    margin: 0 auto;
}
.img-wrap2 {
    position: relative;
    /* ← absoluteの基準 */
    width: 600px;
    /* 好きなサイズ */
    height: 400px;
    margin: 80px auto;
}

.img {
    position: absolute;
}
.img1 {
    top: -15%;
    left: -40%;
}
.img2 {
    bottom: 10%;
    left: 60%;
}
.img3 {
    top: -98%;
    left: -50%;
}
.img4 {
    top: -98%;
    left: 50%;
}
.black01 {
    display: flex;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 60px;
}
.black02 {
    max-width: 1260px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
.black02 img {
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}
.black03 {
    display: flex;
    justify-content: center;
    padding-bottom: 100px;
}
.black4 img {
    filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.5));
}
.black05 {
    max-width: 1260px;
    margin: 0 auto;
    display: flex;
    justify-content: space-evenly;
}
.black5 img {
    filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.5));
}
.read {
    font-size: 28px;
    letter-spacing: 0.15em;
    line-height: 2em;
    font-family: "Hiragino Mincho ProN", serif;
    text-align: center;
    font-weight: 500;
}
.read2 {
    font-size: 20px;
    letter-spacing: 0.15em;
    line-height: 2em;
    font-family: "Hiragino Mincho ProN", serif;
    text-align: center;
    font-weight: 600;
}
.read3 {
    display: block;
    max-width: 1244px;
    margin: 0 auto;
    text-align: center;
    font-size: 24px;
    font-family: "Hiragino Mincho ProN", serif;
    letter-spacing: 0.15em;
    margin-top: 10%;
}
.read4 {
    display: block;
    max-width: 1244px;
    margin: 0 auto;
    text-align: center;
    font-size: 24px;
    font-family: "Hiragino Mincho ProN", serif;
    letter-spacing: 0.15em;
    margin-top: 10%;
    margin-bottom: 8%;
}
.read4 a {
    text-decoration: underline #000 5px;
    text-underline-offset: 0.5em;
}
.read5 {
    display: block;
    max-width: 1244px;
    margin: 0 auto;
    text-align: center;
    font-size: 24px;
    font-family: "Hiragino Mincho ProN", serif;
    letter-spacing: 0.15em;
    margin-top: 3%;
    margin-bottom: 8%;
}
.shop-link {
    display: inline-block;
    text-decoration: none;
    color: #222;
    letter-spacing: 0.12em;
    transition: opacity 0.4s ease;
    /* ← ホバー透過用 */
}
/* 上の「オンラインショップ」だけ左揃え */
.shop-sub {
    display: block;
    font-size: 13px;
    margin-bottom: 8px;
    text-align: left;
    /* ← 左揃え */
}
/* 下のメイン文字は中央寄せのまま */
.shop-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 500;
    padding-bottom: 6px;
    border-bottom: 1px solid #222;
    text-align: center;
}
/* ホバーで全体が透過 */
.shop-link:hover {
    opacity: 0.5;
    /* お好みで 0.4〜0.7 に調整可 */
}
.arrow {
    font-size: 22px;
}
.rtxt {
    margin: 20px 0;
    display: block;
    line-height: 30px;
    letter-spacing: 0.1em;
}
.round-button {
    background-color: #fff;
    color: #000;
    padding: 15px 20px;
    border: none;
    cursor: pointer;
    border-radius: 70px;
    width: 320px;
    font-size: 32px;
    border: solid 2px #000;
    font-family: serif;
    letter-spacing: 0.1em;
}
.store {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
}
.store_txt {
    padding-left: 60px;
    font-size: 21px;
    line-height: 4rem;
    letter-spacing: 0.1em;
    font-family: "Hiragino Mincho ProN", serif;
}
.s_list {
    display: flex;
    max-width: 1000px;
    margin: 35px auto;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 60px;
    padding-top: 50px;
}
.s_item {
    width: calc((80% - 40px) / 3);
}
.omotenashi {
    position: relative;
    width: 100%;
    max-width: 1260px;
    height: 1200px;
    /* セクションの高さは固定 */
    margin: 0 auto;
    background: #fff;
}
/* 中央テキスト */
.center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    writing-mode: vertical-rl;
    /* 縦書き */
    height: 580px;
    text-orientation: upright;
    font-family: "Hiragino Mincho ProN", serif;
    font-weight: 300;
	color: #000;
	font-size: 17px;
}
.center-text h2 {
    font-size: 22px;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
}
.center-text p {
	letter-spacing: 0.1em;
	line-height: 2;
}

.center-text2 {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    writing-mode: vertical-rl;
    /* 縦書き */
    height: 670px;
    text-orientation: upright;
    font-family: "Hiragino Mincho ProN", serif;
    font-weight: 300;
    font-size: 20px;
    color: #000;
}
.center-text2 h2 {
    font-size: 22px;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
}
.center-text2 p {
    line-height: 1.8;
    letter-spacing: 0.2em;
}
/* 画像共通 */
.photo01 {
    position: absolute;
    width: 360px;
    height: auto;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.photo02 {
    position: absolute;
    width: 280px;
    height: auto;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.photo03 {
    position: absolute;
    width: 400px;
    height: auto;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.photo04 {
    position: absolute;
    width: 300px;
    height: auto;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.photo05 {
    position: absolute;
    width: 320px;
    height: auto;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.photo06 {
    position: absolute;
    width: 450px;
    height: auto;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.photo07 {
    position: absolute;
    width: 410px;
    height: auto;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.photo08 {
    position: absolute;
    width: 260px;
    height: auto;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.photo09 {
    position: absolute;
    width: 360px;
    height: auto;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.photo10 {
    position: absolute;
    width: 450px;
    height: auto;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
/* 個別配置（ここがデザインの肝） */
.p1 {
    top: -80px;
    left: 44px;
}
.p2 {
    top: 265px;
    left: 135px;
}
.p3 {
    bottom: 300px;
    left: 50px;
}
.p4 {
    bottom: 40px;
    left: 250px;
}
.p5 {
    bottom: -35px;
    right: 130px;
}
.p6 {
    bottom: 264px;
    right: -40px;
}
.p7 {
    top: 205px;
    right: 10px;
}
.p8 {
    top: -115px;
    right: -15px;
}
.p9 {
    top: -80px;
    left: 44px;
}
.p10 {
    top: 450px;
    left: 30px;
}
.p11 {
    bottom: 40px;
    left: 180px;
}
.p12 {
    top: -80px;
    left: 100px;
}
.p13 {
    top: -150px;
    right: 80px;
}
.p14 {
    bottom: 264px;
    right: 50px;
}
.mizu {
    /*height: 334px;*/
}
/* ===== このセクション専用：高さ崩壊を完全に止める ===== */
.bgpa {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    max-width: 1224px;
    margin: 0 auto;
    margin-top: 120px;
    padding: 120px 80px 230px;
    min-height: 1900px !important;
    overflow: visible !important;
}
/* 水引 */
.bgpa .mizu {
    display: block;
    /*margin: 0 auto 60px;*/
    /*max-width: 600px;*/
    width: 100%;
}
/* フェードイン */
.fade-item2.is-show {
    opacity: 1;
    transform: none;
}
.intro-line {
    background: #fff;
    display: inline-block;
    padding: 40px 60px;
    border-radius: 20px;
    margin-bottom: 80px;
}
.photo-sequence {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    margin-bottom: 100px;
}
.photo img {
    width: 100%;
    display: block;
    border-radius: 12px;
}
.photo figcaption {
    margin-top: 12px;
    font-size: 14px;
}
/* フェード演出 */
.fade {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease forwards;
}
.delay1 {
    animation-delay: 0.5s;
}
.delay2 {
    animation-delay: 1.5s;
}
.delay3 {
    animation-delay: 2.5s;
}
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* スマホ */
@media (max-width: 768px) {
    .photo-sequence {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
/* ===== 写真の基本状態（レイアウト安定） ===== */
.photo_s1, .photo_s2 {
    position: relative;
    /* ✅ absolute を完全解除 */
    width: clamp(260px, 32vw, 425px);
    height: auto;
    margin: 0 auto 64px;
    z-index: 10;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.photo_s1 img, .photo_s2 img {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: auto;
    display: block;
}
/* ===== 表示状態 ===== */
.photo_s1.is-show, .photo_s2.is-show {
    opacity: 1;
    transform: translateY(0);
}
.ps1 {
    top: clamp(360px, 33vw, 520px);
    left: clamp(200px, 24vw, 360px);
}
.ps2 {
    top: clamp(480px, 45vw, 700px);
    right: clamp(280px, 32vw, 460px);
}
.ps3 {
    bottom: clamp(300px, 30vw, 460px);
    left: clamp(220px, 26vw, 400px);
}
.caption {
    margin-top: 30px;
    font-size: 18px;
    color: #000;
    text-align: center;
    background: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    display: block;
    letter-spacing: 0.1em;
    font-family: "Hiragino Mincho ProN", serif;
    font-weight: 500;

}
/* 下から */
.group-a {}
/* 右から */
.group-b {}

.group-c {
    transform: none !important;
}

.fade-item2 {
    opacity: 0;
    transition: opacity 0.9s ease, transform 0.9s ease;
}
.fade-item2.is-show {
    opacity: 1;
    transform: translateY(0) scale(1) !important;
}
.furoshiki-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    gap: clamp(40px, 6vw, 90px);
    margin: 120px auto;
}
.furo {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}
/* フェードイン表示 */
.furo.is-show {
    opacity: 1;
    transform: translateY(0);
}
/* 中央だけ一度だけ持ち上げ */
.furo.is-center.is-show {
    animation: centerLift 1.9s ease forwards;
}
/* 全体にあとから「呼吸」 */
.furo.is-breathe {
    animation: breathe 3s ease-in-out infinite;
}
@keyframes centerLift {
    0% {
        transform: translateY(0);
    }
    60% {
        transform: translateY(-12px);
    }
    100% {
        transform: translateY(0);
    }
}
@keyframes breathe {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
.float-up {
    opacity: 0;
    transform: translateY(24px);
    /* その場で下に沈んだ状態 */
    filter: blur(1.5px);
    /* ほんのり奥から出る演出 */
    transition: opacity 1.2s ease, transform 1.2s ease, filter 1.2s ease;
}
.float-up.is-show {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}
/* フェード用（親要素） */
.fade-item {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1s ease, transform 1s ease;
}
.fade-item.is-show {
    opacity: 1;
    transform: translateY(0);
}

/* ✅ タイピング文字：もう animation を使わない */
.type-writer span {
    display: inline-block;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.bgpa>.photo_s1 {
    position: absolute !important;
    inset: auto !important;
    transform: none !important;
    margin: 0 !important;
    width: clamp(260px, 32vw, 425px) !important;
    z-index: 10 !important;
}
.bgpa>.ps1 {
    left: 135px !important;
    top: 525px !important;
}
.bgpa>.ps2 {
    left: 55% !important;
    top: 840px !important;
}
.bgpa>.ps3 {
    left: 170px !important;
    top: 1210px !important;
}
.bgpa>.ps4 {
    position: absolute;
    top: 50%;
    /* ← 背景の縦中央 */
    left: 50%;
    /* ← 背景の横中央 */
    transform: translate(-50%, -50%);
    width: 760px;
    max-width: 90%;
    text-align: center;
    line-height: 1.4;
    z-index: 20;
    /* 写真より必ず上 */
}
/* PCデザイン本体 */
/* --- 常に有効（全デバイス共通） --- */
.scale-wrap {
    width: 100vw;
    overflow: hidden;
    position: relative;
}
/*
.site-wrap {
    width: 1400px;
    margin: 0 auto;
    transform-origin: top center;
}
*/

.globalMenuSp {
    position: fixed;
    inset: 0;
    z-index: 9999;
    transform: none !important;
}
.globalMenuSp {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.globalMenuSp.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
html, body {
    overflow-x: hidden;
    min-height: auto !important;
}
/* =================================================== ✅ 全デバイス共通：ページ基準コンテナを 絶対に中央に固定する最終パッチ =================================================== */
/* ① body / html にズレ要因があった場合すべて解除 */
html, body {
    margin: 0;
    padding: 0;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    overflow-x: hidden;
}
/* ② 全レイアウトの基準になる可能性がある要素を すべて「強制中央」に戻す */
.container, .inner, .wrap, .wrapper, .contents, .main, .sec-inner, .page, .page-inner, .layout, .layout-inner {
    margin-left: auto !important;
    margin-right: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    float: none !important;
}
/* ③ 最大幅レイアウトの“正しい中央寄せ”定義 */
.page, .page-inner, .wrapper, .inner {
    max-width: 1366px;
    /* ← 今のサイトに合わせて調整可 */
    width: 100%;
}
/* ============================================ ✅ 全端末共通：PCデザインを中央基準で縮小 （これ以外の scale / zoom はすべて削除） ============================================ */
/* 外側ラッパー */
.scale-wrap {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    /*display: flex;*/
    justify-content: center;
    /* ← これが決定打 */
    /* width: 100vw; overflow: hidden; */
}
/* .site-wrap { width: 1400px; transform-origin: top center; } @media screen and (max-width: 1366px) { .site-wrap { transform: scale(0.88) translateX(-10px); } } @media screen and (max-width: 768px) { .site-wrap { transform: none; width: 100%; } } :? /* ===== bodyの中央Flexを完全無効化 ===== */
body {
    display: block !important;
}
body>* {
    max-width: none !important;
}
/* ===== ps4：完全にこの1本だけに統一 ===== */
.bgpa>.photo_s2.ps4.type-writer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    max-width: 900px;
    text-align: center;
    font-size: 30px;
    line-height: 1.8;
    letter-spacing: 0.12em;
    color: #000;
    opacity: 1;
    z-index: 10;
}
@media screen and (max-width: 1366px) {
    .site-wrap {
        width: 100%;
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
        transform: scale(0.88);
        transform-origin: top center;
    }
}
@media (max-width: 1366px) {
    .vertical-text {
        font-size: 24px;
        line-height: 5.2rem;
        right: 32px;
    }
    /* ✅ 全体の縮小だけ site-wrap に集約 .site-wrap { transform: scale(0.88); transform-origin: top center; */
}

 
@media screen and (max-width: 1024px) {
    .vertical-text {
        right: 24px;
        font-size: 20px;
        line-height: 4rem;
    }
}

.contentWrap.withSidebarContainer {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    left: 0;
    right: 0;
}
/* ✅ 全デバイス共通（ここが正解） */
.typing-area {
    position: relative;
    margin: 25px auto 0;
    /* 写真との距離 */
    text-align: center;
    line-height: 10rem;
    font-size: 2.5em;
    letter-spacing: 0.15em;
}
.photo-spacer {
    height: 1200px;
}
/* ふわっと表示アニメーション */
@keyframes floatFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
        /* 動きを小さくして上品に */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.typing {
    opacity: 0;
    font-size: 32px;
    line-height: 1.8;
    letter-spacing: 0.2em;
    margin: 25px auto;
    position: static !important;
    animation-fill-mode: forwards;
}
/* ===================================== iPad Pro / iPad Air 縦 PCレイアウトを「zoom」で縮小（余白が物理的に出ない最終解） ===================================== */
@media (max-width: 1100px) and (orientation: portrait) {
     .example p {
         position: absolute;
         color: white;
         top: 14%;
         left: 20%;
     }
    .main {
        overflow-x: hidden;
    }
    /* omotenashi：PC構図をそのまま実寸縮小 */
    .main .omotenashi {
        zoom: 0.7;
        width: 1220px;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    /* 写真と「祇園・銀座…」の間の余白調整 */
    .omotenashi {
        margin-bottom: 40px !important;
    }
    .read3 {
        margin-top: 100px !important;
    }
    .store {
        padding-left: 10%;
    }
    .img-wrap {
        position: relative;
        width: 600px;
        height: 400px;
        margin: 0 auto;
        zoom: 0.7;
    }
    .img-wrap2 {
        position: relative;
        width: 600px;
        height: 400px;
        margin: 80px auto;
        zoom: 0.7;
    }
    .black02 {
        max-width: 1260px;
        margin: 0 auto;
        display: flex;
        justify-content: space-around;
    }
    /* ストア・ふるさと納税ロゴも実寸縮小 */
    .store, .s_list {
        zoom: 0.9;
    }
}
@media (max-width: 1100px) and (orientation: portrait) {
    /* =============================== ✅ scale-wrap 最終修正版 ・右ズレ完全リセット ・フッター下余白 完全除去 =============================== */
    .scale-wrap {
        width: 100%;
        max-width: 100%;
        height: auto !important;
        min-height: 0 !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        display: block !important;
        /* ← flex を完全殺す */
        position: relative !important;
        left: 0 !important;
        transform: none !important;
    }
}
/* =========================== ✅ scale-wrap 高さ強制解除（最終勝者） =========================== */
@media (max-width: 1100px) and (orientation: portrait) {
    .scale-wrap {
        display: block !important;
        height: auto !important;
        min-height: 0 !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        overflow: visible !important;
        background: transparent !important;
    }
}
@media (max-width: 1100px) {
    body, html {
        height: auto !important;
        min-height: 0 !important;
    }
}
/* ===================================== iPad Pro / iPad Air 縦 ・ページ全体の transform を無効化 ・右寄り＆フッター下の空白を解消 ===================================== */
@media (max-width: 1100px) and (orientation: portrait) {
    /* ページ外枠：横スクロール防止だけ残す */
    .scale-wrap {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        height: auto !important;
        min-height: 0 !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        display: block !important;
        left: 0 !important;
        transform: none !important;
    }
    /* 中身のコンテナ：中央寄せ＋transform を完全OFF */
    .site-wrap {
        width: 100%;
        max-width: 1024px;
        /* iPad縦幅にフィット */
        margin-left: auto !important;
        margin-right: auto !important;
        transform: none !important;
        /* ← これが一番重要 */
        transform-origin: top center !important;
    }
    /* ✅ ファーストビュー背景ごと物理的に下げる */
    .lowerMainVisual {
        /*top: 72px !important;*/
        position: relative !important;
    }
}
@media (max-width: 1100px) and (orientation: portrait) {
    .typing-area {
        margin-top: 60px;
        /* ← 数値だけ調整 */
    }
    .photo-spacer {
        height: 1140px;
    }
}
/* ================================ ✅ iPad Air 横：フッター余白完全削除・flex殺し【最終版】 =============================== */
@media (max-width: 1200px) and (orientation: landscape) {
    html, body {
        height: auto !important;
        min-height: 0 !important;
        overflow-x: hidden !important;
    }
     .example p {
         position: absolute;
         color: white;
         top: 14%;
         left: 18%;
     }
    .button-29 {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        width: 270px;
        margin: 0 auto;
        padding: .8em 2em;
        overflow: hidden;
        border: 1px solid #b11086;
        border-radius: 10px;
        background-color: #b11086;
        color: #fff;
        font-size: 1.5em;
        font-weight: 600;
        letter-spacing: 0.15em;
        cursor: pointer;
    	font-family: "Hiragino Mincho ProN", serif;
        z-index: 20;
        position: fixed;
    }
    .button-29:hover {
        background-color: #fff;
        color: #b11086;
        border: 1px solid #b11086;
    }
    .button-29::before {
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        width: 0;
        height: 100%;
        background-color: #b11086;
        content: '';
        transition: width .3s ease;
    }
    .button-29:hover::before {
        width: 100%;
        background-color: #fff;
        color: #b11086;
        border: 1px solid #b11086;
    }
    .scale-wrap {
        display: block !important;
        /* ← flex を完全殺す */
        height: auto !important;
        min-height: 0 !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        overflow: visible !important;
    }
    .site-wrap, .main, .contentWrap.withSidebarContainer {
        height: auto !important;
        min-height: 0 !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    footer {
        height: auto !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    footer::after {
        content: none !important;
    }
}
/* ================================ ✅ iPad Air 横 完全FIX（右ズレ + 下余白 全滅） =============================== */
@media (max-width: 1200px) and (orientation: landscape) {
    html, body {
        height: auto !important;
        min-height: 0 !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    /* ❌ flex を物理的に破壊 */
    .scale-wrap {
        display: block !important;
        justify-content: unset !important;
        align-items: unset !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        overflow: visible !important;
        transform: none !important;
    }
    /* ❌ scale を物理的に破壊 */
    .site-wrap {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        transform: none !important;
        left: auto !important;
        right: auto !important;
    }
    .img-wrap3 {
        transform: translateZ(0) !important;
        position: relative !important;
    }
    .img3 {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateZ(0) !important;
        will-change: transform;
    }
    .main, .contentWrap.withSidebarContainer, footer {
        height: auto !important;
        min-height: 0 !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    footer::after {
        content: none !important;
    }
}
/* ===================================== ✅ iPad Air 横：PCデザインの縮小表示 .omotenashi 専用 zoom ===================================== */
@media (max-width: 1200px) and (orientation: landscape) {
    .omotenashi {
        zoom: 0.85;
        /* ← 縮小率（0.85〜0.9で微調整可） */
        width: 1260px;
        /* ← PC版の実寸を維持 */
        margin-left: auto !important;
        margin-right: auto !important;
        transform-origin: top center;
    }
    /* 下の余白も一緒に締める場合 */
    .omotenashi+* {
        margin-top: 40px !important;
    }
}
/* ========================================= ✅ iPad Air 横：vertical-text2 実機専用補正 ========================================= */
@media (max-width: 1200px) and (orientation: landscape) {
    .black02>div:nth-child(2) {
        display: flex;
        justify-content: center;
    }
    .vertical-text2 {
        position: relative !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}
@media (max-width: 1180px) and (orientation: landscape) {
    .read3 {
        margin-top: 170px !important;
    }
    .store {
        padding-left: 10%;
    }
    .center-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -43%);
        writing-mode: vertical-rl;
        /* 縦書き */
        height: 800px;
        text-orientation: upright;
    }
}
@media (max-width: 1180px) and (orientation: landscape) {
    .black02 {
        align-items: flex-start !important;
    }
    .vertical-text2 {
        position: relative !important;
        height: auto !important;
        min-height: 765px !important;
        padding-top: 40px !important;
        padding-bottom: 40px !important;
        z-index: 2 !important;
        line-height: 6.4rem !important;
        font-size: 26px !important;
        white-space: nowrap;
    }
    .black02>div {
        z-index: 1;
    }
}
@media (max-width: 1180px) and (orientation: landscape) {
    .black02 {
        padding-left: 40px !important;
        padding-right: 40px !important;
        zoom: 0.85;
    }
    .black02>div:nth-child(1) {
        transform: translateX(-60px) !important;
    }
    .black02>div:nth-child(3) {
        transform: translateX(60px) !important;
    }
}
/* ipad 縦持ち */
@media (max-width: 1100px) and (orientation: portrait) {
    .center-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        writing-mode: vertical-rl;
        /* 縦書き */
        height: 700px;
        text-orientation: upright;
    }
    .furoshiki-wrap {
        position: relative;
        display: flex;
        justify-content: center;
        gap: clamp(40px, 6vw, 90px);
        margin: 120px auto;
        zoom: 0.7;
    }
    .black02 {
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        /* space-around はやめる */
        align-items: flex-start;
        gap: 20px;
        padding: 0 16px;
        position: relative;
    }
    /* 左画像 */
    .black02>div:nth-child(1) img {
        width: 100%;
        max-width: 230px;
        height: auto;
    }
    /* 縦文字 */
    .vertical-text2 {
        writing-mode: vertical-rl;
        font-size: 14px;
        line-height: 1.9;
        max-height: 800px;
        overflow: hidden;
        white-space: normal;
    }
    /* 右画像（←ここが実機で暴走していた） */
    .black02>div:nth-child(3) {
        max-width: 240px;
        flex-shrink: 0;
    }
    .black02>div:nth-child(3) img {
        width: 100%;
        max-width: 240px;
        height: auto;
        display: block;
    }
    .rtxt {
        display: block;
        font-size: 12px;
        line-height: 1.6;
        margin-top: 8px;
    }
    .center-text2 {
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
        writing-mode: vertical-rl;
        height: 800px;
        text-orientation: upright;
    }
    /* ==== iPad縦持ち 実機ズレ最終補正 ==== */
    .black02 {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 20px;
    }
    .black02>div:nth-child(1), .black02>div:nth-child(3) {
        flex-shrink: 0;
        max-width: 240px;
    }
    .black02>div:nth-child(1) img, .black02>div:nth-child(3) img {
        width: 100%;
        height: auto;
        display: block;
    }
    .vertical-text2 {
        position: absolute;
        inset: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        writing-mode: vertical-rl;
        text-orientation: upright;
        line-height: 1.9;
        pointer-events: none;
    }
}
@media (max-width: 1100px) and (orientation: portrait) {
    .main .omotenashi {
        width: 100%;
        margin: 0 auto 40px !important;
        overflow: hidden;
    }
    .main .omotenashi>.omotenashi-scale {
        width: 1220px;
        transform: scale(0.6);
        transform-origin: top center;
        margin: 0 auto;
    }
}

@media (max-width: 1200px) and (orientation: landscape) {
  .site-wrap {
    width: 1400px;
    margin: 0 auto;
    transform: scale(0.85);
    transform-origin: top center;
  }
}

@media (max-width: 1100px) and (orientation: portrait) {
  .site-wrap {
    width: 1400px;
    margin: 0 auto;
    transform: scale(0.6);
    transform-origin: top center;
  }
}

/* =========================================================
   img-wrap3（img3 / img4）の描画安定パッチ
   ・PC デザインはそのまま
   ・iPad は自動縮小（最大幅 480px）
   ・Safari の absolute + transform バグを回避
========================================================= */

/* PC 共通：今のレイアウトはそのまま維持 */
.img-wrap3 {
  position: relative;
  width: 600px;
  height: 265px;
  margin: 80px auto;
}

.img3, .img4 {
  position: absolute;
  will-change: transform; /* ← Safari 最適化で画像が消えるのを防ぐ */
  opacity: 1 !important;
  visibility: visible !important;
}

/* iPad（横・縦）どちらでも縮小して崩れない */
@media (max-width: 1200px) {
  .img-wrap3 {
    width: 480px;    /* ← 自動縮小 */
    height: auto;    /* ← 高さは画像に合わせて計算される */
    transform: scale(0.9); /* ← PC 構図を少し縮小して維持 */
    transform-origin: top center;
  }
  .img3, .img4 {
    transform: translateZ(0); /* ← Safari のバグ対策 */
  }
}

/* iPad 縦：さらに少し縮小すると綺麗 */
@media (max-width: 1024px) and (orientation: portrait) {
  .img-wrap3 {
    transform: scale(0.82);
    transform-origin: top center;
  }
}

/* =====================================================
   img-wrap3 内の画像を確実に表示させるパッチ
   （Safari / iPad で透明になる問題を完全解消）
===================================================== */
.furo-img {
  position: absolute;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateZ(0) !important;
  will-change: transform;
}

/* 既存の img3 / img4 の位置はそのまま反映 */
.img3 { top: -98%; left: -50%; }
.img4 { top: -98%; left:  50%; }

/* iPad で縮小する（PC はそのまま） */
@media (max-width: 1200px) {
  .img-wrap3 {
    width: 480px;
    height: 212px;
    margin: 80px auto;
    transform: scale(0.9);
    transform-origin: top center;
  }
}

/* ================================
   iPad（縦・横）では PC のデザインをそのまま縮小して使う
   → .img-wrap3 内の画像位置を上書きさせない
================================ */
@media (max-width: 1366px) {
    .img-wrap3 {
        position: relative !important;
        width: 600px !important;  /* PC の元サイズ */
        height: 265px !important;
        margin: 80px auto !important;
        transform: none !important;
        zoom: 0.85; /* ← 縮小率（0.80〜0.95 で微調整可）*/
    }

    .img-wrap3 .img {
        position: absolute !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    /* PC の本来の位置そのまま適用する */
    .img3 {
        top: -98% !important;
        left: -50% !important;
    }
    .img4 {
        top: -98% !important;
        left: 50% !important;
    }
}



/* iPad / PC 全てで img3/img4 の transform を潰している CSS を上書き */
@media (max-width: 1600px) {
    .img-wrap3 .img3,
    .img-wrap3 .img4 {
        transform: translate(0,0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}
/* ============================================
   ★ img-wrap3 / img3 / img4 の完全復旧パッチ
   PCデザイン → iPadは自動縮小して同じレイアウトを保つ
============================================ */

/* PCの基本レイアウトをまず確定（A案） */
.img-wrap3 {
    position: relative;
    width: 600px;
    height: 265px;
    margin: 80px auto;
    /*overflow: visible !important;*/
}

.img3 {
    top: -98% !important;
    left: -50% !important;
}

.img4 {
    top: -98% !important;
    left: 50% !important;
}

/* ==== iPad（縦・横）では PCデザインを縮小だけして流用 ==== */
@media (max-width: 1200px) {
    .img-wrap3 {
        transform: scale(0.85) !important;
        transform-origin: top center;
    }
}
/* ===============================
   ★ 画像消失の最終復旧パッチ（PC/iPad共通）
   =============================== */

.img-wrap3 img {
    position: absolute !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
}

/* 左の画像 */
.img3 {
    top: -98% !important;
    left: -50% !important;
}

/* 右の画像 */
.img4 {
    top: -98% !important;
    left: 50% !important;
}


/* -----------------------------------------
   img-wrap3 最終安定版
----------------------------------------- */

/* PC基準レイアウト（絶対に最初に効かせる） */
.img-wrap3 {
    position: relative;
    width: 600px;
    height: 265px;
    margin: 80px auto;
}

/* 画像は絶対配置（元の位置をそのまま採用） */
.img3, .img4 {
    position: absolute;
    display: block;
    width: auto;
    height: auto;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateZ(0); /* Safari 安定化 */
}

/* 左画像 */
.img3 {
    top: -98%;
    left: -50%;
}

/* 右画像 */
.img4 {
    top: -98%;
    left: 50%;
}

/* ---- iPad（縦・横）共通：PC構図をそのまま縮小表示 ---- */
@media (max-width: 1200px) {
    .img-wrap3 {
        transform: scale(0.85);
        transform-origin: top center;
    }
}

/* ---- iPad縦：少しだけ追加縮小 ---- */
@media (max-width: 1024px) and (orientation: portrait) {
    .img-wrap3 {
        transform: scale(0.78);
    }
}

/* ============================================
   ★ img-wrap3 / img3 / img4 完全復旧パッチ（最終版）
   PCデザインを崩さず、iPad/Safariの消失バグを解消
============================================ */

/* 親の描画領域を必ず確保 */
.img-wrap3 {
    width: 600px !important;
    height: 265px !important;
    overflow: visible !important;
}

/* 全画像の基礎リセット */
.img-wrap3 img {
    position: absolute !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateZ(0) !important;
    will-change: transform;
}

/* 画像の本来の位置（PCと同じ） */
.img3 {
    top: -98% !important;
    left: -50% !important;
}
.img4 {
    top: -98% !important;
    left: 50% !important;
}

/* iPad用：縮小だけしてレイアウトはPCのまま */
@media (max-width: 1200px) {
    .img-wrap3 {
        transform: scale(0.85) !important;
        transform-origin: top center !important;
    }
}

.line-fade {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(4px);
  transition:
    opacity 2s cubic-bezier(.4,0,.2,1),
    transform 2s cubic-bezier(.4,0,.2,1),
    filter 2s cubic-bezier(.4,0,.2,1);
}

/* 表示状態 */
.line-fade.is-show {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* 行ごとの遅延 */
.line-fade:nth-child(1) { transition-delay: 0s; }
.line-fade:nth-child(2) { transition-delay: 0.6s; }
.line-fade:nth-child(3) { transition-delay: 1.0s; }


/* ----------------------------------
   天壇：商品写真専用アニメーション
---------------------------------- */

/* 写真の居場所 */
.photo-item {
  position: relative;
}

/* 上に持ち上げる（背景とかぶせる） */
.img-wrap3 {
  margin-top: -220px;
  position: relative;
  z-index: 3;           /* 上の背景より前に出す */
}

/* アニメーション（ラッパーのみ） */
.fade-item.photo-fade {
  opacity: 0;
  filter: blur(3px);
  transform: translateY(32px);

  transition:
    opacity 2s cubic-bezier(.4,0,.2,1),
    transform 2s cubic-bezier(.4,0,.2,1),
    filter 2s cubic-bezier(.4,0,.2,1);
}

/* 左右差（初期位置） */
.photo-left {
  transform: translate(-24px, 32px);
}

.photo-right {
  transform: translate(24px, 32px);
  transition-delay: .3s;
}

/* 表示後 */
.fade-item.photo-fade.is-show {
  opacity: 1;
  filter: blur(0);
  transform: translate(0,0);
}
.tendan-text {
  margin-top: 235px;
  display: block;
}

/* =========================
   グローバルSPメニュー（kodawari準拠）
========================= */
.globalMenuSp {
  position: fixed;
  inset: 0;
  background: #fff;

  /* 初期状態：右に隠す */
  transform: translateX(100%);
  transition: transform 0.45s ease;

  z-index: 9998;
  overflow-y: auto;
}

/* active時に表示 */
.globalMenuSp.active {
  transform: translateX(0);
}

/* ===============================
   SP グローバルメニュー（最終修正版）
================================ */

/* メニュー本体 */
.globalMenuSp {
  position: fixed !important;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;

  background: #fff;

  /* ← ここがスライドの肝 */
  transform: translateX(100%);
  transition: transform 0.45s ease;

  z-index: 99999;

  overflow-y: auto;

  /* transform 親対策 */
  will-change: transform;
}

/* 表示時 */
.globalMenuSp.active {
  transform: translateX(0);
}

/* ナビ上部（閉じる含む） */
.globalMenuSp_nav {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100000;
}

/* 閉じる（ロゴ） */
.ham_line {
  position: relative;
  z-index: 100001;
  display: inline-block;
}

/* ハンバーガー自体 */
.hamburger {
  position: fixed;
  top: 56px;
  right: 13px;
  z-index: 100002;
}

/* ===================================
   online.php 専用：hamburger 補正
   （hamburger.css は一切変更しない）
=================================== */

body > .scale-wrap > .site-wrap > header .globalMenuSp {
  position: fixed;
  top: 0;
  right: -100%;
  left: auto;
  width: 100vw;
  height: 100vh;

  /* transform 競合を完全無効化 */
  transform: none !important;

  z-index: 99999;
}

body > .scale-wrap > .site-wrap > header .globalMenuSp.active {
  right: 0;
}

/* ===================================
   online.php 横スライド最終補正
=================================== */
body > .scale-wrap > .site-wrap > header .globalMenuSp {
  position: fixed;
  top: 0;
  right: -100%;
  left: auto;
  width: 100vw;
  height: 100vh;

  /* ★ここが抜けている */
  transition: right 0.45s ease;

  /* transform 系は完全無効化 */
  transform: none !important;

  z-index: 99999;
}

body > .scale-wrap > .site-wrap > header .globalMenuSp.active {
  right: 0;
}

/* ===================================
   閉じる時も right でスライドさせる
=================================== */

body > .scale-wrap > .site-wrap > header .globalMenuSp {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;

  transition: right 0.45s ease;
}

body > .scale-wrap > .site-wrap > header .globalMenuSp.active {
  right: 0;
}

body > .scale-wrap > .site-wrap > header .globalMenuSp:not(.active) {
  right: -100vw;
}
