/* ========================================
   Single Service Page Styles
   ======================================== */

/* Hero Section Override for Service */
.service-single+style~.works-hero-section .works-hero-wrap,
body.single-service .works-hero-wrap {
    border-radius: 10px;
    border: 3px solid #FF6632;
}

body.single-service .works-hero-image {
    border-radius: 10px;
}

body.single-service .works-hero-title {
    color: #000;
    text-align: center;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #FFF;
    font-family: YuGothic;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
}

.service-hero {
    width: 100%;
    padding: 140px 20px 60px;
    display: flex;
    justify-content: center;
}

.service-hero__image-wrapper {
    position: relative;
    width: 100%;
    max-width: 1216px;
    height: 260px;
    border-radius: 13px;
    border: 3px solid #FF6632;
}

.service-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.service-hero__title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'YuGothic-Bold', Helvetica;
    font-weight: 600;
    font-size: 30px;
    letter-spacing: 12px;
    line-height: 30px;
    white-space: nowrap;
    margin: 0;
    color: #000;
    -webkit-text-stroke-width: 8px;
    -webkit-text-stroke-color: #FFF;
    paint-order: stroke fill;
    text-shadow:
        -2px -2px 0 #FFF,
        2px -2px 0 #FFF,
        -2px 2px 0 #FFF,
        2px 2px 0 #FFF,
        0 -2px 0 #FFF,
        0 2px 0 #FFF,
        -2px 0 0 #FFF,
        2px 0 0 #FFF;
}

/* Navigation Buttons */
.service-nav-buttons {
    padding: 90px 0 40px;
}

.nav-buttons-wrapper {
    display: flex;
    justify-content: space-evenly;
    gap: 45px;
    flex-wrap: wrap;
}

.service-nav-buttons .btn-primary {
    width: 220px;
}

/* Section Titles */
.section-title-ja {
    font-family: "YuGothic-Bold", Helvetica;
    font-weight: 700;
    color: #000000;
    font-size: 15px;
    letter-spacing: 0;
    line-height: normal;
    margin: 0 0 5px 0;
}

.section-title-en {
    font-family: "Alfa Slab One", Helvetica;
    font-weight: 400;
    color: #000000;
    font-size: 30px;
    letter-spacing: 0;
    line-height: normal;
    margin: 0;
}

.subsection-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: #555;
}

/* 選ばれる理由 */
.service-reasons {
    padding: 80px 0;
    background: #fff;
}

.reasons-layout {
    display: flex;
    gap: 100px;
    max-width: 1200px;
    margin: 0 auto;
}

.reasons-header {
    flex-shrink: 0;
    width: 200px;
}

.reasons-content {
    flex: 1;
}

.reason-item {
    position: relative;
    margin-bottom: 60px;
}

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

.reason-bullet {
    position: absolute;
    top: 10px;
    left: 0;
    width: 10px;
    height: 10px;
    background-color: #ff6632;
    border-radius: 5px;
    display: block;
}

.reason-title {
    font-family: "YuGothic-Bold", Helvetica;
    font-weight: 700;
    color: #000000;
    font-size: 20px;
    letter-spacing: 0;
    line-height: normal;
    margin: 0 0 15px 0;
    padding-left: 20px;
}

.reason-description {
    font-family: "YuGothic-Medium", Helvetica;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0;
    line-height: 1.8;
    margin: 0;
    padding-left: 20px;
    color: #000000;
}

@media (max-width: 992px) {
    .reasons-layout {
        flex-direction: column;
        gap: 40px;
    }

    .reasons-header {
        width: 100%;
    }
}

/* きつねのメッセージ */
.info-callout {
    padding-top: 60px;
}

.callout-wrapper {
    display: flex;
    gap: 6px;
    align-items: flex-start;
    max-width: 800px;
    margin: 0 auto;
}

.callout-character {
    width: 101px;
    height: 116px;
    flex-shrink: 0;
}

.callout-bubble {
    margin-top: 1px;
    position: relative;
    flex: 1;
    overflow: hidden;
    max-width: 300px;
    background-color: #f4f4f4;
    border-radius: 100px;
    padding: 8px 20px;
    margin-left: 18px;
    margin-top: 6px;
}

.callout-arrow {
    position: absolute;
    top: 25px;
    left: -1px;
    width: 37px;
    height: 37px;
    background-size: contain;
    background-repeat: no-repeat;
}

body.single-service .callout-arrow {
    background-image: url('../images/company-page/line-11.svg');
}

.callout-text {
    font-family: "YuGothic-Medium", Helvetica;
    font-weight: 500;
    color: #000000;
    font-size: 15px;
    letter-spacing: 0;
    line-height: normal;
    margin: 0;
    display: inline-block;
    white-space: nowrap;
    animation: marquee-service 8s linear infinite;
}

@keyframes marquee-service {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@media (max-width: 768px) {
    .callout-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .callout-arrow {
        display: none;
    }

    .callout-text {
        margin-left: 0;
    }
}

/* 料金と制作時間 */
.pricing-section {
    background-color: #f4f4f4;
    padding: 60px 0 100px;
}

.pricing-section .section-header {
    text-align: center;
    margin-bottom: 90px;
}

.pricing-plans {
    display: flex;
    gap: 45px;
    justify-content: center;
    margin-bottom: 26px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-plan {
    position: relative;
    width: 284px;
    background-color: #ffffff;
    border-radius: 10px;
    border: 2px solid #000000;
    padding: 13px 17px;
    box-sizing: border-box;
}

.plan-bullet {
    position: absolute;
    top: 13px;
    left: 17px;
    width: 10px;
    height: 10px;
    background-color: #000000;
    border-radius: 5px;
    display: block;
}

.pricing-plan::before {
    content: '';
    position: absolute;
    top: 13px;
    right: 17px;
    width: 10px;
    height: 10px;
    background-color: #000000;
    border-radius: 5px;
}

.pricing-plan::after {
    content: '';
    position: absolute;
    bottom: 13px;
    left: 17px;
    width: 10px;
    height: 10px;
    background-color: #000000;
    border-radius: 5px;
}

.plan-target {
    margin-top: 15px;
    text-align: center;
    font-family: "YuGothic-Medium", Helvetica;
    font-weight: 500;
    color: #000000;
    font-size: 13px;
    letter-spacing: 0;
    line-height: normal;
    margin-bottom: 13px;
}

.plan-name {
    font-family: "YuGothic-Bold", Helvetica;
    font-weight: 700;
    color: #000000;
    font-size: 23px;
    letter-spacing: 0;
    text-align: center;
    line-height: normal;
    margin: 0 0 12px 0;
}

.plan-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plan-price {
    font-family: "YuGothic-Medium", Helvetica;
    font-weight: 500;
    color: #000000;
    font-size: 20px;
    letter-spacing: 0;
    text-align: center;
    line-height: normal;
    margin: 0;
}

.plan-features {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    list-style: none;
    padding: 0;
    margin-bottom: 12px;
}

.plan-feature {
    font-family: "YuGothic-Medium", Helvetica;
    font-weight: 500;
    color: #000000;
    font-size: 15px;
    letter-spacing: 0;
    line-height: normal;
}

.plan-bullet-bottom {
    position: absolute;
    bottom: 13px;
    right: 17px;
    width: 10px;
    height: 10px;
    background-color: #000000;
    border-radius: 5px;
    display: block;
}

/* Options Section */
.options-section {
    position: relative;
    width: 942px;
    max-width: 100%;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 10px;
    border: 2px solid #000000;
    padding: 21px 0 28px;
}

.options-section::before {
    content: '';
    position: absolute;
    top: 13px;
    left: 17px;
    width: 10px;
    height: 10px;
    background-color: #000000;
    border-radius: 5px;
}

.options-section::after {
    content: '';
    position: absolute;
    top: 13px;
    right: 17px;
    width: 10px;
    height: 10px;
    background-color: #000000;
    border-radius: 5px;
}

.options-section .options-content::before {
    content: '';
    position: absolute;
    bottom: 13px;
    left: 17px;
    width: 10px;
    height: 10px;
    background-color: #000000;
    border-radius: 5px;
}

.options-section .options-content::after {
    content: '';
    position: absolute;
    bottom: 13px;
    right: 17px;
    width: 10px;
    height: 10px;
    background-color: #000000;
    border-radius: 5px;
}

.options-title {
    font-family: "YuGothic-Bold", Helvetica;
    font-weight: 700;
    color: #000000;
    font-size: 25px;
    letter-spacing: 0;
    line-height: normal;
    text-align: center;
    margin: 0 0 35px 0;
}

.options-content {
    padding: 0 71px;
    margin-bottom: 44px;
}

.options-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.option-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "YuGothic-Medium", Helvetica;
    font-weight: 500;
    color: #000000;
    font-size: 15px;
    letter-spacing: 0;
    line-height: normal;
    padding-bottom: 10px;
    border-bottom: 2px solid #F4F4F4;
}

.option-row:last-child {
    border-bottom: none;
}

.option-name {
    flex: 1;
}

.option-price {
    text-align: right;
}

.options-note {
    font-family: "YuGothic-Medium", Helvetica;
    font-weight: 500;
    color: #000000;
    font-size: 15px;
    letter-spacing: 0;
    line-height: 30px;
    text-align: left;
    margin: 26px auto 0;
    padding: 0;
    max-width: 942px;
}

/* Workflow Section */
.workflow-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.workflow-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.workflow-header {
    flex: 0 0 300px;
    position: sticky;
    top: 100px;
}

.workflow-content {
    flex: 1;
}

.workflow-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.workflow-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number-wrapper {
    position: relative;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
}

.step-number-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    background-color: #ff6632;
    border-radius: 25px;
    display: block;
}

.step-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Alfa Slab One", Helvetica;
    font-weight: 400;
    color: #ffffff;
    font-size: 24px;
    letter-spacing: 0;
    line-height: 1;
}

.step-content {
    flex: 1;
}

.step-title {
    font-family: "YuGothic-Bold", Helvetica;
    font-weight: 700;
    color: #000000;
    font-size: 20px;
    letter-spacing: 0;
    line-height: normal;
    margin: 0 0 15px 0;
}

.step-description {
    font-family: "YuGothic-Medium", Helvetica;
    font-weight: 500;
    color: #000000;
    font-size: 15px;
    letter-spacing: 0;
    line-height: 1.8;
    margin: 0;
}

/* Info Callout Bottom */
.info-callout-bottom {
    position: relative;
    padding: 60px 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.callout-content-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.callout-bubble-bottom {
    position: relative;
    background-color: #f4f4f4;
    border-radius: 100px;
    padding: 8px 20px;
    max-width: 300px;
    overflow: hidden;
}

.callout-text-bottom {
    font-family: "YuGothic-Medium", Helvetica;
    font-weight: 500;
    color: #000000;
    font-size: 15px;
    letter-spacing: 0;
    line-height: 1.8;
    margin: 0;
    white-space: nowrap;
    display: inline-block;
    animation: marquee-service 8s linear infinite;
}

.callout-bubble-indicator {
    position: relative;
    background-color: #f4f4f4;
    border-radius: 100px;
    padding: 8px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 100px;
}

.callout-arrow-bottom {
    position: absolute;
    top: 8px;
    right: -18px;
    width: 37px;
    height: 37px;
    background-image: url('../images/company-page/line-11.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transform: scaleX(1);
    display: block;
}

.callout-indicator-text {
    font-family: "YuGothic-Medium", Helvetica;
    font-weight: 500;
    color: #000000;
    font-size: 15px;
    letter-spacing: 0;
    line-height: normal;
    margin: 0;
}

.callout-character-bottom {
    width: 99px;
    height: 129px;
    flex-shrink: 0;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.faq-section .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    max-width: 1088px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 35px;
}

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

.faq-box {
    width: 100%;
    max-width: 1079px;
    margin: 0 auto;
    min-height: 154px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #F4F4F4;
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-question {
    position: relative;
    padding-left: 50px;
    padding-top: 10px;
    padding-bottom: 20px;
    display: flex;
    align-items: center;
    margin: 0;
}

.faq-question::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 98%;
    height: 0.5px;
    background-color: rgba(0, 0, 0, 0.2);
}

.faq-label-q {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Alfa Slab One", Helvetica;
    font-weight: 400;
    color: #000000;
    font-size: 30px;
    letter-spacing: 0;
    line-height: 1;
}

.faq-question-text {
    font-family: "YuGothic-Medium", Helvetica;
    font-weight: 500;
    color: #000000;
    font-size: 15px;
    letter-spacing: 0;
    line-height: 1.8;
}

.faq-answer {
    position: relative;
    padding-left: 50px;
    padding-top: 20px;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    margin: 0;
}

.faq-label-a {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Alfa Slab One", Helvetica;
    font-weight: 400;
    color: #ff6632;
    font-size: 30px;
    letter-spacing: 0;
    line-height: 1;
}

.faq-answer-text {
    font-family: "YuGothic-Bold", Helvetica;
    font-weight: 700;
    color: #000000;
    font-size: 15px;
    letter-spacing: 0;
    line-height: 1.8;
    margin: 0;
}

/* CTA */
.service-cta {
    padding: 80px 0;
    background-color: #F4F4F4;
}

.cta-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    background-color: #ffffff;
    border-radius: 10px;
    border: 2px solid #000000;
    position: relative;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 13px;
    left: 17px;
    width: 10px;
    height: 10px;
    background-color: #000000;
    border-radius: 5px;
}

.cta-box::after {
    content: '';
    position: absolute;
    top: 13px;
    right: 17px;
    width: 10px;
    height: 10px;
    background-color: #000000;
    border-radius: 5px;
}

.cta-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #000000;
    border-radius: 5px;
}

.cta-dot--bottom-left {
    bottom: 13px;
    left: 17px;
}

.cta-dot--bottom-right {
    bottom: 13px;
    right: 17px;
}

.cta-box h2 {
    font-family: "YuGothic-Bold", Helvetica;
    font-weight: 700;
    color: #000000;
    font-size: 28px;
    letter-spacing: 0;
    line-height: normal;
    margin-bottom: 20px;
}

.cta-box p {
    font-family: "YuGothic-Medium", Helvetica;
    font-weight: 500;
    color: #000000;
    font-size: 15px;
    letter-spacing: 0;
    line-height: 1.8;
    margin-bottom: 35px;
}

.cta-button {
    display: inline-block;
    padding: 15px 60px;
    background-color: #FF6632;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-family: "YuGothic-Bold", Helvetica;
    font-weight: 700;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.cta-button:hover {
    opacity: 0.8;
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 992px) {

    .service-hero__title {
        font-size: 20px;
    }

    .service-nav-buttons {
        padding: 20px 0 20px;
    }

    .nav-buttons-wrapper {
        gap: 10px;
        padding: 0 10px;
        flex-wrap: nowrap;
    }

    .service-nav-buttons .btn-primary {
        width: calc(33.333% - 7px);
        min-width: 0;
        height: 100px;
        flex: 1 1 calc(33.333% - 7px);
        padding: 8px 4px;
        font-size: 15px;
        border-radius: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        line-height: 1.2;
        text-align: center;
    }

    .service-nav-buttons .btn-primary svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .service-reasons {
        padding: 20px 0;
    }

    .pricing-section {
        padding: 30px 0 30px;
        margin-top: 20px;
    }

    .pricing-section .section-header {
        margin-bottom: 30px;
    }

    .pricing-plans {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 0 15px;
    }

    .pricing-plan {
        width: 100%;
        padding: 15px 20px;
    }

    .plan-target {
        font-size: 12px;
        margin-top: 12px;
        margin-bottom: 10px;
    }

    .plan-name {
        font-size: 18px;
        margin-bottom: 10px;
    }

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

    .plan-feature {
        font-size: 13px;
        line-height: 1.6;
    }

    .plan-details {
        gap: 8px;
    }

    .options-content {
        flex-direction: column;
        gap: 40px;
        padding: 0 5px;
    }

    .options-section {
        width: calc(100% - 30px);
        margin: 0 15px;
        padding: 21px 15px 28px;
    }

    .options-note {
        padding: 0 15px;
        max-width: 100%;
    }

    .workflow-section {
        padding: 30px 0 30px;
    }

    .workflow-layout {
        flex-direction: column;
        gap: 40px;
    }

    .workflow-header {
        position: static;
        flex: none;
    }

    .step-number-wrapper {
        width: 40px;
        height: 40px;
    }

    .step-number-circle {
        width: 40px;
        height: 40px;
        border-radius: 40px;
    }

    .step-number {
        font-size: 20px;
    }

    .info-callout-bottom {
        flex-direction: column;
        align-items: center;
        padding: 20px 20px;
    }

    .callout-content-bottom {
        align-items: center;
        width: 100%;
    }

    .callout-bubble-bottom {
        max-width: 100%;
    }

    .callout-bubble-indicator {
        margin-right: 0;
    }

    .callout-arrow-bottom {
        display: none;
    }

    .faq-list {
        padding: 0 15px;
    }

    .faq-box {
        padding: 15px;
        min-height: auto;
    }

    .faq-question {
        padding-left: 40px;
    }

    .faq-label-q {
        font-size: 24px;
    }

    .faq-question-text {
        font-size: 14px;
    }

    .faq-answer {
        padding-left: 40px;
    }

    .faq-label-a {
        font-size: 24px;
    }

    .faq-answer-text {
        font-size: 14px;
    }

    .service-cta {
        padding: 30px 0 30px;
    }

    .cta-box {
        padding: 40px 20px;
        margin: 0 15px;
    }

    .cta-box h2 {
        font-size: 22px;
    }

    .cta-box p {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .cta-button {
        padding: 12px 40px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .service-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .fox-message-box {
        flex-direction: column;
        text-align: center;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .option-item {
        flex-direction: column;
        gap: 10px;
    }
}