/* =========================
   鑑定内容ページ
   ページタイトル
========================= */

.page-hero {
    position: relative;
    padding: 110px 0 100px;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 28%,
            rgba(234, 219, 156, 0.2),
            transparent 30%),
        linear-gradient(135deg,
            var(--base-color) 0%,
            #fffaf0 55%,
            var(--cream-color) 100%);
}

.page-hero::before {
    position: absolute;
    top: -130px;
    left: -110px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(183, 154, 69, 0.08);
    border-radius: 50%;
    content: "";
}

.page-hero::after {
    position: absolute;
    right: -130px;
    bottom: -180px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    content: "";
}

.page-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.page-hero .section-kicker {
    margin-bottom: 14px;
}

.page-hero h1 {
    margin-bottom: 28px;
    color: var(--text-color);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: 0.08em;
}

.page-hero-text {
    max-width: 720px;
    margin: 0 auto;
    color: var(--sub-text-color);
    font-size: 16px;
    line-height: 2.15;
    letter-spacing: 0.05em;
}


/* =========================
   鑑定一覧
========================= */

.service-list-section {
    position: relative;
    background-color: var(--white-color);
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 90px;
}


/* =========================
   鑑定カード
========================= */

.service-item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
    min-height: 470px;
    overflow: hidden;
    border: 1px solid var(--line-color);
    background-color: var(--base-color);
    box-shadow: 0 18px 48px rgba(82, 68, 42, 0.07);
}

.service-item-reverse {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.service-item-reverse .service-image {
    order: 2;
}

.service-item-reverse .service-content {
    order: 1;
}


/* =========================
   鑑定画像
========================= */

.service-image {
    position: relative;
    min-height: 470px;
    overflow: hidden;
    background-color: var(--cream-color);
}

.service-image::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(58, 48, 36, 0.08),
            transparent 38%);
    content: "";
    pointer-events: none;
}

.service-image img {
    width: 100%;
    height: 100%;
    min-height: 470px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s ease;
}

.service-item:hover .service-image img {
    transform: scale(1.025);
}


/* =========================
   鑑定文章
========================= */

.service-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 58px 56px;
    background-color: rgba(255, 253, 248, 0.96);
}

.service-content::before {
    position: absolute;
    top: 22px;
    right: 22px;
    bottom: 22px;
    left: 22px;
    border: 1px solid rgba(183, 154, 69, 0.08);
    content: "";
    pointer-events: none;
}

.service-number {
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
    color: var(--accent-color);
    font-size: 13px;
    letter-spacing: 0.2em;
}

.service-content h2 {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
    color: var(--text-color);
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.08em;
}

.service-content h2::after {
    display: block;
    width: 44px;
    height: 1px;
    margin-top: 20px;
    background-color: var(--soft-yellow);
    content: "";
}

.service-summary {
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
    color: var(--sub-text-color);
    font-size: 15px;
    line-height: 2.15;
    letter-spacing: 0.04em;
}


/* =========================
   詳細を見るボタン
========================= */

.accordion-button {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 280px;
    min-height: 54px;
    padding: 12px 20px;
    border: 1px solid rgba(183, 154, 69, 0.4);
    border-radius: 999px;
    background-color: transparent;
    color: #756126;
    cursor: pointer;
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.accordion-button:hover {
    transform: translateY(-2px);
    background-color: var(--soft-yellow);
    color: var(--text-color);
    box-shadow: 0 10px 22px rgba(82, 68, 42, 0.08);
}

.accordion-button:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}

.accordion-button span:first-child {
    padding-left: 4px;
    font-size: 14px;
    letter-spacing: 0.08em;
}


/* =========================
   ＋アイコン
========================= */

.accordion-icon {
    position: relative;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-left: 16px;
}

.accordion-icon::before,
.accordion-icon::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 1px;
    background-color: currentColor;
    content: "";
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

.accordion-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-button[aria-expanded="true"] .accordion-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}


/* =========================
   鑑定ごとの淡い背景変化
========================= */

.service-item:nth-child(1) .service-content {
    background-color: rgba(252, 250, 245, 0.97);
}

.service-item:nth-child(2) .service-content {
    background-color: rgba(255, 252, 241, 0.97);
}

.service-item:nth-child(3) .service-content {
    background-color: rgba(251, 247, 237, 0.97);
}

.service-item:nth-child(4) .service-content {
    background-color: rgba(245, 250, 246, 0.97);
}

.service-item:nth-child(5) .service-content {
    background-color: rgba(252, 252, 250, 0.97);
}

.service-item:nth-child(6) .service-content {
    background-color: rgba(246, 250, 247, 0.97);
}

.service-item:nth-child(7) .service-content {
    background-color: rgba(248, 250, 249, 0.97);
}

/* =========================
   アコーディオン内部
========================= */

.accordion-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: 24px;
}

.accordion-panel[hidden] {
    display: none;
}

.accordion-inner {
    padding: 26px 28px;
    border-top: 1px solid var(--line-color);
    border-bottom: 1px solid var(--line-color);
    background-color: rgba(255, 255, 255, 0.62);
}

.accordion-inner h3 {
    margin-bottom: 16px;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.7;
    letter-spacing: 0.06em;
}

.service-detail-list {
    display: grid;
    gap: 10px;
}

.service-detail-list li {
    position: relative;
    padding-left: 20px;
    color: var(--sub-text-color);
    font-size: 15px;
    line-height: 1.85;
}

.service-detail-list li::before {
    position: absolute;
    top: 0.82em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--soft-yellow);
    content: "";
    transform: translateY(-50%);
}


/* =========================
   初めての方へ
========================= */

.service-support {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 45%,
            rgba(234, 219, 156, 0.18),
            transparent 34%),
        var(--base-color);
}

.service-support::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 560px;
    height: 560px;
    border: 1px solid rgba(183, 154, 69, 0.08);
    border-radius: 50%;
    content: "";
    transform: translate(-50%, -50%);
}

.service-support::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background-color: rgba(248, 241, 223, 0.34);
    content: "";
    transform: translate(-50%, -50%);
}

.service-support-inner {
    position: relative;
    z-index: 1;
    padding: 76px 52px;
    border-top: 1px solid var(--line-color);
    border-bottom: 1px solid var(--line-color);
    text-align: center;
}

.service-support-inner h2 {
    margin-bottom: 26px;
    color: var(--text-color);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    line-height: 1.65;
    letter-spacing: 0.08em;
}

.service-support-inner>p:not(.section-kicker) {
    max-width: 660px;
    margin: 0 auto 34px;
    color: var(--sub-text-color);
    font-size: 15px;
    line-height: 2.1;
    letter-spacing: 0.05em;
}


/* =========================
   タブレット
========================= */

@media screen and (max-width: 1024px) {

    .page-hero {
        padding: 90px 0 82px;
    }

    .service-list {
        gap: 70px;
    }

    .service-item,
    .service-item-reverse {
        grid-template-columns: 1fr 1fr;
        min-height: 420px;
    }

    .service-image,
    .service-image img {
        min-height: 420px;
    }

    .service-content {
        padding: 46px 40px;
    }

    .service-content::before {
        top: 18px;
        right: 18px;
        bottom: 18px;
        left: 18px;
    }

    .service-content h2 {
        font-size: 30px;
    }

    .service-summary {
        line-height: 2;
    }
}


/* =========================
   スマートフォン
========================= */

@media screen and (max-width: 767px) {

    .page-hero {
        padding: 66px 0 62px;
    }

    .page-hero h1 {
        margin-bottom: 22px;
        font-size: 31px;
        line-height: 1.55;
        letter-spacing: 0.06em;
    }

    .page-hero-text {
        font-size: 15px;
        line-height: 2;
    }

    .service-list {
        gap: 46px;
    }

    .service-item,
    .service-item-reverse {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .service-item-reverse .service-image,
    .service-item-reverse .service-content {
        order: initial;
    }

    .service-image,
    .service-image img {
        min-height: 0;
    }

    .service-image {
        aspect-ratio: 16 / 10;
    }

    .service-image img {
        height: 100%;
        object-fit: cover;
    }

    .service-content {
        padding: 38px 26px 34px;
    }

    .service-content::before {
        top: 14px;
        right: 14px;
        bottom: 14px;
        left: 14px;
    }

    .service-number {
        margin-bottom: 12px;
        font-size: 12px;
    }

    .service-content h2 {
        margin-bottom: 20px;
        font-size: 27px;
        line-height: 1.55;
    }

    .service-content h2::after {
        margin-top: 16px;
    }

    .service-summary {
        margin-bottom: 24px;
        font-size: 15px;
        line-height: 2;
    }

    .accordion-button {
        max-width: 100%;
        min-height: 52px;
    }

    .accordion-inner {
        padding: 22px 20px;
    }

    .service-detail-list li {
        font-size: 14px;
        line-height: 1.8;
    }

    .service-support::before {
        width: 420px;
        height: 420px;
    }

    .service-support::after {
        width: 320px;
        height: 320px;
    }

    .service-support-inner {
        padding: 58px 24px;
    }

    .service-support-inner h2 {
        margin-bottom: 22px;
        font-size: 26px;
        line-height: 1.65;
    }

    .service-support-inner>p:not(.section-kicker) {
        margin-bottom: 30px;
        font-size: 15px;
        line-height: 2;
    }
    .service-content h2 {
    overflow-wrap: anywhere;
    word-break: normal;
}
}


/* =========================
   小さいスマートフォン
========================= */

@media screen and (max-width: 480px) {

    .page-hero {
        padding: 54px 0 50px;
    }

    .page-hero h1 {
        font-size: 27px;
    }

    .service-list {
        gap: 38px;
    }

    .service-image {
        aspect-ratio: 4 / 3;
    }

    .service-content {
        padding: 34px 22px 30px;
    }

    .service-content h2 {
        font-size: 24px;
    }

    .accordion-button {
        padding: 11px 18px;
    }

    .service-support-inner {
        padding: 50px 18px;
    }

    .service-support-inner h2 {
        font-size: 23px;
    }

    .service-support-inner .primary-button {
        width: 100%;
    }
}