/* ========== mv ========== */
.mv__about {
    background-color: #f5f5f5;
}

.profile__inner {
    padding: 85px 0 96px;
    max-width: 1110px;
    width: 77.083%;
    margin: auto;
}

.page__profile-title {
    font-size: 36px;
}

.profile__container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
    position: relative;
}

.profile__image {
    width: 24.324%;
    min-width: 200px;
    object-fit: contain;
    margin-top: -61px;
}

.profile__name-red {
    position: absolute;
    width: 48.648%;
    top: 66%;
    right: -11.261%;
}

.profile__text-box {
    width: 65.765%;
    margin-top: 40px;
}

.profile__message {
    line-height: 2;
    text-align: justify;
}

.profile__my-name {
    font-size: 20px;
    display: flex;
    flex-direction: column-reverse;
    margin-top: 40px;
}

.span__profile__my-name {
    font-size: 10px;
}

/* SP */
@media (max-width: 768px) {
    .profile__inner {
        padding: 40px 0 80px;
        max-width: 1110px;
        width: 76%;
    }

    .profile__container {
        display: block;
    }

    .page__profile-title {
        font-size: 24px;
    }

    .profile__image {
        width: 87.719%;
        max-width: 270px;
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
    }

    .profile__name-red {
        width: 120.052%;
        max-width: 400px;
        top: 219px;
        right: -10.526%;
    }

    .profile__text-box {
        width: 100%;
        margin-top: 71px;
    }

    .profile__my-name {
        margin-top: 18px;
    }
}


/* ========== セクション共通 ========== */
section {
    background-color: #F5F5F5;
}

.section__container {
    padding: 120px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 81.981%;
    margin: auto;
    position: relative;
}

.future__section .section__container,
.can__section .section__container,
.like__section .section__container {
    width: 81.081%;
}

.section__label {
    padding: 15px 70px;
    background-color: #9E2F00;
    font-size: 22px;
    color: #F5F5F5;
    position: absolute;
    top: -30px;
}

/* SP */
@media (max-width: 768px) {
    .section__container {
        padding: 60px 0;
        width: 85.507%;
    }

    .future__section .section__container,
    .can__section .section__container,
    .like__section .section__container {
        width: 82.608%;
    }

    .section__label {
        padding: 10px 50px;
        font-size: 20px;
        top: -27px;
    }
}

/* ========== 先生スタンプ ========== */
.teacher__stamp-decoration {
    margin-top: 140px;
}

.teacher__stamp-box {
    margin-left: 6.944%;
    width: 130px;
}

/* SP */
@media (max-width: 768px) {
    .teacher__stamp-decoration {
        margin-top: 35px;
    }

    .teacher__stamp-box {
        margin-left: 4%;
        width: 26.666%;
        max-width: 130px;
    }
}

/* ========== あゆみ ========== */
.career__section {
    margin-top: 67px;
}

.career__box {
    width: 100%;
}

.career__item {
    display: flex;
    gap: 6.593%;
    padding: 20px 5px;
    border-bottom: 1px solid #111;
}

.career__item:first-child {
    padding: 0 5px 20px;
}

.career__item:last-child {
    padding: 20px 5px 0;
    border-bottom: none;
}

.career__date {
    min-width: 45px;
}

@media (max-width: 768px) {
    .career__section {
        margin-top: 57px;
    }

    .career__item {
        flex-direction: column;
        gap: 5px;
    }
}

/* ========== 鳥スタンプ ========== */
.bird-stamp-decoration {
    margin-top: 100px;
    display: flex;
    justify-content: end;
}

.bird-stamp-box {
    margin-right: 6.25%;
    width: 150px;
}

/* SP */
@media (max-width: 768px) {
    .bird-stamp-decoration {
        margin-top: 40px;
    }

    .bird-stamp-box {
        margin-right: 4%;
        width: 32%;
        max-width: 150px;
    }
}

/* ========== これから ========== */
.future__section {
    margin-top: 52px;
}

.future__text {
    line-height: 2;
    text-align: justify;
}

.future__text:nth-child(1) {
    font-size: 18px;
}

.future__text:nth-child(2) {
    margin-top: 30px;
}

.future__text:nth-child(3) {
    margin-top: 15px;
}

.future__text:nth-child(4) {
    margin-top: 15px;
}

@media (max-width: 768px) {
    .future__section {
        margin-top: 65px;
    }

    .future__text:nth-child(2) {
        margin-top: 15px;
    }
}

/* ========== 名前スタンプ ========== */
.name-stamp-decoration {
    margin-top: 120px;
}

.name-stamp-box {
    margin-left: 6.25%;
    width: 150px;
}

/* SP */
@media (max-width: 768px) {
    .name-stamp-decoration {
        margin-top: 50px;
    }

    .name-stamp-box {
        margin-left: 4%;
        width: 32%;
        max-width: 150px;
    }
}

/* ========== できる ========== */
.can__section {
    margin-top: 102px;
}

.can__area {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 15px;
}

.can__item {
    border: 1px solid #111;
    background-color: #fff;
}

.can__item:nth-child(2) {
    grid-column: span 2 / span 2;
}

.can__item:nth-child(3) {
    grid-row-start: 2;
}

.can__item:nth-child(4) {
    grid-column: span 2 / span 2;
    grid-row-start: 2;
}

.can__item:nth-child(5) {
    grid-row-start: 3;
}

.can__item:nth-child(6) {
    grid-column: span 2 / span 2;
    grid-row-start: 3;
}

.can__item:nth-child(7) {
    grid-row-start: 4;
}

.can__item:nth-child(8) {
    grid-row-start: 4;
}

.can__item:nth-child(9) {
    grid-row-start: 4;
}

.can__box {
    padding: 35px 0 30px;
    margin: auto;
    width: 74.482%;
}

.can__item:nth-child(2) .can__box,
.can__item:nth-child(4) .can__box,
.can__item:nth-child(6) .can__box {
    padding: 45px 0 30px;
    width: 92.436%;
}

.can__title {
    font-size: 32px;
    line-height: 1.2;
}

.can__title:nth-child(2) {
    margin-top: 10px;
}

.can__item:nth-child(9) .span-can__title {
    display: flex;
}

.span-can__title {
    font-size: 17px;
    margin-top: 10px;
}

.can__text {
    margin-top: 35px;
    text-align: justify;
}

.can__image {
    display: flex;
    align-items: end;
    justify-content: center;
}

.can__item:nth-child(2) .can__image {
    gap: 4.545%;
}

.can__item:nth-child(4) .can__image {
    gap: 0.909%;
}

.can__poster {
    width: 40%;
}

.can__dm {
    width: 23.636%;
}

.picnic {
    width: 40%;
}

.can__image-explanation {
    margin-top: 20px;
}

.can__image-text,
.can__image-data {
    font-size: 12px;
    font-weight: 400;
}

.can__image-text {
    margin-top: 5px;
}

.can__image-data {
    margin-top: 5px;
    color: #A1A1A1;
}

.can__image-data span::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 1px;
    background-color: #A1A1A1;
    transform: rotate(120deg) translateY(1px);
    margin-right: 7px;
    margin-left: 7px;
    vertical-align: middle;
}

@media (max-width: 1000px) {
    .can__area {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 10px;
    }

    .can__item:nth-child(2),
    .can__item:nth-child(3),
    .can__item:nth-child(4),
    .can__item:nth-child(5),
    .can__item:nth-child(6),
    .can__item:nth-child(7),
    .can__item:nth-child(8),
    .can__item:nth-child(9) {
        grid-column: 1;
        grid-row: auto;
    }

    .can__tb-none {
        display: none;
    }
}

@media (max-width: 768px) {
    .can__section {
        margin-top: 87px;
    }

    .can__box {
        padding: 35px 0 40px;
        width: 80.701%;
    }

    .can__item:nth-child(2) .can__box,
    .can__item:nth-child(4) .can__box,
    .can__item:nth-child(6) .can__box {
        padding: 35px 0 40px;
        width: 80.701%;
    }

    .can__title {
        font-size: 28px;
    }

    .can__title:nth-child(2) {
        margin-top: 7px;
    }

    .span-can__title {
        margin-top: 7px;
    }

    .can__text {
        margin-top: 10px;
    }

    .can__image {
        flex-direction: column;
        align-items: center;
    }

    .can__item:nth-child(2) .can__image {
        gap: 15px;
    }

    .can__item:nth-child(4) .can__image {
        gap: 5px;
    }

    .can__poster {
        max-width: 287px;
        width: 95.652%;
    }

    .can__dm {
        max-width: 170px;
        width: 56.521%;
    }

    .logo-item {
        max-width: 250px;
        width: 78.26%;
    }

    .picnic {
        max-width: 287px;
        width: 95.652%;
    }
}

@media (max-width: 500px) {
    .can__tb-none {
        display: block;
    }
}

/* ========== 猫スタンプ ========== */
.cat-stamp-decoration {
    margin-top: 110px;
    display: flex;
    justify-content: end;
}

.cat-stamp-box {
    margin-right: 6.944%;
    width: 130px;
}

/* SP */
@media (max-width: 768px) {
    .cat-stamp-decoration {
        margin-top: 45px;
    }

    .cat-stamp-box {
        margin-left: 4%;
        width: 26.666%;
        max-width: 130px;
    }
}

/* ========== たいせつ ========== */
.precious__section {
    margin-top: 50px;
}

.precious__item {
    display: flex;
    align-items: center;
    gap: 7.692%;
    padding: 50px 5px;
    border-bottom: 1px solid #111;
}

.precious__item:first-child {
    padding: 0 5px 50px;
}

.precious__item:last-child {
    padding: 50px 5px 0;
    border-bottom: none;
}

.precious__image {
    width: 33.333%;
}

.kaku {
    width: 73.333%;
    margin: auto;
}

.rikai {
    width: 83.333%;
    margin: auto;
}

.precious__text-box {
    width: 58.888%;
}

.precious__title {
    font-size: 20px;
}

.precious__text {
    margin-top: 20px;
    text-align: justify;
}

@media (max-width: 768px) {
    .precious__section {
        margin-top: 70px;
    }

    .precious__item {
        flex-direction: column;
        gap: 20px;
        padding: 25px 5px;
    }

    .precious__item:first-child {
        padding: 0 5px 25px;
    }

    .precious__item:last-child {
        padding: 25px 5px 0;
    }

    .precious__image {
        max-width: 280px;
        width: 87.719%;
    }

    .kaku {
        width: 64%;
    }

    .rikai {
        width: 84%;
    }

    .precious__text-box {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .precious__text {
        margin-top: 10px;
    }
}

/* ========== 猫 ========== */
.cats__house {
    display: flex;
    align-items: center;
    gap: 11.312%;
    width: 61.388%;
    margin: 70px auto 0;
    min-width: 700px;
}

/* SP */
@media (max-width: 768px) {
    .cats__house {
        gap: 3.488%;
        width: 91.733%;
        margin: 40px auto 0;
        min-width: auto;
        max-width: 500px;
    }
}

/* ========== すき ========== */
.like__section {
    margin-top: 97px;
}

.like__area {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.like__box {
    width: 100%;
    background-color: #fff;
    border: 1px solid #111;
}

.like__box-item {
    display: flex;
    align-items: center;
    gap: 3.726%;
    padding: 35px 0 45px;
    width: 89.444%;
    margin: auto;
}

.like__image {
    width: 9.316%;
}

.like__text-box {
    width: 86.956%;
}

.like__title {
    font-size: 18px;
}

.like__text {
    margin-top: 13px;
    text-align: justify;
}

@media (max-width: 768px) {
    .like__section {
        margin-top: 93.6px;
    }

    .like__area {
        gap: 10px;
    }

    .like__box-item {
        flex-direction: column;
        gap: 20px;
        padding: 35px 0 40px;
        width: 80.701%;
    }

    .like__image {
        width: 32.608%;
        max-width: 80px;
    }

    .like__text-box {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .like__text {
        margin-top: 10px;
    }
}


/* ========== thank you ========== */
.thanks__container {
    overflow: hidden;
    margin-top: 200px;
}

.thanks__wrapper {
    position: relative;
    height: 176px;
}

.thanks__slide {
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    color: #9E2F00;
    font-size: 176px;
    line-height: 1;
    letter-spacing: -0.05em;
    display: flex;
    gap: 50px;
    padding-right: 50px;
    will-change: transform;
    position: absolute;
    top: 54px;
    left: 0;
    white-space: nowrap;
    animation: loop-text 20s linear infinite;
}

@keyframes loop-text {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}


@media (max-width: 768px) {
    .thanks__container {
        margin-top: 100px;
    }

    .thanks__wrapper {
        height: 80px;
    }

    .thanks__slide {
        font-size: 80px;
        top: 25px;
    }
}