body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.header-container {
    background-color: white;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}
.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-image {
    max-height: 50px;
    width: auto;
}
.buttons {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    align-items: flex-end;
}
.button {
    padding: 10px 20px;
    background: linear-gradient(to right, #ff6b6b, #ff3e3e);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    white-space: nowrap;
}
.line-button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.line-text {
    margin: 0;
    font-size: 0.8em;
    white-space: nowrap;
}
.line-button {
    display: flex;
    align-items: center;
}

/*FV*/
.hero {
    background-image: url(./src/image/fv_background.png);
    background-size: cover;
    background-position: center;
    height:100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 0 20px;
    

}

.hero-text {
    color: #333;
    width: 100%;
    text-align: center;
}

.hero-text p:first-child {
    font-size: 1.8em;
    font-weight: bold;
    color: #f8f8f8;
    margin-bottom: 10px;
    letter-spacing: 0.5px; /* Adds subtle spacing for readability */
    text-transform: uppercase; /* Gives a stylish, impactful look */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.hero-text p:first-child:hover {
    color: #ffffff; /* Brighter on hover */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Enhanced shadow for more depth */
}


.hero-text h1 {
    font-size: 4.2rem;
    color: #ff6f00; /* Brighter orange */
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.hero-text h1:hover {
    color: #ff8500; /* Slightly brighter color on hover */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}


.hero-text p:last-child {
    font-size: 1.8em;
    font-weight: bold;
    color: #f8f8f8;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); /* Subtle shadow for readability */
    transition: color 0.3s ease, transform 0.3s ease;
}

.hero-text p:last-child:hover {
    color: #ffffff; /* Slightly brighter on hover */
    transform: translateY(-2px); /* Subtle lift effect on hover */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4); /* Enhanced shadow on hover */
}

.hero-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: bottom right;
}

/* Features */
.features-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}
.text-container {
    position: relative;
    margin-bottom: 30px;
}
.background-text {
    font-size: 100px;
    font-weight: bold;
    color: #e6f3ff;
    white-space: nowrap;
    text-align: center;
}
.foreground-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.3rem;
    font-weight: bold;
    color: #00b5e2;
    white-space: nowrap;
}
.feature-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.feature-text {
    flex: 1;
    padding-right: 40px;
}
.feature-text h2 {
    font-size:  1.8rem;
    margin-bottom: 40px;
}
.feature-text p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 15px;
}
.feature-image {
    flex: 1;
    max-width: 50%;
    position: relative;
    padding: 20px;
}
.feature-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: -15px;
    right: -15px;
    background: linear-gradient(135deg, #9acd3280, rgba(167, 216, 255, 0.5));
    filter: blur(10px);
    border-radius: 8px;
    z-index: -1;
}
.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

/* point-section */
.point-section {
    text-align: center;
    padding: 50px 20px;
    font-family: Arial, sans-serif;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}
.point-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    justify-items: center;
}
.point {
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 500px;
}
.icon {
    flex: 0 0 130px;
    margin-right: 20px;
}
.icon img {
    width: 100%;
    height: auto;
}
.text {
    flex: 1;
    text-align: left;
}
.text h3 {
    color: #00b5e2;
    margin: 0 0 10px 0;
    font-size: 20px;
}
.text p {
    font-size: 1.2rem;
    line-height: 1.5;
    margin: 0;
    font-weight: bold;
}
.cta-section {
    margin-top: 70px;
}
.cta-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
}
.logo-image {
    max-width: 200px;
    margin: 20px 0;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.button {
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 16px;
    background: linear-gradient(to right, #ff6b6b, #ff3e3e);
}


/* Overview Section */
.overview-section {
    padding: 50px 0 80px 0;
    background: linear-gradient(135deg, #4095ff, #c2e6ff 50%, #4d9bfb);
}
.overview-content {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.overview-item {
    margin-bottom: 15px;
    display: flex;
    /* text-align: center; */
    align-items: center;
}
.overview-item h3 {
    color: #00b5e2;
    font-size: 1.6rem;
    margin-right: 30px;
    padding: 0;
}
.overview-item p {
    font-size: 1.2rem;
    text-align: left;
}
hr {
    border: none;
    border-top: 1px dashed #e0e0e0;
    margin: 15px 0;
}

/* apply-section*/
.apply-content {
    display: flex;
    background: linear-gradient(to right, #ff6a6e, #f9b0a4, #71a4fd);
    width: 100%;
    transition: background 0.3s ease;
}
.card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
    border-right: 1px solid white;
}
.card:last-child {
    border-right: none;
}
.card .icon {
    width: 70px;
    margin: 0;
}
.card h2 {
    font-size: 24px;
    margin: 0 0 10px 0;
}
.card p {
    font-size: 16px;
    margin: 0 0 10px 0;
}
.button-apply {
    display: inline-block;
    padding: 10px 40px;
    background-color: white;
    box-shadow: 0 0 10px rgba(255, 106, 110, 0.5);
    color: #ff6a6e;
    border-radius: 25px;
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    margin: 20px 0;
}

.button-apply:hover {
    background: linear-gradient(to right, #ff6b6b, #ff3e3e);
    box-shadow: 0 0 10px rgba(255, 106, 110, 0.5);
    color: white;
}

/* footer */
footer {
    background-color: #f8f8f8;
    padding: 20px;
}
.footer-content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.info {
    margin-left: 50px;
}
.contact-link{
    margin-bottom: 10px;
}
.contact-link a {
    text-decoration: none;
    font-size: 18px;
    color: #333;
    margin-right: 30px;
}
.contact-info {
    border-top: 1px solid #ccc;
    font-size: 24px;
   padding-right: 50px;
}
.contact-info p{
    font-size: 16px;
    margin: 10px 0;
}





/* SP */
@media screen and (max-width: 768px) {
    .container {
      padding: 25px;
    }
    .header-content {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }
    .logo-image {
        margin: 0;
        max-width: 180px;
    }
    .buttons {
        margin-top: 5px;
        gap: 10px;
    }
    .button {
       font-size: 14px;
       padding: 8px 12px;
    }
    .line-button {
        font-size: 14px;
    }
    /* ヒーローセクション */
     .hero {
        padding-top: 0px;
      }
      .hero-content {
        flex-direction: column;
        text-align: center;
        justify-content: flex-end;
      }
      .hero-text {
        width: 100%;
      }
      .hero-text h1 {
        font-size: 2.3rem;
        line-height: 1.2;
        margin: 20px 0;
      }
      .hero-text p:first-child {
        font-size: 1.1em;
      }
      .hero-text p:last-child {
        font-size: 1.1rem;
      }
      .hero-image {
        width: 100%;
        height: auto;
        justify-content: center;
        align-items: flex-end;
        overflow: hidden;
      }
      .hero-image img {
        max-width: 100%;
        max-height: 40vh;
        object-fit: contain;
        object-position: center bottom;
      }
    /* フィーチャーセクション */
    .features-section {
        margin-top: 20px;
    }
    .feature-content {
        flex-direction: column;
        /* text-align: center; */
    }
    .text-container {
        margin-bottom: 20px;
    }
    .feature-text, .feature-image {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    .feature-image {
        margin-top: 20px;
    }
    .background-text {
        font-size: 50px;
    }
    .foreground-text {
        font-size: 1.6rem;
    }
    .feature-text h2 {
        font-size: 1.3rem;
        margin: 0 0 20px 0;
    }
    .feature-text p {
        font-size: 1rem;
    }
    /* ポイントセクション */
    .point-section {
        padding:20px 0;
    }
    .point-content {
        grid-template-columns: 1fr;
    }
    .point {
        flex-direction: column;
        align-items: center;
    }
    .icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .icon img {
        width: 40%;
        height: auto;
    }
    .text {
        text-align: center;
    }
    .text p {
        font-size: 1rem;
    }

    .cta-section {
        margin-top: 40px;
    }
    .cta-section h2 {
        font-size: 1.4rem;
        margin: 50px 0 10px;
    }

    /* 概要セクション */
    .overview-section {
        padding: 30px 0 40px 0;
        background: linear-gradient(84deg, #4095ff, #c2e6ff 50%, #4d9bfb);
    }
    .overview-content {
        padding: 20px;
        margin: 30px;
    }
    .overview-item {
        flex-direction: column;
        margin: 0;
    }
    .overview-item h3 {
        margin: 0;
        font-size: 1.3rem;
    }
    .overview-item p {
        font-size: 1rem;
        text-align: center;
    }

    /* 応募セクション */
    .apply-content {
        flex-direction: column;
    }
    .card {
        border-right: none;
        border-bottom: 1px solid white;
    }
    .card:last-child {
        border-bottom: none;
    }
    .card h2 {
        font-size: 22px;
    }
    .card a {
        font-size: 16px;
        padding: 10px 35px;
    }

    /* フッター */
    .footer {
        padding: 0;
    }
    .footer-content {
        flex-direction: column;
        align-items: center;
    }
    .info {
        margin-left: 0;
        margin-top: 20px;
        text-align: center;
    }
    .contact-link a {
        display: block;
        margin: 0 0 10px 0;
    }
    .contact-info {
        padding-right: 0;
        text-align: center;
    }
    .contact-info p {
        font-size: 14px;
    }
}
