
/* ======================
=== headline design  === */

.h1-kakko {
    position: relative;
    padding: 8px 16px;
    letter-spacing: 0.1em;
    font-weight: 400;
    max-width: 500px;
    text-align: center; 
    margin: 2em auto;
}

.h1-kakko::before, .h1-kakko::after {
    content:'';
    position: absolute;
    width: 30px;
    height: 30px;
}

.h1-kakko::before {
    border-left: solid 1px #aebebb;
    border-top: solid 1px #aebebb;
    top:0;
    left: 0;
}

.h1-kakko::after {
    border-right: solid 1px #aebebb;
    border-bottom: solid 1px #aebebb;
    bottom:0;
    right: 0;
}

.h1-kakko .kakko-inner:before, .h1-kakko .kakko-inner:after {
    content:'';
    position: absolute;
    width: 46px;
    height: 46px;
    rotate: 45deg;
}

.h1-kakko .kakko-inner:before {
    border-left: solid 1px #aebebb;
    top:2px;
    left: 2px;
}

.h1-kakko .kakko-inner:after {
    border-right: solid 1px #aebebb;
    bottom:2px;
    right: 2px;
}

.h1-kakko .accent-green {
    color: #5C7D76;
    font-weight: 500;
}


@media (max-width: 480px) {
    .h1-kakko {
        font-size: 1.5rem;
    }
}

main section:first-of-type h2 {
    margin-top: 80px;
}


/* ======================
== Hero img =========== */

.hero-img {
    overflow: hidden;
    max-width: 1200px;
    margin-inline: auto;
    height: 500px;
    width: auto;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

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

@media (max-width: 1250px){
    .hero-img {
        margin-inline: clamp(15px, 5vw, 30px);
    }
}

@media (max-width: 767px){
    .hero-img {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .hero-img {
        height: 200px;
    }
}