h1, h2, h3, p {
    margin: 0;
    padding: 0;
}

#contents {
    padding-top: 0;
}

#top__main-contents {
    font-family: "NotoSansCJKjp";
}

@media print, (min-width: 741px) {
    /* PC */
#contents {
    width: 833px;
}

.top__mainvisual {
    position: relative;
}

.top__mainvisual-img {
    margin-bottom: 32px;
}

.top__mainvisual-img--sp {
    display: none;
}

.top__main-contents-txt {
    color: #ffffff;
    font-family: Times;
    font-size: 28px;
    font-weight: bold;
    transform: rotate(90deg);
    position: absolute;
    top: 65px;
    left: -70px;
}

h1 {
    margin-bottom: 32px;
    color: #595757;
    font-size: 32px;
    font-weight: bold;
}

#summary {
    margin-bottom: 64px;
    display: flex;
    gap: 34px;
}

.summary__item { 
    width: 255px;
}

.summary__item-category {
    margin-bottom: 16px;
    padding-bottom: 12px;
    color: #144D9C;
    font-size: 20px;
    font-weight: bold;
    border-bottom: solid 2px #144D9C;
}

.summary__item-category-txt {
    height: 82px;
    color: #595757;
    font-size: 16px;
}

time {
    color: #595757;
    font-size: 14px;
    font-weight: normal;
    display: flex;
    justify-content: end;
}

.summary__item > time {
    margin-bottom: 8px;
}

.person {
    margin-bottom: 30px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.person > img {
    width: 42px;
}

.person > p {
    color: #808080;
    font-size: 14px;
}

.anchor-forward {
    margin-left: 39px;
    width: 178px;
    height: 33px;
    display: flex;
    justify-content: space-between;
    border: solid 2px #70A8CA;
}

.anchor-link-forward {
    display: flex;
    position: relative;
    width: 100%;
    padding-left: 16px;
    color: #70A8CA;
}

.anchor-link-forward:hover {
    text-decoration: underline #70A8CA;
}

.anchor-link-forward::after {
    content: ">";
    display: block;
    position: absolute;
    transform: rotate(90deg);
    top: 2px;
    right: 15px;
    color: #70A8CA;
    font-size: 20px;
}

#detail__guardian, #detail__teacher {
    margin-bottom: 80px;
}

.detail__category {
    margin-bottom: 32px;
    padding-bottom: 8px;
    color: #144D9C;
    font-size: 30px;
    font-weight: bold;
    border-bottom: solid 2px #144D9C;
}

.detail__category-ttl {
    margin-bottom: 24px;
    color: #595757;
    font-size: 32px;
    font-weight: bold;
}

.detail__category-txt {
    margin-bottom: 16px;
    color: #595757;
    font-size: 16px;
    font-weight: normal;
}

.detail > time {
    margin-bottom: 20px;
}

.anchor-back {
    margin: 0 0 0 auto;
    width: 69.3px;
    display: flex;
    justify-content: space-between;
}

.anchor-link-back {
    display: flex;
    position: relative;
    width: 100%;
    color: #70A8CA;
}

.anchor-link-back:hover {
    text-decoration: underline #70A8CA;
}

.anchor-link-back::after {
    content: "<";
    display: block;
    position: absolute;
    transform: rotate(90deg);
    top: 2px;
    left: 60px;
    color: #70A8CA;
    font-size: 20px;
}

.anchor-link-txt {
    color: #70A8CA;
    font-family: Times;
    font-size: 20px;
    font-weight: bold;
}
.relation__article{
    margin-top: 1em;
}
.sp__only{
    display: none;
}
}

@media only screen and (max-width: 740px) {
    /* SP */

.top__mainvisual-img {
    display: none;
}

.top__mainvisual-img--sp {
    width: 100%;
    margin-bottom: 4vw;
}

.top__main-contents-txt {
    margin-left: 4.6vw;
    margin-bottom: 1.3vw;
    color: #171C61;
    font-family: Times;
    font-size: 4.26vw;
    font-weight: normal;
}

h1 {
    margin-left: 4.6vw;
    margin-bottom: 7.73vw;
    color: #595757;
    font-size: 4.8vw;
    font-weight: bold;
}

.summary__item { 
    width: 68vw;
    margin: 0 auto;
    margin-bottom: 9.3vw;
}

#summary:nth-of-type(3) {
    margin-bottom: 10.6vw;
}

.summary__item-category {
    margin-bottom: 2.26vw;
    padding-bottom: 1.86vw;
    color: #144D9C;
    font-size: 3.2vw;
    font-weight: bold;
    border-bottom: solid 0.26vw #144D9C;
}

.summary__item-category-txt {
    margin-bottom: 1.73vw;
    color: #595757;
    font-size: 4.26vw;
}

time {
    color: #595757;
    font-size: 3.2vw;
    font-weight: normal;
    display: flex;
    justify-content: end;
}

.summary__item > time {
    margin-bottom: 1.86vw;
}

.person {
    margin-bottom: 4vw;
    display: flex;
    gap: 1.3vw;
    align-items: center;
}

.person > img {
    width: 8vw;
}

.person > p {
    color: #808080;
    font-size: 3.2vw;
}

.anchor-forward {
    margin: 0 0 0 auto;
    width: 29.46vw;
    height: 6.4vw;
    display: flex;
    justify-content: space-between;
    border: solid 0.26vw #70A8CA;
}

.anchor-link-forward {
    display: flex;
    position: relative;
    width: 100%;
    padding-left: 2.13vw;
    color: #70A8CA;
}

.anchor-link-forward:hover {
    text-decoration: underline #70A8CA;
}

.anchor-link-forward::after {
    content: ">";
    display: block;
    position: absolute;
    transform: rotate(90deg);
    right: 2.13vw;
    color: #70A8CA;
    font-size: 4vw;
}

#detail__guardian {
    width: 91.5vw;
    margin: 0 auto;
    margin-bottom: 9.3vw;
}

#detail__teacher {
    width: 91.5vw;
    margin: 0 auto;
    margin-bottom: 9.3vw;
}

#detail__researcher {
    width: 91.5vw;
    margin: 0 auto;
}

.detail__category {
    margin-bottom: 4vw;
    padding-bottom: 1.06vw;
    color: #144D9C;
    font-size: 4vw;
    font-weight: bold;
    border-bottom: solid 0.26vw #144D9C;
}

.detail__category-ttl {
    margin-bottom: 4vw;
    color: #595757;
    font-size: 4.26vw;
    font-weight: bold;
}

.detail__category-txt {
    margin-bottom: 1.73vw;
    color: #595757;
    font-size: 3.2vw;
    font-weight: normal;
}

.detail > time {
    margin-bottom: 1.86vw;
}

.anchor-back {
    margin: 0 0 0 auto;
    width: 12.6vw;
    display: flex;
    justify-content: space-between;
}

.anchor-link-back {
    display: flex;
    position: relative;
    width: 100%;
    color: #70A8CA;
}

.anchor-link-back:hover {
    text-decoration: underline #70A8CA;
}

.anchor-link-back::after {
    content: "<";
    display: block;
    position: absolute;
    transform: rotate(90deg);
    left: 10.4vw;
    color: #70A8CA;
    font-size: 4vw;
}

.anchor-link-txt {
    color: #70A8CA;
    font-family: Times;
    font-size: 3.73vw;
    font-weight: bold;
}
.relation__article{
    margin-top: 1em;
    font-size: 3.2vw;
}
}
/* リスク回避文言、日付 */
.main-visual__date, .content-risk {
    color: #808080;
}
/* pc */
@media (min-width: 741px) {
    .main-visual__date {
        font-size: 16px;
    }
    .content-text {
        font-size: 16px;
    }
    .content-risk {
        font-size: 14px;
    }
}
/* sp */
@media (max-width: 740px) {
    .main-visual__date {
        font-size: 4vw;
        margin-left: 4.6vw;
    }
    .content-text {
        font-size: 4vw;
        width: 91.07vw;
        margin: 0 auto;
    }
    .content-risk {
        font-size: 3vw;
    }
}