@charset "UTF-8";

.bg {
    position: fixed;
    z-index: -1;
}

.bg img {
    width: 100%;
}

.pagemain {
    background-image: url(/assets/img/meidaisai.png);
    width: 100%;
    height: 300px;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: cover;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-wrap: wrap;
    margin: 0;
    padding: 0%;
}

.pagemain_ttl {
    width: 520px;
    height: 80px;
    padding: 0;
    font-size: 33px;
    font-weight: 500;
    color: white;
    letter-spacing: 0.2em;
    line-height: 1.4;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background-color: #D93751;
    bottom: -65px;
    position: relative;
    /*これ目分量だから後で確認してもらう*/
}

/* コロナ用 */
.pagemain-covid {
    background-image: url(/assets/img/covid_photo2.png);
    width: 100%;
    height: 300px;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: cover;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-wrap: wrap;
    margin: 0;
    padding: 0%;
}

.pagemain_ttl-covid {
    width: 800px;
    height: 80px;
    padding: 0;
    font-size: 30px;
    font-weight: 500;
    color: white;
    letter-spacing: 0.2em;
    line-height: 1.4;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background-color: #D93751;
    bottom: -61px;
    box-shadow: 1px 3px 6px rgb(0, 0, 0, 0.16);
    /*これ目分量だから後で確認してもらう*/
}

/* コロナ用ここまで */

.subttl {
    padding-top: 100px;
    margin: 0;
    text-align: center;
    font-size: 27px;
    letter-spacing: 0.2em;
}

.logo3 {
    text-align: center;
    padding: 30px 0px;
    width: 100%;
    height: auto;
}

.logo3 img {
    width: 85px;
    height: auto;
}

.atagu {
    color: #4b6cb3;
    font-size: max(1.05vw, 16.8px);
    text-decoration: none;
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.atagu span {
    font-size: 18px;
}

.atagu::after {
    position: absolute;
    bottom: 2px;
    left: 0;
    content: '';
    width: 100%;
    height: 1.5px;
    background: #4b6cb3;
    transform: scale(0, 1);
    transform-origin: center top;
    transition: transform .3s;
}

.atagu:hover::after {
    transform: scale(1, 1);
}

/* 以下ページ内リンク */


#com_pagenai {
    padding-top:100px;
    margin-top: -100px;
}

/* インデント2 */
.indent-2 {
	padding-left:1em;
}

/* インデント */
.indent-1 {
	padding-left:1em;
	text-indent:-1em;
    line-height: 30px;
    letter-spacing: 1px;
}

/* 以下box1 */
.cnt_01 {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.cnt01_stc {
    background-color: white;
    box-shadow: 1px 3px 6px rgb(0, 0, 0, 0.16);
    text-align: justify;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 70px;
}

.cnt01_stc p {
    margin: 0;
    font-size: 1.05rem;
}

/* 以下 box2 */

.cnt_02 {
    padding-top: 132.5px;
    display: flex;
    justify-content: center;
}

.cnt02_stc {
    background-color: white;
    box-shadow: 1px 3px 6px rgb(0, 0, 0, 0.16);
    text-align: left;
    display: block;
    justify-content: center;
    align-items: center;
    padding: 7%;
    max-width: 1100px;
    width: 70vw;
}
.cnt02_stc-2{
    margin-top: 40px;
}

.cnt02_stc p{
    margin: 0;
    font-size: 1.05rem;
}

/* 以下 box3 */

.cnt_03 {
    display: flex;
    justify-content: center;
}

.cnt03_stc {
    background-color: white;
    box-shadow: 1px 3px 6px rgb(0, 0, 0, 0.16);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 70px;
}

.cnt03_stc p {
    margin: 0;
    font-size: 1.05rem;
}

.otoiawase {
    line-height: 40px;
}

/* 以下臨時 */

/* cnt_04=過去の明大祭の様子 */
/* .cnt_04 {
    display: flex;
    justify-content: center;
    margin-top: 200px;
}

.cnt04_stc {
    background-color: white;
    box-shadow: 1px 3px 6px rgb(0, 0, 0, 0.16);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 2.7vw 4.8vw;
    margin: 0 5.5vw;
}

.cnt04_stc div {
    margin: 1vw 0 50px;
    font-size: 1.05rem;
}

.cnt04_stc {
    width: 94%;
    max-width: 900px;
    margin: 0 auto;
} */

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/*cnt_05= 委員長挨拶仕様  */
.cnt_05 {
    margin-top: 132.5px;
    display: flex;
    justify-content: center;
}

.cnt05_stc {
    background-color: white;
    box-shadow: 1px 3px 6px rgb(0, 0, 0, 0.16);
    display: block;
    align-items: center;
    padding: 7%;
    max-width: 1100px;
    width: 70vw;
}

.cnt05_stc01 p {
    text-align: left;
    margin: 0;
    font-size: 1.05rem;
}

.cnt05_stc02 {
    display: flex;
    align-items: center;
    margin-top: 60px;
    justify-content: center;
}

.cnt05_stc02_sub {
    font-size: 1.15rem;
    text-align: center;
    /* margin-right: 9vw; */
}

.cnt05_stc02-1 p{
    word-break: break-all;
}

.cnt05_stc02 p {
    margin: 0;
    text-align: center;
}

.cnt05_stc02-2 img {
    margin-top: 30px;
    width: 12vw;
    min-width: 120px;
    height: auto;
}

.cnt_img01 {
    margin-bottom: 3vw;
    text-align: center;
}

.cnt_img01 img {
    width: 400px;
}

.memory-contents {
    margin-top: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.memory-contents-inner {
    width: 1100px;
    padding: 80px 0 80px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 1px 3px 6px rgb(0, 0, 0, 0.16);
}

@media screen and (max-width:900px) {
    .memory-contents-inner {
        width: 90%;
    }
}

.gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.gallery-img {
    width: 200px;
    height: 150px;
    margin: 0 40px 40px;
    border: 5px solid #fff;
    background: #fff;
    box-shadow: 5px 5px 5px rgb(0, 0, 0, 0.16);
    box-sizing: border-box;
    transform: scale(1.0);
    transition: all 0.3s ease-out;
}

.gallery-img:hover {
    z-index: 10;
    transform: scale(1.5) rotate(0deg);
}

.iintyo_kaigyo{
    display: inline-block;
}

.box6 p{
    line-height: 30px;
    letter-spacing: 1px;
}
