.hero {
    background-image: url(/img/bg-hero.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: grid;
    place-items: center;
    height: 640px;
}

.hero--box {
    width: 100%;
    max-width: var(--inner-small);
}

.hero--titleBox {
    text-align: center;
    padding: 24px;
    display: grid;
    row-gap: 8px;
}

.hero--title {
    color: var(--white);
    font-size: 4.8rem;
    font-weight: bold;
    line-height: 1.5;
    filter: drop-shadow(1px 1px 3px var(--black));
    text-align: left;
}

.hero--fukidashi {
    color: var(--black);
    width: fit-content;
    font-size: 4rem;
    font-weight: bold;
    text-align: left;
    background-color: var(--white);
    padding: 8px 24px;
    margin-bottom: 32px;
    border-radius: 8px;
    position: relative;
}

.hero--fukidashi::after {
    position: absolute;
    display: block;
    content: "";
    bottom: 0;
    left: 25%;
    transform: translate(-50%, 100%);
    width: 0;
    height: 0;
    border-color: var(--white) transparent transparent transparent;
    border-width: 24px 16px 0 16px;
    border-style: solid;
}

.hero--img {
    width: 100%;
    max-width: 560px;
    margin-top: 8px;
}

.hero .emphasis {
    color: var(--accent-color);
}

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */

    .hero {
        height: 480px;
    }

    .hero--box {
        /* ヘッダーのロゴのpaddingに合わせる */
        /* padding-left: calc((var(--height-header-tablet) - var(--height-element-in-header-tablet)) / 2); */
    }

    .hero--fukidashi {
        padding-left: 16px;
        padding-right: 16px;
        margin-bottom: 24px;
        font-size: 2.4rem;
    }

    .hero--fukidashi::after {
        border-width: 16px 8px 0 8px;
    }
    
    .hero--title {
        font-size: 2.8rem;
        line-height: 1.5;
    }

    .hero--img {
        max-width: 400px;
    }

}

.messageSection {
    padding: 40px 5%;
    background-color: var(--secondary-bg-color);

    .content--text {
        margin-top: 8px;
    }

    .grid-col3 {
        margin-top: 32px;
    }

    .photo {
        width: 100%;
        max-width: 300px;
    }
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */

    .messageSection {
        padding: 40px 5%;
        background-color: var(--secondary-bg-color);

        .content--text {
            margin-top: 8px;
        }

        .grid-col3 {
            row-gap: 16px;
        }

        .photo {
            max-width: 100%;
        }
    }
}

.achievementsSection {
    padding: 40px 5%;
    background-color: var(--primary-bg-color);

    .flex-col2 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 32px;
        column-gap: 32px;
        row-gap: 32px;
    }

    .content--imgBox {
        width: 100%;
        max-width: 456px;
        line-height: 0;
    }

    .content--img {
        width: 100%;
    }

    .content--figcaption {
        background-color: var(--figcaption-bg-color);
        font-size: 1.8rem;
        font-weight: bold;
        padding: 32px;
    }

    .splide {
        /* innerを無視して画面最大幅に表示する設定 */
        /* padding-left, padding-rightが設定されている親要素が２つ以上ある場合は */
        /* スマートフォン上の表示がおかしい事を確認したので注意 */
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);

        margin-top: 32px;
    }

    .splide__slide img {
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */

    .achievementsSection {

        .content--imgBox {
            max-width: 100%;
        }
    
        .content--img {
            width: 100%;
        }
    
        .content--figcaption {
            padding: 24px;
        }
        
    }
}

.ohterServiceSection {
    padding: 40px 5%;
    background-color: var(--secondary-bg-color);

    .grid-col2 {
        margin-top: 32px;
        column-gap: 48px;
        row-gap: 16px;
    }

    .card--body {
        width: 100%;
        transform: translateY(0);
    }

    .card--textBox {
        margin-top: 16px;
    }

    .card--text {
        font-weight: normal;
    }
    
}

.ctaSection {
    padding: 40px 5%;
    /* background-color: var(--secondary-bg-color); */
}

.informationSection {
    background-color: var(--white);
    padding: 40px 5%;
}

.informationSection .flex-col2 {
    display: flex;
    column-gap: calc(10% + 1px);
    align-items: center;
}

.informationSection .content--titleBox {
    display: block;
}

.informationSection .content--title {
    font-size: 3.2rem;
    text-align: center;
}

.informationSection .flex-col2--body {
    display: block;
    flex: 1 0 auto;
    /* padding-top: 60px; */
}

.informationSection .content--textBox {
    margin-top: 0;
    text-align: center;
}

.informationSection .content--text {
    margin-top: 0;
    text-align: left;
}

.informationSection .content--titleBtn {
    margin-top: 40px;
    font-size: 1.6rem;
}

.informationSection .recordList {
    width: 100%;
    padding: 16px 0 8px;
    position: relative;
    border-bottom: 1px dotted var(--black);
}

.informationSection .recordList::after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    width: 10px;
    height: 12px;
    background-image: url(../img/rounded-triangle-right-lightblue.png);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
}

.informationSection .recordList--metadata {
    display: flex;
    align-items: center;
    column-gap: 16px;
}

.informationSection .recordList--date {
    color: var(--secondary-bland-color);
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.6;
}

.informationSection .recordList--genre {
    color: var(--white);
    background-color: var(--category-bg-color);
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.6;
    padding: 4px 12px;
}

.informationSection .recordList--titleBox {
    margin-top: 8px;
}

.informationSection .recordList--title {
    color: var(--font-color-black);
    font-size: 1.6rem;
    line-height: 1.6;
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */
    .informationSection {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .informationSection .flex-col2 {
        flex-direction: column;
        row-gap: 8px;
    }

    .informationSection .content--titleBox {
        flex: initial;
    }

    .informationSection .flex-col2--body {
        flex: initial;
        width: 100%;
        margin-top: 24px;
    }

    .informationSection .recordList {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .informationSection .content--titleBtn {
        display: none;
    }

    .informationSection .btnBox {
        margin-top: 32px;
    }

    .informationSection .content--text {
        margin-top: 0;
        text-align: center;
    }
}

.newsSection {
    padding: 40px 5%;
}

.newsSection .news--listItems {
    margin-top: 40px;
}

.newsSection .news--listItem {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-bottom: 1px dotted var(--border-color-dimgrey);
    padding: 8px;
}

.newsSection .news--listItem:last-of-type {
    margin-bottom: 0;
}

.newsSection .news--metadata {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-right: 16px;
}

.newsSection .news--date {
    margin-right: 16px;
}

.newsSection .news--category {
    text-align: center;
    background-color: var(--category-bg-color);
    font-size: 12px;
    min-width: 112px;
    padding: 4px 0;
    line-height: normal;
}

.category-attention {
    color: var(--attention-color);
    border-color: var(--attention-color);
}

.news--title {
    flex: 1;
    line-height: 1.5;
}

.news--hasLink {
    text-decoration: underline;
}

.news--attention {
    font-weight: bold;
}

.news--link {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.news--link:hover {
    opacity: 0.75;
}

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */
    .newsSection .news--category {
        min-width: 80px;
    }

    .newsSection .news--title {
        line-height: 1.5;
    }
}

@media screen and (max-width: 599px) {

    /* 599pxまでの幅の場合に適応される */
    .newsSection .news--listItem {
        margin-top: 8px;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    .newsSection .news--listItem:first-of-type {
        margin-top: 0;
    }
    .newsSection .news--link {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    .newsSection .news--category {
        padding: 4px 0;
    }

    .newsSection .news--title {
        margin-top: 8px;
    }
}