/* Donyu Section */
.donyu-section {
    padding: 120px 0 80px 0;
    background-color: #ffffff;
    text-align: center;
}

.donyu-header {
    position: relative;
    margin-bottom: 110px;
}

.donyu-title {
    font-size: 42px;
    font-weight: 700;
    color: #212121;
    margin: 0 0 20px 0;
    position: relative;
    transform: translateX(-50px);
}

.donyu-image {
    position: absolute;
    top: -18px;
    right: calc(10% + 220px);
    width: 96px;
    height: auto;
    z-index: 10;
}

.donyu-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 30px;
    text-align: left;
}

.donyu-item {
    background-color: #ffffff;
    border-radius: 15px 15px 0 15px;
    padding: 0px 20px 40px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.donyu-item.fade-in {
    opacity: 1;
    transform: translateX(0);
}

.donyu-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    border-right: 4px solid #11B981;
    border-bottom: 4px solid #11B981;
    pointer-events: none;
}

.donyu-number {
    position: absolute;
    top: -64px;
    left: 20px;
    font-size: 54px;
    font-weight: 700;
    color: #11B981;
    z-index: 10;
}

.donyu-icon {
    width: 144px;
    height: 144px;
    margin: 20px auto 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.donyu-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.donyu-subtitle {
    background-color: #11B981;
    color: #ffffff;
    font-size: 23px;
    font-weight: 700;
    padding: 15px 20px;
    margin: 0 -20px 0 -20px;
    margin-top: 0;
    text-align: center;
    line-height: 1.4;
    border-radius: 15px 15px 0 0;
}

.donyu-description {
    font-size: 16px;
    color: #212121;
    line-height: 1.7;
    text-align: left;
    margin: 0;
    padding: 0 10px;
}

/* 導入セクション間の矢印 */
.donyu-arrow {
    position: absolute;
    top: 50%;
    right: -21px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 20px solid #a0e3cd;
    z-index: 5;
}

/* Media Cases Section */
.media-cases-section {
    padding: 120px 0;
    background-color: #ffffff;
    text-align: center;
}

.media-cases-header {
    margin-bottom: 60px;
}

.toiawasea-erea {
    margin-bottom: 0px;
}

.media-cases-title {
    font-size: 32px;
    font-weight: 700;
    color: #212121;
    margin: 0;
}

.toiawase-title {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin: 0;
	padding: 0;
}

.media-cases-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
}

.media-case-item {
    flex-shrink: 0;
    height: auto;
    max-width: 320px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.media-case-item img {
    width: 100%;
    height: 520px;
    object-fit: contain;
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.media-case-item img.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.media-case-label {
    background-color: #ffffff;
    padding: 20px 10px;
    border-bottom: 2px solid #11B981;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.media-case-label p {
    font-size: 20px;
    font-weight: 600;
    color: #212121;
    margin: 0;
    line-height: 1.4;
    text-align: center;
}

/* FAQ Section */
.faq-section {
    padding: 120px 0 300px 0;
    text-align: center;
}

.faq-header {
    position: relative;
    margin-bottom: 80px;
}

.faq-title {
    font-size: 42px;
    font-weight: 700;
    color: #212121;
    margin: 0 0 20px 0;
    position: relative;
    transform: translateX(-50px);
}

.faq-image {
    position: absolute;
    top: -94px;
    right: calc(10% + 210px);
    width: 126px;
    height: auto;
    z-index: 10;
}

.faq-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.faq-item {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
}

.faq-question {
    background-color: #11B981;
    color: #ffffff;
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

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

.faq-question-content {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
}

.faq-q {
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.faq-question-text {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

.faq-toggle {
    font-size: 24px;
    font-weight: 700;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

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

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

.faq-answer-content {
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.faq-a {
    font-size: 20px;
    font-weight: 700;
    color: #11B981;
    flex-shrink: 0;
}

.faq-answer-text {
    font-size: 16px;
    color: #212121;
    line-height: 1.7;
    font-weight: 400;
}

/* FAQ専用の境界線 */
.faq-item .faq-answer::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    border-right: 4px solid #11B981;
    border-bottom: 4px solid #11B981;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item .faq-answer.open::after {
    opacity: 1;
}

/* CTA Section */
.cta-section {
    padding: 80px 0 80px 0;
    background-color: #11B981;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -540px;
    left: 50%;
    transform: translateX(-50%);
    width: 720px;
    height: 720px;
    background-image: url('img/cta_01.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.cta-section::before.slide-up {
    opacity: 1;
    animation: slideUpFromBottom 0.8s ease-out both;
}

.cta-section.image-slide-up::before {
    opacity: 1;
    animation: slideUpFromBottom 0.8s ease-out both;
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.cta-title .slash {
    font-weight: 100;
}

.cta-main-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ff8b27;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 20px 100px;
    font-weight: 700;
    font-size: 28px;
    cursor: pointer;
    text-align: center;
    min-width: 500px;
    box-shadow: 0 4px 15px rgba(255, 139, 39, 0.3);
}

.cta-main-button:hover {
    color: #fff;
}

/* FAQ CTA Section */
.faq-cta-section {
    padding: 80px 0 20px 0;
    background-color: #11B981;
    text-align: center;
    position: relative;
}

.faq-cta-section::before {
    content: '';
    position: absolute;
    top: -540px;
    left: 50%;
    transform: translateX(-50%);
    width: 720px;
    height: 720px;
    background-image: url('img/cta_01.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.faq-cta-section.image-slide-up::before {
    opacity: 1;
    animation: slideUpFromBottomFaq 0.8s ease-out both;
}

.faq-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.faq-cta-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.faq-cta-title .slash {
    font-weight: 100;
}

.faq-cta-main-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ff8b27;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 20px 100px;
    font-weight: 700;
    font-size: 28px;
    cursor: pointer;
    text-align: center;
    min-width: 500px;
    box-shadow: 0 4px 15px rgba(255, 139, 39, 0.3);
}

/* Form Section */
.form-section {
    padding: 80px 0;
    background-color: #11B981;
    text-align: center;
}