﻿@charset "UTF-8";

.app-wrap .meritto-txt {
    font-size: 1.9rem;
    color: #4A5568;
}

@media (max-width: 767px) {
    .app-wrap .meritto-txt {
        font-size: 1.2rem;
        color: #4A5568;
    }
}


/* # =================================================================
   # 主な機能
   # ================================================================= */
.func-container {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
@media (min-width: 768px) {
    .func-container {
        flex-direction: row;
        align-items: flex-start;
    }
}

/* --- アプリ画像とボタン配置のエリア --- */
.app-visual-wrapper {
    flex: 1;
    position: relative;
    max-width: 380px;
    margin: 0 auto;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 4px solid #333;
}
@media (max-width: 767px) {
    .app-visual-wrapper {
        max-width: 220px;
    }
}

.app-image {
    width: 100%;
    display: block;
    height: auto;
}

/* 光るピン（ホットスポット）の共通スタイル */
.hotspot {
    position: absolute;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
    z-index: 5;
}

/* ピンの中心の点 */
.hotspot::after {
    content: '';
    position: absolute;
    top: 7px;
    left: 7px;
    width: 9px;
    height: 9px;
    background: #ff8c00;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255,140,0,0.8);
}

/* 波紋アニメーション */
.hotspot::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.3);
    top: 0;
    left: 0;
    box-sizing: border-box;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.0); opacity: 0; }
}

.hotspot:hover {
    transform: translate(-50%, -50%) scale(1.2);
}

/* 位置 */
#header-notice  { top: 3.5%; left: 8.0%; }
#header-setting    { top: 3.5%; left: 92.5%; } 

#area-passbook  { top: 31.5%; left: 25.5%; }
#area-assets    { top: 31.5%; left: 74.5%; }

#icon-teiki     { top: 47.2%; left: 14.0%; }
#icon-ib        { top: 47.2%; left: 38.3%; } 
#icon-shintaku  { top: 47.2%; left: 62.0%; } 
#icon-loan      { top: 47.2%; left: 85.8%; } 

#icon-yoyaku    { top: 60.3%; left: 14.0%; }
#icon-seminar   { top: 60.3%; left: 38.3%; }
#icon-tetsuduki { top: 60.3%; left: 62.0%; }
#icon-shiten    { top: 60.3%; left: 85.8%; }

#icon-campaign  { top: 73.2%; left: 13.6%; }
#icon-kyoyu     { top: 73.2%; left: 38.3%; }
#icon-bankpay   { top: 73.2%; left: 62.0%; }
#icon-point     { top: 73.2%; left: 85.8%; }


/* --- 説明文表示エリア --- */
.explanation-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 20px;
    background: #fdfdfd;
}

.instruction-text {
    color: #888;
    text-align: center;
}
@media (min-width: 768px) {
    .instruction-text {
        padding-top: 100px;
    }
}

.desc-content {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}
.desc-content .ttl {
    font-weight: bold;
    font-size: 2.0rem;
    color: #333;
    margin-bottom: 5px;
    border-bottom: 2px solid #ff007f;
    padding-bottom: 8px;
    display: inline-block;
}
.desc-content p {
    color: #555;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.desc-body {
    display: flex;
    flex-direction: column; 
    gap: 15px;
    margin-top: 15px;
}
@media (min-width: 768px) {
    .desc-body {
        flex-direction: row;
        align-items: flex-start;
    }
}


/* # =================================================================
   # ダウンロード
   # ================================================================= */
.dl-box {
    width: 100%;
    margin: 0 auto;
    padding: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.dl-box .os-box {
    width: 50%;
    padding: 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start; 
    gap: 20px;
}

.os-box .info-area p:first-child {
    margin-top: 0;
    padding-top: 0;
    line-height: 1.2;
    text-align: center;
}

.bn-area img {
    width: 100%;
    max-width: 160px; 
    height: auto;
    margin-top:10px;
}
.qr_img img {
    width: 100px;
    height: auto;
    display: block;
    margin-left:30px;
}


/* --- 【スマホ用スタイル】 --- */
@media (max-width: 767px) {
    .dl-box {
        padding: 0px;
    }
    .dl-box .os-box {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center; 
    }
    .dl-box .os-box p {
        padding-bottom: 10px;
        text-align: center;
    }
    .bn-area img {
        width: 100%;
        max-width: none;
    }
    .qr_img img {
        width: 100px;
        margin: 0 auto;
    }
}


/* # =================================================================
   # スライダー
   # ================================================================= */
.ss-carousel-wrapper {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 20px 0px !important;
    margin: 0 !important;
    float: none !important;
}

@media screen and (max-width: 767px) {
    .ss-carousel-wrapper {
        padding: 20px 10px !important;
    }
}

.ss-viewport {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.ss-viewport::-webkit-scrollbar {
    display: none !important;
}

.ss-stage {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: calc((100% - 20px) / 2) !important;
    gap: 20px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

@media screen and (max-width: 767px) {
    .ss-stage {
        /* 2枚目がチラ見え */
        grid-auto-columns: 260px !important;
        gap: 15px !important;
    }
}

.ss-slide {
    display: flex !important;
    flex-direction: column !important;
    float: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
}
.ss-slide * {
    float: none !important;
    box-sizing: border-box !important;
}


/* ==========================================================================
    左右の矢印ボタンデザイン
   ========================================================================== */
.ss-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background-color: #4c4c4c !important;
    border: 1px solid #d1d5db !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 1 !important; 
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1) !important;
    transition: background-color 0.2s !important;
    outline: none !important;
    padding: 0 !important;
}
.ss-btn:hover {
    background-color: #333333 !important;
}
.ss-btn::after {
    content: '' !important;
    width: 10px !important;
    height: 10px !important;
    border-top: 3px solid #fff !important;
    border-right: 3px solid #fff !important;
    display: block !important;
}
.ss-btn-prev { left: 8px !important; }
.ss-btn-prev::after {
    transform: rotate(-135deg) !important;
    margin-left: 4px !important;
}
.ss-btn-next { right: 8px !important; }
.ss-btn-next::after {
    transform: rotate(45deg) !important;
    margin-right: 4px !important;
}

/* 無効化されたボタンのスタイル */
.ss-btn-next.disabled,
.ss-btn-prev.disabled {
  opacity: 0.3 !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
}


/* ==========================================================================
    ScrollHint パソコン版非表示
   ========================================================================== */
@media screen and (min-width: 768px) {
    .scroll-hint,
    .scroll-hint-icon,
    .scroll-hint-text,
    .is-scrollable::after,
    .is-right-scrollable::after {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        box-shadow: none !important;
    }
}
