html, body {
  -webkit-text-size-adjust: 100%;
}

html {
    font-family: "IBM Plex Sans JP", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 1.5;
}

body {
    overscroll-behavior: none;
    margin: 0;
    padding: 0;
    background-color: #FAFAFA;
    box-sizing: border-box;
    overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.top article {
    width: 100vw;
    height: 100vh;
}

.top .main_contents {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.top .main_contents .ttl_img {
    max-width: 540px;
    height: 100vh;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.top .main_contents .ttl_img img {
    position: fixed;
}

.top .main_contents .list {
    max-width: 540px;
    width: 50%;
    padding: 0 2% 3% 0;
}

.top .main_contents .list h2 {
    font-size: 24px;
    font-weight: 600;
    color: #FF4200;
    border-bottom: solid 1px #FF4200;
    margin-bottom: 24px;
}

.top .main_contents .list h2:not(:first-of-type) {
    margin-top: 56px;
}

.top .main_contents .list .item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

.top .main_contents .list .item:not(:last-of-type) {
    margin-bottom: 20px;
}

.top .main_contents .list .item figure {
    margin: 0;
    max-width: 260px;
    width: calc(50% - 20px);
}

.top .main_contents .list .item .txt {
    width: 50%;
}

.top .main_contents .list .item .txt h3 {
    margin: 0 0 1rem;
    font-size: 22px;
    color: #333;
}

.top .main_contents .list .item .txt .series {
    font-size: 14px;
    color: #333;
    margin-bottom: 14px;
}

.top .main_contents .list .item .txt a {
    color: #FF4200;
    font-size: 16px;
    display: block;
    position: relative;
    text-decoration: none;
    font-weight: 600;
    width: fit-content;
}

.top .main_contents .list .item .txt a::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900; 
    content: "\f054";
    font-size: 12px;
    position: absolute;
    top: 3px;
    right: -16px;
}

@media (orientation: landscape) {
  .top .main_contents {
    flex-direction: row;
  }
}

@media (orientation: portrait) {
    body {
        overflow-x: hidden;
        overflow-y: scroll;
    }

    .top .main_contents {
        flex-direction: column;
        max-width: 96%;
        height: auto;
        padding: 30px 2% 0;
    }

    .top .main_contents .ttl_img {
        width: 100%;
        max-width: 100%;
        max-height: 300px;
        position: relative;
        justify-content: center;
    }

    .top .main_contents .ttl_img img {
        position: relative;
    }

    .top .main_contents .list {
        width: 96%;
        max-width: 96%;
        padding: 0 2% 50px;
        left: 0;
        top: auto;
        transform: none;
    }
}

@media screen and (max-width: 1080px) {
    .top .main_contents {
        width: 96%;
        padding: 0 2%;
    }
}

@media screen and (max-width: 767px) {
    body {
        overflow-x: hidden;
        overflow-y: scroll;
    }

    .top .main_contents {
        flex-direction: column;
        max-width: 96%;
        height: auto;
        aspect-ratio: 1 / 1;
        padding: 0 2%;
    }

    .top .main_contents .ttl_img {
        width: 100%;
        height: 100%;
        position: relative;
        justify-content: center;
    }

    .top .main_contents .ttl_img img {
        width: 64%;
    }

    .top .main_contents .list {
        width: 96%;
        max-width: 96%;
        padding: 0 2% 50px;
        left: 0;
    }

    .top .main_contents .list h2 {
        font-size: 20px;
    }

    .top .main_contents .list .item {
        flex-direction: column;
    }

    .top .main_contents .list .item figure {
        max-width: 100%;
        width: 100%;
    }

    .top .main_contents .list .item figure img {
        width: 100%;
        height: auto;
    }

    .top .main_contents .list .item .txt {
        width: 100%;
    }

    .top .main_contents .list {
        padding-bottom: 30px;
        top: auto;
        transform: none;
    }
}


