/* キャンペーンページ固有のスタイル */
@media(max-width:768px){
 header #menuBtn{width:44px;height:44px;z-index:10001;background-size:44px 44px}
 header #menuBtn img{width:44px;height:44px}
 header nav.active{display:block}
 header nav.active ul.sp{display:block!important;padding-top:0}
 header nav{top:100%;background-color:#333}
 header nav ul li{padding:0}
 header nav ul li a{padding:14px 20px;font-size:14px}
}
#campaign{font-family:Meiryo,"メイリオ","Yu Gothic",sans-serif;color:#222}
body {
    min-width: 0;
}

header .inner {
    max-width: 100%;
}

#campaign .lp-inner {
    max-width: 100%;
}

.hero {
    --hero-tip: clamp(2rem, 7vw, 6rem);
    background: #fff;
}

.hero-copy {
    position: relative;
    z-index: 1;
    margin-bottom: calc(-1 * var(--hero-tip));
    padding: 1.75rem 0 calc(var(--hero-tip) + 0.9rem);
    background: #3a9fdf;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--hero-tip)), 50% 100%, 0 calc(100% - var(--hero-tip)));
    text-align: center;
}

.campaign-heading img {
    display: block;
    width: 100%;
    height: auto;
    /* PDFの右端に残る白い罫線を隠す。 */
    clip-path: inset(0 1px 0 0);
}

#campaign .campaign-period {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    column-gap: 0.2em;
    margin-top: 0.7rem;
    color: #fff;
    font-size: clamp(1rem, 2.9vw, 1.85rem);
    font-weight: 800;
    line-height: 1.45;
}

.campaign-period time,
.campaign-period span {
    font-size: inherit;
    font-weight: inherit;
}

#campaign .campaign-intro {
    margin-top: 1.35rem;
    color: #fff;
    font-size: clamp(1rem, 2vw, 1.45rem);
    font-weight: 700;
    line-height: 1.55;
}

.campaign-price {
    display: block;
    width: 75%;
    height: auto;
    margin: 0.8rem auto 0;
}

#campaign .hero__conditions {
    margin: 1rem auto 0;
    color: #fff;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    font-weight: 700;
    line-height: 1.65;
}

.hero__conditions span,
.support h2 span,
.support__lead span {
    font: inherit;
    white-space: nowrap;
}

.support {
    padding: calc(var(--hero-tip) + 1.9rem) 0 2.3rem;
    background: linear-gradient(#ffffffb3, #ffffff7a), url("../images/living.jpg") center / cover no-repeat #f4f1ea;
    text-align: center;
}

#campaign .support h2 {
    width: auto;
    margin: 0;
    padding: 0;
    background: transparent;
    color: #221c19;
    font-size: clamp(1.75rem, 4.25vw, 3.7rem);
    line-height: 1.25;
}

#campaign .support__lead {
    margin-top: 0.6rem;
    color: #221c19;
    font-size: clamp(1rem, 1.9vw, 1.5rem);
    font-weight: 700;
    line-height: 1.5;
}

#campaign .support .lp-inner {
    padding-inline: clamp(0.9rem, 3vw, 2rem);
}

.support .costs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.35rem, 2vw, 1.8rem);
    margin: clamp(1.2rem, 2.5vw, 2.2rem) auto 0;
}

.support .cost-icon {
    position: static;
    display: grid;
    place-items: center;
    width: 94%;
    max-width: 18rem;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0.3rem 0.9rem #241b1538;
    line-height: 1;
}

.support .cost-icon img {
    display: block;
    width: 96%;
    height: 73%;
    object-fit: contain;
    mask-image: radial-gradient(ellipse closest-side, #000 78%, transparent 150%);
}

.costs__label {
    position: relative;
    display: block;
    max-width: 19rem;
    margin: -0.8em auto 0;
    padding: 0.46em 0.18em;
    border-radius: 99rem;
    background: linear-gradient(#fff58b 43%, #ffa50b);
    box-shadow: 0 0.35rem 0.7rem #241b1547;
    color: #221c19;
    font-size: clamp(0.92rem, 2.05vw, 1.85rem);
    font-weight: 800;
    line-height: 1.35;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    padding: 1.4rem 0 1.75rem;
    text-align: center;
}

#campaign .cta {
    position: relative;
    justify-content: center;
    width: 30rem;
    padding: 1.2rem 3rem;
    border: 1px solid #bd8900;
    border-radius: 0.6rem;
    background: #ffdf00;
    box-shadow: 0 0.25rem 0 #a66d00;
    color: #132e50 !important;
    font-size: 1.3rem;
    line-height: 1.4;
    text-align: center;
    transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
}

#campaign .cta > span {
    position: absolute;
    top: 50%;
    right: 1.15rem;
    transform: translateY(-50%);
    font-size: 1.8rem;
    line-height: 1;
}

#campaign .cta:hover {
    transform: translateY(-1px);
    background: #ffe766;
    box-shadow: 0 0.32rem 0 #a66d00;
}

#campaign .cta:active {
    transform: translateY(2px);
    background: #ffd000;
    box-shadow: 0 0.1rem 0 #a66d00;
}

@media (min-width: 769px) and (max-width: 979px) {
    header .inner,
    #campaign .section-space,
    #campaign #info .inner {
        padding-inline: 1.7rem;
    }

    header h1 {
        margin-right: 1.1rem;
    }

    header nav ul li span {
        padding-inline: 0.4rem;
    }
}

.section-space{padding-top:48px;padding-bottom:48px}
#campaign h2{font-size:25px;letter-spacing:0;line-height:1.6;font-weight:700;width:100vw;margin-left:calc(50% - 50vw);padding:20px max(22px,calc((100vw - 960px)/2));background:#1192c9;color:#fff;text-align:center}
#campaign .lead{font-size:14px;line-height:1.9;margin-top:16px}
.terms-section{background:#fff;border-top:1px solid #ddd;border-bottom:1px solid #ddd}
.details{margin-top:22px;border-top:1px solid #ddd}
.details>div{padding:18px 0;grid-template-columns:190px 1fr;gap:20px;border-color:#ddd}
.details dt{font-size:14px;color:#222}
.notes{margin-top:24px;color:#444}
.notes h3{font-size:13px}
.consultation{text-align:center}
.consultation .cta{margin:24px auto 0}
#campaign .consultation .lead{white-space:nowrap}
.back-top{display:block;text-align:right;margin-top:26px}
@media(max-width:768px){
    .hero-copy {
        padding-top: 1.5rem;
    }

    .hero-copy .lp-inner {
        padding-inline: 0.9rem;
    }

    #campaign .campaign-period {
        font-size: clamp(0.92rem, 3.35vw, 1.45rem);
    }

    #campaign .campaign-intro {
        margin-top: 1rem;
    }

    .campaign-price {
        width: 100%;
    }

    .hero-actions {
        padding: 1.1rem 1.2rem 1.4rem;
    }

    #campaign .cta {
        width: 100%;
        max-width: 30rem;
        padding: 1.15rem 2.55rem;
        font-size: 1.2rem;
    }

    #campaign .cta > span {
        right: 1rem;
        font-size: 1.5rem;
    }
 .section-space{padding-top:32px;padding-bottom:32px}
 #campaign h2{font-size:21px;padding:18px 22px}
 .details>div{grid-template-columns:1fr;gap:6px;padding:15px 0}
 .consultation .cta{margin-top:20px}
 #campaign .consultation .lead{font-size:12px}
}
@media(prefers-reduced-motion:reduce){#campaign .cta{transition:none}}
#campaign #info{padding:28px 0 32px;border-top:1px solid #ddd;background:#fff}
#campaign #info .inner{width:960px;max-width:100%;margin:0 auto;padding:0}
#campaign #info .infoTxt{margin:0;color:#333;text-align:left}
#campaign #info dt{font-size:14px;font-weight:700;margin-bottom:10px}
#campaign #info dd{font-size:12px;line-height:1.9}
#campaign #info a{font-size:inherit;text-decoration:underline;color:#006c9f}
footer{display:block;position:relative;padding:25px 0;background:#fff;border-top:1px solid #ddd;color:#333}
footer #footerIn{width:980px;max-width:100%;margin:0 auto;padding:0}
footer #footerIn>.clearfix{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px}
footer #footerIn p{float:none;width:180px;margin:0}
footer #footerIn ul{float:none;margin:0;padding:0;width:auto}
footer #footerIn ul li a{color:#333;font-size:13px}
footer #footerIn ul li span{padding:0 9px}
footer #footerIn small{display:block;text-align:center;color:#333;font-size:11px;margin:0;padding-top:20px}
@media(max-width:768px){
 #campaign #info{padding:24px 22px}
 footer{padding:24px 22px}
 footer #footerIn>.clearfix{justify-content:center}
 footer #footerIn p{width:150px}
}
