/* =========================
  Top Hero
========================= */
.p-top-hero {
    position: relative;
    min-height: 608px;
    background: url("../images/top/fv-img.webp") center center / cover no-repeat;
    overflow: hidden;
}

.p-top-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(253, 251, 247, 0.95) 0%,
            rgba(253, 251, 247, 0.95) 38%,
            rgba(253, 251, 247, 0.82) 48%,
            rgba(253, 251, 247, 0.4) 58%,
            rgba(253, 251, 247, 0) 68%);
    pointer-events: none;
}

.p-top-hero__sp-image {
    display: none;
}

.p-top-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    min-height: 608px;
    margin: 0;
    padding-left: 88px;
    padding-right: 40px;
    display: flex;
    align-items: flex-start;
}

.p-top-hero__content {
    max-width: 620px;
    padding-top: 66px;
    padding-bottom: 47px;
}

.p-top-hero__title {
    color: #2f5d50;
    font-family: "Noto Serif JP", serif;
    font-size: 55px;
    font-weight: 700;
    line-height: 1.45;
}

.p-top-hero__text {
    margin-top: 30px;
    color: #2e2e2e;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.9;
}

.p-top-hero__buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 46px;
}

.p-top-hero__button {
    width: 290px;
    height: 60px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.p-top-hero__button:hover {
    opacity: 0.86;
    transform: translateY(-2px);
}

.p-top-hero__button--main {
    background: #2f5d50;
    color: #ffffff;
}

.p-top-hero__button--accent {
    background: #c95b46;
    color: #ffffff;
}

.p-top-hero__button-arrow {
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.p-top-hero__button--main .p-top-hero__button-arrow {
    color: #2f5d50;
}

.p-top-hero__button--accent .p-top-hero__button-arrow {
    color: #c95b46;
}

.p-top-hero__banners {
    display: flex;
    align-items: stretch;
    gap: 35px;
    margin-top: 40px;
}

.p-top-hero__banner {
    width: 245px;
    min-height: 89px;
    padding: 18px 18px 16px;
    border: 1px solid #b6d38f;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.p-top-hero__banner-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
}

.p-top-hero__banner-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.p-top-hero__banner-label {
    color: #2e2e2e;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
}

.p-top-hero__banner-value {
    color: #2f5d50;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

/* =========================
  Top Hero SP
========================= */
@media screen and (max-width: 767px) {
    .p-top-hero {
        min-height: auto;
        background: #fdfbf7;
    }

    .p-top-hero::before {
        display: none;
    }

    .p-top-hero__sp-image {
        display: block;
        width: 100%;
        height: 260px;
        background: url("../images/top/fv-img.webp") center center / cover no-repeat;
        background-position: 100% center;
    }

    .p-top-hero__inner {
        min-height: auto;
        width: min(100% - 40px, 1200px);
        margin-inline: auto;
        padding-left: 0;
        padding-right: 0;
    }

    .p-top-hero__content {
        max-width: 100%;
        padding-top: 36px;
        padding-bottom: 48px;
    }

    .p-top-hero__title {
        font-size: 32px;
        line-height: 1.55;
    }

    .p-top-hero__text {
        margin-top: 20px;
        font-size: 16px;
        line-height: 1.9;
    }

    .p-top-hero__buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-top: 32px;
    }

    .p-top-hero__button {
        width: 100%;
        max-width: none;
    }

    .p-top-hero__banners {
        flex-direction: column;
        gap: 16px;
        margin-top: 28px;
    }

    .p-top-hero__banner {
        width: 100%;
        max-width: none;
    }
}

/* =========================
  Top Common Heading
========================= */
.p-top-section-heading {
    text-align: center;
}

.p-top-section-heading--left {
    text-align: left;
}

.p-top-section-heading__en {
    margin-bottom: 2px;
    color: #c95b46;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.08em;
}

.p-top-section-heading__ja {
    color: #2f5d50;
    font-family: "Noto Serif JP", serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.45;
}

/* =========================
  Top About
========================= */
.p-top-about {
    position: relative;
    min-height: 487px;
    padding: 64px 0;
    background: #faf7ef;
    overflow: hidden;
}

.p-top-about__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.p-top-about__content {
    flex: 1;
    max-width: 470px;
}

.p-top-about__text {
    margin-top: 30px;
    color: #2e2e2e;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 2;
}

.p-top-about__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    color: #2f5d50;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.p-top-about__link:hover {
    opacity: 0.75;
    transform: translateX(4px);
}

.p-top-about__link span {
    font-size: 18px;
}

.p-top-about__image {
    width: 639px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.p-top-about__image img {
    width: 100%;
    height: 359px;
    object-fit: cover;
}

.p-top-about__deco {
    position: absolute;
    top: 78px;
    left: -40px;
    width: 176px;
    height: auto;
    z-index: 0;
    pointer-events: none;
}

/* SP */
@media screen and (max-width: 767px) {
    .p-top-about {
        min-height: auto;
        padding: 48px 0;
    }

    .p-top-about__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .p-top-about__content {
        display: contents;
    }

    .p-top-section-heading {
        order: 1;
    }

    .p-top-section-heading__ja {
        font-size: 24px;
    }

    .p-top-section-heading__en {
        font-size: 13px;
    }

    .p-top-about__text {
        order: 3;
        margin-top: 0px;
        font-size: 15px;
        line-height: 1.9;
    }

    .p-top-about__text br {
        display: none;
    }

    .p-top-about__link {
        order: 4;
        margin-top: 0%;
        font-size: 16px;
    }

    .p-top-about__image {
        order: 2;
        width: 100%;
    }

    .p-top-about__image img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .p-top-about__deco {
        top: 20px;
        left: -90px;
        width: 140px;
        opacity: 0.35;
    }
}

/* =========================
  Top Reason
========================= */
.p-top-reason {
    padding: 64px 0;
    background: #f3f7ee;
}

.p-top-reason__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 26px;
    margin-top: 32px;
}

.p-top-reason__card {
    overflow: hidden;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.22);
}

.p-top-reason__image {
    padding: 11px 13px 0;
}

.p-top-reason__image img {
    width: 100%;
    height: 307px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.p-top-reason__body {
    padding: 20px 48px 32px;
}

.p-top-reason__heading {
    display: flex;
    align-items: center;
    gap: 36px;
}

.p-top-reason__number {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #f3f7ee;
    color: #2f5d50;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.p-top-reason__title {
    color: #2f5d50;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
}

.p-top-reason__text {
    margin-top: 10px;
    color: #2e2e2e;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 2;
}

/* SP */
@media screen and (max-width: 767px) {
    .p-top-reason {
        padding: 48px 0;
    }

    .p-top-reason__cards {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 28px;
    }

    .p-top-reason__image {
        padding: 10px 10px 0;
    }

    .p-top-reason__image img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .p-top-reason__body {
        padding: 20px 20px 28px;
    }

    .p-top-reason__heading {
        gap: 18px;
    }

    .p-top-reason__number {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .p-top-reason__title {
        font-size: 18px;
    }

    .p-top-reason__text {
        font-size: 15px;
        line-height: 1.9;
    }

    .p-top-reason__text br {
        display: none;
    }
}

/* =========================
  Top Works
========================= */
.p-top-works {
    position: relative;
    padding: 64px 0;
    background: #fdfbf7;
    overflow: hidden;
}

.p-top-works__deco {
    position: absolute;
    top: 0;
    z-index: 0;
    pointer-events: none;
}

.p-top-works__deco--left {
    left: 0;
    width: 263px;
}

.p-top-works__deco--right {
    right: 0;
    width: 210px;
}

.p-top-works .l-inner {
    position: relative;
    z-index: 1;
}

.p-top-works__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 388px));
    justify-content: space-between;
    gap: 24px;
    margin-top: 32px;
}

.p-top-works__card {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.22);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.p-top-works__card:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

.p-top-works__image img {
    width: 100%;
    height: 244px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.p-top-works__label {
    min-height: 49px;
    padding: 0 14px 0 20px;
    background: #2f5d50;
    color: #ffffff;
    border-radius: 0 0 12px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.4;
}

.p-top-works__arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    color: #2f5d50;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
    line-height: 1;
}

.p-top-works__button-wrap {
    margin-top: 46px;
    text-align: center;
}

.p-top-works__button {
    width: 290px;
    height: 60px;
    border-radius: 50px;
    background: #2f5d50;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.p-top-works__button:hover {
    opacity: 0.86;
    transform: translateY(-2px);
}

.p-top-works__button-arrow {
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #ffffff;
    color: #2f5d50;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 1;
}

/* SP */
@media screen and (max-width: 767px) {
    .p-top-works {
        padding: 48px 0;
    }

    .p-top-works__deco--left {
        width: 150px;
        left: -40px;
        opacity: 0.6;
    }

    .p-top-works__deco--right {
        width: 130px;
        right: -30px;
        opacity: 0.6;
    }

    .p-top-works__cards {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 28px;
    }

    .p-top-works__image img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .p-top-works__label {
        min-height: 52px;
        font-size: 17px;
    }

    .p-top-works__button-wrap {
        margin-top: 32px;
    }

    .p-top-works__button {
        width: 100%;
        max-width: 290px;
    }
}

/* =========================
Top Voice
========================= */
.p-top-voice {
    position: relative;
    padding: 46px 0 64px;
    background: #f3f7ee;
    overflow: hidden;
}

.p-top-voice__deco {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 197px;
    height: auto;
    opacity: 0.38;
    pointer-events: none;
}

.p-top-voice .l-inner {
    position: relative;
    z-index: 1;
}

.p-top-voice__lead {
    margin-top: 32px;
    color: #2f2f2f;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
    text-align: center;
}

.p-top-voice__slider-wrap {
    width: 100vw;
    margin-top: 46px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
}

.p-top-voice__slider {
    width: 100%;
    overflow: visible;
}

.p-top-voice__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.p-top-voice__slider .swiper-wrapper {
    align-items: center;
    transition-timing-function: linear !important;
}

.p-top-voice__slide {
    width: 640px;
    height: 600px;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid #b6d38f;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.18);
}

.p-top-voice__slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* SP */
@media screen and (max-width: 767px) {
    .p-top-voice {
        padding: 48px 0;
    }

    .p-top-voice__deco {
        left: -24px;
        width: 140px;
    }

    .p-top-voice__lead {
        margin-top: 24px;
        font-size: 15px;
    }

    .p-top-voice__slider-wrap {
        margin-top: 32px;
    }

    .p-top-voice__slide {
        width: min(82vw, 340px);
        height: auto;
        aspect-ratio: 640 / 600;
    }
}

/* =========================
  Top Guide
========================= */
.p-top-guide {
    padding: 46px 0;
    background: #fdfbf7;
}

.p-top-guide__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 380px));
    justify-content: space-between;
    gap: 30px;
    margin-top: 32px;
}

.p-top-guide__card {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.p-top-guide__card:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

.p-top-guide__image img {
    width: 100%;
    height: 202px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.p-top-guide__body {
    min-height: 184px;
    padding: 24px 24px 22px;
    text-align: center;
}

.p-top-guide__title {
    color: #2f5d50;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.45;
}

.p-top-guide__text {
    margin-top: 6px;
    color: #2f2f2f;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
}

.p-top-guide__link {
    display: inline-block;
    margin-top: 10px;
    color: #2f5d50;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
}

/* SP */
@media screen and (max-width: 767px) {
    .p-top-guide {
        padding: 48px 0;
    }

    .p-top-guide__cards {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 28px;
    }

    .p-top-guide__card {
        max-width: 380px;
        margin-inline: auto;
    }

    .p-top-guide__image img {
        height: auto;
        aspect-ratio: 380 / 202;
    }

    .p-top-guide__body {
        min-height: auto;
        padding: 22px 20px 24px;
    }

    .p-top-guide__title {
        font-size: 20px;
    }

    .p-top-guide__text {
        font-size: 15px;
    }

    .p-top-guide__link {
        font-size: 16px;
    }
}

/* =========================
  Tablet：Top About
========================= */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .p-top-about__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .p-top-about__content {
    display: contents;
  }

  .p-top-about .p-top-section-heading {
    order: 1;
  }

  .p-top-about__image {
    order: 2;
    width: min(100%, 639px);
    margin-inline: auto;
  }

  .p-top-about__image img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .p-top-about__text {
    order: 3;
    margin-top: 0;
  }

  .p-top-about__link {
    order: 4;
    margin-top: 0;
  }
}