@charset "UTF-8";

/* ==========================================================================
   Variables & Reset
   ========================================================================== */
:root {
    --primary: #e67575;
    /* Soft warm pink/red */
    --primary-light: #fbecec;
    --primary-dark: #c85a5a;
    --text-main: #4a4242;
    --text-light: #7a7070;
    --bg-body: #fffdfd;
    --bg-light: #fef5f5;
    --accent: #f5b041;
    --white: #ffffff;
    --font-base: 'Noto Sans JP', sans-serif;
    --font-heading: 'Shippori Mincho', serif;
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: var(--font-base);
    color: var(--text-main);
    background-color: transparent;
    line-height: 1.8;
    letter-spacing: 0.05em;
    font-size: 14px;
    overflow-x: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input, textarea {
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}

img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('../img/SPbackground.png') no-repeat center center / cover;
    z-index: -999;
    pointer-events: none;
}

@media (min-width: 768px) {
    body::before {
        background-image: url('../img/background.png');
    }
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

.inline-block {
    display: inline-block;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-pad {
    padding: 80px 0;
}

.bg-light {
    background-color: transparent;
}

/* White Background Sections */
.fv,
.trouble,
.service,
.service-scroll-area,
.price,
.access {
    background-color: #ffffff;
}

.pc-only {
    display: none;
}

.sp-only {
    display: block;
}

@media (min-width: 768px) {
    body {
        font-size: 16px;
    }

    .pc-only {
        display: block;
    }

    .sp-only {
        display: none;
    }

    .section-pad {
        padding: 120px 0;
    }
}

/* ==========================================================================
   Typography & Titles
   ========================================================================== */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 600;
}

.sec-title {
    text-align: center;
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.sec-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--accent);
}

.sec-title.left {
    text-align: left;
}

.sec-title.left::after {
    left: 0;
    transform: none;
}

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

p {
    font-size: 14px;
}

@media (min-width: 768px) {
    p {
        font-size: 16px;
    }
}

.sec-subtitle {
    text-align: center;
    font-size: 18px;
    margin-top: -20px;
    margin-bottom: 50px;
    color: var(--text-main);
    font-weight: 500;
}

.sec-en {
    display: block;
    font-size: 14px;
    color: var(--primary);
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.sec-badge img {
    max-height: 240px;
    width: auto;
}

.sec-badge.center {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.cv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(200, 90, 90, 0.3);
    transition: all 0.3s ease;
}

.cv-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(200, 90, 90, 0.4);
    opacity: 1;
    color: var(--white);
}

.header-cv {
    padding: 10px 25px;
    font-size: 14px;
}

.fv-cv {
    padding: 18px 50px;
    font-size: 18px;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 100;
    padding: 15px 0;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    color: var(--primary-dark);
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 15px;
}

.nav a:hover {
    color: var(--primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

@media (max-width: 767px) {
    .hamburger {
        display: flex;
    }
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    transition: all 0.3s ease;
}

.hamburger.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

.mobile-nav.is-active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.mobile-nav a {
    font-size: 18px;
    color: var(--text-main);
    font-weight: 500;
}

/* ==========================================================================
   First View (FV)
   ========================================================================== */
.fv {
    position: relative;
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    background-color: var(--primary-light);
    padding: 60px 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .fv {
        min-height: calc(100vh - 70px);
        padding: 80px 0;
    }
}

.fv::after {
    display: none;
}

.fv-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .fv-container {
        padding: 0 20px;
        min-height: calc(100vh - 150px);
        display: flex;
        align-items: center;
    }
    .fv-content {
        transform: translateX(-35px);
    }
}

.fv-content {
    width: 100%;
    max-width: 520px;
    text-align: left;
    position: relative;
    z-index: 3;
}

.fv-bbb-img {
    position: absolute;
    top: 70px;
    left: 0;
    z-index: 5;
}

.fv-bbb-img img {
    max-width: 260px;
    height: auto;
    display: block;
}

.fv-ccc-img {
    position: absolute;
    bottom: 170px;
    left: -20px;
    z-index: 4;
    transform: rotate(30deg);
    transform-origin: bottom left;
    pointer-events: none;
}

.fv-ccc-img img {
    max-width: 450px;
    height: auto;
    display: block;
}

@media (max-width: 1280px) {

    .fv-bbb-img,
    .fv-ccc-img {
        display: none;
    }
}

.fv-title {
    font-size: 26px;
    line-height: 1.5;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 12px;
}

.fv-title .highlight {
    color: var(--primary);
}

.fv-ribbon {
    margin-bottom: 20px;
}

.fv-ribbon svg {
    max-width: 100%;
    height: auto;
}

.fv-subtitle {
    font-size: 14px;
    line-height: 1.9;
    color: #666;
    margin-bottom: 25px;
}

/* IBJ加盟相談所 Banner Card in FV */
.fv-ibj-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    border: 1.5px solid #f8cfcf;
    border-radius: 16px;
    padding: 14px 18px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(230, 117, 117, 0.06);
    max-width: 520px;
    gap: 14px;
}

.fv-ibj-badge {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f27274 0%, #e65c65 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(230, 117, 117, 0.2);
}

.fv-ibj-badge span {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.fv-ibj-text {
    flex-grow: 1;
}

.fv-ibj-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: #e65c65;
    margin-bottom: 3px;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.fv-ibj-desc {
    font-size: 11.5px;
    color: #555555;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
}

.fv-ibj-wreath {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -4px;
}

.fv-ibj-wreath img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    display: block;
    transform: translateX(-4px);
}

@media (min-width: 480px) {
    .fv-ibj-card {
        padding: 16px 20px;
    }
    .fv-ibj-desc {
        font-size: 12.5px;
    }
    .fv-ibj-title {
        font-size: 22px;
    }
    .fv-ibj-badge {
        width: 64px;
        height: 64px;
    }
    .fv-ibj-badge span {
        font-size: 21px;
    }
    .fv-ibj-wreath img {
        width: 84px;
        height: 84px;
        transform: translateX(-8px);
    }
}

.fv-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
    margin-bottom: 45px;
}

.fv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.fv-btn .arrow {
    margin-left: 8px;
    font-size: 16px;
    font-weight: bold;
}

.fv-btn-main {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(230, 117, 117, 0.3);
}

.fv-btn-main:hover {
    opacity: 0.9;
    color: #ffffff;
    transform: translateY(-2px);
}

.fv-btn-sub {
    background-color: #ffffff;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.fv-btn-sub:hover {
    background-color: var(--primary-light);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Badges section matching reference image - Forced Single Horizontal Row */
.fv-badges {
    display: flex;
    align-items: center;
    flex-wrap: nowrap !important;
    gap: 28px;
    border-top: 1px solid #f3e5e5;
    padding-top: 30px;
    margin-top: 10px;
    position: relative;
    z-index: 10;
    width: max-content;
    max-width: none;
}

.fv-badge-item {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.fv-badge-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1.5px solid #f0a8a8;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(230, 117, 117, 0.08);
}

.fv-badge-icon svg {
    width: 26px;
    height: 26px;
}

.fv-badge-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.35;
}

.fv-badge-text .badge-sub {
    font-size: 13.5px;
    color: var(--primary);
    font-weight: bold;
}

.fv-badge-text .badge-pink-bold {
    font-size: 16.5px;
    color: var(--primary);
    font-weight: bold;
    letter-spacing: 0.02em;
}

.fv-badge-divider {
    width: 1px;
    height: 40px;
    background-color: #e8c5c5;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .logo {
        font-size: 16px;
    }

    .fv {
        padding: 95px 0 0;
        min-height: auto;
        display: flex;
        flex-direction: column;
    }

    .fv-container {
        padding: 0 15px;
        flex-direction: column;
        align-items: stretch;
        min-height: auto;
        order: 1;
    }

    .fv-content {
        transform: none !important;
        max-width: 100% !important;
        width: 100%;
        display: flex;
        flex-direction: column;
        background-color: transparent;
        padding: 0;
        border-radius: 0;
        backdrop-filter: none;
    }

    /* 1. Catchphrase Text & Ribbon at top (centered on SP) */
    .fv-title {
        order: 1;
        font-size: 24px;
        line-height: 1.45;
        text-align: center;
        margin-bottom: 8px;
    }

    .fv-ribbon {
        order: 2;
        text-align: center;
        display: flex;
        justify-content: center;
        margin-bottom: 12px;
    }

    /* Subtitle - REMOVED on SP only */
    .fv-subtitle {
        display: none !important;
    }

    /* 2. IBJ Card below Catchphrase */
    .fv-ibj-card {
        order: 3;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
    }

    /* 3. FVaaa wreath image REMOVED on SP */
    .fv-ibj-wreath,
    .fv-aaa-img {
        display: none !important;
    }

    /* 4. Phone & Price buttons - REMOVED on SP only */
    .fv-btns {
        display: none !important;
    }

    /* 5. Badges below IBJ card */
    .fv-badges {
        order: 4;
        width: 100% !important;
        max-width: 100% !important;
        flex-wrap: nowrap !important;
        gap: 16px;
        justify-content: center;
        align-items: center;
        padding-top: 18px;
        border-top: 1px solid #f3e5e5;
        margin-bottom: 24px;
    }

    .fv-badge-item {
        gap: 10px;
        flex-shrink: 0;
    }

    .fv-badge-icon {
        width: 44px;
        height: 44px;
    }

    .fv-badge-icon svg {
        width: 21px;
        height: 21px;
    }

    .fv-badge-text .badge-sub {
        font-size: 11.5px;
    }

    .fv-badge-text .badge-pink-bold {
        font-size: 13.5px;
    }

    .fv-badge-divider {
        display: block;
        width: 1px;
        height: 30px;
        background-color: #e8c5c5;
        flex-shrink: 0;
    }

    /* 6. Image Slider at bottom of SP FV */
    .fv-slider {
        order: 5;
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        max-width: 100%;
        height: 270px;
        margin-top: 0;
        margin-bottom: 0 !important;
        border-radius: 16px 16px 0 0;
        overflow: hidden;
        box-shadow: none;
        -webkit-mask-image: none !important;
        mask-image: none !important;
    }

    .fv-slider::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background: linear-gradient(to bottom, var(--primary-light) 0%, rgba(251, 236, 236, 0) 100%);
        z-index: 3;
        pointer-events: none;
    }

    .fv-bbb-img,
    .fv-ccc-img {
        display: none !important;
    }
}

/* Right Side Full-bleed Image Slider with Left Gradient Mask */
.fv-slider {
    position: relative;
    width: 100%;
    height: 300px;
    margin-bottom: 30px;
    overflow: hidden;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, rgba(0, 0, 0, 1) 25%);
    mask-image: linear-gradient(to top, transparent 0%, rgba(0, 0, 0, 1) 25%);
}

.fv-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.fv-slide.active {
    opacity: 1;
}

.fv-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

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

    .fv-subtitle {
        font-size: 16px;
    }

    .fv-btn {
        padding: 16px 36px;
        font-size: 15px;
    }

    .fv-slider {
        position: absolute;
        top: 0;
        right: 0;
        width: 50vw;
        max-width: 960px;
        height: 100%;
        margin-bottom: 0;
        -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 15%, rgba(0, 0, 0, 1) 40%);
        mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 15%, rgba(0, 0, 0, 1) 40%);
    }
}

/* ==========================================================================
   Trouble Section
   ========================================================================== */
.trouble-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    border-bottom: 1px dashed var(--primary-light);
    padding-bottom: 40px;
    margin-bottom: 40px;
}

.trouble-title {
    font-size: 24px;
    color: var(--text-main);
    font-weight: normal;
    text-align: center;
}

.trouble-list {
    max-width: 600px;
    margin: 0 auto;
}

.trouble-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-main);
}

.trouble-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-size: 18px;
    font-weight: bold;
}

.trouble-list li:last-child {
    margin-bottom: 0;
}

.trouble-msg {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-dark);
    line-height: 2;
}

@media (min-width: 768px) {
    .trouble-layout {
        flex-direction: row;
        justify-content: center;
        gap: 80px;
    }

    .trouble-title {
        font-size: 26px;
    }

    .trouble-list li {
        font-size: 16px;
        margin-bottom: 20px;
    }
}

/* ==========================================================================
   Greeting (Message) Section
   ========================================================================== */
.greeting {
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    z-index: 1;
}

.greeting::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    background-image: url('../img/SPMessagebackground.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    filter: blur(8px);
    -webkit-filter: blur(8px);
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}

.greeting .container {
    position: relative;
    z-index: 2;
}

.greeting-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.greeting-title {
    font-size: 24px;
    color: var(--primary-dark);
    margin-bottom: 25px;
    line-height: 1.5;
}

.greeting-text {
    font-size: 14px;
    color: var(--text-main);
    line-height: 2;
}

@media (min-width: 768px) {
    .greeting::before {
        background-image: url('../img/Messagebackground.jpg');
        background-attachment: fixed;
    }

    .greeting-title {
        font-size: 32px;
    }

    .greeting-text {
        font-size: 16px;
    }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
    background-color: #fff6f6;
}

.about-center {
    text-align: center;
    padding: 20px;
}

.about-main-title {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 40px;
    font-weight: 500;
    line-height: 1.6;
}

.about-text-center p {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 2.2;
    color: var(--text-main);
}

/* IBJ Block inside About Section */
.about-ibj-box {
    margin-top: 45px;
    background: #ffffff;
    border: 1.5px solid #f8cfcf;
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 4px 20px rgba(230, 117, 117, 0.05);
    text-align: center;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.about-ibj-badge-label {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.about-ibj-title {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.about-ibj-text p {
    font-size: 14px;
    line-height: 2.0;
    color: var(--text-main);
    margin-bottom: 20px;
}

/* IBJ Stats Cards */
.about-ibj-stats {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 28px 0 24px;
}

.ibj-stat-card {
    flex: 1;
    background: linear-gradient(135deg, #f77ca3 0%, #ee4b77 100%);
    border-radius: 12px;
    padding: 18px 12px 14px;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(238, 75, 119, 0.22);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ibj-stat-header {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.ibj-stat-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 4px 0 6px;
}

.ibj-stat-num-wrap {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
}

.ibj-stat-number {
    font-size: 30px;
    font-weight: 800;
    font-family: var(--font-base);
    letter-spacing: -0.02em;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.ibj-stat-unit {
    font-size: 16px;
    font-weight: 700;
    margin-left: 2px;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.ibj-stat-date {
    font-size: 11px;
    opacity: 0.92;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.95);
}

@media (min-width: 640px) {
    .about-ibj-stats {
        flex-direction: row;
        gap: 12px;
    }

    .ibj-stat-card {
        padding: 20px 8px 16px;
    }

    .ibj-stat-header {
        font-size: 15px;
    }

    .ibj-stat-number {
        font-size: 28px;
    }

    .ibj-stat-unit {
        font-size: 15px;
    }
}

@media (min-width: 768px) {
    .about-ibj-stats {
        gap: 16px;
        margin: 32px 0 28px;
    }

    .ibj-stat-card {
        padding: 22px 14px 18px;
    }

    .ibj-stat-header {
        font-size: 16px;
    }

    .ibj-stat-number {
        font-size: 34px;
    }

    .ibj-stat-unit {
        font-size: 17px;
    }

    .ibj-stat-date {
        font-size: 12px;
    }
}

.about-ibj-link-wrap {
    margin-top: 15px;
}

.about-ibj-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 500;
    font-size: 14px;
    border-bottom: 1px dashed var(--primary);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.about-ibj-link:hover {
    color: var(--primary-dark);
    border-bottom-style: solid;
    opacity: 0.85;
}

@media (min-width: 768px) {
    .about-center {
        padding: 60px 20px;
    }

    .about-main-title {
        font-size: 32px;
    }

    .about-text-center p {
        font-size: 16px;
    }

    .about-ibj-box {
        margin-top: 60px;
        padding: 40px 45px;
    }

    .about-ibj-title {
        font-size: 24px;
    }

    .about-ibj-text p {
        font-size: 16px;
    }

    .about-ibj-link {
        font-size: 15px;
    }
}

/* ==========================================================================
   Service Section (Single Frame Crossfade)
   ========================================================================== */
.service-scroll-area {
    /* Set height high enough for 4 slides on PC */
    position: relative;
    background-color: #ffffff;
}

.service-badge-static {
    padding-top: 50px;
    margin-bottom: 40px;
}

.service-frame-wrapper {
    position: sticky;
    top: 100px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    overflow: hidden;
}

.service-frame {
    width: 100%;
    max-width: 1200px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-progress {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
}

.sp-dot {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: bold;
    color: #ccc;
    transition: color 0.3s ease;
}

.sp-dot.active {
    color: var(--primary);
}

.service-slides {
    position: relative;
    width: 100%;
}

.service-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(40px);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
    display: flex;
    flex-direction: column;
}

.service-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.service-slide.prev {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-40px);
}

.ss-image {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.ss-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.ss-num {
    font-size: 32px;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: bold;
    line-height: 1;
    margin-bottom: 15px;
}

.ss-content h3 {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 15px;
    line-height: 1.5;
}

.ss-content p {
    font-size: 14px;
    color: var(--text-main);
}

@media (min-width: 768px) {
    .service-scroll-area {
        height: 400vh;
    }

    .service-frame-wrapper {
        top: 120px;
        height: calc(100vh - 120px);
    }

    .service-frame {
        padding: 20px 40px;
    }

    .service-progress {
        margin-bottom: 40px;
        justify-content: flex-start;
    }

    .sp-dot {
        font-size: 20px;
        gap: 25px;
    }

    .service-slides {
        min-height: 500px;
    }

    .service-slide {
        flex-direction: row;
        align-items: stretch;
    }

    .ss-image {
        width: 58%;
        margin-bottom: 0;
        margin-right: 50px;
        height: 60vh;
        max-height: 650px;
    }

    .ss-image img {
        aspect-ratio: auto;
    }

    .ss-content {
        width: 42%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .ss-num {
        font-size: 40px;
    }

    .ss-content h3 {
        font-size: 24px;
    }

    .ss-content p {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .service-scroll-area {
        height: 320vh;
        padding-bottom: 0;
    }

    .service-frame-wrapper {
        position: sticky;
        top: 70px;
        height: calc(100vh - 70px);
        padding: 0 15px;
    }

    .service-slides {
        min-height: 440px;
    }
}

/* ==========================================================================
   Price Section
   ========================================================================== */
.price {
    padding: 0;
    background-color: var(--primary-light);
}

.price-split-container {
    display: flex;
    flex-direction: column;
}

.price-split-left {
    display: none;
}

.price-split-right {
    padding: 60px 20px;
    width: 100%;
    background-color: var(--primary-light);
}

.price-badge-align {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.price-sp-img {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.price-sp-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.price-box {
    max-width: 700px;
    margin: 0 auto;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.price-heading {
    font-size: 24px;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.5;
}

.price-desc {
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 40px;
}

.price-plan-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.price-plan-item {
    background: var(--white);
    border-radius: 12px;
    padding: 20px 24px;
    border: 1px solid #f9eaea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.price-plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f9eaea;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.price-plan-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-dark);
    margin: 0;
}

.price-plan-amount {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-main);
}

.price-plan-amount span {
    font-size: 14px;
    font-weight: normal;
    color: var(--text-light);
    margin-left: 4px;
}

.price-plan-detail {
    font-size: 14px;
    color: var(--text-main);
    line-height: 1.65;
    margin: 0;
}

.price-notes p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
    padding-left: 1.2em;
    text-indent: -1.2em;
}

@media (min-width: 768px) {
    .price-split-container {
        flex-direction: row;
        align-items: flex-start;
    }

    .price-split-left {
        display: block;
        width: 50%;
        position: sticky;
        top: 0;
        height: 100vh;
        overflow: hidden;
    }

    .price-sticky-img {
        width: 100%;
        height: 100%;
    }

    .price-sticky-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .price-split-right {
        width: 50%;
        padding: 120px 80px 120px 60px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .price-badge-align {
        text-align: left;
        justify-content: flex-start;
    }

    .price-box {
        margin: 0;
    }

    .price-heading {
        font-size: 28px;
    }

    .price-desc {
        font-size: 16px;
    }

    .price-plan-detail {
        font-size: 16px;
    }

    .price-table th {
        font-size: 20px;
        padding: 20px;
    }

    .price-table td {
        font-size: 24px;
        padding: 20px;
    }
}

/* ==========================================================================
   Flow Section
   ========================================================================== */
.flow-list {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.flow-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    width: 2px;
    height: 100%;
    background-color: var(--primary-light);
}

.flow-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.flow-item:last-child {
    margin-bottom: 0;
}

.flow-num {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-family: var(--font-heading);
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(230, 117, 117, 0.3);
}

.flow-content {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    flex: 1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.flow-content h3 {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

@media (max-width: 767px) {
    .flow-list::before {
        left: 20px;
    }

    .flow-num {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-right: 15px;
    }

    .flow-content h3 {
        font-size: 18px;
    }
}

/* ==========================================================================
   Voice Section
   ========================================================================== */
.voice {
    background-color: #fff6f6;
}

.voice-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 860px;
    margin: 0 auto 40px;
}

.voice-card {
    background: var(--white);
    padding: 24px 24px 24px 48px;
    border-radius: 16px;
    border: 1.5px solid #f8cfcf;
    box-shadow: 0 4px 20px rgba(230, 117, 117, 0.05);
    position: relative;
    width: 100%;
}

.voice-card::before {
    content: '“';
    position: absolute;
    top: 12px;
    left: 18px;
    font-size: 50px;
    font-family: serif;
    color: #f5b0b0;
    line-height: 1;
}

.voice-text-wrap {
    position: relative;
    z-index: 1;
}

.voice-text {
    font-size: 14px;
    line-height: 1.9;
    color: var(--text-main);
}

.voice-text-wrap.is-collapsed .voice-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.voice-toggle-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    padding: 5px 0;
    font-size: 14px;
    display: none;
}

.voice-toggle-btn:hover {
    opacity: 0.7;
}

.voice-more-btn-wrap {
    text-align: center;
    margin-top: 50px;
}

.voice-cv {
    padding: 15px 40px;
    font-size: 16px;
}

@media (min-width: 768px) {
    .voice-card {
        padding: 30px 40px 30px 60px;
    }

    .voice-card::before {
        top: 16px;
        left: 22px;
        font-size: 58px;
    }

    .voice-text {
        font-size: 16px;
    }
}

/* ==========================================================================
   Access Section
   ========================================================================== */
.access-box {
    display: flex;
    flex-direction: column;
    gap: 40px;
    background: var(--white);
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.access-info dl {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #eee;
}

.access-info dt {
    width: 30%;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-weight: bold;
    color: var(--primary-dark);
}

.access-info dd {
    width: 70%;
    padding: 15px 0 15px 15px;
    border-bottom: 1px solid #eee;
}

.sns-link {
    display: inline-block;
    background: #E1306C;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.sns-link:hover {
    color: #fff;
    opacity: 0.8;
}

.access-map iframe {
    width: 100%;
    height: 300px;
    border-radius: 10px;
}

@media (min-width: 768px) {
    .access-box {
        flex-direction: row;
        padding: 50px;
    }

    .access-info {
        flex: 1;
    }

    .access-map {
        flex: 1;
    }

    .access-map iframe {
        height: 100%;
        min-height: 400px;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    text-align: center;
    padding: 60px 0 30px;
}

.footer-logo {
    font-size: 24px;
    margin-bottom: 30px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.footer-nav a {
    color: var(--white);
    opacity: 0.8;
}

.footer-nav a:hover {
    opacity: 1;
}

.copy {
    font-size: 12px;
    opacity: 0.6;
}

/* ==========================================================================
   Animations
   ========================================================================== */
/* ==========================================================================
   Animations & Dynamic Motion System
   ========================================================================== */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.is-visible {
    opacity: 1;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.93);
    transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.zoom-in.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Delays */
.delay-100 { transition-delay: 0.12s; }
.delay-200 { transition-delay: 0.24s; }
.delay-300 { transition-delay: 0.36s; }
.delay-400 { transition-delay: 0.48s; }

.fv-ccc-img,
.fv-bbb-img {
    animation: none !important;
}

/* Micro-interaction Hover Elevations for Cards & Plan Boxes */
.price-plan-item,
.voice-card,
.flow-content,
.about-box {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.price-plan-item:hover,
.voice-card:hover,
.flow-content:hover,
.about-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(230, 117, 117, 0.12);
}

.fv-badge-icon {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.fv-badge-item:hover .fv-badge-icon {
    transform: scale(1.12);
    background-color: var(--primary-light);
}

/* ==========================================================================
   Soft Pink Curtain Image Reveal Motion (Service & Price Images)
   ========================================================================== */
.img-pink-reveal {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.img-pink-reveal img {
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s, transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.img-pink-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-light); /* Soft warm pink curtain */
    z-index: 2;
    transform: scaleX(1);
    transform-origin: left center;
    transition: transform 0.95s cubic-bezier(0.65, 0, 0.35, 1) 0.15s;
    pointer-events: none;
    border-radius: 16px;
}

/* Price Section Reveal (Intersection Observer .is-visible) */
.img-pink-reveal.is-visible img {
    opacity: 1;
    transform: scale(1);
}

.img-pink-reveal.is-visible::after {
    transform: scaleX(0);
    transform-origin: right center;
}

/* Service Slide Pink Curtain Reveal:
   Triggers 0.2s AFTER slide switches to active (01->02, 02->03, 03->04)! */
.service-slide .ss-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.service-slide .ss-image img {
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0s, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0s;
}

.service-slide .ss-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-light); /* Soft warm pink curtain */
    z-index: 2;
    transform: scaleX(1);
    transform-origin: left center;
    transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1) 0s;
    pointer-events: none;
    border-radius: 10px;
}

.service-slide.active .ss-image img {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.2s;
}

.service-slide.active .ss-image::after {
    transform: scaleX(0);
    transform-origin: right center;
    transition-delay: 0.2s;
}

/* ==========================================================================
   Back to Top
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    opacity: 0.8;
    transform: translateY(-3px);
    color: #fff;
}

/* ==========================================================================
   SP Responsive Adjustments & SP Bottom Fixed Bar
   ========================================================================== */
@media (max-width: 767px) {
    body {
        padding-bottom: 56px;
    }

    .trouble-msg {
        text-align: left;
    }

    .about-text-center p {
        text-align: left;
    }

    .about-ibj-text p {
        text-align: left;
    }

    .greeting-text {
        text-align: left;
    }

    .back-to-top {
        bottom: 70px;
        right: 20px;
    }

    .sp-bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        display: flex;
        z-index: 999;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .sp-bottom-bar.hide-in-fv {
        transform: translateY(100%);
        opacity: 0;
        pointer-events: none;
    }

    .sp-bar-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 14px 10px;
        color: var(--white);
        font-weight: bold;
        font-size: 15px;
        text-decoration: none;
        line-height: 1;
    }

    .sp-bar-btn:hover {
        opacity: 0.9;
        color: var(--white);
    }

    .sp-bar-tel {
        background-color: var(--primary);
    }

    .sp-bar-insta {
        background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    }
}

@media (min-width: 768px) {
    .sp-bottom-bar {
        display: none !important;
    }
}