/* Symphony Onepla Landing Page Styles - Optimized */

/* Google Fonts読み込み */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Anton&display=swap');

/* CSS Reset and Base Styles */
html {
    font-size: 68.75%;
}

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

body {
    font-size: 1.6rem;
    font-family: 'Noto Sans JP', "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #303538;
    background-color: #fff;
}

/* Header (symphony-onepla) */
/* Hero Section */
.symphony-hero {
    position: relative;
    padding: 8rem 2rem 4rem;
    background-color: rgba(248, 248, 248, 0.5);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.symphony-hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.symphony-hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.symphony-hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.75);
}

.symphony-hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4rem;
}

.symphony-hero-main {
    max-width: 80rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.symphony-hero-title {
    font-size: 4.2rem;
    font-weight: bold;
    line-height: 1.4;
}

.symphony-hero-badge {
    display: inline-block;
    background-color: #008ec1;
    color: white;
    padding: 0.25rem 0.75rem;
    margin: 0 0.25rem;
    font-size: 1.4rem;
    border-radius: 0.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.symphony-hero-subtitle {
    font-size: 2.4rem;
}

.symphony-hero-campaign {
    font-size: 1.8rem;
    line-height: 1.8;
    margin-top: -0.8rem;
    margin-bottom: 0.8rem;
}

.symphony-hero-title-campaign {
    display: block;
    margin: 0;
}

.symphony-hero-campaign .u-marker {
    font-size: 1.8rem;
    padding: 0.25rem 0;
}

.symphony-hero-message-wrapper {
    display: grid;
    margin-top: 1.2rem;
    gap: 0;
}

.symphony-hero-message {
    grid-area: 1 / 1 / 2 / 2;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.symphony-hero-message.is-active {
    opacity: 1;
    transform: translateY(0);
}

.symphony-hero-line {
    display: block;
    color: inherit;
}

.symphony-hero-line--lead {
    font-size: 2.6rem;
    font-weight: 600;
}

.symphony-hero-line--main {
    font-size: 3.6rem;
    font-weight: 700;
}


.symphony-cta-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.symphony-cta-wrapper .u-comment_balloon__wrapper {
    position: static;
    top: auto;
    bottom: auto;
    left: auto;
    transform: none;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    order: 2;
}

.symphony-cta-wrapper .symphony-cta-button {
    order: 1;
}

.symphony-cta-wrapper .u-comment_balloon {
    min-width: 30rem;
    line-height: 1.4;
    white-space: normal;
    text-align: center;
    max-width: 100%;
    font-size: 1.2rem;
}

.symphony-cta-wrapper .u-comment_balloon::before {
    bottom: auto;
    top: -6.5px;
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
}

.symphony-cta-wrapper .u-comment_balloon::after {
    bottom: auto;
    top: -5px;
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
}

.symphony-cta-button {
    display: inline-block;
    font-size: 1.8rem;
    padding: 2.5rem 5rem;
    height: auto;
    font-weight: bold;
    background: linear-gradient(90deg, #F48171 0%, #E5533E 100%);
    color: white;
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.symphony-cta-button:hover {
    background: linear-gradient(90deg, #E5533E 0%, #D43A2A 100%);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.symphony-hero-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem 0;
}

.symphony-hero-merit {
    display: none;
    flex-direction: column;
    padding: 2.4rem;
    gap: 1rem;
    background-color: #fff;
    border-radius: 0.8rem;
    box-shadow: 0 0 30px 0 #008EC142;
    margin-top: 1rem;
}

.symphony-hero-merit-title {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
    color: #008EC1;
    font-size: 1.6rem;
    font-weight: 700;
}

.symphony-hero-merit-title::before,
.symphony-hero-merit-title::after {
    content: "";
    width: 18px;
    height: 1px;
    background-color: #008EC1;
}

.symphony-hero-merit-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.symphony-hero-merit-list li {
    position: relative;
    line-height: 1.5;
    padding-left: 2.6rem;
    font-size: 1.4rem;
}

.symphony-hero-merit-list li::before {
    content: "";
    position: absolute;
    background: url(../img/common/icon_checkmark.svg) no-repeat center center;
    background-size: 20px;
    width: 20px;
    height: 20px;
    left: 0;
    top: 2px;
}

.symphony-hero-merit-list .marker {
    font-weight: 700;
    background: linear-gradient(180deg, rgba(225, 248, 251, 0) 0%, rgba(225, 248, 251, 0) 70%, #E1F8FB 70%, #E1F8FB 100%);
}

.symphony-feature-card {
    background-color: white;
    border: 1px solid #e5e5e5;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.symphony-feature-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.symphony-feature-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #303538;
}

.symphony-feature-desc {
    font-size: 1.4rem;
    color: #6A7A6F;
    line-height: 1.6;
}


/* Service Detail Section */
.symphony-service-detail {
    padding: 4rem 2rem;
    background-color: #fff;
}

.symphony-service-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.symphony-service-text {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.symphony-service-paragraph {
    font-size: 1.6rem;
    line-height: 1.7;
    color: #303538;
}

.symphony-service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 1.6rem;
    line-height: 1.7;
    color: #303538;
    padding-left: 1.5rem;
}

.symphony-service-image {
    flex: 1;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.symphony-service-img {
    width: 70%;
    height: auto;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

.symphony-platform-screens {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

.symphony-screen-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.symphony-screen-title {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    color: #303538;
}

.symphony-screen-container {
    width: 100%;
    aspect-ratio: 4/3;
    border: 1px solid #e5e5e5;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.symphony-screen-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.symphony-screen-caption {
    text-align: center;
    font-size: 1.2rem;
    color: #6A7A6F;
    margin-top: 0.8rem;
}

/* Merit Section */
.symphony-merit {
    padding: 4rem 2rem;
    background-color: rgba(248, 248, 248, 0.3);
}

/* Introduction List Styles for Symphony */
.symphony-merit .p-introduction_list {
    counter-reset: cnt;
}

.symphony-merit .sec_pbt {
    list-style-type: none;
    counter-increment: cnt;
    position: relative;
    padding-top: 11rem;
    display: block;
    margin: auto;
}

.symphony-merit .sec_pbt::before {
    position: absolute;
    top: 5.5rem;
    left: 0;
    content: "0" counter(cnt) ".";
    font-family: 'Anton', sans-serif;
    color: #e5e5e5;
    font-size: 6rem;
    line-height: 3.6rem;
    letter-spacing: 3px;
}

.symphony-merit .prl {
    padding-left: 2rem;
    padding-right: 2rem;
}

.symphony-merit .sec_title {
    margin-bottom: 2rem;
}

.symphony-merit .sec_title h3 {
    position: relative;
    display: block;
    font-size: 2.2rem;
    line-height: 2.8rem;
    text-align: left;
    color: #303538;
    margin-bottom: 1.7rem;
    font-weight: 700;
    z-index: 2;
}

.symphony-merit .sec_cap {
    box-sizing: border-box;
    padding: 1.1rem 1.4rem;
    background-color: #008EC1;
    font-weight: bold;
    color: #fff;
    display: block;
    position: relative;
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 1.8rem;
}

.symphony-merit .c-summary {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 4rem;
    color: #303538;
}

.symphony-merit-description {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #303538;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .symphony-merit .sec_pbt {
        padding-top: 9rem;
        margin-bottom: 8rem;
    }
    
    .symphony-merit .sec_pbt::before {
        top: 2rem;
        font-size: 7rem;
    }
    
    .symphony-merit .sec_title h3 {
        font-size: 3rem;
        line-height: 4rem;
        margin-bottom: 2.8rem;
    }
    
    .symphony-merit .sec_cap {
        text-align: left;
        padding: 1.1rem 3rem;
        font-size: 2.2rem;
        border-radius: 100px;
        margin-bottom: 4rem;
    }
    
    .symphony-merit .prl {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.symphony-table-note {
    text-align: right;
    font-size: 1.2rem;
    color: #6A7A6F;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.symphony-pricing-table,
.symphony-transport-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.symphony-pricing-table thead,
.symphony-transport-table thead {
    border-bottom: 2px solid #f3f4f6;
    background-color: #f9fafb;
}

.symphony-pricing-table th,
.symphony-pricing-table td,
.symphony-transport-table th,
.symphony-transport-table td {
    padding: 1.25rem;
    text-align: left;
    font-size: 1.4rem;
}

.symphony-pricing-table th,
.symphony-transport-table th {
    font-weight: bold;
    text-align: center;
    color: #303538;
}

.symphony-pricing-table td,
.symphony-transport-table td {
    text-align: center;
    color: #303538;
}

.symphony-pricing-table tbody tr,
.symphony-transport-table tbody tr {
    border-bottom: 1px solid #e5e5e5;
}

.symphony-highlight-row {
    background-color: rgba(0, 142, 193, 0.1);
    font-weight: bold;
    color: #008ec1;
}

.symphony-transport-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.symphony-check-icon {
    color: #008ec1;
    font-weight: bold;
}

.symphony-network-diagram {
    margin-top: 3rem;
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
}

.symphony-network-placeholder {
    position: relative;
    aspect-ratio: 16/9;
    background-color: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.symphony-network-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background-color: #fff;
}

.symphony-network-text {
    text-align: center;
    padding: 2.5rem;
    color: #6A7A6F;
    font-size: 1.4rem;
}

.symphony-network-subtext {
    font-size: 1.2rem;
}

.symphony-network-note {
    font-size: 1.4rem;
    color: #6A7A6F;
}

/* Application Form Section */
.symphony-application {
    padding: 4rem 2rem;
    background-color: rgba(248, 248, 248, 0.3);
}


.symphony-form-card {
    padding: 3rem;
    border: 1px solid #e5e5e5;
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.symphony-form-title {
    font-size: 2.6rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #303538;
}

.symphony-form-description {
    font-size: 1.6rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #303538;
}

.symphony-form-embed {
    margin-bottom: 2rem;
}

.symphony-form-embed iframe {
    width: 100%;
    height: 1200px;
    border: none;
}

.symphony-form-fallback {
    text-align: center;
    margin-top: 2rem;
}

.symphony-form-link {
    color: #F48171;
    text-decoration: underline;
}

.symphony-sticky-cta {
    display: none;
}

.symphony-sticky-cta__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #00A4E3, #007BB8);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    padding: 1.2rem 1.6rem;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.symphony-sticky-cta__button:active {
    opacity: 0.9;
    transform: translateY(1px);
}

.symphony-form-info {
    margin-top: 2rem;
}

.symphony-form-note {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.7;
    color: #303538;
}

.symphony-form-privacy {
    font-size: 1.2rem;
    color: #6A7A6F;
    text-align: center;
}

/* FAQ Section */
.symphony-faq {
    padding: 4rem 2rem;
    background-color: rgba(248, 248, 248, 0.3);
}

.symphony-accordion {
    width: 100%;
}

.symphony-accordion-item {
    border-bottom: 1px solid #e5e5e5;
    padding: 2rem 0;
}

.symphony-accordion-item:last-child {
    border-bottom: none;
}

.symphony-accordion-trigger {
    width: 100%;
    padding: 0;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: left;
    background: none;
    border: none;
    color: #303538;
    display: block;
    cursor: default;
}

.symphony-accordion-content {
    display: block;
    max-height: none;
    overflow: visible;
    opacity: 1;
}

.symphony-accordion-content p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #6A7A6F;
    margin: 0;
}

/* Responsive Design */
@media (min-width: 768px) {
    .symphony-hero-features {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .symphony-service-content {
        flex-direction: row;
    }
    
    .symphony-platform-screens {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .symphony-pricing-table-container,
    .symphony-transport-table-container {
        overflow-x: auto;
    }
}

@media (min-width: 1024px) {
    .symphony-hero-title {
        font-size: 5rem;
    }
    
    .symphony-hero-subtitle {
        font-size: 2.8rem;
    }
    
    .symphony-hero-line--lead {
        font-size: 3rem;
    }
    
    .symphony-hero-line--main {
        font-size: 4.2rem;
    }
}

@media (max-width: 767px) {
    .symphony-hero-title {
        font-size: 3rem;
    }

    /* 注釈をテーブル幅に合わせて1行表示（横スクロールと同じ幅を確保） */
    .symphony-pricing-table-container .symphony-table-note,
    .symphony-transport-table-container .symphony-table-note {
        white-space: nowrap;
        min-width: 560px;
        display: inline-block;
    }

    .symphony-sticky-cta {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 0.8rem 1.4rem calc(0.8rem + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.12);
        display: block;
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transform: translateY(100%);
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .symphony-sticky-cta.is-visible {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .symphony-sticky-cta__button {
        width: 100%;
        font-size: 1.6rem;
    }
    
    .symphony-hero-subtitle {
        font-size: 1.9rem;
    }
    
    .symphony-hero-campaign {
        font-size: 1.6rem;
    }
    
    .symphony-hero-campaign .u-marker {
        font-size: 1.6rem;
    }
    
    .symphony-hero-line--lead {
        font-size: 2.1rem;
    }
    
    .symphony-hero-line--main {
        font-size: 2.7rem;
    }
    
    .symphony-cta-wrapper .u-comment_balloon {
        font-size: 1.4rem;
        min-width: 24rem;
        padding: 0.6rem 1.2rem;
    }
    
    .symphony-feature-title {
        font-size: 1.7rem;
    }
    
    .symphony-feature-desc {
        font-size: 1.2rem;
    }
    
    .symphony-form-title {
        font-size: 2.2rem;
    }
    
    .symphony-form-description {
        font-size: 1.3rem;
    }
    
    .symphony-accordion-trigger {
        font-size: 1.4rem;
    }
    
    .symphony-accordion-content p {
        font-size: 1.3rem;
    }
    
    .symphony-accordion-item {
        padding: 1.5rem 0;
    }
}

/* SP寄せ（memberstore基準） */
@media only screen and (max-width: 1079px) {
    html {
        font-size: 62.5%;
    }

    .u-cw {
        padding-left: 1.6rem;
        padding-right: 1.6rem;
    }

    .s-title_border {
        margin: 8rem 0 3rem;
    }

    .symphony-hero {
        min-height: auto;
        padding: 6rem 1.6rem 3.5rem;
    }

    .symphony-hero-content {
        gap: 3rem;
    }

    .symphony-hero-title {
        font-size: 2.6rem;
        line-height: 1.35;
    }

    .symphony-hero-line--lead {
        font-size: 1.9rem;
    }

    .symphony-hero-line--main {
        font-size: 2.4rem;
    }

    .symphony-cta-wrapper {
        width: 100%;
    }

    .symphony-cta-button {
        width: 100%;
        padding: 1.6rem 1.8rem;
        font-size: 1.6rem;
        box-shadow: 0 3px 10px rgba(64, 64, 64, 0.3);
    }

    .symphony-hero-features {
        gap: 1.6rem;
        padding: 1.5rem 0;
        display: none;
    }

    .symphony-feature-card {
        padding: 1.6rem;
    }

    .symphony-hero-merit {
        display: flex;
    }

    .symphony-service-detail,
    .symphony-merit,
    .symphony-application,
    .symphony-faq {
        padding: 3.2rem 1.6rem;
    }

    .symphony-service-content {
        gap: 2.4rem;
    }

    .symphony-service-paragraph,
    .symphony-merit .c-summary,
    .symphony-merit-description {
        font-size: 1.5rem;
    }

    .symphony-platform-screens {
        gap: 2.4rem;
    }

    .symphony-screen-container {
        aspect-ratio: 4/3;
    }

    .symphony-merit .sec_pbt {
        padding-top: 7rem;
        margin-bottom: 5rem;
    }

    .symphony-merit .sec_pbt::before {
        top: 1.6rem;
        font-size: 5rem;
    }

    .symphony-merit .sec_title h3 {
        font-size: 2rem;
        line-height: 1.5;
    }

    .symphony-merit .sec_cap {
        font-size: 1.6rem;
        padding: 1rem 1.4rem;
    }

    .symphony-table-note {
        text-align: left;
    }

    .symphony-pricing-table-container,
    .symphony-transport-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .symphony-pricing-table,
    .symphony-transport-table {
        min-width: 560px;
    }

    .symphony-form-card {
        padding: 2.4rem 1.6rem;
    }

    .symphony-accordion-item {
        padding: 1.6rem 0;
    }

    .symphony-accordion-trigger {
        font-size: 1.5rem;
    }

    .symphony-accordion-content p {
        font-size: 1.3rem;
    }

    /* SPでは先行エントリーフォームセクションを非表示（下部固定CTAを優先） */
    .symphony-application {
        display: none;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.symphony-accordion-trigger:focus,
.symphony-cta-button:focus {
    outline: 2px solid #F48171;
    outline-offset: 2px;
}

/* Google Form Instructions */
.symphony-form-instructions {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #f9fafb;
    border: 1px solid #e5e5e5;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.symphony-form-instructions h4 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #303538;
}

.symphony-form-instructions ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.symphony-form-instructions li {
    margin-bottom: 0.5rem;
}

.symphony-form-instructions ul {
    margin-left: 1rem;
    margin-top: 0.5rem;
}

.symphony-form-instructions a {
    color: #F48171;
    text-decoration: underline;
}

.symphony-form-instructions a:hover {
    color: #E5533E;
}
