.hg_con {
    text-align: center;
}

:root {
    --submain: #F4A417;
}

.br {
    display: inline-block;
}

.FV {
    background:  linear-gradient(274.2deg, rgba(23, 56, 151, 0.5) 0%, rgba(63, 93, 179, 0.5) 100%), url(generation-fv.jpg) no-repeat center center;
    background-blend-mode: multiply;
    background-size: cover;
}

@media (max-width: 650px) {
    .FV {
        background:  linear-gradient(274.2deg, rgba(23, 56, 151, 0.5) 0%, rgba(63, 93, 179, 0.5) 100%), url(generation-spfv.jpg) no-repeat center center;
        background-blend-mode: multiply;
        background-size: cover;
    }
}

.generation_top {
    padding-top: 40vh;
}

.gradient_txt {
    max-width: 1000px;
    margin: 20px auto;
    font-size: 32px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 0 10px #001140;
    background: linear-gradient(93.32deg, #2E2E36 -0.5%, #85859C 78.9%, #231815 100%);
    text-align: center;
    padding: 36px 0;
    line-height: 1.4;
}

.txt {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.05rem;
    padding: 10px;
    margin: 30px auto;
}

.txt b {
    font-weight: 500;
    color: #173897;
}

.orange {
    font-weight: 500;
    color: #F4A417;
}

@media (min-width: 847px) {
    .txt {
        text-align: center;
    }
}

/*

取り組み

                  */

.attempt {
    background: #E2EAFF;
    padding: 30px 0;
}

.attempt .content {
    max-width: 1000px;
    margin: 0 auto;
}

.content .hg_con {
    text-align: left;
}

.content .attempt_txt {
    font-weight: 500;
}

.at_list {
    padding: 8px;
    margin-top: 30px;
}

.at_list li {
    border-top: 4px solid #173897;
    background-color: #fff;
    padding: 10px;
    max-width: 490px ;
    margin: 0 auto 24px;
}

.at_list li hgroup > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.at_list li .num {
    font-size: 40px;
    font-weight: bold;
    color: #B3C5F8;
    letter-spacing: 0.05rem;
}

.at_list .topics .toggle_btn {
    background: none;
    font-weight: bold;
    font-size: x-large;
    letter-spacing: 0.1em;
    color: var(--submain);
    display: flex;
    align-items: center;
    column-gap: 8px;
    border: unset;
}

.at_list .topics .toggle_btn span {
    width: 50px;
    height: 45px;
    background-color: var(--submain);
    display: flex;
    justify-content: center;
    align-items: center;
}

.at_list .topics .toggle_btn span::after {
    content: "";
    width: 10px;
    height: 10px;
    border: 2px solid white;
    border-left: 0;
    border-bottom: 0;
    box-sizing: border-box;
    transform: translateY(-25%) rotate(135deg);
}

.at_list .topics.open .toggle_btn span::after {
    transform: translateY(25%) rotate(-45deg);
}

.at_list li h3 {
    color: #173897;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.05rem;
    line-height: 1.4;
    margin: 12px 0;
}

.at_list .topics > .conversation {
    display: none;
}

.at_list .topics.open > .conversation {
    display: block;
}

.at_list .topics > .conversation p {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.05rem;
    max-width: 24em;
    margin: 20px auto;
}

.at_list li > div p b {
    font-weight: 500;
    color: #173897;
}

.at_list .topics > .conversation img {
    width: 100%;
    max-width: 24em;
    margin: 0 auto;
}

@media (min-width: 700px) {
    .at_list {
        display: grid;
        gap: 20px;
        grid-template-columns: 1fr 1fr;
    }

    .at_list li {
        max-width: 490px;
        margin: 0 auto;
    }
    
    .at_list .topics .toggle_btn {
        display: none;
    }

    .at_list .topics > .conversation {
        display: block;
    }

    .at_list .topics hgroup {
        display: flex;
        align-items: center;
        gap: 16px;
        height: 80px;
    }
}

/********************************

　　OHTER PAGE

********************************/

.other {
    margin: 60px auto;
    padding: 60px 8px;
    max-width: 1150px;
}

.other > p {
    display: none;
    width: fit-content;
    font-size: clamp(100px, 10vw, 150px);
    font-weight: bold;
    font-family: 'Space Grotesk';
    letter-spacing: 0.05em;
    writing-mode: vertical-rl;
    background: linear-gradient(90deg, #173897 0%, #3F5DB3 100%);
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.other .repeat {
    display: flex;
    overflow: hidden;
    width: 100%;
    margin-inline: calc(50% - 50vw);
}

.other .repeat p {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 150px;
    font-weight: bold;
    font-family: 'Space Grotesk';
    letter-spacing: 0.05em;
    padding: 0 30px;
    width: fit-content;
    text-align: center;
    background: linear-gradient(90deg, #ED6D1F 0%, #F09118 100%);
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.other .repeat p:first-child {
    animation: MoveLeft 20s -10s infinite linear;
}

.other .repeat p:last-child {
    animation: MoveLeft2 20s infinite linear;
}

.other .pages li img {
    padding-left: 8px;
    width: calc(100% - 8px);
    object-fit: cover;
}

.other .pages li h3 {
    position: relative;
    z-index: 2;
    margin-top: -32px;
    padding: 16px 24px;
    width: fit-content;
    color: white;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, #173897 0%, #3F5DB3 100%);
    font-weight: 500;
}


.other .pages li a:hover {
    background: #EA7E1F;
    box-shadow: 0px 4px 8px rgba(183, 89, 6, 0.26), inset -4px -4px 4px #AE490B, inset 4px 4px 4px rgba(255, 198, 96, 0.33);
}

.other .pages li img {
    aspect-ratio: 3 / 2;
}


@media (min-width: 600px) {
    .other {
        display: flex;
        column-gap: 32px;
    }

    .other > p {
        display: block;
    }

    .other .repeat {
        display: none;
    }
}

@media (min-width: 700px) {
    .other .pages {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .other .pages li img {
        padding-left: 32px;
        width: calc(100% - 32px);
    }

    .other .pages li h3 {
        margin-top: -60px;
    }

    .other .pages li p {
        padding-left: 32px;
    }
}

