/* ============================================
   Pirates Factory - Renewal CSS
   ============================================ */

/* --- Reset & Base --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --pf-orange: #F5A623;
    --pf-orange-dark: #E8961A;
    --pf-orange-light: #FFF3E0;
    --pf-navy: #2C3E50;
    --pf-navy-light: #34495E;
    --pf-white: #FFFFFF;
    --pf-gray-bg: #F8F8F8;
    --pf-gray-text: #666666;
    --pf-gray-light: #EEEEEE;
    --pf-gray-border: #DDDDDD;
    --pf-black: #333333;
    --pf-red: #E74C3C;
    --pf-green: #27AE60;
    --pf-blue: #3498DB;
    --header-height: 70px;
    --max-width: 1100px;
}

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

html {
    font-size: 16px !important;
}

body {
    font-family: 'メイリオ', 'Meiryo', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif !important;
    font-size: 16px !important;
    color: var(--pf-black);
    line-height: 1.8;
    background: var(--pf-white);
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   既存テーマCSS干渉対策
   ============================================ */
/* .inner ラッパーのリセット */
.inner {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

/* 既存 #wrapper リセット */
#wrapper {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 既存ヘッダー・フッターを非表示 */
#header_area,
#footer_base,
#mobile_footer,
.iphone10area {
    display: none !important;
}

/* スライダーエリアの制御 */
.renewal-slider-section {
    padding: 30px 0 20px !important;
    background: var(--pf-white);
}
.renewal-slider-section #category_0 {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    /* overflow: hidden を除去（dots が見えなくなるため） */
}
.renewal-slider-section #slider {
    max-width: 100%;
    /* overflow: hidden を除去（dots が見えなくなるため） */
}
.renewal-slider-section .slider_image {
    width: 100% !important;
}
.renewal-slider-section .slider_image .slidimg {
    list-style: none;
    padding: 0 10px;
    outline: none;
}
.renewal-slider-section .slider_image .slidimg img {
    max-width: 100%;
    width: 700px;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}
.renewal-slider-section .loading {
    display: none !important;
}
/* slick ドット：非表示（dots: false で JS 側も無効化済み、CSS でも念のため隠す） */
.renewal-slider-section .slick-dots {
    display: none !important;
}
.renewal-slider-section .slick-prev,
.renewal-slider-section .slick-next,
.renewal-slider-section .prev-arrow,
.renewal-slider-section .next-arrow {
    z-index: 10;
    width: 36px !important;
    height: 36px !important;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.renewal-slider-section .prev-arrow,
.renewal-slider-section .slick-prev {
    left: 10px;
}
.renewal-slider-section .next-arrow,
.renewal-slider-section .slick-next {
    right: 10px;
}
/* slick のトラック */
.renewal-slider-section .slick-list {
    overflow: hidden !important;
}
.renewal-slider-section .slick-track {
    display: flex !important;
    align-items: center !important;
}
.renewal-slider-section .slick-slide {
    max-width: 750px;
    margin: 0 10px;
}
.renewal-slider-section .slick-slide img {
    max-width: 100% !important;
    height: auto !important;
}

/* 既存 .news クラスの干渉排除（INFORMATIONエリアは renewal- 接頭辞で管理） */
.news {
    display: none !important;
}

/* 既存 .category_1, .category_3 等の干渉排除 */
.category_1,
.category_3 {
    display: none !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}
a:hover {
    opacity: 0.75;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* ============================================
   HEADER
   ============================================ */
#renewal-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 70px !important;
    background: #FFFFFF !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;
    z-index: 1000 !important;
    display: flex !important;
    align-items: center !important;
    font-family: 'メイリオ', 'Meiryo', 'Hiragino Sans', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    color: #333333 !important;
    box-sizing: border-box !important;
    /* 既存テーマの干渉リセット */
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    text-align: left !important;
    text-decoration: none !important;
    text-indent: 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 70px !important;
}
#renewal-header * {
    box-sizing: border-box !important;
    text-decoration: none !important;
}
#renewal-header .header-inner {
    width: 100% !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 100% !important;
}
#renewal-header .header-logo {
    display: flex !important;
    align-items: center !important;
    visibility: visible !important;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}
#renewal-header .header-logo a {
    display: flex !important;
    align-items: center;
    gap: 10px;
    visibility: visible !important;
    opacity: 1 !important;
    text-decoration: none !important;
}
#renewal-header .header-logo img,
#renewal-header .header-logo a img {
    height: 40px !important;   /* 高さ固定、幅はアスペクト比に従い自動算出 */
    width: auto !important;
    max-width: none !important; /* max-widthによる縮小を防止 */
    max-height: none !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    clip: auto !important;
    clip-path: none !important;
    overflow: visible !important;
    text-indent: 0 !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
}
/* 既存ロゴクラスを非表示 */
.hna_logo {
    display: none !important;
}
/* 既存ヘッダーのナビ下線を排除 */
#renewal-header a {
    text-decoration: none !important;
}
#renewal-header .header-nav {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
}
#renewal-header .header-nav a {
    display: block !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--pf-navy) !important;
    letter-spacing: 0.03em;
    position: relative;
    transition: color 0.2s;
}
#renewal-header .header-nav a:hover {
    color: var(--pf-orange);
    opacity: 1;
}
#renewal-header .header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--pf-orange);
    transition: transform 0.25s ease;
}
#renewal-header .header-nav a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Mobile hamburger */
.renewal-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
}
.renewal-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--pf-navy);
    transition: all 0.3s;
}
.renewal-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.renewal-hamburger.active span:nth-child(2) {
    opacity: 0;
}
.renewal-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.renewal-mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--pf-white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 20px 0;
}
.renewal-mobile-nav.open {
    display: block;
}
.renewal-mobile-nav a {
    display: block;
    padding: 14px 30px;
    font-size: 14px;
    font-weight: 500;
    color: var(--pf-navy);
    border-bottom: 1px solid var(--pf-gray-light);
}
.renewal-mobile-nav a:last-child {
    border-bottom: none;
}

/* ============================================
   FIRST VIEW
   ============================================ */
.renewal-firstview {
    margin-top: var(--header-height);
    background: transparent;
    padding: 30px 40px;
    position: relative;
    overflow: hidden;
}
/* fv-container: fv-inner と同じ幅・中央揃え。ボタンの絶対配置基準 */
.renewal-firstview .fv-container {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
}
.renewal-firstview .fv-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background: url('images/2_fv_background_W1920xH800px.jpg') center/100% 100% no-repeat;
    aspect-ratio: 1920 / 800;
    border-radius: 8px;
    overflow: hidden;
}
/* fv-catch・fv-heading は常に非表示（テキストはFV背景画像に含まれるため） */
.renewal-firstview .fv-catch,
.renewal-firstview .fv-heading {
    display: none !important;
}
/* ボタンエリア：絶対配置で右下に固定 */
.renewal-firstview .fv-buttons {
    position: absolute;
    right: 24px;
    bottom: 20px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    z-index: 2;
}
.renewal-firstview .fv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
/* ▼ ONLINE SHOP ボタン */
.renewal-firstview .fv-btn.fv-btn--shop {
    background: var(--pf-navy);
    color: var(--pf-white);
    box-shadow: 0 4px 15px rgba(44,62,80,0.35);
    border: none;
}
.renewal-firstview .fv-btn.fv-btn--shop:hover {
    background: #1f2d3d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44,62,80,0.45);
    opacity: 1;
}
/* お問い合わせ ボタン（詳細度を上げてborderを確実に適用） */
.renewal-firstview .fv-btn.fv-btn--contact {
    background: var(--pf-white);
    color: var(--pf-navy);
    border: 2px solid var(--pf-navy) !important;
}
.renewal-firstview .fv-btn.fv-btn--contact:hover {
    background: var(--pf-navy);
    color: var(--pf-white);
    transform: translateY(-2px);
    opacity: 1;
}

/* ============================================
   SLIDER (existing structure maintained)
   ============================================ */
.renewal-slider-section {
    background: var(--pf-white);
    padding: 40px 0;
}
/* Existing slick slider styles are used */

/* ============================================
   SECTION COMMON
   ============================================ */
.renewal-section {
    padding: 40px 20px;
}
.renewal-section .section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}
.renewal-section-title {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 36px;
}
.renewal-section-title .title-en {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--pf-orange);
    letter-spacing: 0.04em;
}
.renewal-section-title .title-jp {
    font-size: 14px;
    font-weight: 500;
    color: var(--pf-gray-text);
}
.renewal-section-title .title-star {
    color: var(--pf-orange);
    font-size: 16px;
}

/* ============================================
   INFORMATION
   ============================================ */
.renewal-info {
    background: var(--pf-white);
}
.renewal-news-list {
    list-style: none;
}
.renewal-news-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--pf-gray-light);
    transition: background 0.2s;
}
.renewal-news-item:hover {
    background: var(--pf-orange-light);
    margin: 0 -10px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 4px;
}
.renewal-news-item.hidden {
    display: none;
}
.renewal-news-date {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--pf-gray-text);
    white-space: nowrap;
    min-width: 90px;
    padding-top: 2px;
}
.renewal-news-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 12px;
    border-radius: 3px;
    white-space: nowrap;
    min-width: 70px;
    text-align: center;
}
.renewal-news-cat.event        { background: #FFE0B2; color: #E65100; }
.renewal-news-cat.goods        { background: #F3E5F5; color: #6A1B9A; }
.renewal-news-cat.shop         { background: #C8E6C9; color: #2E7D32; }
.renewal-news-cat.newinfo      { background: #BBDEFB; color: #1565C0; }
.renewal-news-cat.new-item     { background: #FFF9C4; color: #F57F17; }
.renewal-news-cat.important    { background: #FFCDD2; color: #C62828; }
.renewal-news-cat.uncategorized,
.renewal-news-cat.other        { background: var(--pf-gray-light); color: var(--pf-gray-text); }

/* カテゴリーが複数の場合は縦並び */
.renewal-news-cats {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.renewal-news-title {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
}
.renewal-news-title a {
    color: var(--pf-black);
    transition: color 0.2s;
}
.renewal-news-title a:hover {
    color: var(--pf-orange);
    opacity: 1;
}
.renewal-more-btn-wrap {
    text-align: right;
    margin-top: 24px;
}
.renewal-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--pf-orange);
    padding: 8px 0;
    transition: color 0.2s;
}
.renewal-more-btn:hover {
    color: var(--pf-orange-dark);
}
.renewal-more-btn::after {
    content: '→';
    transition: transform 0.2s;
}
.renewal-more-btn:hover::after {
    transform: translateX(4px);
}

/* ============================================
   BUSINESS
   ============================================ */
.renewal-business {
    background: var(--pf-gray-bg);
}
.renewal-business-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.renewal-biz-card {
    background: var(--pf-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
.renewal-biz-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.renewal-biz-card.active {
    box-shadow: 0 4px 20px rgba(245,166,35,0.3);
    outline: 3px solid var(--pf-orange);
}
.renewal-biz-card .card-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #FFE8CC, #FFF3E0);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.renewal-biz-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.renewal-biz-card .card-img .placeholder-icon {
    font-size: 48px;
}
.renewal-biz-card .card-body {
    padding: 20px;
}
.renewal-biz-card .card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--pf-navy);
    margin-bottom: 6px;
}
.renewal-biz-card .card-desc {
    font-size: 12px;
    color: var(--pf-gray-text);
    line-height: 1.6;
}
.renewal-biz-card .card-arrow {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: var(--pf-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pf-white);
    font-size: 14px;
    transition: transform 0.3s;
}
.renewal-biz-card.active .card-arrow {
    transform: rotate(90deg);
}

/* BUSINESS detail area */
.renewal-biz-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    background: var(--pf-white);
    border-radius: 12px;
    margin-top: 0;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.renewal-biz-detail.open {
    max-height: 8000px;
    margin-top: 24px;
    padding: 40px;
}
.renewal-biz-detail .detail-inner {
    text-align: center;
    color: var(--pf-black);
}
.renewal-biz-detail .detail-inner p {
    font-size: 14px;
    margin-bottom: 8px;
}
.renewal-biz-detail .detail-title {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    color: var(--pf-orange);
    margin-bottom: 24px;
    padding: 10px 32px;
    border: 2px solid var(--pf-orange);
    border-radius: 6px;
    position: relative;
}
.renewal-biz-detail .detail-title::before,
.renewal-biz-detail .detail-title::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pf-orange);
}
.renewal-biz-detail .detail-title::before {
    top: -5px;
    left: -5px;
}
.renewal-biz-detail .detail-title::after {
    bottom: -5px;
    right: -5px;
}
.renewal-biz-detail .detail-text {
    font-size: 14px !important;
    line-height: 2;
    color: var(--pf-black);
    margin-bottom: 12px;
}
.renewal-biz-detail .detail-text strong {
    font-weight: 700;
}
.renewal-biz-detail .detail-text--lead {
    font-size: 22px !important;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 4px;
}
.renewal-biz-detail .detail-text--mid {
    font-size: 17px !important;
    font-weight: 500;
    margin-bottom: 20px;
}
.text-accent {
    color: #d15910;
    font-weight: 700;
}
.text-emphasis {
    font-size: 17px;
    font-weight: 700;
    color: #771d00;
}
.detail-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}
.detail-photo {
    border-radius: 8px;
    overflow: hidden;
}
.detail-photo img {
    width: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4 / 3;
}
.detail-photo-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--pf-navy);
    margin-top: 8px;
    text-align: center;
}
/* Sub-tab navigation within detail */
.detail-sub-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
}
.detail-sub-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 32px;
    border: 2px solid var(--pf-orange);
    border-radius: 50px;
    background: var(--pf-white);
    color: var(--pf-orange);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}
.detail-sub-tab:hover {
    background: var(--pf-orange-light);
}
.detail-sub-tab.active {
    background: var(--pf-orange);
    color: var(--pf-white);
}
.detail-sub-content {
    display: none;
}
.detail-sub-content.active {
    display: block;
}

/* Gotochi series section */
.gotochi-section {
    text-align: center;
}
.gotochi-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--pf-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.gotochi-title-en {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--pf-navy);
    letter-spacing: 0.04em;
}
.gotochi-title-sep {
    color: var(--pf-gray-border);
    font-weight: 300;
    font-size: 24px;
}
.gotochi-title-jp {
    font-size: 15px;
    font-weight: 500;
    color: var(--pf-gray-text);
}
.gotochi-lineup-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.gotochi-lineup-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--pf-navy);
    white-space: nowrap;
}
.gotochi-lineup-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--pf-gray-border);
}
.gotochi-lineup-en {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 14px;
    color: var(--pf-gray-text);
    letter-spacing: 0.06em;
}
.gotochi-notice {
    font-size: 11px;
    line-height: 1.8;
    color: #ff0000;     /* シンプルな赤色 */
    margin-top: 24px;
    margin-bottom: 0;
    text-align: left;
}
.gotochi-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}
.gotochi-item {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--pf-gray-light);
    transition: all 0.3s ease;
    background: var(--pf-white);
}
.gotochi-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    opacity: 1;
}
.gotochi-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}
.gotochi-item-label {
    display: block;
    padding: 10px 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--pf-black);
    text-align: center;
}
/* OEM description block */
.oem-desc {
    background: var(--pf-gray-bg);
    border-radius: 8px;
    padding: 32px 28px;
    margin-bottom: 28px;
    text-align: center;
}
.oem-desc-title {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    color: var(--pf-orange);
    margin-bottom: 20px;
    padding: 10px 32px;
    border: 2px solid var(--pf-orange);
    border-radius: 6px;
    position: relative;
}
.oem-desc-title::before,
.oem-desc-title::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pf-orange);
}
.oem-desc-title::before {
    top: -5px;
    left: -5px;
}
.oem-desc-title::after {
    bottom: -5px;
    right: -5px;
}
.oem-desc-body {
    font-size: 14px;
    line-height: 2;
    color: var(--pf-black);
    text-align: center;
}

.gotochi-items--4col {
    grid-template-columns: repeat(4, 1fr);
}
.gotochi-desc {
    margin-top: 0;
    margin-bottom: 24px; /* 上部配置のため下余白に変更 */
    text-align: center;
}
.gotochi-desc-lead {
    font-size: 20px !important;
    font-weight: 700;
    color: var(--pf-black);
    margin-bottom: 16px;
    line-height: 1.6;
}
.gotochi-desc-body {
    font-size: 14px !important;
    line-height: 2;
    color: var(--pf-gray-text);
    margin-bottom: 8px;
}

.renewal-biz-detail .detail-placeholder {
    border: 2px dashed var(--pf-gray-border);
    border-radius: 8px;
    padding: 40px;
    color: var(--pf-gray-text);
    font-size: 14px;
}

/* ============================================
   ONLINE SHOP
   ============================================ */
.renewal-onlineshop {
    background: var(--pf-white);
    text-align: center;
}
.renewal-shop-banners {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.renewal-shop-banner {
    display: block;
    max-width: 320px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}
.renewal-shop-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    opacity: 1;
}
.renewal-shop-banner img {
    width: 100%;
    display: block;
}
.renewal-shop-banner .banner-label {
    padding: 14px;
    font-size: 14px;
    font-weight: 700;
    color: var(--pf-navy);
    background: var(--pf-white);
    text-align: center;
}

/* ============================================
   SNS
   ============================================ */
.renewal-sns {
    background: var(--pf-gray-bg);
    text-align: center;
    padding: 50px 20px;
}
.renewal-sns-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}
.renewal-sns-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s;
}
.renewal-sns-link:hover {
    transform: scale(1.08);
    opacity: 1;
}
.renewal-sns-link .sns-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.renewal-sns-link .sns-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}
.renewal-sns-link .sns-label {
    font-size: 12px;
    color: var(--pf-gray-text);
}

/* ============================================
   FOOTER
   ============================================ */
#renewal-footer {
    background: var(--pf-navy);
    color: var(--pf-white);
    padding: 50px 20px 30px;
}
#renewal-footer .footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}
.renewal-footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}
.renewal-footer-col .col-title {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    color: var(--pf-orange);
}
.renewal-footer-col .col-list {
    list-style: none;
}
.renewal-footer-col .col-list li {
    margin-bottom: 10px;
}
.renewal-footer-col .col-list a {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    transition: color 0.2s;
}
.renewal-footer-col .col-list a:hover {
    color: var(--pf-white);
    opacity: 1;
}
.renewal-footer-col .col-list .text-only {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}
.renewal-footer-sns {
    display: flex;
    gap: 14px;
}
.renewal-footer-sns a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--pf-white);
    font-size: 16px;
    transition: opacity 0.2s;
}
.renewal-footer-sns a:hover {
    opacity: 0.8;
}
.renewal-footer-sns a img {
    width: 100%;
    height: 100%;
    display: block;
}
.renewal-copyright {
    text-align: center;
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Page top button */
.renewal-pagetop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--pf-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pf-white);
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 900;
    border: none;
}
.renewal-pagetop.visible {
    opacity: 1;
    visibility: visible;
}
.renewal-pagetop:hover {
    background: var(--pf-orange-dark);
    transform: translateY(-3px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media screen and (max-width: 896px) {
    :root {
        --header-height: 60px;
    }

    /* ===== スマホ ヘッダー ===== */
    /* header-inner を 3カラムグリッドに：[左余白] [ロゴ中央] [ハンバーガー右] */
    #renewal-header .header-inner {
        display: grid !important;
        grid-template-columns: 44px 1fr 44px !important;
        padding: 0 12px !important;
        gap: 0 !important;
    }
    /* ロゴをグリッド2列目に配置してセンタリング */
    #renewal-header .header-logo {
        grid-column: 2 !important;
        justify-content: center !important;
    }
    /* ロゴ画像をひと回り小さく（inline styleの !important を上書き） */
    #renewal-header .header-logo img,
    #renewal-header .header-logo a img {
        height: 28px !important;
        width: auto !important;
    }
    /* ナビゲーションはグリッド外（非表示） */
    #renewal-header .header-nav {
        display: none !important;
        grid-column: 2;
    }
    /* ハンバーガーをグリッド3列目に配置して右寄せ */
    .renewal-hamburger {
        display: flex !important;
        grid-column: 3 !important;
        justify-self: end !important;
        align-self: center !important;
        padding: 8px 0 8px 8px !important;
    }
    .renewal-firstview {
        padding: 20px 16px;
    }
    /* スマホ：ボタンを絶対配置から外して画像の下に表示 */
    .renewal-firstview .fv-buttons {
        position: static !important;
        display: flex !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
        margin-top: 14px;
        right: auto;
        bottom: auto;
    }
    .renewal-firstview .fv-btn {
        padding: 10px 24px;
        font-size: 13px;
    }
    .renewal-section {
        padding: 40px 16px;
    }
    .renewal-section-title .title-en {
        font-size: 22px;
    }
    .renewal-business-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .renewal-news-item {
        flex-wrap: wrap;
        gap: 8px;
    }
    .renewal-news-date {
        min-width: auto;
    }
    .renewal-shop-banners {
        flex-direction: column;
        align-items: center;
    }
    .renewal-footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .renewal-biz-detail.open {
        padding: 24px 16px;
        max-height: 8000px;
    }
    .detail-photos {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .detail-sub-tabs {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    .detail-sub-tab {
        width: 100%;
        max-width: 280px;
    }
    .gotochi-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .gotochi-items--4col {
        grid-template-columns: repeat(2, 1fr);
    }
    .gotochi-title {
        flex-direction: column;
        gap: 4px;
    }
}

@media screen and (max-width: 480px) {
    .renewal-firstview .fv-heading {
        font-size: 16px;
    }
    .renewal-biz-card .card-body {
        padding: 14px;
    }
    .renewal-biz-card .card-title {
        font-size: 14px;
    }
}
