.hero-section {
    margin: 1em auto;
    width: 100%;
    height: auto;
    position: relative;
}

/* H1: ヒーロー上部に自然に配置 */
.hero-h1 {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: #6d645c;
    text-align: center;
    margin: 0 0 12px;
    padding: 0;
}

@media (min-width: 769px) {
    .hero-h1 {
        font-size: 16px;
        margin-bottom: 16px;
    }
}

.hero-inner {
    display: flex;
}

img.image100 {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 0 0 auto;
}

img.max1000 {
    max-width: 1000px;
}

img.hero-small {
    width: 100%;
    max-width: 550px;
    height: auto;
    position: absolute;
    top: 5%;
    left: 10%;
}

img.hero-small_two {
    width: 100%;
    max-width: 330px;
    height: auto;
    position: absolute;
    bottom: 1%;
    left: 2%;
}

.hero-right {
    width: 70%;
    height: auto;
    order: 2;
}

.hero-left {
    width: 30%;
    height: auto;
    order: 1;
    position: relative;
}

.hero_under {
    margin: 2em auto;
    display: flex;
    width: 100%;
    height: auto;
    gap: 5%;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.hero_under_inner {
    width: 47%;
    height: auto;
}

.hero_moji {
    width: 100%;
    height: auto;
}

.hero_under_inner .im100 {
    width: 100%;
    height: auto;
}

.hero_under_inner h2 {
    margin-top: 1em;
    font-weight: normal;
    color: rgb(97 91 87);
    line-height: 35px;
    font-size: 20px;
}

@media screen and (max-width: 1200px) {
    img.hero-small_two {
        bottom: 0%;
        left: 2%;
    }
}

@media screen and (max-width: 785px) {
    img.hero-small_two {
        bottom: 1%;
        left: -5%;
    }
    .hero-inner {
        display: flex;
        flex-wrap: wrap;
    }
    .hero-right,
    .hero-left {
        width: 100%;
        height: auto;
    }
    img.hero-small {
        position: static !important;
        width: 45%;
    }
    img.hero-small_two {
        position: static !important;
        width: 53%;
    }
    .hero-right {
        order: 1;
        margin-bottom: 10px;
    }
    img.image100 {
        width: 90%;
    }
    .hero_under_inner {
        width: 100%;
        height: auto;
    }
    .hero_under_inner h2 {
        font-size: 17px;
        margin: 1em auto;
    }
}

/* ===== フェードインアニメーション ===== */

img.image100,
img.hero-small,
img.hero-small_two {
    opacity: 0;
    animation: fadeIn 1.2s ease-in-out forwards;
}

img.hero-small {
    animation-delay: 0.2s;
}

img.hero-small_two {
    animation-delay: 0.4s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== hero_under のフェードイン ===== */

.hero_under_inner {
    opacity: 0;
    animation: fadeInUp 1.2s ease-in-out forwards;
}

.hero_under_inner:nth-child(1) {
    animation-delay: 0.3s;
    /* 左の文字が先に */
}

.hero_under_inner:nth-child(2) {
    animation-delay: 0.6s;
    /* 右の写真があとに */
}

/* 上方向からふわっと現れる効果 */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero_under_inner h2 span {
    color: rgb(24, 128, 111);
    font-weight: bold;
}
