@charset "UTF-8";

/* --- 横スクロール（横揺れ）の防止 --- */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Swiperを包むセクションにも念のため設定 */
.plans-section {
    overflow: hidden; /* セクション単位で横方向をカット */
}

/* Swiper自体の設定を微調整 */
.swiper.mySwiper {
    /* clip-pathを削除（一部ブラウザでバグの原因になるため）し、overflowを調整 */
    overflow: visible !important;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    justify-content: center;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 1118px;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    top: 0%;
    right: 10%;
    transform: translateY(0%);
    color: white;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    width: 400px;
}
.hero-text2 { 
   position: absolute;
    bottom: 20%;
    right: 10%;
    transform: translateY(-50%);
    color: white;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    width: 430px; }

.hero-title {
    font-family: var(--font-main);
    font-size: clamp(32px, 5vw, 68px);
    line-height: 1;
    font-weight: 400;
}

.hero-subtitle {
    font-size: clamp(14px, 2vw, 23px);
    letter-spacing: 0.3em;
    margin-top: 10px;
}

.hero-lines {
    display: flex;
    justify-content: center;
    gap: 150px;
    margin-top: 10px;
}

.line {
    width: 18px;
    height: 1px;
    background: white;
}

/* =========================================
   Plans Section (Card Designs)
   ========================================= */
.plans-section {
    padding: 0;
    background-color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.en-title {
    font-size: 24px;
    letter-spacing: 0.1em;
    font-family: var(--font-main);
}

/* Swiper Settings */
.swiper {
    width: 100%;
    padding-bottom: 50px;
    padding-left: 10px;
    padding-right: 10px;
}

.swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
}

.swiper-pagination-bullet-active {
    background: #8B5E3C;
}

/* --- Plan Color Themes (New Colors) --- */
.plan-simple { --theme-text: #79D6D0; --theme-border: #79D6D0; --theme-bg: #F9FCFC; }
.plan-silver { --theme-text: #968CC8; --theme-border: #968CC8; --theme-bg: #F9F9FA; }
.plan-gold { --theme-text: #C9B880; --theme-border: #C9B880; --theme-bg: #FFFEFB; }
.plan-diamond { --theme-text: #B5DEBA; --theme-border: #B5DEBA; --theme-bg: #FEFFFE; }
.plan-premium { --theme-text: #E4C9E4; --theme-border: #E4C9E4; --theme-bg: #FAFAFA; }

/* --- Card Base Styles (PC: 2:3 Ratio) --- */
.plan-card-beige {
    position: relative;
    width: 100%;
    max-width: 350px;
    aspect-ratio: 2 / 3; /* PCでのアスペクト比 */
    background-color: var(--theme-bg);
    border: 1px solid var(--theme-border);
    color: var(--theme-text);
    border-radius: 8px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: var(--font-main);
}

.plan-card-beige:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--theme-text);
}

.card-header-beige {
    text-align: center;
    width: 100%;
    position: relative;
}

.plan-title-beige {
    font-family: var(--font-main);
    font-size: 32px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
    line-height: 1.2;
    white-space: nowrap;
}

.plan-sub-beige {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}

/* Image Area (3:2 Ratio) */
.plan-img-area {
    width: 100%;
    aspect-ratio: 3 / 2;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 4px;
}
.plan-img-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.plan-card-beige:hover .plan-img-area img { transform: scale(1.05); }

.card-divider {
    width: 100%;
    border: none;
    border-top: 1px solid var(--theme-text);
    margin: 0;
    opacity: 0.4;
}

.card-body-beige {
    display: flex; flex-direction: column; align-items: center; width: 100%;
    flex-grow: 1; justify-content: space-evenly;
}

.plan-desc-beige {
    font-size: 14px;
    text-align: center;
    line-height: 1.8;
    color: #333;
}

.plan-price-beige {
    text-align: center;
}
.plan-price-beige .price-main {
    font-family: var(--font-main); font-size: 40px; font-weight: 400; line-height: 1;
    display: flex; justify-content: center; align-items: baseline;
    color: var(--theme-text);
}
.plan-price-beige .yen { font-size: 24px; margin-right: 5px; font-family: var(--font-main); }
.plan-price-beige .tax { font-size: 14px; margin-left: 5px; }
.plan-price-beige .price-sub { font-size: 12px; opacity: 0.8; color: #333; }

.card-cta {
    font-size: 13px; border-bottom: 1px solid var(--theme-text);
    padding-bottom: 2px; transition: opacity 0.3s; color: var(--theme-text);
}
.plan-card-beige:hover .card-cta { opacity: 0.7; }


/* --- Swiper全体の表示エリアを拡張 --- */
.swiper.mySwiper {
    /* 上下のバッジとホバー用のスペースを強制的に確保 */
    padding-top: 60px !important;
    padding-bottom: 30px !important;
    margin-top: -60px;
    margin-bottom: -30px;
    
    /* 枠外を隠さない設定（重要） */
    overflow: visible !important;
    
    /* 左右は隠したいが上下は見せたい場合、以下のプロパティが有効 */
    clip-path: inset(-100px 0 -100px 0);
}

/* --- カード自体の重なり順を整理 --- */
.swiper-slide {
    /* ホバーしたスライドが他のスライドのバッジより上にくるように設定 */
    transition: z-index 0.3s;
    z-index: 1;
}

.swiper-slide:hover {
    z-index: 10;
}

/* Badges */
.badge-limited {
    position: absolute;
    top: -45px;
    right: -20px;
    background-color: #A81D26;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
    transform: rotate(20deg);
    z-index: 10;
}

.badge-limited, 
.badge-premium {
    z-index: 20 !important;
}

.badge-limited .num { font-size: 12px; font-weight: bold; }

.badge-premium {
    position: absolute; top: -45px; right: -20px;
    background-color: #D4AF37; color: white; width: 65px; height: 65px;
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    font-size: 12px; font-weight: bold; box-shadow: 2px 2px 5px rgba(0,0,0,0.1); z-index: 10;
}

/* =========================================
   Concept Section
   ========================================= */
.concept-section { padding: 80px 0; background: #fff; }
.concept-inner {
    display: flex; align-items: center; justify-content: center; gap: 60px; flex-wrap: wrap;
}
.concept-image { max-width: 468px; position: relative; width: 100%; }
.concept-text { max-width: 500px; font-size: 14px; line-height: 2.5; letter-spacing: 0.1em; }

/* =========================================
   Place Section (Grid + Slideshow)
   ========================================= */
.place-section { padding: 80px 0; background-color: #fff; }
.section-intro {
    font-size: 14px; line-height: 2.5; margin-bottom: 40px; text-align: center; padding: 0 20px;
}
.place-grid-wrapper {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 20px;
}
.place-grid-item {
    width: calc(33.333% - 20px); display: flex; flex-direction: column; align-items: center;
}
/* Place Image Card (3:2 Ratio) */
.place-card-link-wrapper {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    text-decoration: none; /* 下線を消す */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ホバー時の動き（少し浮き上がる） */
.place-card-link-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* 画像の拡大エフェクト（既存のCSSを引き継ぎ） */
.place-card-link-wrapper:hover .swiper-slide img {
    transform: scale(1.1);
}
/* --------------------------------------
   三角バッジ（公式サイト）の設定
   -------------------------------------- */
.badge-triangle {
       position: absolute;
       top: -40px;
       left: -57px;
       width: 80px;
       height: 80px;
       z-index: 20;
       pointer-events: none;
   }
   
   /* 正方形を回転させて配置 */
   .badge-triangle span {
       position: absolute;
       top: -58%;
       left: -38%;
       width: 200%;
       height: 200%;
       background-color: #b19d64;
       display: flex;
       justify-content: center;
       align-items: flex-end;
       padding-bottom: 2px;
       letter-spacing: 1px;
       text-align: center;
       line-height: 16px;
       color: #fff;
       font-size: 16px;
       font-weight: bold;
       transform: rotate(-45deg);
       transform-origin: center;
       box-shadow: -2px 2px 5px rgba(0,0,0,0.2);
   }
   
.place-link-btn {
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid #b19d64;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: #b19d64;
    letter-spacing: 0.05em;
    border-radius: 2px;
}
.place-link-btn:hover {
   border: 1px solid #b19d64;
   background-color: #fff;
   color: #b19d64;
}
.placeItemSwiper, .placeItemSwiper .swiper-wrapper, .placeItemSwiper .swiper-slide {
    height: 100%; width: 100%; padding-bottom: 0;
}
.placeItemSwiper .swiper-slide img {
    width: 100%; height: 100%; padding-bottom: 0; object-fit: cover; transition: transform 2s ease;
}
.swiper-slide-active img { transform: scale(1.1); }
.place-name-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; justify-content: center; align-items: center;
    z-index: 10; background: rgba(0, 0, 0, 0.3); pointer-events: none;
}
.place-name-overlay h3 {
    color: white; font-size: 20px; text-align: center; letter-spacing: 0.05em;
    line-height: 1.5; text-shadow: 0 2px 5px rgba(0,0,0,0.6); padding: 0 10px;
}

/* =========================================
   Place Section Custom Button (Top)
   ========================================= */

/* 画像の上部に配置するボタン */
.place-contact-btn-top {
    /* --- 公式サイトボタン(.place-link-btn)と同じスタイルを継承 --- */
    border-radius: 22px;
    display: inline-block;
    padding: 8px 24px;
    font-size: 13px;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.05em;
    border-radius: 2px;
    transition: all 0.3s ease;
    
    /* --- 配置調整 --- */
    margin-bottom: 10px; /* 画像との隙間 */
    
    /* --- 配色設定 (#94D3C8) --- */
    background-color: #b19d64;
    border: 1px solid #b19d64;
    color: #fff;
    box-sizing: border-box; /* 枠線を含めたサイズ計算 */
}

/* ホバー時 */
.place-contact-btn-top:hover {
    background-color: #fff;
    color: #b19d64;
    border: 1px solid #b19d64;
}

/* =========================================
   Dress Section
   ========================================= */
.dress-section { padding: 80px 0; text-align: center; background-color: #fafafa; }
.dressSwiper { width: 100%; padding: 20px 0 50px; }
.dressSwiper .swiper-slide {
    width: auto; height: auto; opacity: 0.5; transition: opacity 0.3s, transform 0.3s; cursor: pointer;
}
.dressSwiper .swiper-slide-active { opacity: 1; transform: scale(1.05); z-index: 10; }
.dressSwiper img {
    width: 100%; max-width: 300px; height: auto; border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); display: block; margin: 0 auto;
}

/* =========================================
   Flow Section
   ========================================= */
.flow-section { padding: 80px 0; background-color: #fff; }
.flow-wrapper {
    display: flex; justify-content: space-between; align-items: flex-start;
    flex-wrap: wrap; gap: 20px; position: relative;
}
.flow-step {
    flex: 1; min-width: 150px; display: flex; flex-direction: column;
    align-items: center; text-align: center; position: relative;
}
.flow-img {
    position: relative; width: 135px; height: 135px; margin-bottom: 20px;
    border-radius: 50%; overflow: visible;
}
.flow-img img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); border: 3px solid #fff;
}
.flow-num {
    position: absolute; top: 0; left: 0; width: 40px; height: 40px;
    background-color: #31190D; color: white; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-family: var(--font-main); font-size: 14px; font-weight: bold; border: 2px solid #fff;
}
.flow-content { color: #31180C; }
.flow-title {
    font-family: var(--font-main); font-size: 20px; font-weight: 400;
    margin-bottom: 10px; line-height: 1.4;
}
.flow-desc {
    font-family: "Hiragino Mincho ProN", serif; font-size: 13px; font-weight: 300;
    line-height: 1.6; color: #5A4A42;
}
.flow-step.text-only { justify-content: center; padding-top: 40px; }
.flow-step.text-only .flow-title {
    font-weight: bold; border-bottom: 1px solid #31190D; padding-bottom: 5px; display: inline-block;
}
.flow-arrow-down { display: block; color: #31190D; font-size: 12px; margin-top: 10px; }
.flow-step::after {
    content: "▶"; position: absolute; right: -20px; top: 60px;
    color: #31190D; font-size: 14px; opacity: 0.5;
}
.flow-step:last-child::after { display: none; }

/* =========================================
   Modal Design (Themed)
   ========================================= */
.modal-content.modal-theme-design {
    background-color: var(--theme-bg); color: var(--theme-text);
    padding: 50px 30px; border-radius: 4px; max-width: 900px;
    font-family: var(--font-main); border: 2px solid var(--theme-border);
}
.simple-header {
    display: flex; justify-content: center; align-items: center;
    position: relative; padding-top: 10px; padding-bottom: 20px; min-height: 120px;
}
.title-area { text-align: center; }
.plan-title-main {
    font-family: "Times New Roman", serif; font-size: 42px; font-weight: 400;
    color: var(--theme-text); letter-spacing: 0.1em; font-style: italic; margin: 0;
}

/* Badge (PC) */
.badge-popular, .badge-campaign {
    position: absolute; top: -20px; width: 90px; height: 90px;
    border-radius: 50%; display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.2); z-index: 5;
}
.badge-popular { left: 20px; background-color: #A81D26; color: white; transform: rotate(-10deg); }
.badge-campaign { right: 20px; background-color: #D4AF37; color: white; width: 100px; height: 100px; line-height: 1.25; }
.badge-popular .vertical-text { font-size: 10px; margin-bottom: 2px; }
.badge-campaign span { display: block; font-size: 12px; font-weight: 500; }
.badge-campaign .line1, .badge-campaign .line3 { font-size: 16px; font-weight: bold; }
.badge-campaign .line2 { font-size: 25px; font-weight: bold; }

.simple-divider { border: none; border-top: 1px solid var(--theme-text); margin: 0 0 30px 0; opacity: 0.5; }
.simple-catch { text-align: center; font-size: 18px; line-height: 1.8; margin-bottom: 40px; font-style: italic; color: var(--theme-text); }
.simple-price-container {
    display: flex; justify-content: center; align-items: center; gap: 20px;
    margin-bottom: 50px; flex-wrap: wrap; font-family: var(--font-main);
}
.price-block.original { color: #666; font-size: 14px; align-items: flex-start; }
.price-block.original .price-strike { font-size: 24px; text-decoration: line-through; color: #888; }
.price-arrow { color: var(--theme-text); font-size: 30px; font-weight: 300; }
.price-block.special { flex-direction: row; align-items: baseline; color: var(--theme-text); font-weight: bold; line-height: 1; }
.price-block.special .amount { font-size: 70px; letter-spacing: -2px; }
.price-block.tax-info { font-size: 14px; color: #333; margin-top: 5px; }
.simple-note { text-align: center; font-size: 15px; color: #333; margin-bottom: 40px; }

.simple-items-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.item-card {
    display: flex; flex-direction: column; align-items: center; width: 90px; text-align: center;
    background-color: white; border-radius: 8px; padding: 10px 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.item-icon {
    width: 50px; height: 50px; margin-bottom: 5px;
    background-repeat: no-repeat; background-position: center; background-size: contain; position: relative;
}
/* Icons (SVG) */
.icon-dress { background-image: url('../img/dress.svg'); }
.icon-tuxedo { background-image: url('../img/tuxedo.svg'); }
.icon-wasou { background-image: url('../img/wasou.svg'); }
.icon-montsuki { background-image: url('../img/montsuki.svg'); }
.icon-hairmake { background-image: url('../img/hairmake.svg'); }
.icon-kitsuke { background-image: url('../img/kitsuke.svg'); }
.icon-accessory { background-image: url('../img/accessory.svg'); }
.icon-bouquet { background-image: url('../img/bouquet.svg'); }
.icon-photo { background-image: url('../img/photo.svg'); }
.icon-data { background-image: url('../img/data.svg'); }
.icon-cleaning { background-image: url('../img/cleaning.svg'); }
.icon-chapel { background-image: url('../img/chapel.svg'); }

.item-name { font-size: 11px; line-height: 1.3; color: #333; font-weight: 600; }
.icon-badge {
    position: absolute; top: -5px; right: -10px; background-color: var(--theme-text);
    color: white; font-size: 10px; font-weight: bold; padding: 2px 6px; border-radius: 10px;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

/* Dress Modal */
.modal-content.modal-dress-design {
    background-color: transparent; box-shadow: none; padding: 0;
    max-width: 800px; width: 90%; display: flex; justify-content: center; align-items: center; border: none;
}
.dress-modal-inner { width: 100%; position: relative; }
.dressModalSwiper { width: 100%; height: auto; }
.dressModalSwiper img { max-height: 80vh; max-width: 100%; object-fit: contain; border-radius: 4px; }
.dressModalSwiper .swiper-button-next, .dressModalSwiper .swiper-button-prev { color: white; text-shadow: 0 2px 5px rgba(0,0,0,0.5); }
.modal-dress-design .modal-close-btn { position: absolute; top: -40px; right: 0; color: white; background: rgba(0,0,0,0.3); border-radius: 50%; }

/* Footer Logos */
.footer-logos-grid { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; margin-bottom: 30px; }
.footer-logo-item img { height: 40px; width: auto; opacity: 0.9; filter: grayscale(100%) brightness(200%); }
/* =========================================
   Recommend Section (修正版)
   ========================================= */
.recommend-section {
    padding: 100px 0;
    background-color: #fff;
    overflow: hidden; /* はみ出し防止 */
}

.recommend-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 40px;
}

/* 白背景ボックス：親要素のサイズに追従させる */
.recommend-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 85%; /* 画像が少しはみ出すように調整 */
    height: 100%;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    z-index: 1;
    border-radius: 4px;
}

/* テキストエリア */
.recommend-content {
    position: relative;
    z-index: 3;
    flex: 1;
}

.recommend-title {
    color: #877161;
    font-size: clamp(20px, 3vw, 30px);
    margin-bottom: 30px;
    font-family: "Yu Mincho Pr6N", serif;
}

.recommend-list {
    list-style: none;
}

.recommend-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 20px;
    color: #877161;
    font-size: clamp(14px, 2vw, 18px);
    line-height: 1.6;
}

.recommend-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B18B43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

/* 画像エリア */
.recommend-image-area {
    position: relative;
    z-index: 2;
    flex-basis: 45%;
    margin-left: 20px;
}

.recommend-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 2px;
}

/* Point!画像：おすすめ理由（メイン画像）の上に配置 */
.recommend-point-png {
    position: absolute;
    width: 60%; /* 親要素(image-area)に対してのサイズ */
    left: -15%; /* 画像の左上にはみ出させる */
    top: -20%;  /* 画像の上にはみ出させる */
    z-index: 4;
}

.recommend-point-png img {
    width: 100%;
    height: auto;
}

.pc{
   display: block;
}

.sp{
   display: none;
}

/* =========================================
   Responsive Settings (Mobile)
   ========================================= */
@media (max-width: 768px) {
    /* Hero: 80% height */
    .hero { padding: 0; height: 80vh; align-items: center; }
    .hero-image-container { height: 100%; }
    .hero-img { height: 100%; object-position: 24% center;}
    .hero-text { right: 0%; transform: translate(0%, 0%); width: 250px; padding: 0 0px;top:0px;left:auto; }
    .hero-text2 { right: 0%; transform: translate(0%, 0%); width: 100%; padding: 0 0px;top:auto;left:auto;bottom:20px; }
    .hero-lines { gap: 80px; }

    .concept-inner { flex-direction: column; text-align: left; padding: 0 20px; }
    .dressSwiper img { max-width: 250px; }

    /* Plan Card (Vertical Spacing Tightened) */
    .plan-card-beige { padding: 15px 10px; }
    .plan-title-beige { font-size: 22px; margin-bottom: 5px; }
    .plan-img-area { margin-bottom: 8px; }
    .plan-desc-beige { font-size: 12px; margin-bottom: 10px; line-height: 1.5; }
    .plan-price-beige { margin-bottom: 10px; }
    .plan-price-beige .price-main { font-size: 28px; }
    .plans-section {
         /* padding-top: 100px; */
     }
    
     .swiper.mySwiper {
         padding-top: 50px !important;
         margin-top: -50px;
     }
    .card-divider { margin: 5px 0 10px 0; }

    /* Place Grid: Top 2, Bottom 3 */
    .place-grid-wrapper {
         display: flex;
         flex-wrap: wrap;
         justify-content: center;
         gap: 20px 11px;
         padding: 0px;
    }
    
    .place-grid-item {
        /* 画面幅から余白(15px)を引いた「半分」の幅に固定 */
        /* これで1〜4枚目はきれいに2列になります */
        width: calc(50% - 7.5px) !important; 
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .place-card-link-wrapper {
       border-radius: 6px;
    }
    
    /* 5番目のアイテム固有の設定 */
    .place-grid-item:nth-child(5) {
        /* 他の4つと同じwidthを継承しているため、
           justify-content: centerによって自動的に中央配置されます */
    }
    
    .place-card-inner {
        width: 100%; /* 親(place-grid-item)の幅に合わせる */
        aspect-ratio: 3 / 2;
        margin-bottom: 10px;
    }
    
    .place-link-btn {
        width: 100%; /* ボタンも画像と同じ幅に */
        padding: 8px 5px;
        font-size: 11px;
        text-align: center;
        box-sizing: border-box;
    }
    
    /* テキストの重なり防止 */
    .place-name-overlay h3 {
        font-size: clamp(10px, 3vw, 13px);
        padding: 0 5px;
    }
    .place-link-btn { padding: 4px 10px; font-size: 10px; }

    /* Modal Mobile (No Scroll, Grayscale, Centered, Large Badges) */
    .modal-overlay { background: rgba(0, 0, 0, 0.6); backdrop-filter: grayscale(100%); }
    .modal-wrapper { height: 100%; padding: 10px; }
    .modal-content.modal-theme-design {
        width: 95vw; height: auto; max-height: 90vh;
        overflow-y: hidden; /* Prevent Scroll */
        padding: 30px 10px 10px 10px;
        display: flex; flex-direction: column; justify-content: flex-start;
    }
    
    .simple-header { flex-direction: column; padding-top: 25px; margin-bottom: 5px; min-height: auto; }
    
    /* Badges: Larger, Same Size, Text Inside */
    .badge-limited {
         top: -30px;
         left: -5px;
         width: 55px;   /* 少し小さく */
         height: 55px;
     }
     
     .badge-premium {
         top: -30px;
         right: -5px;
         width: 60px;   /* 少し小さく */
         height: 60px;
     }
    .badge-popular, .badge-campaign {
        width: 80px; height: 80px; top: -10px; z-index: 10;
        font-size: 11px; line-height: 1.2;
    }
    .badge-popular { left: 0; transform: rotate(-5deg); }
    .badge-campaign { right: 0; }
    .badge-popular .vertical-text { font-size: 11px; margin-bottom: 0; }
    .badge-popular .num { font-size: 18px; }
    .badge-campaign span { font-size: 10px; }
    .badge-campaign .line2 { font-size: 20px; }

    .plan-title-main { font-size: 26px; margin-top: 15px; margin-bottom: 5px; line-height: 1; }
    .simple-divider { margin: 5px 0; }
    .simple-catch { font-size: 11px; margin-bottom: 8px; line-height: 1.4; }
    
    .simple-price-container { gap: 2px; margin-bottom: 8px; }
    .price-block.original { transform: scale(0.9); margin-bottom: 0; }
    .price-arrow { margin: 0; font-size: 20px; transform: rotate(90deg); }
    .price-block.special .amount { font-size: 40px; }
    .price-block.special .yen { font-size: 24px; }
    .price-block.tax-info { margin-top: 0; font-size: 11px; }

    .simple-note { font-size: 9px; margin-bottom: 8px; line-height: 1.2; }
    
    /* SVG Grid 4 cols */
    .simple-items-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
    .item-card { width: 100%; padding: 3px; min-height: 50px; }
    .item-icon {
       width: 50px; 
       height: 50px; 
       margin-bottom: 2px;
    }
    .item-name { font-size: 8px; line-height: 1.1; }
    .icon-badge { 
       font-size: 10px;
       padding: 1px 4px;
       top: -3px;
       right: -5px;
    }

    /* Flow Mobile */
    .flow-wrapper { flex-direction: column; align-items: center; gap: 30px; }
    .flow-step { width: 100%; flex-direction: row; padding: 0 10px; text-align: left; }
    .flow-img { width: 80px; height: 80px; margin-right: 15px; margin-bottom: 0; }
    .flow-num { width: 25px; height: 25px; font-size: 11px; }
    .flow-title { font-size: 16px; margin-bottom: 5px; }
    .flow-step::after { content: "▼"; right: 50%; top: auto; bottom: -25px; transform: translateX(50%); }
    .flow-step.text-only { padding-top: 0; }
    .recommend-section {
         padding: 60px 0;
     }
    
     .recommend-wrapper {
         flex-direction: column;
         padding: 40px 20px 0px;
         text-align: left;
     }
    
     .recommend-bg {
         width: 100%;
         height: 100%;
     }
    
     .recommend-content {
         width: 100%;
         margin-bottom: 0px; /* 画像との間隔 */
     }
    
     .recommend-image-area {
         width: 90%;
         margin-left: auto; /* 右寄せにする */
         margin-right: -10px;
     }
    
     .recommend-point-png {
         width: 50%;
         top: 5%;
         left: -10%;
     }
     .place-contact-btn-top {
          width: 100%; 
          padding: 4px 10px;
          font-size: 14px;
          box-sizing: border-box;
      }
      /* 必要に応じてバッジを小さくする */
       /* スマホでのサイズ調整 */
        .badge-triangle {
            width: 83px;
            height: 62px;
            top: -50px;
            left: -50px;
        }
        .badge-triangle span {
            font-size: 8px;
            padding-bottom: 0px;
            top: -50%;
            left: -50%;
            transform: rotate(-39deg);
            line-height: 10px;
            letter-spacing: 2px;
        }
        
        .footer-logo-item img {
            height: 27px;
        }  
        .pc{
           display: none;
        }
        
        .sp{
           display: block;
        }

     }

@media (max-width: 480px) {
    /* Place Grid Adjustment for very small screens if needed, otherwise CSS Grid handles it */
}