@charset "utf-8";
/* CSS Document */
section.main {
    width: 100%;
    margin-bottom: 100px;
}
section.main figure {
    display: block;
    margin: 0;
    width: 100%;
    background: #e5e5e5;
}
section.main figure img {
    width: 100%;
    max-width: 1100px;
    margin: auto;
    position: relative;
}
section.main div.container{
    background-image:url(/shingaku/iza/seniormessage/images/backimage.jpg);
    background-repeat:no-repeat;
    background-size:cover;
    background-position:center;
}
section.main div.container div {
    max-width: 1100px;
    margin: auto;
    padding: 60px 50px;
}
section.main div h1 {
    display: flex;
    margin-left:5%;
    width:80%;
}
section.main div h1 img {
    width: 100%;
}
section.main div h1::before {
    content: '';
    width: 17%;
    height: 35%;
    display: block;
    background: url(/shingaku/iza/seniormessage/images/title_illustB.svg);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 2%;
    top: 8%;
}
section.main div h1:after {
    content: '';
    width: 17%;
    height: 45%;
    display: block;
    background: url(/shingaku/iza/2024/seniormessage/images/title_illustG.svg);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 6%;
    bottom: 1%;
}
section.main div p {
    font-weight: 700;
    font-size: 18px;
    line-height: 2;
    text-align: center;
    color: #1f2a66;
    margin-left: 10%;
    margin-top: 20px;
}
section.column {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    max-width: 1000px;
    padding: 0 20px;
    margin: auto;
}
section.column article {
    width: 100%;
    margin-bottom: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
}
section.column article h3 {
    margin-bottom: 40px;
}
section.column article h3 img {
    width: 100%;
}
section.column article h4 {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 0.5em;
    letter-spacing: -0.05em;
    width: 100%;
}
section.column article h4 {
    color: #1f2a66;
}
section.column article p {
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
    width: 100%;
}
section.column article.paragraph02 p{
    width: 46%;
}


section.column article img.graph {
    width: 46%;
    margin-top: 0;
    margin-left: 6%;
    margin-top: 0.5em;
}
section.column article nav {
    margin-top: 50px;
    width: 100%;
    display: flex;
    justify-content: center;
}
section.column article nav.link2{
    display: flex;
    justify-content: space-between;
}
section.column article nav a {
    display: block;
    background: #fff100;
    width: 46%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #1f2a66;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    height: 70px;
    border-radius: 50px;
    border: solid 2px #1f2a66;
    box-shadow: 0 6px 0 #1f2a66;
    line-height: 1.2;
    position: relative;
    top: -6px;
    margin-top: 0;
}


section.column article nav a::before, section.column article nav a::after {
    content: '';
    width: 6%;
    height: 45%;
    display: block;
    background-image: url(/shingaku/iza/2024/seniormessage/images/button_decorationA.svg);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: -5%;
    bottom: -20%;
}
section.column article nav a::after {
    background-image: url(/shingaku/iza/2024/seniormessage/images/button_decorationB.svg);
    left: unset;
    bottom: unset;
    right: -6%;
    top: -5%;
}
@media screen and (min-width:640px) {
    section.column article nav a:hover {
        top: 0px;
        box-shadow: none;
    }
}
@media screen and (max-width:1100px) {
    section.main div.container div {
        padding: 5.4vw 4.5vw;
    }
    section.main div p {
        font-size: 1.63vw;
    }
}
@media screen and (max-width:1000px) {
    section.main {
        margin-bottom: 10vw;
    }
    section.column {
        padding: 0 2vw;
    }
    section.column article {
        margin-bottom: 10vw;
    }
    section.column article h3 {
        margin-bottom: 4vw;
    }
    section.column article h4 {
        font-size: 1.8vw;
    }
    section.column article p {
        font-size: 1.7vw;
    }
    section.column article img.graph {
    }
    section.column article nav {
        margin-top: 0vw;
    }

    section.column article nav a {
        font-size: 1.8vw;
        height: 7vw;
        margin-top: 3vw;
    }
}
@media screen and (max-width: 640px) {
    section.main div.container {
        padding: 11vw 0 0;
        /* overflow: hidden; */
    }
    section.main div {
        padding: 20vw 0 0;
    }
    section.main div h1::before {
        width: 24%;
        height: 22%;
        right: 2%;
        top: -9%;
    }
    section.main div h1:after {
        width: 22%;
        height: 25%;
        left: 1%;
        bottom: -14%;
    }
    section.main div h1 {
        display: flex;
        margin-left:0;
        width: 100%;
    }
    section.main div p {
        padding: 0;
        font-size: 4vw;
        margin-left: 0;
    }
    section.column {
        padding: 0 4vw;
    }
    section.column article {
        margin-bottom: 12vw;
        width: 100%;
    }
    section.column article h3 {
        margin-bottom: 4vw;
    }
    section.column article h4 {
        font-size: 4vw;
    }
    section.column article p {
        font-size: 3.6vw;
        width:100%!important;
    }
    section.column article img.graph {
        margin-top: 4vw;
        width:100%!important;
        margin-left:0
    }
    section.column article nav {
        margin-top: 4vw;
        flex-wrap:wrap;
        justify-content:center!important;
    }
    section.column article nav a {
        font-size: 3.6vw;
        width:90%;
        height: 15vw;
        margin-top: 5vw;
        box-shadow: 0 1vw 0 #1f2a66;
    }
}