/* TOPヘッダー */
#hero{
    position: unset;
    width: 100vw;
    height: fit-content;
    min-height: 70vh;
    /* min-height: 200px; */
    max-height: 500px;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    justify-items: center;
    align-items: center;
    justify-content: center;
    align-content: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
#hero > div{
    display: unset;
    margin: 0 auto 0 auto;
    max-width: 1024px;
    text-align: center;
}
#hero .logos {
    row-gap: 1rem;
}
#hero .logos .logo{
    width: 9rem;
}
#hero > div > .logos > p{
    font-size: 1.875rem; /* 30px */
    line-height: 2.25rem; /* 36px */
}
#hero > div > p {
    font-size: 1rem;
    line-height: 1.2rem;
    padding: 1.5rem 1.1rem;
}

.content > section > section{
    padding-top: 4rem;
}

/* 最新号 */
.new{
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.new-journal{
    box-shadow: 0 0 5px 1px rgba(var(--color-aqua-rgb), .7);
    background-color: white;
    border-radius: 0.25rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 1.25rem;
}
.new-journal img{
    width: 8rem;
    margin-right: 1.25rem;
}
.new-journal div{
    text-align: left;
    font-weight: normal;
}

/* お知らせ */
#info{
    margin-bottom: 2rem;
}
.info{
    width: 96%;
    max-width: 550px;
    margin: 1rem auto 0 auto;
    border-top-width: 0;
    border-bottom-width: 1px;
    border-left-width: 0;
    border-right-width: 0;
    border-color: var(--color-gray);
    border-style: solid;
}
.info-title {
    margin-left: 1rem;
    margin-right: 1rem;
}
.info-title p{
    text-align: left;
	font-size: 1rem;
    line-height: 1.5rem;
}
.info-title > a > p {
    text-align: right;
    font-size: 0.875rem;
    line-height: 1.25rem;
    text-decoration: underline;
    text-underline-offset: 1px;
    color: var(--color-link);
}

/* 趣旨 */
.about{
    width: 95%;
    max-width: 700px;
    margin: 1.45rem auto 0 auto;
    line-height: 1.75rem;
}
.rule{
    background-color: var(--color-link);
    color: var(--color-font-white);
    text-align: center;
    font-size: 1.15rem;
    letter-spacing: 0.23em;
    width: 200px;
    line-height: 3rem;
    border-radius: 1rem;
    margin: 2rem auto;
}

/* アーカイブ */
details summary {
    cursor: pointer;
}
.backnumbers {
    width: 96%;
    margin: 1rem auto 0 auto;
}
summary {
    border-top-width: 0;
    border-bottom-width: 2px;
    border-left-width: 0;
    border-right-width: 0;
    border-color: var(--color-gray);
    border-style: solid;
    text-align: left;
    padding-left: 0.5rem;
    line-height: 2rem;
}
.backnumbers > section {
    background-color: var(--color-aqua);
    width: 100%;
    margin: 0 auto;
}
.backnumbers > section > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    justify-items: center;
    align-items: center;
    justify-content: center;
    align-content: space-around;
    width: 95%;
    padding: 1.5rem .7rem;
    margin: 0 auto;
}
.backnumbers > section > p {
    text-align: center;
    padding: 1rem 0;
}
.backnumber {
    background-color: white;
    border-radius: 5px;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    padding: 1.25rem;
}
.backnumber img {
    width: 6rem;
    margin-bottom: 0.25rem;
}
.backnumber > div {
    font-weight: normal;
    text-align: left;
    width: 6rem;
}

/* Galaxy Fold (280x653) */
@media (max-width: 330px) {
    .backnumbers > section > div {
        display: grid;
        grid-template-columns: repeat(1, minmax(0, 1fr));
        width: 100%;
    }
}

/* sm :iphone-yoko */
@media (min-width: 550px) {
    #hero div{
        width: 85%;
        max-width: 1024px;
        text-align: center;
    }
/* アーカイブ */
    .backnumbers > section > div {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
/* md :tablet-tate */
@media (min-width: 768px) {
    #hero .logos .logo{
        width: 12rem;
    }
    #hero .logos {
        row-gap: 1.5rem;
    }
    /* 趣旨 */
    .about{
        line-height: 1.7rem;
    }
/* アーカイブ */
    .backnumbers > section > div {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* PC like size */
/* lg :tablet-yoko */
@media (min-width: 1010px) {
/* TOPヘッダー */
    #hero{
        min-height: 55vh;
    }
/* アーカイブ */
    .backnumbers > section > div {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}
/* xl :PC */
@media (min-width: 1280px) {
}
/* 2xl :pc-wide */
@media (min-width: 1536px) {
}