/* ========================================
   XOLOGYランディングページ スタイルシート
   Tailwind v4.0 & globals.css との整合性を保持
   ======================================== */

/* ========================================
   Reset & Base
   ======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff;
    color: #000000;
    overflow-x: hidden;
    line-height: 1.5;
    position: relative;
}

/* ========================================
   Background Layer (Fixed Background)
   ======================================== */
.background-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../img/background.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #f8f9fa;
    z-index: 0;
    pointer-events: none;
}
@media (max-width: 767px) {
    .background-layer {
        background-image: url('../img/background_sp.png');

    }
}

/* フォールバック: 画像がない場合 */
.background-layer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(240, 249, 255, 0.8) 0%, 
        rgba(224, 242, 254, 0.6) 50%, 
        rgba(255, 255, 255, 0.4) 100%
    );
    z-index: -1;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ========================================
   Utility Classes (Tailwind-like)
   ======================================== */
.mobile-only {
    display: block;
}

.desktop-only {
    display: none;
}

@media (min-width: 768px) {
    .mobile-only {
        display: none;
    }
    
    .desktop-only {
        display: block;
    }
}

/* ========================================
   Main Content Container
   ======================================== */
main {
    position: relative;
    z-index: 1;
    width: 100%;
}
@media (max-width: 767px) {
main {
    padding-top:65px;
}
}
/* ========================================
   Header
   ======================================== */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: #A61469;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

#main-header.visible {
    transform: translateY(0);
}

@media (min-width: 768px) {
    #main-header {
        transform: translateY(0);
    }
}

.header-inner {
    max-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .header-inner {
        padding: 0 87px;
    }
}

.header-logo {
    width: 119px;
    height: 37px;
}

.header-logo img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
}

.header-buttons {
    display: none;
    gap: 1rem;
    margin-left: auto;
}

@media (min-width: 768px) {
    .header-buttons {
        display: flex;
    }
}

.hamburger-menu {
    display: flex;
    margin-left: auto;
}

@media (min-width: 768px) {
    .hamburger-menu {
        display: none;
    }
}

.hamburger-btn {
    padding: 0.5rem;
    transition: all 0.3s ease;
    border-radius: 0.375rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;
}

.hamburger-btn:hover {
    background: #8A1256;
}

.hamburger-btn .bar {
    display: block;
    width: 1.5rem;
    height: 0.125rem;
    background: white;
    border-radius: 0.125rem;
    transition: all 0.3s ease-out;
    margin: 0.125rem 0;
}

.hamburger-btn .bar:nth-child(1) {
    transform: translateY(-0.125rem);
}

.hamburger-btn .bar:nth-child(3) {
    transform: translateY(0.125rem);
}

.hamburger-btn.active .bar:nth-child(1) {
    transform: rotate(45deg) translateY(0.25rem);
}

.hamburger-btn.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .bar:nth-child(3) {
    transform: rotate(-45deg) translateY(-0.25rem);
}

.mobile-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #A61469;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-dropdown.active {
    max-height: 12rem;
    opacity: 1;
    padding: 1rem;
}

/* ========================================
   Button Styles
   ======================================== */
.btn {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 9999px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: none;
}

.btn:hover {
    transform: scale(1.05);
}

/* Header Buttons */
.btn-header-contact {
    width: 140px;
    height: 48px;
    background: white;
    border: 2px solid white;
    color: #A61469;
    font-size: 16px;
    line-height: 24px;
}

.btn-header-contact:hover {
    background: #f5f5f5;
}

.btn-header-resource {
    width: 140px;
    height: 48px;
    background: #12767F;
    color: white;
    font-size: 16px;
    line-height: 24px;
}

.btn-header-resource:hover {
    background: #0F5A61;
}

.btn-mobile-contact,
.btn-mobile-resource {
    width: 100%;
    height: 48px;
    font-size: 16px;
    line-height: 24px;
}

.btn-mobile-contact {
    background: white;
    border: 2px solid white;
    color: #A61469;
}

.btn-mobile-contact:hover {
    background: #f5f5f5;
}

.btn-mobile-resource {
    background: #12767F;
    color: white;
}

.btn-mobile-resource:hover {
    background: #0F5A61;
}

/* Hero Buttons - Desktop */
.btn-hero-primary {
    width: 190px;
    height: 65px;
    background: #A61469;
    color: white;
    font-size: 21.71px;
    line-height: 32.57px;
    letter-spacing: 0.68px;
}

.btn-hero-primary:hover {
    background: #8A1256;
}

.btn-hero-secondary {
    width: 260px;
    height: 65px;
    background: #12767F;
    border: 2px solid #12767F;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    color: white;
    font-size: 20px;
    line-height: 28px;
}

.btn-hero-secondary:hover {
    background: #0F5A61;
}

/* Hero Buttons - Mobile */
.btn-hero-mobile-primary {
    width: 100%;
    height: 48px;
    background: #A61469;
    color: white;
    font-size: 15px;
    line-height: 22px;
    letter-spacing: 0.68px;
}

.btn-hero-mobile-primary:hover {
    background: #8A1256;
}

.btn-hero-mobile-secondary {
    width: 100%;
    height: 46px;
    background: #12767F;
    border: 2px solid #12767F;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    color: white;
    font-size: 15px;
    line-height: 22px;
}

.btn-hero-mobile-secondary:hover {
    background: #0F5A61;
}

/* Card Buttons */
.btn-card-more {
    width: 66.666%;
    height: 36px;
    background: white;
    border: 2px solid #A61469;
    color: #A61469;
    font-size: 18px;
    line-height: 24px;
}

@media (min-width: 768px) {
    .btn-card-more {
        height: 42px;
        font-size: 20px;
        line-height: 26px;
    }
}

.btn-card-more:hover {
    background: #A61469;
    color: white;
}

.btn-card-coming-soon {
    width: 66.666%;
    height: 36px;
    background: #12767F;
    color: white;
    font-size: 18px;
    line-height: 24px;
    pointer-events: none;
}

@media (min-width: 768px) {
    .btn-card-coming-soon {
        height: 42px;
        font-size: 20px;
        line-height: 26px;
    }
}

/* Resource Download Button */
.btn-resource-download {
    margin-top: 3rem;
    width: 100%;
    max-width: 640px;
    height: 72px;
    background: #12767F;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    color: white;
    font-size: 16px;
    line-height: 24px;
}

@media (min-width: 768px) {
    .btn-resource-download {
        margin-top: 50px;
        max-width: 520px;
        height: 54px;
        line-height: 16px;
    }
}

.btn-resource-download:hover {
    background: #0F5A61;
}

/* CTA Buttons */
.btn-cta-primary {
    width: 100%;
    max-width: 320px;
    height: 60px;
    background: white;
    color: #A61469;
    font-size: 18px;
    line-height: 27px;
}

@media (min-width: 768px) {
    .btn-cta-primary {
        width: 240px;
        height: 70px;
        font-size: 22px;
        line-height: 33px;
    }
}

@media (min-width: 1024px) {
    .btn-cta-primary {
        width: 280px;
        height: 80px;
        font-size: 26px;
        line-height: 39px;
    }
}

.btn-cta-secondary {
    width: 100%;
    max-width: 320px;
    height: 60px;
    background: #12767F;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    border: 2px solid #12767F;
    color: white;
    font-size: 18px;
    line-height: 27px;
}

@media (min-width: 768px) {
    .btn-cta-secondary {
        width: 320px;
        height: 70px;
        font-size: 22px;
        line-height: 33px;
    }
}

@media (min-width: 1024px) {
    .btn-cta-secondary {
        width: 380px;
        height: 80px;
        font-size: 26px;
        line-height: 39px;
    }
}

.btn-cta-secondary:hover {
    background: #0F5A61;
}

/* ========================================
   Sections (Background overlay)
   ======================================== */
section {
    position: relative;
    z-index: 1;
}

/* ========================================
   Decorative Elements (ピンクの四角形)
   ======================================== */
.decorative-left,
.decorative-right,
.decorative-mission-left,
.decorative-mission-right,
.decorative-sub-left,
.decorative-sub-right,
.decorative-feat-right,
.decorative-resource-left,
.decorative-pricing-right,
.decorative-cta-left,
.decorative-cta-right {
    position: absolute;
    pointer-events: none;
}

.decorative-left {
    top: 0;
    left: 0;
    width: 200px;
    height: 400px;
    opacity: 0.4;
    z-index: 5;
}

@media (min-width: 768px) {
    .decorative-left {
        width: 400px;
        height: 800px;
    }
}

.decorative-right {
    top: 0;
    right: 0;
    width: 200px;
    height: 400px;
    opacity: 0.3;
    transform: scaleX(-1);
    z-index: 5;
}

@media (min-width: 768px) {
    .decorative-right {
        width: 400px;
        height: 800px;
    }
}

.decorative-mission-left {
    top: 0;
    left: 0;
    width: 200px;
    height: 400px;
    opacity: 0.6;
}

@media (min-width: 768px) {
    .decorative-mission-left {
        width: 400px;
        height: 800px;
    }
}

.decorative-mission-right {
    top: 0;
    right: 0;
    width: 200px;
    height: 400px;
    opacity: 0.4;
    transform: scaleX(-1);
}

@media (min-width: 768px) {
    .decorative-mission-right {
        width: 400px;
        height: 800px;
    }
}

.decorative-sub-left {
    top: -40px;
    left: -40px;
    width: 150px;
    height: 300px;
    opacity: 0.3;
}

@media (min-width: 768px) {
    .decorative-sub-left {
        top: -80px;
        left: -80px;
        width: 300px;
        height: 600px;
    }
}

.decorative-sub-right {
    bottom: -20px;
    right: -40px;
    width: 150px;
    height: 200px;
    opacity: 0.25;
    transform: rotate(180deg);
}

@media (min-width: 768px) {
    .decorative-sub-right {
        bottom: -40px;
        right: -80px;
        width: 300px;
        height: 400px;
    }
}

.decorative-feat-right {
    top: 40px;
    right: 0;
    width: 175px;
    height: 250px;
    opacity: 0.2;
}

@media (min-width: 768px) {
    .decorative-feat-right {
        top: 80px;
        width: 350px;
        height: 500px;
    }
}

.decorative-resource-left {
    top: -20px;
    left: -20px;
    width: 125px;
    height: 200px;
    opacity: 0.15;
}

@media (min-width: 768px) {
    .decorative-resource-left {
        top: -40px;
        left: -40px;
        width: 250px;
        height: 400px;
    }
}

.decorative-pricing-right {
    top: 0;
    right: 20px;
    width: 100px;
    height: 150px;
    opacity: 0.25;
    transform: scale(0.75);
}

@media (min-width: 768px) {
    .decorative-pricing-right {
        right: 40px;
        width: 200px;
        height: 300px;
    }
}

.decorative-cta-left {
    top: 0;
    left: 0;
    width: 200px;
    height: 400px;
    opacity: 0.5;
}

@media (min-width: 768px) {
    .decorative-cta-left {
        width: 400px;
        height: 800px;
    }
}

.decorative-cta-right {
    top: 0;
    right: 0;
    width: 200px;
    height: 400px;
    opacity: 0.4;
    transform: scaleX(-1);
}

@media (min-width: 768px) {
    .decorative-cta-right {
        width: 400px;
        height: 800px;
    }
}

.dec-svg {
    width: 100%;
    height: 100%;
}

/* ========================================
   Hero Section
   iPhone SEでの見切れを防止するため慎重に調整
   ======================================== */
.hero-section {
    position: relative;
    width: 100%;
    /* min-height: 110vh;
    height: 100vh; */
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .hero-section {
        padding: 0;
        height: 820px;
    }
}

.hero-container {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .hero-container {
        display: block;
    }


    .hero-container .brand-top{position:relative;}
    .hero-container .hero-text{
        position:absolute;
        bottom:130px;
    }


}

/* ヒーローヘッドライン - 見切れ防止 */
.hero-headline {
    margin-top: 0.5rem;
    z-index: 10;
    flex-shrink: 0;
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .hero-headline {
        display:block;
    }
}


@media (min-width: 768px) {
    .hero-headline {
        position: absolute;
        top: 180px;
        left: 0;
        right: 0;
        margin-top: 0;
    }
}

.hero-headline h1 {
    font-family: 'Nagomi Gokuboso Gothic', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
    font-weight: 250;
    color: #000000;
    text-align: center;
    font-size: clamp(22px, 3.4vw, 75.99px);
    letter-spacing: clamp(1px, 0.3vw, 5.32px);
    line-height: 1.1;
    font-size:38px;
}
@media (min-width: 768px) {
    .hero-headline h1 {
        padding: 0 6rem;
        text-align: center;
    }
    .hero-headline h1 > img{
        height: 90px;
        margin:0 auto;
    }
}


.hero-headline h1 > img{
    display:block;
    margin-bottom: 0.6rem;
}
.hero-highlight {
    font-size: clamp(28px, 5vw, 96px);
    letter-spacing: clamp(1.5px, 0.4vw, 6.72px);
}

@media (max-width: 767px) {
    .hero-highlight {
        font-size: 96px;
    }
}

/* ヒーローコンテンツ - 見切れ防止 */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem 1rem 2rem;
    margin-top: 1rem;
    min-height: 0;
}

@media (min-width: 768px) {
    .hero-content {
        margin-top: 0;
        padding: 0;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        flex-direction: row;
    }
}

.desktop-layout {
    display: none;
}

@media (min-width: 1024px) {
    .desktop-layout {
        display: flex;
        flex: 1;
        align-items: flex-start;
        justify-content: center;
        gap: 2rem;
    }
}

.mobile-layout {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    justify-content: space-between;
}

@media (min-width: 1024px) {
    .mobile-layout {
        display: none;
    }
}


@media (min-width: 768px) and (max-width: 1023px){
    .mobile-layout {
    margin-top: 26rem;
    }
}

/* デスクトップレイアウト */
.hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 98px;
}

.hero-description {
    font-family: 'Noto Sans JP', sans-serif;
    color: #A61469;
    text-align: left;
    font-size: 19px;
    line-height: 26px;
    letter-spacing: 0.5px;
    margin-bottom: 40px;
}

.hero-description .brand {
    font-family: 'Jost', sans-serif;
}

.hero-description .bold {
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex-shrink: 0;
    width: 100%;
    max-width: 685px;
    height: 392px;
    margin-right: 5px;
    display: flex;
    align-items: flex-end;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
    margin-bottom:6rem;
}

/* モバイルレイアウト - 見切れ防止 */
.hero-image-mobile {
    flex: 1;
    width: 100%;
    max-width: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 40vh;
}

.hero-image-mobile img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
}

.hero-text-mobile {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 1rem;
}

.hero-description-mobile {
    font-family: 'Noto Sans JP', sans-serif;
    color: #A61469;
    text-align: center;
    font-size: 13px;
    line-height: 18px;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.hero-description-mobile .brand {
    font-family: 'Jost', sans-serif;
}

.hero-description-mobile .bold {
    font-weight: 700;
}

.hero-buttons-mobile {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    gap: 0.75rem;
}

/* ========================================
   Mission Section
   ======================================== */
.mission-section {
    position: relative;
    padding: 4rem 1rem;
    text-align: center;
    overflow: hidden;
    z-index: 1;
}

@media (min-width: 768px) {
    .mission-section {
        padding: 8rem 1rem;
    }
}

@media (min-width: 1024px) {
    .mission-section {
        padding: 193px 1rem;
    }
}

.mission-container {
    position: relative;
    max-width: 1181px;
    margin: 0 auto;
    z-index: 10;
}

.mission-title {
    font-family: 'Nagomi Gokuboso Gothic', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
    font-weight: 250;
    color: #A61469;
    font-size: 24px;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .mission-title {
        font-size: 56px;
    }
}

@media (min-width: 1024px) {
    .mission-title {
        font-size: 58px;
    }
}

/* ========================================
   Section Common Styles
   ======================================== */
.section-container {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 1rem;
    z-index: 10;
}

@media (min-width: 768px) {
    .section-container {
        padding: 5rem 2rem;
    }
}

@media (min-width: 1024px) {
    .section-container {
        padding: 5rem 49.5px;
    }
}

.section-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    text-align: center;
    color: #A61469;
    font-size: 28px;
    line-height: 40px;
    letter-spacing: 0.5px;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 48px;
        line-height: 68px;
    }
}

.section-subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    text-align: center;
    color: #000000;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.5px;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .section-subtitle {
        font-size: 22px;
        line-height: 38px;
    }
}

/* ========================================
   Card Common Styles
   ======================================== */
.card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px;
    box-shadow: 0 0 30px rgba(210, 58, 123, 0.2);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .card {
        padding: 2rem;
    }
}

/* ========================================
   Subscriptions Section
   ======================================== */
.subscriptions-section {
    position: relative;
    overflow: hidden;
}

.cards-grid {
    position: relative;
    max-width: 1181px;
    margin: 4rem auto 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .cards-grid {
        margin-top: 6rem;
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .cards-grid.subscriptions-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.subscription-card {
    height: 420px;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .subscription-card {
        height: 480px;
    }
}

/* 各カードを2列分の幅に設定し、2行目を中央配置 */
@media (min-width: 1024px) {
    .cards-grid.subscriptions-grid .subscription-card {
        grid-column: span 2;
    }
    
    .cards-grid.subscriptions-grid .subscription-card:nth-child(4) {
        grid-column: 2 / 4;
    }
    
    .cards-grid.subscriptions-grid .subscription-card:nth-child(5) {
        grid-column: 4 / 6;
    }
}

.card-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .card-logo {
        margin-bottom: 1.5rem;
    }
}

/* XOLOGYロゴ */
.xology-logo {
    position: relative;
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    color: #a61369;
    font-size: 28px;
    line-height: normal;
}

.logo-badge-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.badge-line {
    width: 14px;
    height: 1px;
}

.badge-line.left {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -20px;
}

.badge-line.right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -20px;
}

.logo-badge {
    background: #a61369;
    border-radius: 20px;
    padding: 2px 12px;
    font-family: 'Kiwi Maru', sans-serif;
    font-weight: 300;
    color: white;
    font-size: 16px;
    line-height: normal;
    letter-spacing: 4px;
    white-space: nowrap;
}

.card-description {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    color: #A61469;
    text-align: center;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .card-description {
        font-size: 22px;
        line-height: 34px;
        margin-bottom: 2rem;
    }
}

.card-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .card-image {
        margin-bottom: 1.5rem;
    }
}

.card-image img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    border-radius: 8px;
}

@media (min-width: 768px) {
    .card-image img {
        height: 180px;
    }
}

.card-action {
    display: flex;
    justify-content: center;
}

/* ========================================
   Features Section
   ======================================== */
.features-section {
    position: relative;
    overflow: hidden;
}

.features-grid {
    position: relative;
    max-width: 1181px;
    margin: 5rem auto 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    position: relative;
    height: auto;
    padding: 2rem;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .feature-card {
        height: 280px;
        padding: 3rem;
        padding-top: 2rem;
    }
}

.feature-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .feature-header {
        gap: 1.5rem;
        margin-bottom: 1rem;
    }
}

.feature-title {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    color: #A61469;
    font-size: 30px;
}

@media (min-width: 768px) {
    .feature-title {
        font-size: 32px;
    }
}

.feature-badge {
    background: #A61469;
    border-radius: 25px;
    min-width: 110px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
    color: white;
    font-size: 13px;
    line-height: 16px;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .feature-badge {
        min-width: 120px;
        height: 32px;
        padding: 0 16px;
        font-size: 15px;
    }
}

.feature-heading {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    color: #A61469;
    text-align: center;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .feature-heading {
        line-height: 28px;
        margin-bottom: 1rem;
    }
}

.feature-description {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    color: #A61469;
    text-align: center;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0.5px;
}

@media (min-width: 768px) {
    .feature-description {
        font-size: 16px;
        line-height: 24px;
    }
}

.coming-soon-badge-small {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #12767F;
    border-radius: 9999px;
    padding: 6px 16px;
    height: 22px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
    border: 1px solid #12767F;
    display: flex;
    align-items: center;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    color: white;
    font-size: 8px;
    line-height: 8px;
    letter-spacing: 0.08px;
}

@media (min-width: 768px) {
    .coming-soon-badge-small {
        top: 16px;
        right: 16px;
        padding: 6px 20px;
        height: 26px;
        font-size: 9px;
        line-height: 9px;
    }
}

/* ========================================
   Resource Section
   ======================================== */
.resource-section {
    position: relative;
    overflow: hidden;
}

.resource-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(18, 118, 127, 0.2);
    max-width: 1181px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .resource-card {
        flex-direction: row;
        gap: 0;
        height: 394px;
    }
}

.resource-image {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .resource-image {
        padding: 27px;
    }
}

@media (min-width: 1024px) {
    .resource-image {
        width: 340px;
        margin-left:10px;
    }
}

.resource-image img {
    width: 100%;
    max-width: 280px;
    height: 280px;
    object-fit: contain;
    border-radius: 8px;
}

@media (min-width: 1024px) {
    .resource-image img {
        max-width: 340px;
        width: 340px;
        height: 340px;
    }
}

.resource-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .resource-content {
        padding: 40px 8px 40px 48px;
    }
}

.resource-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    color: #12767F;
    text-align: center;
    font-size: 28px;
    line-height: 40px;
    letter-spacing: 0.5px;
}

@media (min-width: 768px) {
    .resource-title {
        font-size: 48px;
        line-height: 68px;
    }
}

@media (min-width: 1024px) {
    .resource-title {
        text-align: left;
    }
}

.resource-text {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    color: #000000;
    font-size: 20px;
    line-height: 32px;
    letter-spacing: 0.5px;
}

@media (min-width: 768px) {
    .resource-text {
        margin-top: 40px;
        gap: 24px;
        font-size: 16px;
        line-height: 20px;
    }
}

.resource-content button {
    align-self: center;
}

@media (min-width: 1024px) {
    .resource-content button {
        align-self: flex-start;
    }
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing-section {
    position: relative;
    overflow: hidden;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px;
    box-shadow: 0 0 30px rgba(210, 58, 123, 0.2);
    max-width: 1181px;
    margin: 0 auto;
    padding: 3rem;
}

@media (min-width: 768px) {
    .pricing-card {
        padding: 6rem;
    }
}

.pricing-description {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    color: #000000;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.5px;
}

@media (min-width: 768px) {
    .pricing-description {
        margin-top: 40px;
        gap: 24px;
        line-height: 20px;
    }
}

.pricing-boxes {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .pricing-boxes {
        margin-top: 5rem;
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
}

.pricing-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 320px;
}

@media (min-width: 768px) {
    .pricing-box {
        max-width: 280px;
    }
}

.pricing-badge {
    margin-bottom: 0.5rem;
    border-radius: 9999px;
    padding: 6px 16px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 12px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.pricing-badge.gray {
    background: #949494;
    color: white;
}

.pricing-badge.pink {
    background: #A61469;
    color: white;
}

.pricing-badge.teal {
    background: #12767F;
    color: white;
}

.pricing-line {
    width: 100%;
    max-width: 280px;
    height: 4px;
    margin-bottom: 12px;
}

.pricing-content {
    width: 100%;
    max-width: 280px;
    height: 100px;
    border: 2px solid;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 28px;
    letter-spacing: 0.5px;
}

.pricing-content.gray {
    border-color: #949494;
    color: #949494;
}

.pricing-content.pink {
    border-color: #A61469;
    color: #A61469;
}

.pricing-content.teal {
    border-color: #12767F;
    color: #12767F;
}

.pricing-plus {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    color: #000000;
    font-size: 32px;
    line-height: 1;
    margin: 0.5rem 0;
}

@media (min-width: 768px) {
    .pricing-plus {
        font-size: 40px;
        padding: 0 1rem;
        margin: 0;
    }
}

/* ========================================
   Support Section
   ======================================== */
.support-section {
    position: relative;
    overflow: hidden;
}

.support-main-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    color: #A61469;
    text-align: center;
    font-size: 28px;
    line-height: 40px;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .support-main-title {
        font-size: 36px;
        line-height: 46px;
    }
}

.support-card {
    max-width: 1181px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px;
    box-shadow: 0 0 30px rgba(210, 58, 123, 0.2);
    padding: 3rem 2rem;
}

@media (min-width: 768px) {
    .support-card {
        padding: 6rem;
    }
}

.support-description-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .support-description-container {
        flex-direction: row;
        gap: 2rem;
        margin-bottom: 2rem;
    }
}

.support-description {
    flex: 1;
    display: flex;
    align-items: center;
}

.support-description p {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    color: #000000;
    font-size: 16px;
    line-height: 32px;
    letter-spacing: 0.5px;
}

@media (min-width: 768px) {
    .support-description p {
        font-size: 20px;
    }
}

.support-image {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.support-image img {
    width: 100%;
    max-width: 240px;
    height: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .support-image img {
        max-width: 260px;
    }
}

.support-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.25rem;
}

@media (min-width: 768px) {
    .support-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-top: 2rem;
    }
}

.support-feature {
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid #FFC9E5;
    border-radius: 15px;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .support-feature {
        padding: 1.5rem;
    }
}

.check-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
}

.support-feature-content {
    flex: 1;
}

.support-feature-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    color: #A61469;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0.5px;
}

.support-feature-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    color: #000000;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

.support-closing {
    margin-top: 2rem;
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    color: #A61469;
    font-size: 20px;
    line-height: 32px;
    letter-spacing: 0.5px;
}

@media (min-width: 768px) {
    .support-closing {
        margin-top: 2.5rem;
        font-size: 24px;
    }
}

/* 旧スタイル（互換性のため保持） */
.support-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.support-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    color: #A61469;
    text-align: center;
    font-size: 28px;
    line-height: 40px;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .support-title {
        font-size: 36px;
        line-height: 50px;
    }
}

@media (min-width: 1024px) {
    .support-title {
        text-align: left;
    }
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    z-index: 1;
}

@media (min-width: 768px) {
    .cta-section {
        padding: 8rem 1rem;
    }
}

.cta-container {
    position: relative;
    margin: 0 auto;
    text-align: center;
    z-index: 10;
    background: #A61469;
    padding:20px 0;
    width: 100vw;
   margin: 0 calc(50% - 50vw);
}
.cta-container p{
    margin-bottom:3rem;
    color:#FFFFFF;
    padding:0 1rem;
}

.cta-title {
    font-family: 'Nagomi Gokuboso Gothic', Noto Sans JP, 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
    font-weight: 700;
    color: #FFFFFF;
    font-size: 32px;
    line-height: 1.4;
    margin-bottom: 3rem;
}
@media (min-width: 768px) {
    .cta-section {
        padding: 8rem 1rem;
    }
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 48px;
    }
}

@media (min-width: 1024px) {
    .cta-title {
        font-family: Noto Sans JP;
        font-size: 36px;
    }
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }
}


/* ==========================================
   フッタースペーサー
   ========================================== */
.footer-spacer {
  background-color: #ffffff;
  padding: 32px 0;
}

/* ==========================================
   フッター
   ========================================== */
.footer {
    position: relative;
    background: #A61469;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    padding: 1.5rem 1rem;
    z-index: 10;
}

.footer-container {
  width: 100%;
}

.footer-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-desktop {
  display: none;
}

.footer-logo-mobile {
  display: flex;
  align-items: center;
}

.footer-logo-mobile img {
  height: 24px;
  width: auto;
  object-fit: contain;
}

.footer-links-mobile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}

.footer-links-mobile a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links-mobile a:hover {
  color: #fce7f3;
}

.footer-trademark-mobile {
  font-size: 10px;
  color: #ffffff;
  text-align: center;
}

.footer-copyright-mobile {
  font-size: 10px;
  color: #ffffff;
}

.footer-iso-mobile {
  display: flex;
  align-items: center;
}

.footer-iso-mobile img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .footer-mobile {
    display: none;
  }

  .footer-desktop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-right: 8px;
  }

  .footer-logo-desktop {
    flex-shrink: 0;
  }

  .footer-logo-desktop img {
    height: 28px;
    width: auto;
    object-fit: contain;
  }

  .footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-grow: 1;
    justify-content: center;
    overflow: hidden;
    padding-right: 200px;
  }

  .footer-links-desktop {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .footer-links-desktop a {
    color: #ffffff;
    font-size: 10px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s;
  }

  .footer-links-desktop a:hover {
    color: #fce7f3;
  }

  .footer-divider {
    color: #ffffff;
    font-size: 10px;
  }

  .footer-copyright-desktop {
    font-size: 9px;
    color: #ffffff;
    white-space: nowrap;
    margin-left: 8px;
  }

  .footer-trademark-desktop {
    font-size: 9px;
    color: #ffffff;
    text-align: center;
  }

  .footer-iso-desktop {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
  }

  .footer-iso-desktop img {
    height: 64px;
    width: auto;
    object-fit: contain;
  }
}
@media (min-width: 1024px) {
  .footer-logo-desktop img {
    height: 28px;
  }

  .footer-links-desktop a {
    font-size: 12px;
  }

  .footer-divider {
    font-size: 12px;
  }

  .footer-copyright-desktop {
    font-size: 11px;
  }

  .footer-trademark-desktop {
    font-size: 12px;
  }

  .footer-iso-desktop img {
    height: 64px;
  }
}
@media (min-width: 1280px) {
  .footer-logo-desktop img {
    height: 32px;
  }

  .footer-iso-desktop img {
    height: 80px;
  }
}


/* ========================================
   iPhone SE (320px) 特別対応
   ======================================== */
@media (max-width: 374px) {
    .hero-headline {
        margin-top: 2rem;
    }
    
    .hero-headline h1 {
        font-size: 20px;
        letter-spacing: 0.8px;
    }
    
    .hero-highlight {
        font-size: 26px;
        letter-spacing: 1.2px;
    }
    
    .hero-image-mobile {
        max-height: 35vh;
    }
    
    .hero-text-mobile {
        padding-bottom: 0.5rem;
    }
    
    .section-title {
        font-size: 24px;
        line-height: 34px;
    }
    
    .mission-title {
        font-size: 20px;
    }
}

/* ========================================
   iPhone 16 Pro Max (440px) 調整
   ======================================== */
@media (min-width: 440px) and (max-width: 767px) {
    .hero-headline h1 {
        font-size: 28px;
    }
    
    .hero-highlight {
        font-size: 34px;
    }
    
    .hero-image-mobile {
        max-height: 45vh;
    }
}

/* ========================================
   Accessibility & Performance
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid #A61469;
    outline-offset: 2px;
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    #main-header,
    .mobile-dropdown,
    .hamburger-menu {
        display: none !important;
    }
    
    .bg-container {
        display: none;
    }
    
    body {
        background: white;
    }
    
    .decorative-left,
    .decorative-right,
    .decorative-mission-left,
    .decorative-mission-right,
    .decorative-sub-left,
    .decorative-sub-right,
    .decorative-feat-right,
    .decorative-resource-left,
    .decorative-pricing-right,
    .decorative-cta-left,
    .decorative-cta-right {
        opacity: 0.1;
    }
}


/* ============================================
   2. Main Section Container
   ============================================ */

.pricing-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  overflow: hidden;
}

/* Tablet */
@media (min-width: 768px) {
  .pricing-section {
    padding: 5rem 2rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .pricing-section {
    padding: 5rem 2rem;
  }
}

/* ============================================
   3. Decorative Background
   ============================================ */

.decorative-bg {
  position: absolute;
  top: 0;
  right: 1.25rem;
  width: 100px;
  height: 150px;
  pointer-events: none;
  opacity: 0.25;
  transform: scale(0.75);
}

@media (min-width: 768px) {
  .decorative-bg {
    right: 2.5rem;
    width: 200px;
    height: 300px;
  }
}

.decorative-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* ============================================
   4. Main Container Card
   ============================================ */

.pricing-container {
  position: relative;
  max-width: 1181px;
  width: 100%;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 30px;
  box-shadow: 0 0 30px rgba(210, 58, 123, 0.2);
  padding: 2rem;
}

/* Fallback for browsers without backdrop-filter */
@supports not (backdrop-filter: blur(10px)) {
  .pricing-container {
    background: rgba(255, 255, 255, 0.95);
  }
}

@media (min-width: 768px) {
  .pricing-container {
    padding: 4rem;
  }
}

@media (min-width: 1024px) {
  .pricing-container {
    padding: 6rem;
  }
}

/* ============================================
   5. Heading
   ============================================ */

.pricing-heading {
  text-align: center;
  color: #A61469;
  font-size: 28px;
  line-height: 40px;
  letter-spacing: 0.5px;
  font-weight: 700;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .pricing-heading {
    font-size: 40px;
    line-height: 56px;
  }
}

@media (min-width: 1024px) {
  .pricing-heading {
    font-size: 48px;
    line-height: 68px;
    margin-bottom: 2.5rem;
  }
}

/* ============================================
   6. Description
   ============================================ */

.pricing-description {
  text-align: center;
  color: #000000;
  font-size: 15px;
  line-height: 22px;
  letter-spacing: 0.5px;
  font-weight: 700;
  margin-bottom: 3rem;
}

.pricing-description p {
  margin: 0 0 1rem 0;
}

.pricing-description p:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .pricing-description {
    font-size: 16px;
    line-height: 100px;
    margin-bottom: 5rem;
  }
  
  .pricing-description p {
    margin-bottom: 1.5rem;
  }
}

/* ============================================
   7. Desktop Layout (1024px+)
   ============================================ */

.pricing-layout-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .pricing-layout-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 5rem;
  }
}

/* Initial Cost Item */
.cost-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cost-badge {
  margin-bottom: 0.5rem;
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 0.5px;
  font-weight: 700;
  white-space: nowrap;
}

.cost-badge-gray {
  background-color: #949494;
  color: #ffffff;
}

.cost-badge-pink {
  background-color: #A61469;
  color: #ffffff;
}

.cost-line {
  width: 280px;
  height: 4px;
  margin-bottom: 0.75rem;
}

.cost-box {
  width: 280px;
  height: 100px;
  border: 2px solid;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cost-box-gray {
  border-color: #949494;
}

.cost-text-gray {
  color: #949494;
  font-size: 22px;
  line-height: 28px;
  letter-spacing: 0.5px;
  font-weight: 700;
}

/* Usage Fee Item */
.fee-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fee-line {
  width: 620px;
  height: 4px;
  margin-bottom: 0.75rem;
}

.fee-boxes {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fee-box {
  border: 2px solid #A61469;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
}

.fee-box-subscription {
  width: 320px;
  padding: 0 1rem;
}

.fee-box-users {
  width: 240px;
}

.fee-text-subscription {
  color: #A61469;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0.5px;
  font-weight: 700;
  text-align: center;
}

.fee-text-users {
  color: #A61469;
  font-size: 18px;
  line-height: 18px;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.multiply-symbol {
  color: #3D3D3D;
  font-size: 28px;
  line-height: 14px;
  letter-spacing: 0.5px;
  font-weight: 700;
  flex-shrink: 0;
}

/* SVG Line */
.line-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* ============================================
   8. Mobile/Tablet Layout (< 1024px)
   ============================================ */

.pricing-layout-mobile {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .pricing-layout-mobile {
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .pricing-layout-mobile {
    display: none;
  }
}

/* Initial Cost Item Mobile */
.cost-item-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cost-line-mobile {
  width: 100%;
  max-width: 320px;
  height: 4px;
  margin-bottom: 0.75rem;
}

.cost-box-mobile {
  width: 100%;
  max-width: 400px;
  height: 90px;
  border: 2px solid;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .cost-box-mobile {
    height: 100px;
  }
}

.cost-text-gray-mobile {
  color: #949494;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0.5px;
  font-weight: 700;
}

@media (min-width: 768px) {
  .cost-text-gray-mobile {
    font-size: 24px;
    line-height: 32px;
  }
}

/* Usage Fee Item Mobile */
.fee-item-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .fee-item-mobile {
    gap: 1.25rem;
  }
}

.fee-line-mobile {
  width: 100%;
  max-width: 320px;
  height: 4px;
  margin-bottom: 0.75rem;
}

.fee-box-mobile {
  width: 100%;
  max-width: 400px;
  border: 2px solid #A61469;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fee-box-subscription-mobile {
  height: 100px;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .fee-box-subscription-mobile {
    height: 110px;
  }
}

.fee-box-users-mobile {
  height: 90px;
}

@media (min-width: 768px) {
  .fee-box-users-mobile {
    height: 100px;
  }
}

.fee-text-subscription-mobile {
  color: #A61469;
  font-size: 15px;
  line-height: 22px;
  letter-spacing: 0.5px;
  font-weight: 700;
  text-align: center;
}

@media (min-width: 768px) {
  .fee-text-subscription-mobile {
    font-size: 18px;
    line-height: 26px;
  }
}

.fee-text-users-mobile {
  color: #A61469;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.5px;
  font-weight: 700;
}

@media (min-width: 768px) {
  .fee-text-users-mobile {
    font-size: 24px;
    line-height: 28px;
  }
}

.multiply-symbol-mobile {
  text-align: center;
  color: #3D3D3D;
  font-size: 24px;
  line-height: 12px;
  letter-spacing: 0.5px;
  font-weight: 700;
  padding: 0.5rem 0;
}

@media (min-width: 768px) {
  .multiply-symbol-mobile {
    font-size: 28px;
  }
}

/* ============================================
   9. Note
   ============================================ */

.pricing-note {
  text-align: center;
  color: #000000;
  font-size: 10px;
  line-height: 14px;
  letter-spacing: 0.5px;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .pricing-note {
    font-size: 12px;
    line-height: 16px;
    margin-top: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .pricing-note {
    text-align: right;
    margin-top: 2rem;
    padding-right: 280px;
  }
}

/* ============================================
   10. Text Utilities
   ============================================ */

p, span, h1, h2, h3, h4, h5, h6 {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

br {
  display: block;
  content: "";
  margin-top: 0.25em;
}

/* ============================================
   11. Accessibility
   ============================================ */

*:focus-visible {
  outline: 2px solid #A61469;
  outline-offset: 2px;
}

/* ============================================
   12. Performance Optimizations
   ============================================ */

.pricing-container {
  transform: translateZ(0);
  will-change: backdrop-filter;
}

svg {
  transform: translateZ(0);
}

/* ============================================
   13. Print Styles
   ============================================ */

@media print {
  .pricing-section {
    page-break-inside: avoid;
  }
  
  .pricing-container {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .decorative-bg {
    display: none;
  }
}

/* ============================================
   14. Safe Area Insets (Notched Devices)
   ============================================ */

@supports (padding: env(safe-area-inset-left)) {
  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
}

/* ============================================
   15. Mobile Viewport Height Fix
   ============================================ */

@media (max-width: 767px) {
  .pricing-section {
    min-height: 100vh;
    min-height: -webkit-fill-available;
  }
}

/* ============================================
   16. Very Small Screens (iPhone SE 320px)
   ============================================ */

@media (max-width: 374px) {
  .pricing-container {
    padding: 1.5rem;
  }
  
  .pricing-heading {
    font-size: 24px;
    line-height: 34px;
  }
  
  .cost-box-mobile,
  .fee-box-mobile {
    min-height: 80px;
    height: auto;
    padding: 1rem 0.75rem;
  }
  
  .fee-text-subscription-mobile {
    font-size: 14px;
    line-height: 20px;
  }
  
  .cost-text-gray-mobile {
    font-size: 18px;
    line-height: 24px;
  }
  
  .fee-text-users-mobile {
    font-size: 18px;
    line-height: 22px;
  }
}

/* ============================================
   17. Large Phones (375px - 428px)
   ============================================ */

@media (min-width: 375px) and (max-width: 428px) {
  .pricing-layout-mobile {
    gap: 1.5rem;
  }
}

/* ============================================
   18. Extra Large Phones (iPhone 16 Pro Max, 429px+)
   ============================================ */

@media (min-width: 429px) and (max-width: 767px) {
  .cost-box-mobile,
  .fee-box-mobile {
    height: 100px;
  }
  
  .pricing-heading {
    font-size: 36px;
    line-height: 50px;
  }
  
  .fee-text-subscription-mobile {
    font-size: 17px;
    line-height: 24px;
  }
}

/* ============================================
   19. Ultra Small Screens (< 320px Edge Case)
   ============================================ */

@media (max-width: 319px) {
  .pricing-heading {
    font-size: 20px;
    line-height: 28px;
  }
  
  .pricing-container {
    padding: 1rem;
  }
  
  .cost-box-mobile,
  .fee-box-mobile {
    min-height: 70px;
    font-size: 14px;
  }
  
  .fee-text-subscription-mobile {
    font-size: 13px;
    line-height: 18px;
  }
  
  .cost-text-gray-mobile {
    font-size: 16px;
    line-height: 22px;
  }
  
  .fee-text-users-mobile {
    font-size: 16px;
    line-height: 20px;
  }
}

/* ============================================
   20. Very Large Screens (1920px+)
   ============================================ */

@media (min-width: 1920px) {
  .pricing-container {
    max-width: 1181px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================================
   21. Custom Scrollbar (Optional)
   ============================================ */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #A61469;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #8A1256;
}

/* ============================================
   22. Smooth Transitions
   ============================================ */

* {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* ============================================
   23. Ensure Proper Spacing
   ============================================ */

.pricing-container > * {
  margin: 0;
}

/* ============================================
   24. Width Utilities
   ============================================ */

.cost-line,
.fee-line,
.cost-line-mobile,
.fee-line-mobile {
  width: 100%;
}

/* ============================================
   25. Final Adjustments for Consistency
   ============================================ */

/* Ensure consistent rendering across browsers */
svg path,
svg line {
  vector-effect: non-scaling-stroke;
}

/* Prevent text selection on decorative elements */
.decorative-bg,
.decorative-svg {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

/* Ensure proper line height inheritance */
body {
  line-height: 1.5;
}

/* Reset any conflicting global styles */
.pricing-section * {
  box-sizing: border-box;
}

/* Ensure backdrop filter works on supported browsers */
@supports (backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px)) {
  .pricing-container {
    background: rgba(255, 255, 255, 0.7);
  }
}