@charset "utf-8";

body {
    background-color: #fafafb;
    margin: 0 auto;
}

/*========= LoadingのためのCSS ===============*/

/* Loading背景画面設定　*/
#splash {
    /*fixedで全面に固定*/
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: #eee;
    text-align: center;
}

/* Loading画像中央配置　*/
#splash_logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Loading アイコンの大きさ設定　*/
#splash_logo svg {
    width: 750px;
}

/* ローディング画面のロゴ */
#loading__logo {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -60%);
}

@media screen and (max-width: 767px) {
    #splash_logo svg {
        width: 500px;
    }
    .loading__logo__top {
        font-size: 18px;
    }
}

/* header-------------------------------------------------------- */
.header__inner {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    padding-left: 4%; /* 60/1366=0.0439 → 4% */
    padding-right: 4%; /* 50/1366=0.0366 → 3% */
    height: 100px;
    background-color: rgba(250, 250, 251, 50%);
    /* ヘッダーを浮かせる */
    position: absolute;
    z-index: 9997;
    top: 0;
}

.logo {
    text-align: center;
}

.logo__top {
    font-size: 24px;
    font-weight: normal;
    line-height: 1;
}

.logo__bottom {
    font-size: 12px;
}

.header__nav ul {
    display: flex;
    gap: 140px;
}

.sp-menu__btn {
    display: none;
}

.sp-header__nav {
    display: none;
}

/* nav部分余白調整 */
@media screen and (max-width: 1000px) {
    .header__nav ul {
        display: flex;
        gap: 80px;
    }
}

/* ハンバーガーメニュー-------------------------------------------------------- */
@media screen and (max-width: 767px) {
    .header__nav {
        display: none;
    }
    .sp-menu__btn {
        display: block;
        width: 28px;
        height: 60px;
        position: absolute;
        top: 20px;
        right: 20px;
        cursor: pointer;
        z-index: 9999;
        transition: 0.5s;
    }
    .sp-menu__btn span {
        position: absolute;
        content: "";
        width: 28px;
        height: 1px;
        background-color: #47455a;
        top: 30px;
        transition: 0.5s;
    }
    .sp-menu__btn span::before {
        position: absolute;
        content: "";
        width: 28px;
        height: 1px;
        background-color: #47455a;
        top: -10px;
        transition: 0.5s;
    }
    .sp-menu__btn span::after {
        position: absolute;
        content: "";
        width: 28px;
        height: 1px;
        background-color: #47455a;
        bottom: -10px;
        transition: 0.5s;
    }
}

.open span {
    background-color: transparent;
}
.open span::before {
    transform: rotate(-40deg);
    top: 0;
}
.open span::after {
    transform: rotate(45deg);
    bottom: 0;
}

.sp-header__nav {
    position: absolute;
    width: 100%;
    height: 100vh;
    background-color: rgba(250, 250, 251, 85%);
    z-index: 9998;
    top: 0;
}

/* Close表記 */
.sp-header__nav::before {
    position: absolute;
    content: "Close";
    font-size: 14px;
    font-weight: 400;
    writing-mode: vertical-rl;
    text-orientation: sideways;
    top: 80px;
    right: 23px;
}

.sp-header__nav ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
    gap: 70px;
}

.nav-logo {
    padding-bottom: 60px;
}

.sp-header__nav li {
    font-size: 18px;
    text-align: center;
}

/* トップページへ戻るボタン-------------------------------------------------------- */
.toTop {
    position: fixed;
    font-size: 14px;
    writing-mode: vertical-rl;
    right: 5px;
    bottom: 200px;
    z-index: 9997;
}

.toTop__item {
    position: relative;
}

.toTop__item:before {
    position: absolute;
    content: "";
    border-top: solid 1px #03001d;
    border-right: solid 1px #03001d;
    width: 10px;
    height: 10px;
    transform: rotate(-45deg);
    top: -15px;
    left: 8px;
}

/* メインビジュアル-------------------------------------------------------- */
.main__visual {
    background: url(../images/main.png) center / cover no-repeat;
    width: 100%;
    padding-bottom: 59.7%;
    position: relative;
}

.main_sen {
    position: absolute;
    width: 95%;
    top: 38%;
}

.concept {
    position: absolute;
    top: 56%;
    left: 13.5%;
}

/* コンセプトのレスポンシブ対応 */
@media screen and (min-width: 1400px) {
    .concept {
        top: 58%;
        left: 18%;
    }
}

.concept__heading {
    font-size: 16px;
    font-family: fot-klee-pro, sans-serif;
    font-style: normal;
    font-weight: 500;
    padding-bottom: 7%;
}

.concept__text {
    font-size: 12px;
    font-family: fot-klee-pro, sans-serif;
    font-style: normal;
    font-weight: 500;
}

/* SP表示用 */
@media screen and (max-width: 767px) {
    .header__inner {
        background-color: unset;
    }
    .main__visual {
        background: url(../images/main_sp@2x.png) center / cover no-repeat;
        width: 100%;
        height: 600px;
        background-position: bottom;
    }
    .main_sen {
        top: auto;
        bottom: 10%;
        width: 100%;
        left: 50%;
        transform: translateX(-50%);
    }
    .main_sen > img {
        object-fit: cover;
        height: 186px;
    }
    .concept {
        width: 375px;
        top: 38%;
        text-align: center;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* 改行・レスポンシブ調整 */
.tab {
    display: none;
}

@media screen and (max-width: 1049px) {
    .pc {
        display: none;
    }
    .tab {
        display: block;
    }
}

@media screen and (max-width: 767px) {
    .pc {
        display: block;
    }
    .tab {
        display: none;
    }
}

/* できること-------------------------------------------------------- */
.skill {
    padding-top: 130px;
}

.section__title {
    font-size: 32px;
    font-weight: 400;
    text-align: center;
    padding-bottom: 86px;
}

.skill__wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 72px;
}

.skill__inner {
    width: 320px;
    background-color: #fff;
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 55px;
    padding-bottom: 77px;
}

.skill__inner__img {
    width: 95px;
    padding-bottom: 35px;
}

.skill__inner__item {
    width: 245px;
}

.skill__inner__title {
    position: relative;
    font-size: 32px;
    font-weight: 400;
    text-align: center;
    padding-bottom: 60px;
}

.skill__inner__title::after {
    position: absolute;
    content: "";
    width: 200px;
    height: 1px;
    background-color: #81808e;
    top: 88px;
    right: 22px;
}

.skill__inner__text {
    font-size: 14px;
}

.skill__inner__tool__design {
    padding-top: 37px;
    width: 280px;
}

.skill__inner__tool__coding {
    padding-top: 61px;
}

/* 制作物-------------------------------------------------------- */
.work {
    padding-top: 184px;
    max-width: 1286px;
    margin: 0 auto;
}

.slider {
    margin: 0 40px;
}

.work__bottom {
    padding-top: 173px;
}

.work__item {
    width: 336px;
    margin-left: 42px;
    margin-right: 42px;
}

.work__item__area {
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    background-color: #fff;
    border-radius: 7px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.work__item__img {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

@media screen and (min-width: 767px) {
    .work__item {
        padding-left: 22px;
        padding-right: 22px;
    }
    .slider {
        margin: 0 10px;
    }
}
.work__item__bottom {
    position: relative;
    display: flex;
    padding-top: 15px;
    width: 336px;
}

.work__category {
    padding-top: 11px;
}

.work__category__web {
    padding-left: 30px;
}

.work__category__banner {
    padding-left: 3px;
}

.work__title {
    padding-left: 60px;
}

@media screen and (max-width: 449px) {
    .work__title {
        padding-left: 30px;
    }
}

.work__title__sub {
    font-size: 12px;
}

.work__title__sub::after {
    position: absolute;
    content: "";
    width: 1px;
    height: 37px;
    background-color: #81808e;
    top: 30%;
    left: 24%;
}

.work__title__main {
    font-size: 16px;
}

/* hover */
.work__item__area {
    position: relative;
}

.hover__mask {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    font-size: 18px;
    background-color: rgba(71, 84, 90, 0.6);
    border-radius: 7px;
    color: #fff;
    opacity: 0;
    transition: 0.3s ease-in-out;
}

.hover__mask > p {
    color: #fff;
}

.hover__mask:hover {
    opacity: 1;
}

@media screen and (max-width: 768px) {
    .hover__mask {
        display: none;
    }
}

/* スライドショーの矢印変更 */
.prev {
    border-top: solid 1px #81808e;
    border-left: solid 1px #81808e;
    width: 14px;
    height: 14px;
    transform: rotate(-45deg);
}
.next {
    border-top: solid 1px #81808e;
    border-right: solid 1px #81808e;
    width: 14px;
    height: 14px;
    transform: rotate(45deg);
}
.prev.slick-arrow {
    position: absolute;
    top: 40%;
    left: 18px;
}
.next.slick-arrow {
    position: absolute;
    top: 40%;
    right: 18px;
}

.work__bottom .prev.slick-arrow {
    top: 60%;
}

.work__bottom .next.slick-arrow {
    top: 60%;
}

.button__container {
    text-align: center;
    padding-top: 113px;
}

.more__button {
    position: relative;
    display: inline-block;
    width: 115px;
    height: 20px;
    border-left: 1px solid #47455a;
    border-bottom: 1px solid #47455a;
    text-align: center;
    padding-bottom: 10px;
    transition: 0.5s;
}

.more__button::after {
    position: absolute;
    content: "";
    width: 115px;
    height: 1px;
    background-color: #47455a;
    bottom: -5px;
    left: 3px;
}

.more__button:hover {
    transform: translate(3px, 5px);
}

.more__button:hover::after {
    display: none;
}

.sen__3rd {
    padding-top: 112px;
    padding-bottom: 145px;
}

/* 自己紹介-------------------------------------------------------- */
.about {
    position: relative;
    padding-bottom: 270px;
}

.about__pic {
    position: absolute;
    z-index: 10;
    left: 0;
    top: 105px;
    width: 100%;
}

.about__pic img {
    object-fit: cover;
    object-position: left;
    height: 780px;
}

.about__wrapper {
    height: 340px;
    display: flex;
    justify-content: center;
    gap: 15%;
}

.about__inner {
    width: 390px;
    position: absolute;
    left: 310px;
}

.about__img {
    position: absolute;
    width: 300px;
    right: 20%;
}
@media screen and (max-width: 1360px) {
    .about__img {
        right: 10%;
    }
}

.about__name {
    font-size: 18px;
    position: relative;
    padding-left: 18px;
    padding-bottom: 30px;
}

.about__name::before {
    position: absolute;
    content: "";
    width: 7px;
    height: 25px;
    background-color: #47455a;
    top: 2px;
    left: 2px;
}

.about__text {
    font-size: 14px;
}

.about__pc__button__container {
    padding-top: 60px;
}

.about__pc__more__button {
    z-index: 12;
}

.about__sp__button__container {
    display: none;
}

@media screen and (max-width: 767px) {
    .sen__3rd {
        display: none;
    }
    .about {
        margin-top: 300px;
    }
    .about__pic {
        top: -80px;
    }
    .about__wrapper {
        flex-direction: column;
        margin-top: -110px;
        gap: 27px;
    }
    .about__inner {
        width: 315px;
        margin: 0 auto;
    }
    .about__img {
        width: 336px;
        margin: 0 auto;
    }
    .about__sp__button__container {
        display: block;
    }
    .about__pc__button__container {
        display: none;
    }
}

@media screen and (min-width: 768px) and (max-width: 1230px) {
    .about__pic img {
        object-fit: cover;
        object-position: -140px;
        height: 700px;
    }
    .about__inner {
        left: 180px;
    }
    .about__wrapper {
        padding: 0 30px 0;
    }
}

@media screen and (min-width: 768px) and (max-width: 1065px) {
    .about__pic img {
        object-position: -240px;
    }
    .about__inner {
        left: 80px;
    }
}
@media screen and (min-width: 768px) and (max-width: 930px) {
    .about__pic img {
        object-position: -230px;
        height: 650px;
    }
    .about__img {
        width: 30%;
        right: 5%;
    }
    .about__inner {
        left: 50px;
    }
}
@media screen and (min-width: 1480px) and (max-width: 1700px) {
    .about__pic img {
        object-position: -230px;
    }
}
@media screen and (min-width: 1701px) {
    .about__inner {
        left: 560px;
    }
}

@media screen and (max-width: 767px) {
    .about__pic img {
        object-fit: cover;
        object-position: center;
        height: 440px;
    }
    .about__inner {
        bottom: 640px;
        left: 50%;
        transform: translateX(-50%);
        padding: 0 30px;
    }
    .about__img {
        bottom: 350px;
        left: 50%;
        transform: translateX(-50%);
        padding: 0 30px;
    }
    .about__sp__button__container {
        padding-top: 580px;
    }
}

/* お問い合わせ-------------------------------------------------------- */
.contact {
    padding-top: 150px;
}
@media screen and (max-width: 767px) {
    .contact {
        padding-top: 0px;
    }
}

.contact__text {
    text-align: center;
}

.contact__more__button {
    width: 175px;
}

.contact__more__button::after {
    width: 175px;
}

@media screen and (min-width: 768px) {
    .sp {
        display: none;
    }
}
@media screen and (min-width: 1400px) {
    .contact {
        padding-top: 300px;
    }
}

/* フッター */
.footer__container {
    position: relative;
}

.footer__inner {
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 22%;
}

.footer__nav ul {
    display: flex;
    justify-content: space-between;
    padding-top: 90px;
    padding-bottom: 80px;
    font-size: 18px;
}

.copy {
    font-size: 12px;
}

/* SP表示用 */
@media screen and (max-width: 767px) {
    .footer__nav ul {
        flex-direction: column;
        gap: 50px;
    }
}

/* レスポンシブ調整 */
@media screen and (max-width: 1169px) {
    .footer__inner {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        height: 80%;
    }
    .footer__nav ul {
        padding-top: 0;
        padding-bottom: 0;
    }
}
@media screen and (min-width: 1366px) {
    .footer__img {
        height: 420px;
        object-fit: cover;
        object-position: top;
    }
}

/* 制作一覧ページ-------------------------------------------------------- */
.work-header__img {
    display: flex;
    height: 100px;
}

.work__main {
    position: relative;
    margin: 0 auto;
}

/* パンくずリスト */
.breadcrumb__area {
    position: absolute;
    left: 6%;
}

.breadcrumb {
    display: flex;
    gap: 0 22px;
    list-style: none;
    margin-top: 45px;
    padding-inline-start: 0;
    font-size: 12px;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    display: inline-block;
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    margin-left: 10px;
    border-top: 1px solid #81808e;
    border-right: 1px solid #81808e;
    content: "";
}

.all__work__title {
    padding-top: 100px;
    padding-bottom: 0px;
}

.all__work {
    max-width: 1192px;
    padding-top: 175px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 105px 7%;
}

.all__work__item {
    margin-left: 0px;
    margin-right: 0px;
}

.all__work__text {
    font-size: 16px;
    padding-top: 106px;
    padding-bottom: 75px;
    text-align: center;
}

.all__work__link {
    text-decoration: underline;
    color: #b3b2bb;
}

/* 自己紹介ページ-------------------------------------------------------- */
.about__title {
    padding-top: 100px;
}

.about__page__pic {
    top: 200px;
}
@media screen and (min-width: 768px) and (max-width: 1230px) {
    .about__page__pic img {
        object-fit: cover;
        object-position: -140px;
        height: 700px;
    }
}
@media screen and (min-width: 768px) and (max-width: 1065px) {
    .about__page__pic img {
        object-position: -240px;
    }
}
@media screen and (min-width: 768px) and (max-width: 930px) {
    .about__page__pic img {
        object-position: -230px;
        height: 650px;
    }
}
@media screen and (max-width: 767px) {
    .about__page {
        padding-top: 120px;
    }

    .about__area {
        margin-top: 200px;
    }
    .about__title {
        margin-top: -160px;
        padding: 20px;
    }
    .about__page__pic {
        top: -60px;
    }
    .about__page__wrapper {
        padding-top: 1030px;
    }
}

/* 経歴 */
.career {
    max-width: 842px;
    margin: 0 auto;
}

.career__flex {
    display: flex;
    font-size: 14px;
    padding: 0 30px;
}

.career__flex__left {
    width: 11%;
    padding-top: 45px;
    border-right: 1px solid #81808e;
}

.career__flex__right {
    position: relative;
    width: 82%;
    margin-inline-start: 7%;
    padding-top: 45px;
}

.career__flex__right::before {
    position: absolute;
    content: "";
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #81808e;
    background-color: #fff;
    top: 45px;
    left: -11%;
}

@media screen and (max-width: 767px) {
    .career > h2 {
        padding-bottom: 55px;
    }
    .career__flex {
        flex-direction: column;
        padding: 0 30px 68px;
    }
    .career__flex__left {
        border: none;
    }
    .career__flex__right {
        margin-inline-start: unset;
        width: 100%;
        padding-top: 38px;
    }
    .career__flex__right:before {
        width: 100%;
        height: 1px;
        border: none;
        background-color: #dddde0;
        top: 17px;
        left: auto;
    }
}
@media screen and (min-width: 1340px) {
    .career {
        padding-top: 200px;
    }
}
@media screen and (min-width: 1700px) {
    .career {
        padding-top: 400px;
    }
}

/* これから */
.future__title {
    padding-top: 230px;
}

.future__text {
    width: 472px;
    margin: 0 auto;
    padding-bottom: 50px;
}

@media screen and (max-width: 767px) {
    .future__title {
        padding-top: 140px;
        padding-bottom: 66px;
    }
    .future__text {
        padding: 0 15% 50px;
        width: 100%;
    }
}

/* お問い合わせページ-------------------------------------------------------- */
.contact__title {
    padding-top: 145px;
}

.contact__page__text {
    font-size: 14px;
    text-align: center;
    padding-bottom: 75px;
}

.c-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 30px;
}

.c-form__item {
    display: flex;
    flex-direction: column;
    padding-bottom: 40px;
}

.c-form__label {
    padding-bottom: 18px;
    font-size: 14px;
}

.c-form__required {
    font-size: 12px;
}

.c-form__input {
    height: 50px;
    border: none;
}

#field-message {
    height: 150px;
}

.c-form__submit {
    text-align: center;
    padding-top: 35px;
}

.c-form__button {
    font-size: 14px;
    line-height: 1.75;
    width: 118px;
    padding-bottom: 25px;
    cursor: pointer;
}

button.more__button:after {
    width: 118px;
}

@media screen and (max-width: 767px) {
    #field-message {
        height: 336px;
    }
}

/* サンクスページ-------------------------------------------------------- */
.thanks__wrapper {
    max-width: 610px;
    margin: 0 auto;
    text-align: center;
    padding-top: 188px;
}

.thanks__text {
    font-size: 14px;
    padding-bottom: 108px;
}

@media screen and (max-width: 767px) {
    .letter_sen {
        width: 70%;
    }
    .contact__button__container {
        padding-bottom: 25px;
    }
}

/* 制作詳細ページ-------------------------------------------------------- */
.work__item__main {
    position: relative;
}

.item__breadcrumb__area {
    position: absolute;
}

.mockUp__img {
    max-width: 457px;
    padding-bottom: 128px;
}

.detail {
    max-width: 870px;
    margin: 0 auto;
    text-align: center;
    padding-top: 202px;
}

/* SP表示の際の調整（パンくずリスト含む） */
@media screen and (max-width: 767px) {
    .breadcrumb__area {
        display: none;
    }
    .detail {
        padding-top: 95px;
    }
}

.detail__area {
    text-align: left;
    padding: 0 30px;
}

.detail__title {
    position: relative;
    font-size: 30px;
    font-weight: 400;
    padding-left: 30px;
}

.detail__title:before {
    position: absolute;
    content: "";
    width: 10px;
    height: 85px;
    background-color: #47455a;
    top: 6px;
    left: 2px;
}

.detail__wrapper {
    padding-top: 74px;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.detail__item {
    position: relative;
    display: flex;
    gap: 24px;
}

.detail__item:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    background-color: #dddde0;
    bottom: -18px;
    left: 0;
}

.detail__item:last-child::after {
    content: none;
}

@media screen and (max-width: 768px) {
    .detail__item:last-child::after {
        content: "";
    }
    .detail__title {
        font-size: 24px;
    }
    .detail__title__long:before {
        height: 120px;
    }
}

@media screen and (min-width: 768px) {
    .detail__item {
        width: 100%;
        gap: 3%;
    }
    .detail__category {
        width: 13%;
    }
    .detail__text {
        width: 84%;
    }
}

.item__img {
    max-width: 1120px;
    padding: 150px 30px 0;
    margin: 0 auto;
    display: flex;
    gap: 4%;
}

.item__sp {
    display: none;
}

.item__img__notes {
    display: none;
}

.item__img__pc {
    max-width: 76%;
    height: -webkit-fill-available;
    border: #e6e5e8 1px solid;
}

.item__img__sp {
    max-width: 20%;
    border: #e6e5e8 1px solid;
}

@media screen and (max-width: 767px) {
    img.mockUp__img {
        max-width: 64%;
    }
    .detail__item {
        flex-direction: column;
        padding: 0 30px 28px;
    }
    .detail__item:after {
        width: calc(100% - 60px);
        left: 50%;
        transform: translateX(-50%);
        top: 35px;
    }
    .pc__only {
        display: none;
    }
    .item__img {
        display: none;
    }
    .item__sp {
        position: relative;
        display: block;
        text-align: center;
    }
    .item__sp::before {
        position: absolute;
        content: "PC表示";
        color: #47455a;
        font-size: 12px;
        top: 115px;
        left: 15%;
    }
    .item__sp:after {
        position: absolute;
        content: "SP表示";
        color: #47455a;
        font-size: 12px;
        bottom: 305px;
        left: 15%;
    }
    .item__img__pc {
        max-width: 70%;
        height: 300px;
        object-fit: cover;
        object-position: top;
        margin-bottom: 100px;
    }
    .item__img__sp {
        max-width: 54%;
        height: 300px;
        object-fit: cover;
        object-position: top;
    }
}

/* 課題1調整 */
.kadai01size {
    width: 466px;
    max-width: 100%;
}
/* 課題2調整 */
.kadai02size {
    width: 350px;
    max-width: 100%;
}
/* 課題3調整 */
.kadaiR3size {
    width: 622px;
    max-width: 100%;
}
.kadaiP3size {
    width: 350px;
    max-width: 100%;
}
/* 課題5調整 */
.single__item__img {
    justify-content: center;
}
@media screen and (max-width: 767px) {
    .single__item__sp.item__sp:after {
        display: none;
    }
}
/* DESIGN CAFE調整 */
.detail__item ul li {
    list-style: disc;
}
.detail__item ul {
    padding-left: 20px;
}
/* adobe課題調整 */
.kadaiADsize {
    width: 350px;
    max-width: 100%;
}

/* ページネーション */
.pagination__area__sp {
    display: none;
}

.pagination__area {
    max-width: 700px;
    margin: 0 auto;
    padding-top: 150px;
}

.pagination {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    text-align: center;
    height: 60px;
}

.pagination__prev {
    position: relative;
    width: 140px;
    border: solid 1px #81808e;
    border-radius: 7px;
    padding-left: 25px;
    line-height: 60px;
}

.pagination__prev:before {
    position: absolute;
    content: "";
    border-top: solid 1px #47455a;
    border-right: solid 1px #47455a;
    width: 10px;
    height: 10px;
    transform: rotate(225deg);
    top: 22px;
    left: 30px;
}

.pagination__prev > a {
    display: block;
    width: 100%;
    height: 100%;
}

.all__contents {
    width: 340px;
    line-height: 60px;
    border: solid 1px #81808e;
    border-radius: 7px;
    line-height: 60px;
}

.pagination__next {
    position: relative;
    width: 140px;
    border: solid 1px #81808e;
    border-radius: 7px;
    padding-right: 25px;
    line-height: 60px;
}

.pagination__next:after {
    position: absolute;
    content: "";
    border-top: solid 1px #47455a;
    border-right: solid 1px #47455a;
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
    top: 22px;
    right: 30px;
}

.pagination__next > a {
    display: block;
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 767px) {
    .pagination__area {
        display: none;
    }
    .pagination__area__sp {
        display: block;
        padding: 94px 30px 125px;
    }
    .pagination__sp {
        justify-content: space-between;
        font-size: 16px;
    }
    .pagination__prev {
        width: 19%;
    }
    .pagination__prev:before {
        left: 45%;
    }
    .all__contents {
        width: 50%;
    }
    .pagination__next {
        width: 19%;
    }
    .pagination__next:after {
        right: 45%;
    }
}

/* ページネーション　最初・最後 */
.pagination__top {
    justify-content: flex-end;
    gap: 40px;
}
.pagination__last {
    justify-content: flex-start;
    gap: 40px;
}
@media screen and (max-width: 767px) {
    .pagination__top {
        gap: 18px;
    }
    .pagination__last {
        gap: 18px;
    }
}
.pagination__prev__top {
    display: none;
}
.pagination__prev__last {
    display: none;
}

/* モーダルの背景 */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 100px;
    padding-bottom: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(71, 84, 90, 0.6);
}

/* モーダルコンテンツ */
.modal-content {
    margin: auto;
    display: block;
    width: 70%;
    max-width: 700px;
}

/* クローズボタン */
.close {
    position: fixed;
    top: 15px;
    right: 5%;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #81808e;
    text-decoration: none;
    cursor: pointer;
}
