@charset "UTF-8";

html {
    scroll-behavior: auto !important;
}

/* features-list h4 タイトル装飾 */
.features-list h4 {
    position: relative;
    padding-left: 7em;
    text-align: left;
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.features-list h4 span {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 1.5rem;
    color: #fff;
    border-radius: 10px;
    background: #ef833c;
    font-size: 1.8rem;
}

.features-list h4 span i {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.features-list h4 span:after {
    position: absolute;
    top: calc(50% - 7px);
    right: -11px;
    width: 0;
    height: 0;
    content: '';
    border-width: 7px 0 7px 12px;
    border-style: solid;
    border-color: transparent transparent transparent #ef833c;
}

body,
html {
    margin: 20px 0;
    padding: 0;
    height: 100%;
    font-family: 'Murecho', sans-serif;
    background-color: #fff;
    color: #555;
}

/* 「楽ロボの主な機能」各機能の説明文のみ */
.features-list p {
    font-size: 1rem;
    /* 文字をさらに大きく */
    line-height: 1.8;
    /* 行間を広めに */
    color: #555;
}

.features-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.features-summary-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 4px 4px 0 #f0e6c4;
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    border: 2px solid transparent;
}

.features-summary-card.is-active {
    border-color: #ef833c;
    box-shadow: 6px 6px 0 #ef833c;
    transform: translateY(-2px);
}

.features-summary-number {
    display: inline-block;
    background: #ef833c;
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.features-summary-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: space-between;
}

.features-summary-texts {
    flex: 1 1 60%;
    min-width: 0;
}

.features-summary-thumb {
    width: 35%;
    max-width: 140px;
    min-width: 90px;
    height: auto;
    border-radius: 8px;
    margin: 0;
    display: block;
    object-fit: cover;
}

.features-summary-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.features-summary-text {
    font-size: 0.95rem;
    margin: 0;
    color: #666;
}

.new-feature-teaser {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff5e8;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    text-align: left;
    flex-wrap: wrap;
}

.new-feature-teaser p {
    margin: 0;
    font-size: 1rem;
    color: #555;
    flex: 1 1 300px;
}

.new-badge {
    display: inline-block;
    background: #ef833c;
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.new-feature-link {
    font-weight: 700;
    color: #ef833c;
    text-decoration: underline;
    white-space: nowrap;
}

.features-accordion {
    text-align: left;
}

.feature-accordion-item {
    border: none;
    margin: 0 0 1rem;
}

.feature-accordion-summary {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #fff;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 4px 4px 0 #f0e6c4;
    list-style: none;
}

.feature-accordion-summary::-webkit-details-marker {
    display: none;
}

.feature-accordion-summary::after {
    content: "+";
    margin-left: auto;
    font-size: 1.2rem;
    color: #ef833c;
}

.feature-accordion-item[open] .feature-accordion-summary::after {
    content: "-";
}

.feature-accordion-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ef833c;
    color: #fff;
    border-radius: 10px;
    padding: 0.2rem 0.6rem;
    font-size: 0.85rem;
}

.feature-accordion-title {
    font-size: 1.05rem;
    color: #333;
}

.feature-accordion-panel {
    margin-top: 0.75rem;
}

.back-to-tabs-wrap {
    margin-top: 2rem;
    text-align: right;
}

.back-to-tabs {
    font-weight: 700;
    color: #ef833c;
    text-decoration: underline;
}

.hero,
.plans-section,
.points-section,
.hero-points,
.pain-points {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: left;
    gap: 2rem;
    margin-top: 100px;
}

.hero-subtitle {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.hero-subtitle img {
    max-width: 300px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-content h1 .accent {
    font-family: Arial, sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0);
    text-shadow: 3px 3px 0 #cd5;
    -webkit-text-stroke: 1px #888;
    text-stroke: 1px #888;
    padding: 0 0 10px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: 0;
    margin-right: 0;
    font-weight: normal;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* プラン紹介セクション */
.plans-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.plans {
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.plan,
.hero-point-card {
    background-color: #fff;
    color: #333;
    /* 文字色を濃いグレーに */
    border: none;
    /* 波線枠線を削除 */
    border-radius: 12px;
    padding: 1.5rem;
    flex: 1 1 calc(25% - 1rem);
    min-width: 200px;
    box-sizing: border-box;
    text-align: center;
    font-family: 'Murecho', sans-serif;
    position: relative;
    box-shadow: 8px 8px 0 #EDD360;
    /* ずらし影 */
}

.hero-point-card {
    background-color: #f8f5e6;
    box-shadow: 8px 8px 0 #EDD360;
    /* ずらし影 */
}

.plan::before,
.hero-point-card::before {
    content: none;
    /* 波線枠線を削除 */
}

.plan h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
    /* 見出しも濃いグレー */
    font-weight: 700;
}

.plan p {
    font-size: 1rem;
    color: #555;
    line-height: 1.4;
    font-weight: normal;
}

/* ポイント訴求部分 */
.points-section {
    font-family: 'Murecho', sans-serif;
}

.points-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.points-list {
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    flex-wrap: wrap;
}

.point {
    background-color: #e0f7fa;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    flex: 1 1 calc(25% - 1rem);
    min-width: 200px;
    box-sizing: border-box;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    color: #00796b;
    font-weight: 600;
    text-align: center;
}

.point p {
    font-weight: normal;
}

/* .hero-points カード形式 */
.hero-points {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-point-card img {
    margin-bottom: 1rem;
}

.hero-point-card p {
    font-size: 1.2rem;
    color: #333;
    /* 見出しと本文も濃いグレー */
    font-weight: normal;
    margin: 0;
}

.cards-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.highlight-marker {
    background: linear-gradient(to bottom, rgba(255, 241, 118, 0) 0%, #fff176 65%, rgba(255, 241, 118, 0) 100%);
    padding: 0 4px;
    border-radius: 2px;
    background-repeat: no-repeat;
    background-size: 100% 0.50em;
    /* 下1/3くらいの高さ */
    background-position: 0 0.7em;
    /* 文字の下側に配置 */
}

.highlight {
    font-size: 2.5rem;
    /* 強調文字を大きく */
    font-weight: 700;
}

.cards-title .small {
    font-size: 1.8rem;
    /* 小さい文字 */
    font-weight: 600;
}

.new-feature-kicker {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border: 2px solid #ef833c;
    color: #ef833c;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        height: auto;
        max-width: 100%;
    }

    .hero-content p,
    .hero-content h1 {
        max-width: 100%;
    }

    .hero-image {
        margin-top: 1.5rem;
    }

    .plans {
        flex-direction: column;
    }

    .points-list {
        flex-direction: column;
    }

    .hero-points {
        flex-direction: column;
    }

    .store-logos-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .features-summary {
        grid-template-columns: 1fr;
    }

    .new-feature-teaser {
        align-items: flex-start;
    }

    .feature-accordion-summary {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .back-to-tabs-wrap {
        text-align: left;
    }

    .features-summary-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .features-summary-thumb {
        width: 100%;
        max-width: none;
    }
}

/* 追加CSS: こんなお困りごとはありませんか？ のカード調整 */
.pain-points-list {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 1rem;
}

.pain-points-list>div {
    flex: 1 1 calc(25% - 1rem);
    /* 4つ横並び */
    min-width: 200px;
    /* 最小幅を確保 */
    box-sizing: border-box;
    font-weight: 700;
    /* 太字を解除 */
}

.plan p,
.point p,
.hero-content p,
.hero-point-card p {
    font-weight: 500;
}

.why-choose .title {
    font-size: 1rem;
    font-weight: 700;
    color: #317e34
}

.why-choose p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    font-weight: 600;
}

.why-choose .circle {
    width: 60px;
    height: 60px;
    background: #4caf50;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

.features h3.feature-title {
    position: relative;
    overflow: hidden;
    padding: 0.5rem 2rem 1.5rem 110px;
    margin: 0 0 2rem 0;
    word-break: break-all;
    border-radius: 12px 0 0 0;
    font-size: 1.8rem;
    text-align: left;
    font-weight: 500;
}

.features h3.feature-title span {
    font-size: 3rem;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    padding: 0px 20px;
    color: #fff;
    border-radius: 10px 0 20px 20px;
}

.features h3.odd {
    border-top: 3px solid #ef833c;
}

.features h3.even {
    border-top: 3px solid #ef833c;
}

.features h3.odd span {
    color: #f9f9f9;
    background: #ef833c;
}

.features h3.even span {
    color: #fffbe6;
    background: #ef833c;
}

.features-cards .title {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 0 0.5rem 0;
}

.appearText {
    display: inline-block;
    font-weight: 500;
    color: #555;
}

.store-logos {
    max-width: 900px;
    margin: 4rem auto 2rem;
    padding: 3rem 1rem;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 12px;
}

.store-logos h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.store-logos-divider {
    width: 60px;
    height: 4px;
    background: #EDD360;
    margin: 0 auto 2rem;
}

.store-logos-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: center;
    justify-items: center;
}

.store-logos-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.store-logos-list a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.store-logos-list img {
    display: block;
    max-width: 128px;
    height: auto;
    object-fit: contain;
}

.store-logos-more {
    margin-top: 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #777;
    letter-spacing: 0.1em;
}

.function-diff-title {
    max-width: 900px;
    margin: 4rem auto 0;
    text-align: center;
    padding: 0 1rem;
}

.function-diff-title h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.lineArrow {
    width: 110%;
    height: 15px;
    border-bottom: 2px solid #555;
    border-left: 3px solid #555;
    transform: skew(-45deg);
    margin: -10px 0 0 -25px;
    transition: all 0.3s ease;
}

.lineArrow-right {
    width: 110%;
    height: 15px;
    border-bottom: 2px solid #555;
    border-right: 3px solid #555;
    transform: skew(45deg);
    margin: -10px 0 0 -25px;
    transition: all 0.3s ease;
}

h1.title-22 {
    position: relative;
    padding: 8px 32px;
    font-size: 24px;
    letter-spacing: 0.1em;
    color: #333;
    font-weight: 700;
    display: block;
    box-sizing: border-box;
    max-width: 520px;
    text-align: center;
    margin: 24px;
    margin-inline: auto;
}

.title-22::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -12px;
    background: #333;
    width: 52px;
    height: 3px;
    rotate: 60deg;
    display: inline-block;
}

.title-22::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 4px;
    background: #333;
    width: 60%;
    height: 3px;
}

.plan-container h2 {
    color: #000;
}

.underline02 {
    background: linear-gradient(transparent 50%, #f5ff00 60%);
}

.plan-title {
    font-weight: bold;
    font-size: 1.25rem;
}

.plan-price {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 0.5rem;
}

.plan-note {
    font-size: 0.9rem;
    color: #d00;
}

table {
    border-collapse: collapse;
}

thead th {
    border-bottom: 2px solid #dee2e6;
    text-align: center;
    vertical-align: middle;
}

tbody td {
    border-top: 1px solid #dee2e6;
    vertical-align: middle;
    text-align: center;
}

tbody th {
    border-top: 1px solid #dee2e6;
    text-align: left;
    vertical-align: middle;
    font-weight: bold;
    white-space: nowrap;
    padding-left: 1rem !important;
}

tbody th.subtitle {
    font-size: 0.9rem;
    color: dimgrey;
    padding-top: 10px;
    padding-left: 0px !important;
}

tbody th.maintitle {
    font-size: 1.0rem;
    color: darkgoldenrod;
    padding-top: 40px;
    padding-left: 0px !important;
}

.plan-name {
    font-weight: bold;
    color: #000;
}

.note-cell {
    color: #d00;
    font-size: 0.9rem;
}

.img-cell img {
    width: 80px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.function-diff-list {
    max-width: 1100px;
    margin: 3rem auto 0;
    padding: 0 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    cursor: grab;
}

.function-diff-list .table {
    margin: 0 auto;
    min-width: 1200px;
}

.function-diff-list .table tbody tr:hover th,
.function-diff-list .table tbody tr:hover td {
    background: #fff7d6;
}

.function-diff-list .note {
    font-size: 0.8rem;
    line-height: 1rem;
}

.function-diff-list::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
    transition: opacity 0.2s ease;
}

.function-diff-list::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.2s ease;
}

.function-diff-list.at-start::before {
    opacity: 0;
}

.function-diff-list.at-end::after {
    opacity: 0;
}

.function-diff-list.is-dragging {
    cursor: grabbing;
}

.function-diff-list .table th:first-child,
.function-diff-list .table td:first-child {
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 2;
    box-shadow: 2px 0 0 #eee;
}

.function-diff-list .table thead th:first-child {
    z-index: 3;
}

.scroll-hint {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ef833c;
    letter-spacing: 0.08em;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    pointer-events: none;
}

/* 新しいカード風レイアウト用 */
.plan-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.plan-card img {
    width: 120px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.plan-card .plan-price {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 0;
}

.plan-card .plan-note {
    font-size: 0.9rem;
    color: #d00;
}

.price-num {
    font-size: 2.0rem;
    font-weight: bold;
}

.price-unit {
    font-size: 1rem;
}

.price-text {
    font-size: 1.2rem;
    font-weight: bold;
}

.price-subtext {
    font-size: 0.9rem;
    font-weight: bold;
}

.price-annotation {
    font-size: 0.8rem;
}

tbody td .price-unit {
    font-size: 0.9rem;
}
