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

body {
    color: #333333;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 160%;
    text-align: justify;
}

.container {
    max-width: 375px;
    margin: 0 auto;
    background-color: white;
}

/* ヘッダー */
.header {
    position: fixed !important;
    top: 0;
    z-index: 100;
    background-color: #fff;
    padding: 15px;
    text-align: center;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
    width: 375px;
}

.header-logo {
    width: 327px;
    height: 37px;
    text-align: left;
}

.header-logo-image {
    width: 250px;
    height: 20px;
    margin-top: 8px;
}

.header-logo-share {
    position: absolute;
    top: 20px;
    right: 20px;
}

.header-logo-share-image {
    /* position: absolute; */
    top: 15px;
    right: 0px;
}

/* 固定ボタン */
.fixed_area {
    position: fixed;
    bottom: 0;
    width: 375px;
    background-color: white;
    color: black;
    text-align: center;
    padding: 6px 0 10px 0;
    font-size: 16px;
    font-weight: bold;
    z-index: 1000;
}

.bottom-button {
    height: 60px;
    width: 327px;
    background-color: #178760;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 60px;
    text-align: center;
    text-decoration: none;
    display: block;
    margin: 0px auto;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* メインタイトルセクション */
.service-title {
    background-color: #178760;
    color: white;
    padding: 15px 0 0 0;
    text-align: center;
}

.service-title-text1 {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    text-align: center;
}

.service-title-text2 {
    padding: 10px 0 15px 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    text-align: center;
}

/* メインコンテンツ */
.service-content {
    background-color: rgba(225, 239, 234, 1.0);
    background-image: url('../image/top2_kv.png');
    background-size: contain;
    background-position: top;
    background-repeat: no-repeat;
    padding: 30px 20px;
    margin-top: 60px;
    position: relative;
    min-height: 630px;
    width: 375px;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.main-content>* {
    position: relative;
    z-index: 2;
}

.catchphrase {
    width: 300px;
    height: auto;
    padding-bottom: 10px;
}

.catchphrase_img {
    width: 336px;
    height: 90px;
}

.free-logo {
    text-align: right;
}

.free-log-img {
    width: 80px;
    height: 80px;
}

.service-description {
    color: #333333;
    margin-bottom: 30px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: -1%;
    text-align: justify;
}

/* トップ画像セクション */
.top-image-section {
    width: 100%;
    text-align: center;
    padding: 0;
    margin: 0;
}

.top-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 400px;
}

.project-title {
    color: #333333;
    margin-bottom: 3px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 160%;
    /* text-decoration: underline; */
    /* text-decoration-color: rgb(255, 197, 46); */
    background: linear-gradient(transparent 90%, rgb(255, 197, 46) 10%);
    display: inline-block;
}

.project-text {
    color: #333333;
    margin-top: 10px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 170%;
    letter-spacing: 1%;
    text-align: justify;
}

.bg-color-white {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 320px;
}

/* プロジェクト説明 */
.project-description {
    background-color: rgba(225, 239, 234, 1.0);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 10px 24px 0px 24px;
}

/* .project-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
} */

/* .project-description>* {
    position: relative;
    z-index: 2;
} */

.project-subtitle {
    color: #333333;
    margin-bottom: 20px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 160%;
    text-align: justify;
}

/* ロゴセクション */
.project-logo {
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
    position: absolute;
    bottom: 16px;
}

.project-logo-image {
    width: 263px;
    height: 75px;
}

.project-image {
    width: 327px;
    height: auto;
    display: block;
    align-items: center;
    justify-content: center;
    /* color: #999;
    font-size: 14px; */
    margin: 0 auto;
}


/* 下部セクション */
.bottom-section {
    background-color: #FFF;
    padding: 30px 20px 0 20px;
}

.bottom-title {
    color: #178760;
    margin-bottom: 20px;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 160%;
    text-align: justify;
}

.bottom-text {
    color: #333333;
    margin-top: 12px;
    margin-bottom: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 170%;
    letter-spacing: 2%;
    text-align: justify;
}

.bottom-image1 {
    width: 327px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    /* color: #999;
    font-size: 14px; */
}

.bottom-image2 {
    width: 375px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    /* color: #999;
    font-size: 14px; */
}


.speech-bubble-container {
    position: relative;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

.speech-bubble {
    position: relative;
    display: inline-block;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold !important;
    margin-bottom: 20px;
    padding: 16px;
    border: 5px solid #e6e6e6;
    border-radius: 8px;
    background-color: #ffffff;
    text-align: left;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.5;
    color: #000000;
}

.speech-bubble::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    border-style: solid;
    border-width: 20px 10px 0 10px;
    border-color: #e6e6e6 transparent transparent;
    translate: -50% 100%;
}

.speech-bubble::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    border-style: solid;
    border-width: 8.8px 4.4px 0 4.4px;
    border-color: #ffffff transparent transparent;
    translate: -50% 100%;
}

.speech-bubble-text {
    /* text-decoration: underline; */
    /* text-decoration-color: rgb(255, 197, 46); */
    background: linear-gradient(transparent 90%, rgb(255, 197, 46) 10%);
    display: inline-block;
}


/* サービス機能セクション */
.features-section {
    background-color: rgba(225, 239, 234, 1.0);
    padding: 30px 20px;
}

.feature-title {
    color: #178760;
    margin-bottom: 30px;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 150%;
}

.feature-item {
    background-color: white;
    border-radius: 6px;
    padding: 24px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    box-shadow: 2.72px 2.72px 0px 0px #0000001A;
}

.feature-image {
    width: 100%;
    text-align: center;
}

.feature-phone-image {
    width: 295px;
    height: auto;
}

.feature-content {
    width: 100%;
    text-align: left;
}

.feature-point {
    width: 77px;
    height: 24px;
    background-color: #178760;
    color: white;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.feature-point-text1 {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-size: 9.96px;
    line-height: 1;
}

.feature-point-text2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 17.07px;
    line-height: 1;
}

.feature-subtitle {
    color: #333333;
    margin-top: 10px;
    margin-bottom: 8px;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 160%;
    text-align: justify;
}

.feature-text {
    color: #333333;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 170%;
    letter-spacing: 2%;
    text-align: justify;
}

/* 利用者の声セクション */
.testimonials-section {
    background-color: white;
    padding: 30px 24px;
}

.testimonials-title {
    color: #178760;
    margin-bottom: 30px;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 150%;
}

.testimonial-item {
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
}

.testimonial-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.testimonial-avatar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 16px;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 10px;
    text-align: center;
    line-height: 1.2;
}

.avatar-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.testimonial-content {
    flex: 1;
}

.testimonial-info {
    color: #333333;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 150%;
    padding-left: 10px;
}

.testimonial-text {
    color: #333333;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 170%;
    letter-spacing: 2%;
}

/* LINE登録の流れセクション */
.registration-flow-section {
    background-color: rgba(225, 239, 234, 1.0);
    padding: 30px 24px;
}

.flow-title {
    color: #178760;
    margin: 26px 0;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 150%;
}

.flow-step {
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    box-shadow: 2.72px 2.72px 0px 0px #0000001A;
}

.step-image {
    width: 100%;
    text-align: center;
}

.step-phone-image {
    width: 295px;
    height: auto;
    border-radius: 10px;
}

.step-content {
    width: 100%;
    text-align: left;
}

.step-number {
    background-color: #178760;
    color: white;
    width: 76px;
    height: 24px;
    border-radius: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}


.step-number-text1 {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-size: 9.96px;
    line-height: 1;
}

.step-number-text2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 17.07px;
    line-height: 1;
    padding-left: 3px;
}

.step-description {
    color: #333333;
    margin-bottom: 8px;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 160%;
    text-align: justify;

}

.step-note {
    color: #333333;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 170%;
    letter-spacing: 2%;
    text-align: justify;

}

/* よくある質問セクション */
.faq-section {
    background-color: white;
    padding: 30px 20px;
}

.faq-title {
    font-size: 28px;
    font-weight: bold;
    color: #333333;
    /* margin-bottom: 30px; */
    padding-bottom: 24px;
    border-bottom: 1px solid #C3C3C3;
}

.faq-item {
    margin-bottom: 10px;
    padding: 10px 0 20px 0;
    border-bottom: 1px solid #C3C3C3;
}


.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #333333;
    line-height: 1.5;
    cursor: pointer;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-q {
    background-color: #178760;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 20.8px;
    line-height: 1;
    letter-spacing: 0.8px;
    text-align: center;

}

.faq-question-text {
    flex: 1;
    margin-left: 10px;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 140%;

}

.faq-toggle {
    font-size: 40px;
    color: #ccc;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 15px 30px;
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    font-weight: normal;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: #178760;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* 個人情報の取り扱いセクション */
.privacy-section {
    background-color: #178760;
    padding: 30px 22px;
}

.privacy-content {
    width: 328px;
    background-color: white;
    border-radius: 15px;
    padding: 16px;
    position: relative;
    margin-top: 30px;
}

.privacy-icon {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.privacy-icon-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: white;
    padding: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.privacy-title {
    color: #333333;
    margin-top: 50px;
    margin-bottom: 16px;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 160%;
    text-align: center;
}

.privacy-text-box {
    width: 296px;
    height: 320px;
    padding: 20px;
    overflow-y: scroll;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fafafa;
    position: relative;
}

/* スクロールインジケーター */
.scroll-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: #178760;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    -webkit-transform: translateX(-50%);
    -webkit-transition: opacity 0.3s ease;
}

/* スクロール位置が最下部に近い時はインジケーターを非表示 */
.privacy-text-box.scrolled-bottom .scroll-indicator {
    opacity: 0;
}

/* スクロールバーのスタイリング */
.privacy-text-box::-webkit-scrollbar {
    width: 8px;
}

.privacy-text-box::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.privacy-text-box::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border-radius: 4px;
}

.privacy-text-box::-webkit-scrollbar-thumb:hover {
    background: #a0a0a0;
}

.privacy-text {
    color: #333333;
    margin-bottom: 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 2%;
}

.privacy-text li {
    margin-left: 20px;
    list-style-type: disc;
}

.privacy-button {
    width: 210px;
    color: #178760;
    padding: 10px 20px;
    border: #178760 solid 1px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    display: inline-block;
    cursor: pointer;
}

.privacy-agree-check {
    text-align: center;
    margin-top: 24px;
    margin-bottom: 40px;
}

.privacy-checkbox {
    margin-bottom: 20px;
    text-align: center;
}

.privacy-checkbox input {
    margin-right: 8px;
    transition: opacity 0.3s ease;
}

.privacy-checkbox input:disabled {
    cursor: not-allowed;
}

.privacy-checkbox input:disabled+label {
    cursor: not-allowed;
    opacity: 0.5;
}

.privacy-checkbox label {
    color: #333333;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 180%;
    text-align: center;
}

.start-button {
    background-color: #178760;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.start-button-image {
    width: 160px;
    height: auto;
}

/* フッター */
.footer {
    background-color: #FFF;
    padding: 40px;
    margin-bottom: 100px;
}

.footer-logo {
    font-size: 14px;
    color: rgba(51, 51, 51, 0.5);
    margin-bottom: 20px;
    text-align: center;
}

.footer-logo-image {
    width: 288px;
    height: 23px;
    margin-top: 8px;
}

.footer-links {
    color: #333333;
    margin-bottom: 24px;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 180%;
}

.footer-links-icon {
    width: 17px;
    height: 17px;
    margin-left: 3px;
    vertical-align: middle;
}

.footer-link {
    margin-bottom: 20px;
}

.footer-link-copyright {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1;
}