/* ========================================
   背景
   ======================================== */
body {
    background-color: #F5DED8;
    color: #303030;
    font-family: "Zen Kaku Gothic New", sans-serif;
}
body::before {
    content: '';
    display: block;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: -1;
    background-image: url("../img/pc_background.webp");
    background-size: cover;
    background-repeat: no-repeat;
}
body::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;     
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    background-image: url("../img/line.png");
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
}

span {
    display: inline-block;
}

@media screen and (max-width: 1280px) {
    body::after {
        display: none;
    }
}

/* ========================================
   アニメーション
   ======================================== */
.js-fadein {
    opacity: 0;
    transform: translateY(20px);
    /* 0.8sかけてじわっと戻る */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.js-fadein.is-active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   メインコンテンツ
   ======================================== */
.w_1440 {
    max-width: 1440px;
    width: 100%;
    margin: auto;
}

.haader {
    max-width: 1440px;
    width: 100%;
    margin: auto;
    display: flex;
    align-items: flex-start;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.haader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
    margin-left: min(13.125vw, 189px);
}

.haader__logo {
    width: 22.22vw;
    max-width: 320px;
}

.haader__btn-wrapper {
    position: relative;
    display: none;
}

.haader__btn {
    width: 33.88vw;
    max-width: 488px;
    height: auto;
    transition: all .3s ease;
    box-shadow: 0px 10px 16px 0px rgba(141, 68, 80, 0.3);
    border-radius: 100px;
}

.haader__btn-wrapper:hover .haader__btn {
    transform: scale(1.05);
}

.lp {
    float: right;
    position: relative;
    width: 27vw;
    margin-right: 13.8vw;
    margin-top: 2.7vw;
    max-width: 390px;
    border-radius: 24px 24px 0px 0px;
    box-shadow: 0px 0px 50px 0px rgba(141, 68, 80, 0.2);
}

@media screen and (min-width: 1440px) {
    .lp {
        margin-right: 200px;
        margin-top: 40px;
    }
}

.lp .image {
    position: relative;
    width: 100%;
    height: auto;
}

.main_visual_container {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 680px;
    padding-top: 40px;
    background-color: #fff;
    overflow: hidden;
}

.main-visual-hero__title {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    color: #303030;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0;
    padding-inline: 24px;
}

.main-visual-hero__line {
    position: absolute;
    top: -24.57px;
    left: 50%;
    z-index: 0;
    width: 326px !important;
    height: 66px !important;
    transform: translateX(-50%) scale(0.85) rotate(-2deg);
    opacity: 0;
    pointer-events: none;
    animation: hero-line-pop 0.85s cubic-bezier(0.22, 1.2, 0.34, 1) 0s forwards;
    will-change: opacity, transform;
}

@keyframes hero-line-pop {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.85) rotate(-2deg);
    }

    35% {
        opacity: 1;
        transform: translateX(-50%) scale(1.06) rotate(1deg);
    }

    65% {
        transform: translateX(-50%) scale(0.98) rotate(-1deg);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1) rotate(0deg);
    }
}

.main-visual-hero__title-main {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 40px;
    line-height: 1.1;
}

.main-visual-hero__title-sub {
    position: relative;
    z-index: 1;
    font-size: 32px;
    line-height: 1.1;
}

.main-visual-hero__title-highlight {
    position: relative;
}

.main-visual-hero__title-highlight::before {
    content: '';
    position: absolute;
    left: -8px;
    right: -8px;
    bottom: 0px;
    z-index: -1;
    height: 19px;
    background-color: #FAEEF2;
    transform: scaleX(0);
    transform-origin: left center;
    animation: hero-highlight-draw 0.9s ease-out forwards;
}

@keyframes hero-highlight-draw {
    0% {
        transform: scaleX(0);
    }

    100% {
        transform: scaleX(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .main-visual-hero__title-highlight::before {
        animation: none;
        transform: scaleX(1);
    }
}

.main-visual-hero__image-wrap {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 3px;
}

.main-visual-hero__image {
    width: 100%;
    height: auto !important;
    margin-bottom: 0 !important;
}

.main-visual-hero__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    margin-top: 3px;
}

.main-visual-hero__lead {
    color: #303030;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 2.0;
    text-align: center;
}

.main-visual-hero__campaign {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 287px;
    max-width: calc(100% - 48px);
}

.main-visual-hero__cashback {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    color: #303030;
}

.main-visual-hero__deadline {
    display: inline-flex;
    flex: 0 0 104px;
    align-items: center;
    justify-content: center;
    height: 40px;
    border: solid 1px #D26779;
    border-radius: 12px;
    color: #D26779;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
}

.main-visual-hero__deadline-text {
    transform: translateY(1px);
}

.main-visual-hero__price {
    font-family: "Poppins", sans-serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
    display: flex;
    align-items: flex-end;
    gap: 4px;
}

.main-visual-hero__yen {
    font-family: "Poppins", sans-serif;
    font-size: 28px;
}

.main-visual-hero__label {
    color: #D26779;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    text-align: center;
}

.main-visual-hero__note {
    width: 100%;
    color: #303030;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 2.0;
    text-align: center;
}

.images {
    position: relative;
    z-index: 99999;
    width: 100%;
    padding-inline: 24px;
    background: white;
}

.lp .image img {
    width: 100%;
    height: 100%;
    display: block;
    margin-bottom: -1px;
}

@media screen and (max-width: 1024px) {
    .lp {
        max-width: 100%;
        width: 100%;
        margin-right: 0px;
        margin-top: 0px;
    }
}

.main_visual_container {
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 24px 24px 0px 0px;
}

@media screen and (max-width: 1280px) {
    .lp {
        max-width: 100%;
        width: 100%;
        margin-right: 0px;
        margin-top: 0px;
    }
    .main_visual_container {
        border-radius: 0px;
    }
    .haader {
        display: none;
    }
}

/* ========================================
   p-problem
   ======================================== */
.problem-campaign-group {
    display: flex;
    flex-direction: column;
    gap: 56px;
    padding-block: 56px 120px;
    background-color: #fff;
}

.p-problem {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.problem_wrapper {
    display: flex;
    flex-direction: column;
    gap: 56px;
}
.problem__image--wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ========================================
   section header
   ======================================== */
.uservoice-voice__header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
.uservoice-voice__title {
    font-weight: 700;
    font-size: 32px;
    line-height: 1.4;
    text-align: center;
}
.uservoice-voice__subtitle {
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.04em;
    color: #D26779;

    display: flex;
    align-items: center;
    gap: 8px;
}
.uservoice-voice__subtitle::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #D26779;
}
.uservoice-voice__subtitle::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #D26779;
}
iframe {
    width: 100%;
    height: 192px;
}

/* ========================================
   campaign-detail
   ======================================== */
.campaign-detail {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-block: 0;
    background-color: #fff;
}

.campaign-detail__content {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.campaign-detail__table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    border: solid 1px #D9D9D9;
    border-radius: 6px;
    overflow: hidden;
    background-color: #fff;
}

.campaign-detail__table th,
.campaign-detail__table td {
    box-sizing: border-box;
    padding: 12px;
    border-bottom: solid 1px #D9D9D9;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0;
    vertical-align: top;
}

.campaign-detail__table th {
    width: 112px;
    background-color: #F5F5F5;
    border-right: solid 1px #EEEEEE;
    color: #5A5A5A;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
}

.campaign-detail__table td {
    color: #303030;
    font-weight: 400;
    overflow-wrap: anywhere;
}

.campaign-detail__table tr:last-child th,
.campaign-detail__table tr:last-child td {
    border-bottom: none;
}

.campaign-detail__table ul {
    margin: 0;
    padding-left: 1.35em;
    font-weight: 700;
}

.campaign-detail__button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 50px;
    margin: 0 auto;
    padding: 0 54px 0 24px;
    border-radius: 25px;
    background-color: #D26779;
    box-shadow: 0 8px 16px rgba(141, 68, 80, 0.24);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
    text-decoration: none;
}

.campaign-detail__button-arrow {
    position: absolute;
    top: 50%;
    right: 24px;
    width: 18px;
    height: 2px;
    background-color: currentColor;
    transform: translateY(-50%);
    transition: transform 0.2s ease;
}

.campaign-detail__button:hover .campaign-detail__button-arrow {
    transform: translate(4px, -50%);
}

.campaign-detail__button-arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 8px;
    height: 8px;
    border-top: solid 2px currentColor;
    border-right: solid 2px currentColor;
    transform: translateY(-50%) rotate(45deg);
}

@media screen and (max-width: 1024px) {
    .campaign-detail__table {
        width: 100%;
    }
}

/* ========================================
   qanda
   ======================================== */
.qanda {
    display: flex;
    flex-direction: column;
    gap: 56px;
    padding-block: 120px;
    background-color: #FAEEF2;
}

.faq-inner {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* アコーディオンのカード */
.faq-item {
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* 質問部分 */
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
	justify-content: space-between;
    gap: 16px;
    padding: 24px 16px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
}

.faq-question-inner {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.faq-prefix {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 16px;
    height: 100%;
}

.faq-prefix.q {
  color: #303030; /* 落ち着いたピンク */
}

.faq-item.is-open .faq-prefix.q {
    color: #d8727e; /* 開いている時の濃いピンク */
}

.faq-prefix.a {
    color: #333;
}

.faq-txt {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
	color: #303030;
}

/* 開閉アイコン（丸い矢印） */
.faq-icon img {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

/* 開いている時のアイコンの動き */
.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

/* 回答部分 */
.faq-answer {
  display: none; /* 初期状態は非表示 */
}

.faq-answer-inner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-inline: 16px;
  padding-bottom: 24px;
}

.faq-answer-txt {
  font-size: 16px;
  line-height: 1.8;
}

.linkarea {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 100000;
}

.campaign__cta--wrapper {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.campaign__note--wrapper {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

/* ========================================
   footer
   ======================================== */
footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: 32px 24px;
    background-color: #E8E5E6;
	z-index: 99999999;
    position: relative;
}
.site-footer__logo {
    max-width: 266px;
    width: 100%;
    height: auto;
}
.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}
.site-footer__link {
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    color: #767676;
    text-decoration: none;
    padding-right: 16px;
    border-right: solid 1px #B3B3B3;
}
.site-footer__link:last-child {
    border-right: unset;
}
