/* --------------------
 Greeting
-------------------- */
.layout {
    padding: 7.8125rem 0 0;
}

@media (min-width: 768px) {
    .layout {
        padding: 10rem 0 0;
    }
}

.main {
    align-items: flex-start;
    display: flex;
    flex-flow: row wrap;
    gap: 0 3.125rem;
    justify-content: flex-start;
    margin: 0 auto 1.875rem;
    max-width: 68.75rem;
    padding: 0 2.1875rem;
    width: 100%;
}

@media (min-width: 768px) {
    .main {
        flex-wrap: nowrap;
        margin: 0 auto 3.125rem;
        padding: 0;
    }
}

.main__fig {
    display: none;
    flex: 0 0 calc(50% - 3.125rem);
}

@media (min-width: 768px) {
    .main__fig {
        display: block;
    }
}

.main__fig img {
    border-radius: 0.4375rem;
    width: 31.25rem;
}

.main__contents {
    flex: 0 0 100%;
}

@media (min-width: 768px) {
    .main__contents {
        flex: 0 0 50%;
        padding: 0.625rem 0 0;
    }
}

.main__contents__title {
    margin: 0 0 3.75rem;
    text-align: center;
}

@media (min-width: 768px) {
    .main__contents__title {
        margin: 0 0 4.75rem;
        text-align: left;
    }
}

.main__contents__title__ja {
    color: var(--color-black);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin: 0 0 0.25rem;
}

@media (min-width: 768px) {
    .main__contents__title__ja {
        font-size: 3.375rem;
        margin: 0 0 1.1875rem;
    }
}

.main__contents__title__en {
    color: var(--color-ruby-red);
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1;
    margin: 0;
}

@media (min-width: 768px) {
    .main__contents__title__en {
        font-size: 1.323125rem;
    }
}

.main__contents__subtitle {
    color: var(--color-black);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1.5rem;
    padding: 0 0 1.25rem;
    position: relative;
}

@media (min-width: 768px) {
    .main__contents__subtitle {
        font-size: 2.8125rem;
        margin: 0 0 0.5rem;
    }
}

.main__contents__subtitle:before {
    background-image: url(../images/pages/greeting/greeting-line.svg);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    bottom: 0;
    content: "";
    display: block;
    height: 1rem;
    left: 0;
    position: absolute;
    width: 100%;
}

@media (min-width: 768px) {
    .main__contents__subtitle:before {
        background-position: center;
        background-size: contain;
        right: auto;
        width: 34.375rem;
    }
}

.main__contents__content {
    margin: 0 0 0.625rem;
}

@media (min-width: 768px) {
    .main__contents__content {
        margin: 0 0 4rem;
    }
}

.main__contents__content p {
    color: var(--color-black);
    font-size: 1rem;
    line-height: 1.87;
    margin: 0;
}

.main__contents__fig {
    margin: 0 0 1rem;
}

@media (min-width: 768px) {
    .main__contents__fig {
        display: none;
    }
}

.main__contents__fig img {
    border-radius: 0.25rem;
    width: 100%;
}

.main__contents__name {
    text-align: center;
}

@media (min-width: 768px) {
    .main__contents__name {
        text-align: right;
    }
}

.item-wrapper {
    margin: 0 auto 2.5rem;
    max-width: 68.75rem;
    padding: 0 2.1875rem;
    width: 100%;
}

@media (min-width: 768px) {
    .item-wrapper {
        margin: 0 auto 0.625rem;
        padding: 0;
    }
}

.item {
    margin: 0 0 4.375rem;
}

@media (min-width: 768px) {
    .item {
        margin: 0 0 6.875rem;
    }
}

.item:last-child {
    margin-bottom: 0;
}

.item__title {
    font-size: 0.625rem;
    margin: 0 0 2rem;
    position: relative;
}

@media (min-width: 768px) {
    .item__title {
        margin: 0 0 1.625rem;
    }
}

.item__title:before {
    background-image: url(../images/pages/greeting/greeting-title-icon.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    display: block;
    height: 2.625rem;
    left: -1.3125rem;
    position: absolute;
    top: -1.1875rem;
    width: 2.625rem;
}

.item__title__text {
    align-items: center;
    background: #c30d23;
    -webkit-clip-path: polygon(1.1875rem 0, 100% 0, 100% 100%, 0 100%, 0 1.3125rem, 1.1875rem 1.3125rem);
    clip-path: polygon(1.1875rem 0, 100% 0, 100% 100%, 0 100%, 0 1.3125rem, 1.1875rem 1.3125rem);
    color: #fff;
    display: flex;
    flex-flow: row nowrap;
    font-size: 1.375rem;
    font-weight: 700;
    justify-content: stretch;
    line-height: 1.4;
    margin: 0;
    min-height: 7.5rem;
    padding: 0.875rem 0 0.875rem 2.5rem;
    position: relative;
}

@media (min-width: 768px) {
    .item__title__text {
        display: block;
        font-size: 1.75rem;
        min-height: auto;
        padding: 0.5rem 3.125rem;
        text-align: center;
    }
}

.item__content p {
    color: var(--color-black);
    font-size: 1rem;
    line-height: 1.87;
    margin: 0;
}

.item__content p em {
    background-color: #d1c9a9;
    font-size: inherit;
    font-style: normal;
    font-weight: inherit;
}

.item__point {
    margin: 2.875rem 0 2.5rem;
}

@media (min-width: 768px) {
    .item__point {
        margin: 2.875rem 0 2.5rem;
    }
}

.item__point__title {
    background: #d1c9a9;
    color: var(--color-black);
    display: block;
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.45;
    margin: 0 auto -5.3125rem;
    padding: 2.125rem 2.125rem 1.875rem;
    position: relative;
    text-align: center;
    text-box: trim-both cap alphabetic;
    width: 100%;
}

@media (min-width: 768px) {
    .item__point__title {
        font-size: 1.5rem;
        line-height: 1.2;
        margin: 0 auto -2.375rem;
        padding: 1.5rem 4.625rem;
        width: -webkit-fit-content;
        width: fit-content;
    }
}

.item__point__title:before {
    background-image: url(../images/pages/greeting/greeting-point-pin.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    height: 2rem;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    top: -1.375rem;
    width: 2rem;
}

.item__point__main {
    background-color: #f4f4f4;
    border-radius: 1.625rem;
    margin: 0 -2.1875rem;
    padding: 7.5rem 0 1.25rem;
    width: auto;
}

@media (min-width: 768px) {
    .item__point__main {
        align-items: flex-start;
        border-radius: 0.75rem;
        display: grid;
        gap: 2.625rem 0;
        grid-gap: 2.625rem 0;
        grid-template-columns: 22.5% 23% 23% 37.5%;
        justify-content: flex-start;
        margin: 0 auto;
        padding: 5.375rem 0 1.25rem 3.625rem;
        width: 61.5rem;
    }
}

.item__point__main__item {
    margin: 0 0 2.125rem;
    position: relative;
}

@media (min-width: 768px) {
    .item__point__main__item {
        flex: 0 0 calc(25% - 0.84375rem);
        margin: 0;
        padding: 0.625rem 0 0 4.6666666667vw;
    }
}

.item__point__main__item__number {
    color: #3e3a39;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1;
    margin: 0 auto 0.5rem;
    padding: 0 0 0.3125rem;
    position: relative;
    text-align: center;
    width: 4.875rem;
    z-index: 1;
}

@media (min-width: 768px) {
    .item__point__main__item__number {
        font-size: 0.625rem;
        left: 0;
        margin: 0;
        padding: 0 0 0.625rem;
        position: absolute;
        top: 0;
        width: 3.5rem;
    }
}

.item__point__main__item__number:after {
    background-image: url(../images/pages/greeting/greeting-point-number-bg.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    bottom: 0;
    content: "";
    display: block;
    height: 1.7410714286rem;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    width: 4.875rem;
    z-index: -1;
}

@media (min-width: 768px) {
    .item__point__main__item__number:after {
        height: 1.25rem;
        margin: 0;
        width: 3.5rem;
    }
}

.item__point__main__item__number em {
    display: block;
    font-size: 1.1875rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    margin: 0.75rem 0 0;
}

@media (min-width: 768px) {
    .item__point__main__item__number em {
        font-size: 1.47625rem;
        margin: 0.125rem 0 0;
    }
}

.item__point__main__item__title {
    color: var(--color-black);
    font-size: 2.375rem;
    font-weight: 700;
    line-height: 1;
    margin: 0;
    text-align: center;
}

@media (min-width: 768px) {
    .item__point__main__item__title {
        font-size: 1.75rem;
        text-align: left;
    }
}

.item__point__main__item__note {
    margin: 0.5rem 0 0;
}

@media (min-width: 768px) {
    .item__point__main__item__note {
        margin: 0.25rem 0 0;
    }
}

.item__point__main__item__note p {
    color: var(--color-black);
    font-size: 1.25rem;
    line-height: 1.35;
    margin: 0;
    text-align: center;
}

@media (min-width: 768px) {
    .item__point__main__item__note p {
        font-size: 0.6875rem;
        line-height: 1.45;
        text-align: left;
    }
}