@charset "utf-8";

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    width: 100%;
    max-width: 100vw;
    height: auto;
    font-family: "Noto Sans JP", Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #f4f4f4;
}

/* header */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    padding:8px;
}

.logo-container{
    width: 180px;
    height: auto;
}

.space {
    width: 280px;
    height: auto;
    display: block;
}

.logo {
    width: 100%;
    height: auto;
    display: block;
}

.tel-section{
    text-align: center;
    padding: 8px;
}

.tel-desc {
    font-size: 12px;
    color: #000;
    padding-left: 24px;
    text-align: center;
}

.tel-box{
    display: flex;
    justify-content: center;
    align-items: center;
}

.tel-container {

}

.header-right-container{
    display: flex;
    align-items: center;
}

.tel-icon {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    margin-right: 8px;
}

.tel-num {
    font-size: 32px;
    color: #333;
    margin: 0;
    font-weight: bold;
    text-decoration: none;
}

.tel-link {
    color: #000;
    text-decoration: none !important;
}

.tel-link:hover {
    color: #000;
    text-decoration: none !important;
}

.tel-link:visited {
    color: #000;
    text-decoration: none !important;
}

.tel-link:active {
    color: #000;
    text-decoration: none !important;
}

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

.support-desc-container {
    background-color: #33a853;
    font-weight: bold;
}

.support-desc {
    padding: 4px;
}

@media (max-width: 580px) {
    .logo-container {
        width: 120px;
    }
    .header-right-container {
    display: flex;
    align-items: center;
    }
    .tel-icon {
        margin-right: 0;
        margin-bottom: 4px;
    }
    .tel-num {
        font-size: 24px;
    }
}
@media (max-width: 500px) {
    .site-header {
        flex-direction: column;
        align-items: center;
    }
}

.copy {
    text-align: center;
    font-size: 12px;
    color: #777;
    padding: 16px 0;
}

/* main */
.mv {
    width: 100%;
    height: auto;
    background-image: url('../img/mv.png');
    background-size: cover;
    background-position: center;
    padding: 64px 0;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    margin-bottom: 64px;
    padding: 40px 0;
}

.mv-left-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: fit-content;
    margin-right: auto;
    padding: 0 10%;
}

.mv-left {
    text-align: left;
    font-weight: bold;
    z-index: 100;
}

.main-copy {
    font-size: 48px;
    text-align: left;
    margin: 48px 0 0 0 ;
    font-weight: bold;
    color: #fff;
    filter: drop-shadow(2px 2px 8px rgba(0,0,0,0.4));
}
.main-plus {
    font-size: 32px;
    text-align: center;
    margin: 0;
    font-weight: bold;
    color: #fff;
    filter: drop-shadow(2px 2px 8px rgba(0,0,0,0.4));
}

.main-copy2 {
    font-size: 48px;
    text-align: left;
    margin: 0;
    font-weight: bold;
    color: #fff;
    filter: drop-shadow(2px 2px 8px rgba(0,0,0,0.4));
}

.mv-img-container {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 500px;
    height: auto;
}

.mv-img {
    width: 100%;
    height: auto;
    display: block;
}

.left-btn-container {
    z-index: 200;
    margin-top: 24px;
    width: fit-content;
    height: auto;
    display: block;
}

.left-btn-container:hover {
    cursor: pointer;
    opacity: 0.8;
}

.mv-cta-btn-container {
    text-decoration: none;

}

.mv-video {
    width: 250px;
    height: auto;
}

.mv-cta-btn {
    border: none;
    background-color: #295BB0;
    display: flex;
    z-index: 100;
    border-radius: 80px;
    padding: 12px 24px;
    align-items: center;
}

.mv-cta-icon {
    width: 32px;
    height: 32px;
    margin: 8px;
}

.mv-cta-text {
    color: #fff;
    text-align: left;
    margin: 8px;
}

.cta-sub-text {
    font-size: 11px;
    margin: 0;
    margin-bottom: 4px;
}

.cta-main-text{
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    text-align: center;
}

.mv-bottom-container {
    display: flex;
}

.bottom-right-container {
    background-color: #fff;
    width: 80%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 16px;
    gap: 40px;
    z-index: 300;
}

.video-main-text {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
}

.video-sub-text {
    font-size: 14px;
    text-align: center;
}

.bottom-right-right-main-text {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    font-weight: bold;
}

.bottom-right-right-sub-text {
    font-size: 12px;
    text-align: center;
}

@media(max-width: 1200px) {
    .line-break {
    display: block;
}
}

@media(max-width: 980px) {
    .main-copy {
        font-size: 36px;
    }
    .main-plus {
        font-size: 28px;
    }
    .main-copy2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .main-plus {
        font-size: 24px;
    }
    .main-copy2 {
        font-size: 24px;
    }

    .mv-img-container {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 300px;
        height: auto;
    }

    .left-btn-container {
    z-index: 200;
    width: 100%;
    height: auto;
    }

    .mv-bottom-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 80%;
    }

    .bottom-left {
        z-index: 2000;
        width: 100%;
    }

    .bottom-right-container {
        margin: 0;
        width: 100%;
        gap: 16px;
        padding: 16px;
    }

    .mv-video {
        width: 100%;
        height: auto;
    }

    .cta-sub-text {
    font-size: 9px;
    margin: 0;
    margin-bottom: 4px;
}

    .cta-main-text{
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    text-align: center;
}
    .mv-bottom-container {
        width: 300px;
    }
    .video-main-text {
        font-size: 16px;
    }
    .video-sub-text {
        font-size: 10px;
    }
    .bottom-right-right-main-text {
        font-size: 14px;
    }
    .bottom-right-right-sub-text {
        font-size: 9px;
    }
}


@media (max-width: 580px) {
    .mv-img-container {
        width: 200px;
    }
    .mv-copy {
        font-size: 18px;
    }
    .mv-copy2 {
        font-size: 18px;
    }
        .mv-cta-icon {
        width: 20px;
        height: 20px;
        margin: 4px;
    }
}

@media (max-width: 500px) {
    .mv-copy {
        font-size: 14px;
    }
    .mv-copy2 {
        font-size: 14px;
    }
    .mv-cta-text {
        font-size: 14px;
    }
}

@media (max-width: 390px) {
    .main-copy {
        font-size: 30px;
    }
    .display-n,
    .cta-sub-text .display-n,
    span.display-n {
        display: none !important;
    }
}
.change-line{
    display: inline;
}
@media (max-width: 375px) {
    .change-line{
        display: block;
    }
}




/* 太陽光発電導入10のメリット */
.merits-section {
    width: 100%;
    background: #fff;
    padding: 60px 20px;
    box-sizing: border-box;
}

.merits-container {
    max-width: 1200px;
    margin: 0 auto;
}

.merits-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 60px;
}

.merits-number {
    font-size: 64px;
    color: #4fc3f7;
    font-weight: bold;
}

.merits-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.merit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.merit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.merit-number-badge {
    min-width: 80px;
    height: 80px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
    color: #fff;
    flex-shrink: 0;
}

.merit-number-badge.blue {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
}

.merit-number-badge.green {
    background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%);
}

.merit-number-badge.yellow {
    background: linear-gradient(135deg, #ffd54f 0%, #fbc02d 100%);
}

.merit-number-badge.orange {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.merit-content {
    flex: 1;
}

.merit-heading {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0 0 15px 0;
}

.merit-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    float: right;
    margin-left: 20px;
}

.merit-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .merits-title {
        font-size: 28px;
    }

    .merits-number {
        font-size: 48px;
    }

    .merit-item {
        flex-direction: column;
        padding: 20px;
    }

    .merit-number-badge {
        width: 60px;
        height: 60px;
        min-width: 60px;
        font-size: 36px;
    }

    .merit-heading {
        font-size: 20px;
    }

    .merit-image {
        float: none;
        margin: 0 0 15px 0;
        max-width: 100%;
    }

    .merit-text {
        font-size: 14px;
    }
}
@media (max-width: 500px) {
    .merits-title {
        font-size: 20px;
    }

    .merits-number {
        font-size: 36px;
    }

    .merit-number-badge {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 28px;
    }

    .merit-heading {
        font-size: 18px;
    }

    .merit-text {
        font-size: 13px;
    }
}

/* 2ndCTA Section */
.second-cta-section {
    width: 60%;
    height: auto;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0
}

.second-cta-bg{
    background-image: url("../img/cta-bg.png");
    width: 100%;
    height: 280px;
    padding: 0 24px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.second-container {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}
.second-cta-img-container {
    width: 40%;
    /* width: fit-content; */
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}
.second-cta-btn-container {
    justify-content: center;
    align-items: center;
    display: flex;
}

.cta-family-img {
    margin-right: auto;
}

@media (max-width: 768px) {
    .second-cta-section {
        width: 100%;
    }
}

@media (max-width: 680px) {
    .second-cta-img-container {
        display: none;
    }

    .mv-cta-btn {
        width: 100%;
        max-width: 420px;
        justify-content: center;
        padding: 8px 16px;
    }

    .mv-cta-text {
        text-align: center;
    }
}

/* 3rdSection */
.third-section {
    width: 100%;
    height: auto;
    background-image: url('../img/AdobeStock_1609045406.jpeg');
    background-size: cover;
    padding: 64px 24px;
    box-sizing: border-box;
    background-position: center;
}
.third-container {
    max-width: 600px;
    background-color: rgba(255, 255, 255, 0.8);
    margin: 0 auto;
    padding: 40px;
}
.third-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 60px;
}
.dream-item {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}
.checkbox {
    width: 24px;
    height: 24px;
    background-color: #9ED748;
    border-radius: 24px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 12px;
    flex-shrink: 0;
    position: relative;
}
.checkbox::after {
    border-right: 6px solid #fff;
    border-bottom: 3px solid #fff;
    content: '';
    display: block;
    height: 20px;
    left: 7px;
    margin-top: -16px;
    position: absolute;
    top: 50%;
    transform: rotate(45deg) translate3d(0,2px,0) scale3d(.7,.7,1);
    width: 9px;
}

.dream-item-text {
    font-size: 18px;
    line-height: 1.8;
    font-weight: bold;
}
@media (max-width: 768px) {
    .third-container {
        padding: 24px;
    }
    .third-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    .dream-item-text {
        font-size: 16px;
        font-weight: 500;
    }
    .dream-item {
        margin-bottom: 16px;
    }
}
@media (max-width: 500px) {
    .third-container {
        padding: 24px;
    }
    .third-title {
        font-size: 20px;
        margin-bottom: 18px;
    }
    .dream-item-text {
        font-size: 14px;
    }
}

/* 4th Section */
.fourth-section {
    width: 100%;
    background: #f9f9f9;
    padding: 60px 20px;
    box-sizing: border-box;
}

.fourth-title, .sixth-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 60px;
}
.flow-container {
    max-width: 1000px;
    margin: 0 auto;
}
.flow-lists {
    display: grid;
    place-items: center;
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: start;
    gap: 24px;
    padding: 0;
    list-style: none;
}
.flow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
}
.flow-img {
    width: 80px;
    height: auto;
}
.flow-desc {
    margin-top: 12px;
    font-size: 14px;
    color: #555;
    text-align: center;
}
.num {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    margin-bottom: 8px;
}
@media (max-width: 1200px) {
    .flow-lists {
        grid-template-columns: repeat(4, minmax(120px, 1fr));
        gap: 16px;
    }

}
@media (max-width: 1000px) {
    .flow-lists {
        gap: 8px;
    }
    .flow-container {
    max-width: 800px;
    margin: 0 auto;
}
}
@media (max-width: 800px) {
    .flow-lists {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        gap: 16px;
    }
    .flow-item {
        width: 100px;
    }
    .flow-container {
    max-width: 400px;
    margin: 0 auto;
}
}
@media (max-width: 500px) {
    .flow-lists {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        gap: 16px;
    }
    .flow-item {
        width: 100px;
    }
    .flow-container {
    max-width: 400px;
    margin: 0 auto;
}
}
/* 6th Section */
.sixth-section {
    width: 100%;
    height: auto;
    min-height: 600px;
    background: #fff;
    padding: 60px 0 0 0;
    box-sizing: border-box;
}
.sixth-container {
    width: 100%;
    height: auto;
    position: relative;
}
.achievement-container {
    width: 100%;
    height: auto;
}
.achievements-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    height: auto;
    gap: 0;
}
.achievements-list img {
    width: calc(25%);
    height: auto;
    object-fit: cover;
}
.parallel {
    display: flex;
    position: relative;
}
.constructing-illust {
    width: 20%;
    height: auto;
    position: absolute;
    /* bottom: 100px; */
    left: 20%;
    bottom: 0;
    transform: translate(-20%, 50%);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    scale: 0.7;
}
.sixth-num {
    color: #295BB0;
    font-weight: 900;
    font-size: 128px;
    font-style: italic;
    position: absolute;
    right: 5%;
    bottom: 0;
    transform: translate(-20%, 50%);
}
.sixth-num-sub {
    font-size: 32px;
    bottom: 0;
}
@media (max-width: 1200px) {
    .sixth-num {
        font-size: 80px;
    }
    .sixth-section {
        min-height: 400px;
    }
}
@media (max-width: 768px) {
    .fourth-title, .sixth-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    .constructing-illust {
        scale: 1.4;
    }
    .flow-desc {
        font-size: 12px;
    }
    .sixth-num {
        font-size: 128px;
        bottom: 0;
        transform: translate(0, 100%);
    }
    .sixth-num-sub {
    font-size: 24px;
}
    .achievements-list img {
        width: calc(50%);
    }
    .sixth-section {
        min-height: 800px;
    }
}
@media (max-width: 670px) {
    .sixth-num {
    font-size: 88px;
}
.sixth-section {
        min-height: 700px;
    }
}

@media (max-width: 500px) {
    .fourth-title, .sixth-title {
        font-size: 20px;
        margin-bottom: 40px;
    }
    .sixth-section {
        min-height: 600px;
    }
        .sixth-num {
        font-size: 64px;
    }
    .sixth-num-sub {
    font-size: 18px;
}
}
@media (max-width: 400px) {
    .sixth-section {
        min-height: 480px;
    }
}
/* よくある質問セクション */
.faq-section {
    width: 100%;
    background: #fff;
    padding: 60px 20px;
    box-sizing: border-box;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 60px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
    background: linear-gradient(135deg, #a8d850 0%, #8bc34a 100%);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, #99c940 0%, #7ab33a 100%);
}

.faq-q-label {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    flex-shrink: 0;
}

.faq-q-text {
    flex: 1;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    line-height: 1.6;
}

.faq-toggle {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    cursor: pointer;
    width: 40px;
    text-align: center;
}

.faq-answer {
    background: #f5f9e9;
    padding: 20px;
    display: flex;
    gap: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.closed {
    display: none;
}

.faq-a-label {
    font-size: 28px;
    font-weight: bold;
    color: #8bc34a;
    flex-shrink: 0;
}

.faq-a-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .faq-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .faq-question {
        padding: 15px;
    }

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

    .faq-q-text {
        font-size: 16px;
    }

    .faq-toggle {
        font-size: 28px;
    }

    .faq-answer {
        padding: 15px;
    }

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

/* Contact Form Section */
.contact-form-section {
    width: 100%;
    background: linear-gradient(135deg, #a8d850 0%, #8bc34a 100%);
    padding: 60px 20px;
    box-sizing: border-box;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-tag {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.9);
    color: #8bc34a;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 16px;
}

.form-title {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    line-height: 1.5;
}

.contact-form {
    background-color: transparent;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.half {
    flex: 1;
}

.form-group.full {
    width: 100%;
    margin-bottom: 20px;
}

.form-group label {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.required {
    background-color: #fff;
    color: #8bc34a;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    background-color: #fff;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.form-checkbox {
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-checkbox label {
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.form-submit {
    text-align: center;
    margin: 30px 0;
}

.submit-btn {
    background-color: #00bfa5;
    color: #fff;
    border: none;
    padding: 16px 60px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.submit-btn:hover {
    background-color: #00a693;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-privacy {
    text-align: center;
    margin-top: 30px;
}

.form-privacy p {
    color: #fff;
    font-size: 12px;
    line-height: 1.6;
}

.privacy-note {
    font-size: 11px;
}

.privacy-link {
    color: #fff;
    text-decoration: underline;
}

.privacy-link:hover {
    opacity: 0.8;
}

/* Form Messages */
.form-message {
    margin: 20px 0;
    padding: 20px;
    border-radius: 8px;
    animation: slideDown 0.3s ease;
    transition: opacity 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-message {
    background-color: rgba(255, 255, 255, 0.95);
    border-left: 4px solid #4caf50;
}

.success-message .message-content {
    color: #2e7d32;
}

.success-message .message-content strong {
    color: #4caf50;
    font-size: 16px;
}

.error-message {
    background-color: rgba(255, 255, 255, 0.95);
    border-left: 4px solid #f44336;
}

.error-message .message-content {
    color: #c62828;
}

.error-message .message-content strong {
    color: #f44336;
    font-size: 16px;
}

.error-message ul {
    margin: 10px 0 0 20px;
    padding: 0;
}

.error-message li {
    margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .form-title {
        font-size: 22px;
    }

    .submit-btn {
        padding: 14px 40px;
        font-size: 14px;
    }
}

/* Field Validation Styles */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border: 2px solid #f44336;
    background-color: #ffebee;
}

.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
    border: 2px solid #4caf50;
    background-color: #e8f5e9;
}

.field-error-message {
    color: #d32f2f !important;
    font-size: 13px;
    font-weight: 500;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: fadeIn 0.3s ease;
}

.field-error-message::before {
    content: "⚠️";
    font-size: 14px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Plans Section */
.plans-section {
    width: 100%;
    padding: 60px 20px;
    background: linear-gradient(to bottom, #e8f5f0 0%, #ffffff 100%);
}

.plans-container {
    max-width: 1200px;
    margin: 0 auto;
}

.plans-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.plans-title-text {
    display: flex;
    flex-direction: column;
}

.plans-title-slash {
    font-size: 48px;
    color: #3DC684;
    font-weight: bold;
    line-height: 1;
}

.left-slash {
    transform: translateY(-5px);
}

.right-slash {
    transform: translateY(-5px);
}

.plans-title-line1,
.plans-title-line2 {
    display: block;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    justify-items: center;
}

.plan-card-wrapper {
    position: relative;
    max-width: 380px;
    width: 100%;
    margin-top: 20px;
}

.plan-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 380px;
    width: 100%;
    transition: transform 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.plan-header {
    padding: 20px;
    text-align: center;
    color: #ffffff;
}

.plan-header-green {
    background-color: #3DC684;
}

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #9ED748;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(158, 215, 72, 0.3);
    white-space: nowrap;
}

.plan-target {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.plan-body {
    padding: 30px 20px;
}

.plan-name {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.plan-subtitle {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 0;
    line-height: 1.6;
}

.plan-benefit {
    color: #3DC684;
    font-weight: bold;
}

.plan-price {
    text-align: center;
    margin: 0;
}

.price-label {
    font-size: 14px;
    color: #666;
    margin-right: 5px;
}

.price-amount {
    font-size: 48px;
    font-weight: bold;
    color: #3DC684;
    margin: 0 5px;
}

.price-currency {
    font-size: 20px;
    color: #333;
}

.plan-total {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.plan-illustration {
    width: 100%;
    max-width: 280px;
    height: auto;
    display: block;
    margin: 20px auto;
}

.plan-effect-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
}

.plan-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
    border-radius: 8px;
}

.plan-button {
    width: 100%;
    padding: 15px;
    background-color: #3DC684;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 20px;
}

.plan-button:hover {
    background-color: #2fb072;
}

.plan-button-link {
    display: block;
    text-decoration: none;
    margin-bottom: 20px;
}

.plan-button-link .plan-button {
    margin-bottom: 0;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    padding: 8px 0 8px 25px;
    font-size: 13px;
    color: #666;
    position: relative;
    line-height: 1.5;
}

.plan-features li::before {
    content: "✓";
    color: #3DC684;
    font-weight: bold;
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .plans-title {
        font-size: 22px;
    }

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

    .plan-name {
        font-size: 20px;
    }

    .price-amount {
        font-size: 36px;
    }
}

/* 小画面用の非表示クラス - 最優先 */
@media (max-width: 390px) {
    span.display-n {
        display: none !important;
        visibility: hidden !important;
    }
}

/* footer */
.footer-container {
    width: 100%;
    height: auto;
    background-color: #3DC684;
    padding: 24px;
    box-sizing: border-box;
    color: #fff;
}
.footer-menu {
    display: flex;
    justify-content: right;
    gap: 32px;
    margin: 0 24px 0 0;
    font-size: 16px;
}
.footer-menu a {
    color: #fff;
    text-decoration: none;
}
.footer-menu a:hover {
    color: #fff;
}
.footer-menu a:visited {
    color: #fff;
}
.footer-menu a:active {
    color: #fff;
}
    .footer-item {
        font-size: 14px;
    }
.copy {
    text-align: center;
    font-size: 12px;
    color: #fff;
    padding: 16px 0 0 0;
}
@media (max-width: 500px) {
    .footer-logo {
        display: block;
        margin: 24px auto;
        width: 120px;
    }
    .footer-menu {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin: 0;
    }

}