/* 全体のスタイル */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333333;
    background-color: #f9f9f9;
    -webkit-text-size-adjust: 100%;
}

/* ヘッダー */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-logo {
    flex: none;
}

.header-logo img {
    max-height: 60px;
}

nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    justify-content: flex-end;
    flex: 3;
    margin-left: 20px;
}

.nav-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    flex: 3;
}

.nav-links ul li {
    margin: 0 15px;
}

.nav-links ul li a {
    color: #333333;
    text-decoration: none;
    font-size: 16px;
    text-align: left;
    padding-bottom: 5px;
}

.nav-links ul li a:hover,
.nav-links ul li a:focus {
    color: #1B8372;
    border-bottom: 2px solid #1B8372;
}

.nav-buttons {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.nav-buttons a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 35px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-buttons .register-button-header {
    background-color: #fc5340;
}

.nav-buttons .register-button-header img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.nav-buttons .register-button-header span {
    font-size: 16px;
    font-weight: bold;
}

.nav-buttons .register-button-header:hover,
.nav-buttons .register-button-header:focus {
    background-color: #ff6656;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-end;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-bar {
    width: 24px;
    height: 2px;
    background-color: #333333;
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.open .menu-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open .menu-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open .menu-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* heroセクション */
#hero {
    background-color: #f9f9f9;
    color: #333333;
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 60px;
    padding-bottom: 0;
}

.hero-content {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-text {
    width: 50%;
    padding: 20px;
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translate(-10%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    z-index: 1;
}

.hero-text h2 {
    font-size: 38px;
    margin-bottom: 10px;
    text-align: left;
    color: #333333;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: left;
}

.hero-text .cta-button {
    background-color: #fc5340;
    color: #ffffff;
    padding: 15px;
    text-decoration: none;
    border-radius: 20px;
    display: inline-block;
    margin-top: 20px;
    width: 200px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-text .cta-button .arrow {
    margin-left: 10px;
}

.hero-text .cta-button:hover,
.hero-text .cta-button:focus {
    background-color: #ff6656;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.hero-image {
    width: 70%;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
}

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

/* 各セクション */
.section-light {
    background-color: #f9f9f9;
    color: #333333;
    padding: 50px 20px;
    padding-bottom: 50px;
    text-align: center;
    margin-top: 0;
}

.section-white {
    background-color: #ffffff;
    color: #333333;
    padding: 50px 20px;
    padding-bottom: 50px;
    text-align: center;
}

.section-light-yellow {
    background-color: #fef9c3;
    color: #333333;
    padding: 50px 20px;
    padding-bottom: 50px;
    text-align: center;
}

.content-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

h2 {
    font-size: 32px;
    margin-bottom: 70px;
    text-align: center;
    color: #146154;
}

h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.flow-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.flow-step {
    background-color: inherit;
    color: #333333;
    padding: 30px 20px;
    box-sizing: border-box;
    text-align: left;
    width: calc(50% - 21px);
}

.flow-step:nth-child(odd) {
    border-right: 1px solid #ddd;
}

.features-container {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 20px;
}

.feature {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: calc(33.333% - 14px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.feature h3 {
    font-size: 20px;
    margin: 20px 0 10px;
    color: #333333;
}

.feature p {
    padding: 0 20px 20px;
    font-size: 16px;
    color: #666666;
}

.slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slider-button {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    display: block;
}

.slider-button.left {
    left: 0;
}

.slider-button.right {
    right: 0;
}

.slider-button.hidden {
    display: none;
}

.members-slider {
    display: flex;
    justify-content: flex-start;
    overflow: hidden;
    scroll-behavior: smooth;
    gap: 10px;
    scroll-snap-type: x mandatory;
}

.member {
    background-color: #ffffff;
    color: #333333;
    padding: 30px 20px;
    box-sizing: border-box;
    text-align: center;
    flex: 0 0 300px;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    scroll-snap-align: start;
}

.member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
}

.highlights-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.highlight-card {
    background-color: inherit;
    color: #333333;
    padding: 30px 20px;
    box-sizing: border-box;
    text-align: left;
    width: calc(33.333% - 14px);
    border: 1px solid #ddd;
}

.accordion {
    margin-top: 20px;
}

.accordion-item {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.accordion-header {
    background-color: #65e0cc;
    color: #ffffff;
    cursor: pointer;
    padding: 15px;
    text-align: left;
    border: none;
    outline: none;
    width: 100%;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

.accordion-header:hover,
.accordion-header:focus {
    background-color: #57ccb2;
}

.accordion-icon {
    font-size: 24px;
}

.accordion-content {
    background-color: #ffffff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 15px;
}

.accordion-content p {
    padding: 15px 0;
    font-size: 16px;
    font-weight: bold;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
}

.accordion-item.active .accordion-header .accordion-icon {
    transform: none;
    content: "−";
}

/* フッター */
footer {
    background-color: #f0f0f0;
    color: #333333;
    text-align: center;
    padding: 40px 20px;
    font-size: 14px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 10px 0;
}

.footer-logo img {
    max-height: 70px;
    margin-bottom: 20px;
}

.footer-column a {
    color: #333333;
    text-decoration: none;
    margin: 5px 0;
    display: inline-flex;
    align-items: center;
}

.footer-column a:hover {
    text-decoration: underline;
}

.link-icon {
    margin-left: 5px;
    width: 1em;
    height: auto;
}

.register-button-fixed {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #fc5340;
    color: #ffffff;
    padding: 10px;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.register-button-fixed img {
    width: 24px;
    height: 24px;
}

.register-button-fixed span {
    font-size: 10px;
    font-weight: bold;
}

/* 無料登録ボタンのスタイル */
.register-button {
    display: inline-block;
    padding: 10px 20px;
    color: #ffffff;
    background-color: #fc5340;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.register-button:hover,
.register-button:focus {
    background-color: #fc5340;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* お問い合わせボタンのスタイル */
.contact-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.contact-item {
    flex: 1;
    text-align: center;
    margin: 0 10px;
}

.contact-button {
    display: inline-block;
    padding: 10px 20px;
    color: #ffffff;
    background-color: #57ccb2;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-button:hover,
.contact-button:focus {
    background-color: #4ba998;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* 問い合わせフォームのスタイル */
#contact-form {
    background-color: #ffffff;
    padding: 50px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    max-width: 800px;
    margin: 50px auto;
}

#contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#contact-form label {
    font-weight: bold;
    color: #333333;
}

#contact-form .required-label {
    color: red;
    font-weight: bold;
}

#contact-form .optional-label {
    color: green;
    font-weight: bold;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

#contact-form textarea {
    height: 150px;
    resize: vertical;
}

#contact-form .error {
    color: red;
    font-size: 14px;
    margin-top: 5px;
}

#contact-form button {
    background-color: #fc5340;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 35px;
    margin: 0 auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

#contact-form button:hover,
#contact-form button:focus {
    background-color: #ff6656;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#contact-form .checkbox-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

#contact-form .checkbox-label {
    display: flex;
    align-items: center;
    margin-left: 0;
    margin-bottom: 10px;
    white-space: nowrap;
}

#contact-form .checkbox-label input[type="checkbox"] {
    margin-right: 5px;
}

#contact-form .checkbox-label label {
    font-weight: normal;
}

#contact-form .note-text {
    font-size: 0.8em;
    margin-bottom: 10px;
    justify-content: flex-start;
}

#contact-form .privacy-policy-text {
    text-align: center;
    margin-bottom: 10px;
}

/* Thanksページのスタイル */
#thanks-section {
    padding: 100px 20px;
    text-align: center;
}

#thanks-section p {
    font-size: 18px;
    margin-bottom: 50px;
    text-align: center;
}

.button-container {
    text-align: center;
}

.back-button {
    background-color: #fc5340;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.back-button:hover,
.back-button:focus {
    background-color: #ff6656;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* 登録フォームのスタイル */
#register-form {
    background-color: #ffffff;
    padding: 50px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    max-width: 800px;
    margin: 50px auto;
}

#register-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#register-form label {
    font-weight: bold;
    color: #333333;
    margin-bottom: 5px;
}

#register-form .required-label {
    color: red;
    font-weight: bold;
}

#register-form .optional-label {
    color: green;
    font-weight: bold;
}

#register-form input,
#register-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    margin-top: 10px;
}

#register-form textarea {
    height: 150px;
    resize: vertical;
}

#register-form .error {
    color: red;
    font-size: 14px;
    margin-top: 5px;
}

#register-form button {
    background-color: #fc5340;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 35px;
    margin: 0 auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

#register-form button:hover,
#register-form button:focus {
    background-color: #ff6656;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#register-form .terms-text {
    text-align: center;
    margin-bottom: 10px;
}

/* 利用規約ページのスタイル */
#terms {
    padding: 100px 20px;
}

/* プライバシーポリシー */
#privacy-policy {
    padding: 100px 20px;
}


/* メディアクエリ */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        display: none;
        padding: 20px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links ul {
        flex-direction: column;
        width: 100%;
    }

    .nav-links ul li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: flex;
        align-items: flex-end;
    }

    .nav-buttons {
        display: none;
    }

    .mobile-register {
        display: flex;
        justify-content: flex-start;
        margin-top: 20px;
        width: 100%;
    }

    .nav-links ul li.mobile-register {
        display: flex;
        justify-content: flex-start;
        width: 100%;
    }

    .nav-links ul li.mobile-register a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        color: #ffffff;
        text-decoration: none;
        font-weight: bold;
        padding: 10px 20px;
        border-radius: 50px;
        background-color: #fc5340;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
        height: 40px;
        width: 140px;
        text-align: center;
    }

    .nav-links ul li.mobile-register a img {
        width: 24px;
        height: 24px;
        margin-right: 10px;
    }

    .nav-links ul li.mobile-register a span {
        font-size: 16px;
        font-weight: bold;
    }

    .nav-links ul li.mobile-register a:hover,
    .nav-links ul li.mobile-register a:focus {
        background-color: #ff6656;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    }

    #hero {
        height: calc(100vh - 60px);
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    .hero-text {
        width: 90%;
        padding: 20px;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.6);
        z-index: 1;
    }

    .hero-text h2 {
        font-size: 22px;
        margin-bottom: 10px;
        color: #333333;
        text-align: center;
    }

    .hero-text p {
        font-size: 14px;
        margin-bottom: 20px;
        text-align: center;
    }

    .hero-text .cta-button {
        background-color: #fc5340;
        color: #ffffff;
        padding: 10px 15px;
        text-decoration: none;
        border-radius: 20px;
        display: inline-block;
        margin-top: 20px;
        width: 200px;
        text-align: center;
        font-size: 14px;
        font-weight: bold;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-text .cta-button .arrow {
        margin-left: 10px;
    }

    .hero-text .cta-button:hover,
    .hero-text .cta-button:focus {
        background-color: #ff6656;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    }

    .hero-image {
        width: 100%;
        height: calc(100vh - 60px);
        object-fit: cover;
    }

    .flow-container {
        flex-direction: column;
        border: none;
    }

    .flow-step {
        width: 100%;
        border-right: none;
        border-left: none;
        padding: 20px 0;
    }

    .features-container {
        flex-direction: column;
    }

    .feature {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .feature img {
        height: 200px;
    }

    .highlights-container {
        flex-direction: column;
    }

    .highlight-card {
        width: 100%;
    }

    .members-slider {
        flex-wrap: nowrap;
        overflow-x: scroll;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-column {
        width: 100%;
        text-align: center;
        font-size: 11px;
    }

    .footer-column a {
        margin: 10px 0;
        font-size: 11px;
    }

    .footer-logo {
        align-items: center;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    h2 {
        font-size: 24px;
        margin-bottom: 50px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 18px;
    }

    p {
        font-size: 14px;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-item {
        margin: 10px 0;
    }

    .service-image {
        width: 100%;
        height: auto;
    }
}

@media (min-width: 769px) {
    .mobile-register {
        display: none;
    }

    .service-image {
        width: 100%;
        height: auto;
    }
}

