@charset "UTF-8";

/* ========================================
   マッチングアプリと結婚相談所の違い
======================================== */

.difference {
    container-type: inline-size;
    width: 100%;
    margin: 20px 0 0;
    padding: 0 0 0px;
    background: #FFFFFF;
    box-sizing: border-box;
}

/* ========================================
   見出し
======================================== */

.difference__heading {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0 0 14px;
}

.difference__heading-number {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: #FFFFFF;
    background: var(--color-main);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
}

.difference__heading-title {
    margin: 0;
    color: var(--color-text);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: .01em;
}

/* ========================================
   共通テキスト
======================================== */

.difference__text {
    width: 100%;
    margin: 0;
    color: var(--color-text);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: .02em;
}

.difference__text p {
    margin: 0;
}

.difference__text p + p {
    margin-top: 18px;
}

/* ========================================
   マッチングアプリ
======================================== */

.difference-app {
    width: 100%;
    margin: 24px 0 0;
}

.difference-app__title {
    margin: 0 0 0px;
    color: var(--color-main);
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .04em;
    text-align: center;
}

.difference-app__image {
    width: 100%;
    margin: 0;
    overflow: hidden;
}

.difference-app__image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 900 / 525;
    object-fit: cover;
}

.difference-app__notice {
    width: calc(100% - 16px);
    margin: 14px auto 0;
    padding: 12px 14px;
    background: #FDE9EF;
    box-sizing: border-box;
}

.difference-app__notice p {
    margin: 0;
    color: var(--color-text);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: .01em;
}

.difference-app__notice strong {
    color: var(--color-accent);
    font-weight: 700;
}

/* ========================================
   結婚相談所について
======================================== */

.difference__text--consultation {
    margin-top: 24px;
}

/* ========================================
   結婚相談所の強み
======================================== */

.difference-consultation {
    width: 100%;
    margin: 24px 0 0;
}

.difference-consultation__title {
    margin: 0;
    color: var(--color-main);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .03em;
    text-align: center;
}

.difference-consultation__title span,
.difference-consultation__title strong {
    display: inline-block;
}

/* ========================================
   共通ラインハイライト
======================================== */

.line-highlight {
    position: relative;
    display: inline;
    z-index: 0;
    color: inherit;
    font-weight: inherit;
}

.line-highlight::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: .08em;
    width: 100%;
    height: .38em;
    background: #FFF23E;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left center;
}

.line-highlight.is-show::before {
    transform: scaleX(1);
    transition: transform .9s ease;
}

/* ========================================
   必要書類
======================================== */

.difference-documents {
    display: grid;
    grid-template-columns: 34% minmax(0, 1fr);
    align-items: center;
    width: calc(100% - 8px);
    margin: 18px auto 0;
}

.difference-documents__image {
    min-width: 0;
    padding-right: 8px;
}

.difference-documents__image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.difference-documents__card {
    min-width: 0;
    border: 1px solid var(--color-main);
    background: #FFFFFF;
    box-sizing: border-box;
}

.difference-documents__card-title {
    margin: 0;
    padding: 3px 10px;
    color: #FFFFFF;
    background: var(--color-main);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.difference-documents__list {
    margin: 0;
    padding: 10px 12px 2px 30px;
    color: var(--color-text);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.55;
    list-style: disc;
    list-style-position: outside;
}

.difference-documents__list li {
    display: list-item;
    margin: 0;
    padding: 0;
}

.difference-documents__list li::marker {
    color: var(--color-text);
    font-size: .8em;
}

.difference-documents__note {
    margin: 0;
    padding: 0 6px 6px;
    color: var(--color-note);
    font-size: .9rem;
    font-weight: 400;
    line-height: 1.45;
    text-align: right;
}

/* ========================================
   下向き矢印
======================================== */

.difference-consultation__arrow {
    width: 0;
    height: 0;
    margin: 10px auto 8px;
    border-left: 82px solid transparent;
    border-right: 82px solid transparent;
    border-top: 24px solid var(--color-main);
}

/* ========================================
   カウンセリング・サポート
======================================== */

.difference-support {
    display: grid;
    grid-template-columns: 36% minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    width: calc(100% - 8px);
    margin: 0 auto;
}

.difference-support__image {
    min-width: 0;
}

.difference-support__image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 432 / 500;
    object-fit: cover;
}

.difference-support__text {
    min-width: 0;
    padding: 12px 12px;
    background: #FDECEF;
    box-sizing: border-box;
}

.difference-support__text p {
    margin: 0;
    color: var(--color-text);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: .01em;
}

.difference-support__text strong {
    color: var(--color-accent);
    font-weight: 700;
}

/* ========================================
   まとめ
======================================== */

.difference__text--summary {
    margin-top: 20px;
}

/* ========================================
   360px以下
======================================== */

@media screen and (max-width: 360px) {

    .difference {
        margin-top: 28px;
    }

    .difference__heading {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 7px;
    }

    .difference__heading-number {
        width: 42px;
        height: 42px;
        font-size: 2.1rem;
    }

    .difference__heading-title {
        font-size: 1.55rem;
    }

    .difference__text {
        font-size: 1.45rem;
    }

    .difference-app__title,
    .difference-consultation__title {
        font-size: 1.8rem;
    }

    .difference-app__notice p {
        font-size: 1.4rem;
    }

    .difference-documents {
        grid-template-columns: 32% minmax(0, 1fr);
    }

    .difference-documents__card-title {
        font-size: 1.3rem;
    }

    .difference-documents__list {
        padding-left: 27px;
        font-size: 1.25rem;
    }

    .difference-documents__note {
        font-size: .8rem;
    }

    .difference-consultation__arrow {
        border-left-width: 70px;
        border-right-width: 70px;
        border-top-width: 21px;
    }

    .difference-support {
        grid-template-columns: 34% minmax(0, 1fr);
        gap: 8px;
    }

    .difference-support__text {
        padding: 10px;
    }

    .difference-support__text p {
        font-size: 1.3rem;
    }

}

/* ========================================
   480px以上でもサイズ感を維持
======================================== */

@media screen and (min-width: 481px) {

    .difference__heading-number {
        width: 48px;
        height: 48px;
    }

    .difference__heading-title {
        font-size: 1.75rem;
    }

    .difference__text {
        font-size: 1.6rem;
    }

    .difference-app__title,
    .difference-consultation__title {
        font-size: 2rem;
    }

}

/* ========================================
   動きを減らす設定
======================================== */

@media (prefers-reduced-motion: reduce) {

    .difference-consultation__line::before {
        transform: scaleX(1);
        transition: none;
    }

}
/* ========================================
   2. 失敗しない結婚相談所の選び方
======================================== */

.selection {
    width: 100%;
    margin: 30px 0 0;
    padding: 0 16px 10px;
    background: #FFFFFF;
    box-sizing: border-box;
}

.selection__heading {
    width: 100%;
    margin-bottom: 16px;
}

/* ========================================
   導入文
======================================== */

.selection__intro,
.selection__text {
    width: 100%;
    color: var(--color-text);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: .02em;
}

.selection__intro p,
.selection__text p {
    margin: 0;
}

.selection__intro p + p {
    margin-top: 18px;
}

/* ========================================
   各ポイント
======================================== */

.selection__point {
    width: 100%;
    margin-top: 28px;
}

.selection__point-title {
    width: 100%;
    margin: 0 0 16px;
    padding: 8px 14px;
    color: var(--color-main);
    background: #FEF0F4;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: .02em;
    box-sizing: border-box;
    border-radius: 0;
}

/* ========================================
   目安ボックス
======================================== */

.selection__check {
    position: relative;
    width: calc(100% - 24px);
    margin: 16px auto 0;
    padding: 11px 14px 11px 46px;
    border: 2px dotted var(--color-main);
    background: transparent;
    box-sizing: border-box;
    border-radius: 0;
}

.selection__check p {
    margin: 0;
    color: var(--color-text);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: .01em;
}

/* CSSで描くチェックマーク */
.selection__check::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 18px;
    width: 14px;
    height: 8px;
    border-left: 3px solid var(--color-main);
    border-bottom: 3px solid var(--color-main);
    transform: translateY(-65%) rotate(-45deg);
    box-sizing: border-box;
}

/* ========================================
   紹介方法カード
======================================== */

.selection-types {
    display: grid;
    gap: 14px;
    width: 100%;
    margin: 18px auto 0;
}

.selection-type {
    width: 100%;
    margin: 0;
    border: 0;
    background: transparent;
    box-sizing: border-box;
    border-radius: 0;
    overflow: visible;
}

.selection-type__title {
    display: block;
    width: fit-content;
    min-width: 48%;
    margin: 0;
    padding: 6px 14px;
    color: #FFFFFF;
    background: var(--color-main);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: .01em;
    text-align: center;
    box-sizing: border-box;
    border-radius: 0;
}

.selection-type__body {
    display: grid;
    grid-template-columns: 30% minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--color-main);
    background: #FFFFFF;
    box-sizing: border-box;
    border-radius: 0;
}

.selection-type__image {
    min-width: 0;
}


.selection-type__image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.selection-type__text {
    min-width: 0;
    margin: 0;
    color: var(--color-text);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: .01em;
}

/* ハイブリッド型のみ内容部分の背景色を変更 */
.selection-type:nth-child(3) .selection-type__body {
    background: #FFFCE7;
}

/* ========================================
   最後のまとめボックス
======================================== */

.selection-summary {
    width: 100%;
    margin: 28px auto 0;
    padding: 16px 14px;
    border: 1px solid var(--color-main);
    background: #FEF0F4;
    box-sizing: border-box;
    border-radius: 0;
}

.selection-summary p {
    margin: 0;
    color: var(--color-text);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: .01em;
}

.selection-summary p + p {
    margin-top: 10px;
}

.selection-summary__lead {
    margin: 0 0 12px !important;
    color: var(--color-main) !important;
    font-weight: 700;
    line-height: 1.45 !important;
}

.selection-summary__small {
    color: var(--color-main);
    font-size: 1.6rem;
    font-weight: 700;
}

.selection-summary__large {
    color: var(--color-main);
    font-size: 2.2rem;
    font-weight: 700;
}

/* ========================================
   360px以下
======================================== */

@media screen and (max-width: 360px) {

    .selection {
        margin-top: 24px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .selection__intro,
    .selection__text {
        font-size: 1.45rem;
    }

    .selection__point {
        margin-top: 24px;
    }

    .selection__point-title {
        margin-bottom: 13px;
        padding: 7px 12px;
        font-size: 1.75rem;
    }

    .selection__check {
        width: calc(100% - 12px);
        padding: 10px 10px 10px 40px;
    }

    .selection__check::before {
        left: 14px;
        width: 13px;
        height: 7px;
    }

    .selection__check p {
        font-size: 1.35rem;
    }

    .selection-types {
        gap: 10px;
    }

    .selection-type__title {
        min-width: 52%;
        padding: 5px 12px;
        font-size: 1.4rem;
    }

    .selection-type__body {
        grid-template-columns: 30% minmax(0, 1fr);
        gap: 8px;
        padding: 10px;
    }

    .selection-type__text {
        font-size: 1.3rem;
        line-height: 1.5;
    }

    .selection-summary {
        padding: 14px 12px;
    }

    .selection-summary p {
        font-size: 1.4rem;
    }

    .selection-summary__small {
        font-size: 1.4rem;
    }

    .selection-summary__large {
        font-size: 1.9rem;
    }

}

/* ========================================
   480px以上でもサイズ感を維持
======================================== */

@media screen and (min-width: 481px) {

    .selection__intro,
    .selection__text,
    .selection__check p,
    .selection-type__title,
    .selection-type__text,
    .selection-summary p {
        font-size: 1.6rem;
    }

    .selection__point-title {
        font-size: 2rem;
    }

    .selection-summary__small {
        font-size: 1.6rem;
    }

    .selection-summary__large {
        font-size: 2.2rem;
    }

}

