@media screen and (min-width: 768px) {
    .page-container {
        display: flex;
        flex-direction: column;
        background-color: #000;
        padding: 90px 0 124px;
    }
    .main-container {
        flex: 1;
        width: 100%;
        max-width: 1440px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        margin-inline: auto;
    }
    .main-container > div {
        width: 100%;
        max-width: 100%;
    }
}
.page-container {
    background-color: #000;
    padding: 90px 0 124px;
}
html,
body {
    height: 100%;
    margin: 0;
}
img {
    max-width: 100%;
    width: 100%;
}
body {
    background: #000;
    color: #fff;
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}
ul,
li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-visual-wrapper {
    position: relative;
    margin-top: 70px;
}
.main-visual-image img {
    width: 986px;
    max-width: unset;
    position: absolute;
    top: 0;
    left: 0;
}
.main-visual-text {
    font-size: 17px;
    text-align: left;
    margin-top: 600px;
    position: relative;
    z-index: 2;
    width: 75%;
    max-width: 600px;
    margin-inline: auto;
}
.go-to-link-wrapper {
    position: fixed;
    top: 50px;
    left: 0;
    width: 160px;
    background: #1a1a1a;
    border-radius: 0 8px 8px 0;
    z-index: 30;
}
.go-to-link-wrapper:hover {
    background: #1f1f1f;
}
.go-to-link:hover {
    opacity: 0.8;
}
.go-to-link-wrapper a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 24px 20px;
    width: 100%;
    height: 100%;
}
.go-to-link {
    display: flex;
}
.go-to-link img {
    transform: scaleX(-1);
    width: 7px;
    margin-right: 10px;
}
.go-to-link span {
    font-size: 20px;
}
.from-item-content {
    width: 500px;
    position: relative;
    z-index: 2;
}
.from-item-header {
    font-size: 28px;
    margin-bottom: 22px;
}
.from-item-text {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 28px;
}
.from-item-detail-link-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}
.from-items-wrapper {
    margin-top: 65px;
}
.from-item-wrapper {
    position: relative;
    padding: 42px 0 34px 32px;
    border: 1px solid #707070;
    background: #000;
}
.from-item-wrapper:after {
    content: "";
    display: block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0;
    right: 0;
}
.from-item-wrapper.rijicho:after {
    background-image: url(https://from.nakauchi.com/images/rijicho@2x.png);
    width: 340px;
    aspect-ratio: 1.243;
}
.from-item-wrapper.ceo:after {
    background-image: url(https://from.nakauchi.com/images/ceo@2x.png);
    width: 230px;
    aspect-ratio: 0.8025;
}
.from-item-detail-link {
    width: 120px;
    position: relative;
    font-size: 14px;
    margin-right: 100px;
}
.from-item-detail-link:after {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    background-image: url(https://from.nakauchi.com/images/arrow.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}
.from-item-detail-link a {
    display: block;
    width: 100%;
    height: 100%;
}
.from-item-detail-link:hover {
    opacity: 0.7;
    cursor: pointer;
}
.from-items-wrapper > div + div {
    margin-top: 16px;
}
.sp {
    display: none;
}
@media screen and (max-width: 768px) {
    .go-to-link-wrapper {
        width: 88px;
        top: 100px;
    }
    .go-to-link-wrapper a {
        padding: 12px;
    }
    .go-to-link {
        margin-bottom: 5px;
    }
    .go-to-link span {
        font-size: 10px;
    }
    .go-to-link img {
        width: 5px;
    }
    .main-visual-image img {
        width: 100%;
        height: auto;
        position: static;
    }
    .main-visual-text {
        margin-top: 0;
        width: 90%;
        font-size: 14px;
        line-height: 2;
        margin-inline: auto;
    }
    .from-item-wrapper {
        width: 95%;
        margin-inline: auto;
        padding: 32px 24px 220px;
    }
    .from-item-content {
        width: 100%;
    }
    .from-item-header {
        font-size: 20px;
    }
    .from-item-text {
        font-size: 12px;
    }
    .from-item-detail-link {
        margin-right: 0;
    }
    .from-item-wrapper.rijicho:after {
        background-image: url(https://from.nakauchi.com/images/rijicho-sp.png);
        height: 200px;
        width: unset;
        aspect-ratio: 1;
        right: 50%;
        transform: translate(50%);
    }
    .from-item-wrapper.ceo:after {
        background-image: url(https://from.nakauchi.com/images/ceo-sp.png);
        height: 200px;
        width: unset;
        aspect-ratio: 0.905;
        right: 50%;
        transform: translate(50%);
    }
    .from-items-wrapper {
        margin-top: 20px;
    }
    .main-visual-wrapper {
        margin-top: 0;
    }
    .sp {
        display: block;
    }
    .pc {
        display: none;
    }
}
svg {
    display: inline-block;
    max-width: 150px;
    max-height: 150px;
    vertical-align: middle;
}
.icon {
    fill: #116cd9;
    stroke: #116cd9;
    color: #116cd9;
}