/* =========================================
   ベース設定
   ========================================= */
:root {
    --color-blue: #4A90E2;     
    --color-yellow: #FFC107;   
    --color-pale-yellow: #FFFCDE; 
    --color-green: #EFF9FE;       
    --color-light-blue: #E1F5FE;
    --color-text: #333333;
    --font-base: 'Noto Sans JP', sans-serif;
}

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

body {
    font-family: var(--font-base);
    color: var(--color-text);
    line-height: 1.6;
    background-color: #f5f5f5;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 20px 20px; 
}

/* =========================================
   モバイルラッパー（PCで見た時にスマホ幅にする）
   ========================================= */
.mobile-wrapper {
    max-width: 480px; 
    width: 100%;
    margin: 0 auto;   
    background-color: #FDFBF8;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    overflow: hidden; 
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}


.app-download__badges {
    display: flex;
    justify-content: center; 
    align-items: center;
    gap: 16px;          
    margin-top: 40px;      
}


.store-badge {
    display: inline-block;
    transition: opacity 0.3s, transform 0.2s; 
}


.store-badge img {
    width: auto;          
    height: 50px;         
    max-width: 100%;     
    display: block;        
}


.store-badge:hover {
    transform: translateY(-2px); 
}


h2 {
    font-size: 32px;
    margin-bottom: 60px;
    line-height: 1.4;
}
p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.inner {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box; 
    max-width: 600px; 
}

/* =========================================
   ヘッダー / ヒーロー（青）
   ========================================= */
.hero-section {
    background-color: var(--color-blue);
    color: #fff;
    padding: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 40px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}


h1 {
    font-weight: 700;      
    font-size: 26px;       
    color:var(--color-text);         
    text-align: left;     
    line-height: 2.2;       
}


h1 span {
    background-color: #ffffff;
    padding: 10px 10px;  
    box-decoration-break: clone; 
    -webkit-box-decoration-break: clone;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-weight: bold;
}
.menu-icon {
    font-size: 1.5rem;
    cursor: pointer;
}



.hero-visual {
    position: relative; 
    width: 100%;
    max-width: 600px;   
    height: 500px;      
    margin: 30px auto;  
    
    display: flex;
    justify-content: center; 
    align-items: center;     
}


.main-phone {
    width: 260px;      
    height: auto;
    z-index: 10;       
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3)); 
}

.float-photo {
    position: absolute;
    width: 160px;       
    height: auto;
    z-index: 1;        
}


.p1 {
    top: -15px;
    left: -90px;
    transform: rotate(0deg); 
}


.p2 {
    bottom: 0px;
    left: -90px;
    transform: rotate(0deg);  

}


.p3 {
    top: 0px;
    right: -80px;
    transform: rotate(0deg);
}


.p4 {
    bottom: 30px;
    right: -90px;
    transform: rotate(0deg);
}


.hero-catchphrase {
    text-align: right;   
    margin-right: -10px; 
    margin-bottom: 10px;  
    position: relative;
    z-index: 20;          
}


.hero-catchphrase span {
    background-color: #ffffff;
    color:var(--color-text);      
    font-size: 14px;     
    font-weight: 700;    
    padding: 5px 5px;   
    display: inline-block;
}



/* =========================================
   コンセプト（白）
   ========================================= */
.section-concept {
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: center;
    background-color: #FDFBF8;
        background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}


.concept-text {
    font-size: 16px;      
    color:var(--color-text);        
    margin-bottom: 40px;    
}




.concept-slider {
    display: flex;          
    gap: 20px;             
    width: max-content;     

    animation: infinite-scroll 30s linear infinite; 
}


@keyframes infinite-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}


.concept-slider img {
    width: 140px;          
    height: auto;
    border-radius: 2px;
    flex-shrink: 0;       
}


.center-camera-deco {
    width: 200px;
    margin: 40px auto;
    display: block;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
}






/* =========================================
   機能紹介：撮影（黄色・方眼）
   ========================================= */
.section-feature-yellow {
    background-color: var(--color-yellow); 
    padding: 60px 20px;
    text-align: center;
    background-image: 
        linear-gradient(#fff 1px, transparent 1px),
        linear-gradient(90deg, #fff 1px, transparent 1px);
    background-size: 30px 30px; 
    background-blend-mode: overlay; 
}


.feature-header h2 {
    font-size: 24px;
    margin-bottom: 40px;
    color: var(--color-text);
    line-height: 1.5;
}


.feature-card {
    background-color: #ffffff;
    border-radius: 40px;      
    padding: 40px 20px;
    margin-bottom: 40px;      
}


.card-title {
    display: inline-block;
    background-color: #F8D864; 
    padding: 8px 24px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--color-text);
}

.card-desc {
    font-size: 15px;
    line-height: 2.0;
    margin-bottom: 30px;
}


.feature-phone {
    width: 200px;  
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    margin: 0 auto;
}


.card-visual {
    margin-bottom: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; 
}


.arrow-icon {
    font-size: 16px;
    color:var(--color-text);
    border: 1px solid var(--color-text);
    border-radius: 4px;
    padding: 4px 8px;
}


.ui-toggle-switch {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    border: 1px solid #333;
    width: fit-content;
    margin: 15px auto 0;
    background: #fff;
}
.toggle-btn {
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 700;
}
.toggle-btn.active {
    background-color: #eee; 
}


.ui-slider-area {
    margin: 20px 0 30px;
}
.slider-label {
    font-size: 14px;
    margin-bottom: 5px;
}
.slider-bar-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}
.slider-line {
    width: 120px;
    height: 2px;
    background-color: #333;
    position: relative;
}


.feature-btn {
    display: inline-block;
    background-color: #3E3E3E; 
    color: #fff;
    text-decoration: none;
    padding: 14px 0;
    width: 80%;      
    max-width: 300px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    transition: opacity 0.3s;
}
.feature-btn:hover {
    opacity: 0.8;
}


.beauty-visual {
    flex-direction: column; 
    gap: 20px;             
}


.ui-toggle-switch {
    cursor: pointer;   
    margin: 0;              
}

/* =========================================
   機能紹介：フレーム（薄い黄色）
   ========================================= */
.section-feature-pale {
    background-color: var(--color-pale-yellow);
    padding: 60px 20px;
    text-align: center;
}


.star-deco {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 40px;
    color: var(--color-yellow); 
    transform: rotate(20deg);
    text-shadow: 2px 2px 0 #fff;
}


.frame-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    height: 220px; 
}


.center-img {
    width: 140px;
    z-index: 2; 
    transition: transform 0.3s;
}


.side-img {
    width: 100px;
    opacity: 0.6;
    z-index: 1;
}


.frame-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}


.arrow-icon {
    font-size: 16px;
    color: var(--color-text);
    border: 1px solid var(--color-text);
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;      
    background-color: #fff;
    user-select: none;    
}
.arrow-icon:active {
    background-color: #eee;
}

/* =========================================
   機能紹介：コラージュ（白・グリッド）
   ========================================= */
.section-collage {
    padding: 60px 20px;
    text-align: center;
    background-color: #fff;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}


.collage-desc {
    margin-bottom: 40px;
}


.collage-visual {
    margin-bottom: 40px; 
    display: flex;
    justify-content: center;
}


.collage-img {
    width: 100%;
    max-width: 320px; 
    height: auto;
    background-color: #fff;
    padding: 10px;  
    border: 1px solid #ddd; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
}

/* =========================================
   機能紹介：カレンダー（白・テープ装飾）
   ========================================= */
.section-calendar {
    background-color: #ffffff;
    padding: 60px 20px;
    text-align: center;
    padding-bottom: 80px;
        background-image: 
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

.calendar-visual {
    margin: 40px auto;
    position: relative; 
    width: fit-content; 
}

/* カレンダー画像 */
.calendar-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); 
}


.masking-tape {
    position: absolute;
    top: -15px;     
    left: 50%;     
    transform: translateX(-50%) rotate(-2deg); 
    width: 120px;  
    height: 30px;   
    background-color: rgba(200, 218, 230, 0.8); 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
    opacity: 0.9;
    z-index: 10;     
}

/* =========================================
   機能紹介：シェア（薄い水色）
   ========================================= */
.section-share {
    background-color: var(--color-light-blue); 
    padding: 60px 20px;
    text-align: center;
    padding-bottom: 80px;
}

.share-visual {
    margin: 40px 0;
}


/* =========================================
   機能紹介：グッズ（白）
   ========================================= */
.section-goods {
    padding: 60px 20px;
    text-align: center;
    padding-bottom: 80px;
        background-image: 
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

.goods-visual {
    margin: 40px 0;
    display: flex;
    justify-content: center;
}

.goods-img {
    width: 100%;
    max-width: 320px; 
    height: auto;
    border-radius: 20px; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* =========================================
   ダウンロード推奨エリア（CTA）
   ========================================= */
.section-cta {
    padding: 80px 20px;
    text-align: center;
            background-image: 
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* CTAエリアのロゴ */
.cta-logo {
    margin-bottom: 20px;
}
.cta-logo h3 {
    font-size: 20px;
    margin-top: 10px;
    color: var(--color-text);
}


.cta-text {
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.8;
}


/* =========================================
   フッター
   ========================================= */
.footer {
    background-color:var(--color-blue);
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #ffffff;
}

.footer-logo {
    margin-bottom: 20px;
}
.app-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin: 0 auto 10px;
}

.footer-btns {
    margin-bottom: 30px;
}

.footer-links {
    list-style: none;
    margin-bottom: 20px;
    padding: 0;
}
.footer-links li {
    display: inline-block;
    margin: 0 10px;
}
.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.8rem;
}

.copyright {
    color: #ffffff;
    font-size: 0.7rem;
    margin-bottom: 0;
}