/* ===== 基本スタイル ===== */
:root {
    --blue: #1B5FA6;
    --yellow: #FFBB00;
    --pale: #eef3f9;
    --text: #232323;
    --line: #CED4DA;
}
* {
    box-sizing: border-box;
    font-feature-settings: "palt";
}
html {
    scroll-behavior: smooth;
}
body {
    color: var(--text);
    font-family: "Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
    line-height: 1.7;
    margin: 0;
}
a {
    color: inherit;
}
img {
    height: auto;
    max-width: 100%;
}
.container {
    width: min(1080px,calc(100% - 48px));
    margin: auto;
}
.btn {
    align-items: center;
    background: var(--yellow);
    border: 0;
    border-radius: 50px;
    color: #111;
    display: inline-flex;
    font-size: 16px;
    font-weight: 800;
    justify-content: center;
    padding: 12px 30px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: transform .15s,filter .15s;
    width: 270px;
}
.btn img {
    margin-top: 1px;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
}
.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
}
.btn:focus-visible {
    outline: 3px solid #e88900;
    outline-offset: 3px;
}
summary:focus-visible {
    outline: 3px solid #e88900;
    outline-offset: 3px;
}
.btn-small {
    font-size: 12px;
    padding: 8px 24px;
    width: 130px;
}

.header {
    align-items: center;
    background: #fff;
    display: flex;
    left: 0;
    padding: 12px 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 99;
}
.header-inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
}
.brand img {
    width: 190px;
}

.hero {
    background: url("images/hero-bg.png") center;
    margin-top: 60px;
    padding: 45px 0 0;
    position: relative;
}
.hero-copy {
    margin: 55px 0 40px;
}
.hero-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.eyebrow {
    background: var(--blue);
    border-radius: 100px;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 28px;
}
.hero h1 {
    font-size: clamp(32px,3.55vw,48px);
    font-weight: 700;
    line-height: 1.4;
    margin: 22px 0 20px;
}
.hero h1 em {
    font-style: normal;
    font-weight: 900;
    color: var(--blue);
}
.hero-art {
    position: relative;
}
.hero-art-bubble {
    align-items: flex-start;
    display: flex;
    gap: 20px;
}
.bubble {
    background: #fff;
    border: 2px solid var(--blue);
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.6;
    padding: 16px 0 12px;
    position: relative;
    text-align: center;
    width: 160px;
}
.bubble strong {
    color: var(--blue);
    display: inline-block;
    font-weight: 900;
    margin: 0 4px;
    position: relative;
    transform: translateY(-1px);
}
.bubble strong:before {
    background: var(--yellow);
    bottom: 1px;
    content: "";
    height: 4px;
    left: -2px;
    position: absolute;
    right: -2px;
}
.bubble:after {
    background: white;
    bottom: -10px;
    border-right: 2px solid var(--blue);
    border-bottom: 2px solid var(--blue);
    content: "";
    height: 15px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%) rotate(45deg);
    width: 15px;
}
.bubble.a {
    margin-top: 50px;
}
.bubble.c {
    margin-top: 30px;
}
.hero-art-illust {
    margin: -18px 28px 0 0;
    position: relative;
    text-align: right;
    z-index: 2;
}
.hero-panel {
    align-items: center;
    background: var(--blue);
    border-radius: 8px;
    display: flex;
    color: #fff;
    justify-content: space-between;
    margin-top: -122px;
    margin-bottom: -90px;
    transform: translateY(90px);
    padding: 48px;
    position: relative;
    gap: 24px;
}
.hero-panel:before {
    background: #eaf3fc;
    content: "";
    height: 26px;
    left: 49%;
    position: absolute;
    top: -1px;
    transform: translate(-50%,-50%) rotate(45deg);
    width: 26px;
}
.hero-panel h2 {
    font-size: 23px;
    margin: 0 0 12px;
}
.hero-panel p {
    font-size: 15px;
    margin: 0;
}
.hero-panel .btn {
    margin-top: auto;
    flex: 0 0 auto;
}

.section + .section {
    margin-top: 100px;
}
.section-heading {
    text-align: center;
    margin: 0 0 35px;
}
.section-heading h2 {
    font-size: clamp(25px,2.8vw,32px);
    line-height: 1.4;
    margin: 0 0 12px;
}
.section-heading p {
    margin: 0;
}

.cases {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}
.case {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
}
.case-info {
    padding: 20px 24px 16px;
}
.case-num {
    color: var(--blue);
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 4px;
}
.case h3 {
    font-size: 18px;
    margin: 0;
    line-height: 1.4;
}
.case p {
    font-size: 15px;
    margin: 0;
}
.case-figure {
    margin: auto 0 0;
    padding: 0 20px 16px;
    text-align: center;
}
.case-figure figure {
    margin: 0;
}
.case-figure img {
    max-width: 100%;
    display: block;
    height: auto;
}
.note {
    background: var(--pale);
    border-radius: 8px;
    font-size: 14px;
    margin-top: 32px;
    padding: 20px;
}
.spec {
    border-radius: 4px;
    background: var(--blue);
    color: #fff;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
    padding: 4px 9px;
    white-space: normal;
}
.case-cta {
    margin-top: 32px;
    text-align: center;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    margin-top: 24px;
}
.step {
    padding: 24px 28px 28px;
    min-height: 270px;
    position: relative;
    min-width: 0;
}
.step:nth-child(1) {
    background: #f0f6fb;
}
.step:nth-child(2) {
    background: #deebfa;
}
.step:nth-child(3) {
    background: #cbdff7;
}
.step-arr {
    position: absolute;
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    z-index: 2;
}
.step-num {
    align-items: center;
    background: var(--blue);
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 21px;
    font-weight: 700;
    height: 48px;
    justify-content: center;
    line-height: 1.4;
    margin: 0 auto 8px;
    position: relative;
    width: 48px;
    z-index: 2;
}
.step-art {
    align-items: center;
    display: flex;
    height: 131px;
    justify-content: center;
    margin-bottom: 20px;
}
.step-ttl {
    color: var(--blue);
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}
.step p {
    font-size: 16px;
    margin: 12px 0 0;
}
.step a {
    color: var(--blue);
}

.faq {
    border: 1px solid var(--line);
    border-radius: 8px;
    max-width: 920px;
    margin: 0 auto;
    overflow: hidden;
}
.faq details+details {
    border-top: 1px solid var(--line);
}
.faq summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    font-size: 18px;
    font-weight: 700;
    gap: 14px;
    list-style: none;
    padding: 16px 20px 16px 24px;
}
.faq summary::-webkit-details-marker {
    display: none;
}
.faq summary:before {
    content: "Q";
    color: var(--blue);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 23px;
    font-weight: 700;
}
.faq summary span {
    margin: 8px 0 0 auto;
    transition: transform .2s;
}
.faq summary span img {
    width: 21px;
}
.faq details[open] summary span {
    margin-top: -4px;
    transform: rotate(180deg);
}
.answer {
    padding: 0 32px 20px 55px;
    font-size: 16px;
}

.bottom-cta {
    background: url(images/bottom-cta-bg.png) center no-repeat;
    background-size: cover;
    color: white;
    margin-top: 80px;
    padding: 70px 0;
    text-align: center;
}
.bottom-cta h2 {
    font-size: 32px;
    line-height: 1.6;
    font-weight: 900;
    margin: 0 0 20px;
}
.bottom-cta p {
    margin: 0 0 28px;
}
.footer {
    text-align: center;
    padding: 25px 0;
    font-size: 11px;
}
.hero-top > * {
    min-width: 0;
}
.hero-panel > * {
    min-width: 0;
}
.hero-art-illust img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-left: auto;
}
.step-art img {
    display: block;
    max-width: 100%;
    height: auto;
}
.hero-panel > div {
    flex: 1 1 auto;
}
#examples {
    padding-top: 270px;
}

/* ===== 小さめのPC ===== */
@media (max-width: 1100px) {
    .hero-top {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
        gap: 0;
    }
    .hero-art-illust {
        margin-right: 8px;
    }
    .hero-art-bubble {
        gap: 10px;
    }
    .bubble {
        flex: 1 1 0;
        width: auto;
        padding: 12px 5px;
    }
    .hero-panel {
        padding: 32px;
    }
    .case-info {
        padding: 16px;
    }
    .case-figure {
        padding: 16px 10px;
    }
}
/* ===== タブレット ===== */
@media (max-width: 900px) {
    .hero-top {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
    .hero-art {
        max-width: 560px;
        width: 100%;
        margin: 0 auto;
    }
    .hero-panel {
        padding: 28px;
        flex-direction: column;
        align-items: stretch;
        margin-top: -35px;
        margin-bottom: -64px;
        transform: translateY(64px);
        gap: 20px;
    }
    .hero-panel .btn {
        min-width: 0;
        width: min(100%, 360px);
        margin-top: 0;
        align-self: center;
    }
    .cases {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
    .hero-copy {
        text-align: center;
        margin: 12px 0 4px;
    }
    .hero h1 {
        font-size: 38px;
        margin: 16px 0 0;
        text-align: center;
    }
    .steps {
        gap: 0;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .hero {
        padding-top: 32px;
    }
    .hero-art-bubble {
        justify-content: center;
        gap: 14px;
    }
    .bubble {
        flex: 1 1 0;
        font-size: 14px;
    }
    .hero-art-illust {
        margin: -12px 0 0;
    }
    .hero-art-illust img {
        max-height: 310px;
        width: auto;
    }
    #examples {
        padding-top: 200px;
    }
    .step {
        padding: 18px 16px 24px;
    }
}
/* ===== スマートフォン ===== */
@media (max-width: 620px) {
    .container {
        width: calc(100% - 32px);
        max-width: 480px;
    }
    .header {
        height: 58px;
        min-height: 58px;
        padding: 10px 0;
    }
    .btn {
        font-size: 14px;
    }
    .btn-small {
        font-size: 11px;
        min-height: 34px;
        padding: 8px 22px 8px 12px;
        width: auto;
        min-width: 106px;
    }
    .hero {
        padding-top: 34px;
        margin-top: 58px;
        padding: 32px 0 0;
        background-size: auto;
    }
    .hero h1 {
        font-size: clamp(25px, 6.7vw, 35px);
        margin: 8px 0 0;
        line-height: 1.45;
        letter-spacing: -.025em;
    }
    .eyebrow {
        padding: 6px 20px;
    }
    .hero-art {
        height: auto;
        min-height: 0;
        margin: 4px auto 0;
    }
    .bubble {
        min-width: 0;
        padding: 9px 3px 8px;
        position: relative;
        inset: auto;
        margin-top: 0;
        width: auto;
        flex: 1 1 0;
        line-height: 1.5;
        border-width: 1px;
        border-radius: 5px;
    }
    .bubble.a {
        left: 0;
        top: 60px;
        position: relative;
        inset: auto;
        margin-top: 28px;
    }
    .bubble.b {
        left: 34%;
        top: 5px;
        position: relative;
        inset: auto;
        margin-top: 0;
    }
    .bubble.c {
        right: 0;
        top: 80px;
        width: auto;
        position: relative;
        inset: auto;
        margin-top: 18px;
    }
    .hero-panel {
        padding: 24px 20px;
        gap: 18px;
        margin-top: -12px;
        margin-bottom: -44px;
        text-align: center;
        transform: translateY(44px);
    }
    .hero-panel h2 {
        font-size: clamp(17px, 4.5vw, 20px);
        line-height: 1.5;
    }
    .hero-panel p {
        font-size: 14px;
        line-height: 1.6;
        text-align: left;
    }
    .hero-panel:before {
        left: 50%;
        width: 12px;
        height: 12px;
    }
    .section + .section {
        margin-top: 80px;
    }
    .section-heading h2 {
        font-size: clamp(22px, 5.7vw, 26px);
    }
    .cases {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    .steps {
        grid-template-columns: minmax(0, 1fr);
    }
    .step {
        display: flex;
        flex-wrap: wrap;
        min-height: 0;
        padding: 20px 0 20px 20px;
    }
    .step-arr {
        bottom: -34px;
        left: 50%;
        top: auto;
        transform: rotate(90deg) translate(-50%,0);
        right: auto;
        width: 32px;
    }
    .step-num {
        order: 1;
        width: 56px;
    }
    .step-ttl {
        margin-bottom: 0;
        order: 2;
        padding-left: 12px;
        text-align: left;
        width: calc(100% - 56px);
    }
    .step-art {
        height: auto;
        margin: 0;
        order: 4;
        padding-left: 20px;
        width: 150px;
    }
    .step p {
        order: 3;
        width: calc(100% - 170px);
    }
    .faq summary {
        padding: 15px 14px;
        line-height: 1.6;
        gap: 10px;
    }
    .answer {
        padding: 0 16px 18px 40px;
    }
    .bottom-cta {
        padding: 58px 0;
    }
    .bottom-cta h2 {
        font-size: clamp(22px, 5.8vw, 27px);
    }
    .bottom-cta .btn {
        width: 100%;
        max-width: 360px;
        min-height: 48px;
        padding: 11px 27px 11px 15px;
    }
    .brand img {
        width: clamp(125px, 37vw, 170px);
        display: block;
    }
    .btn-small img {
        width: 9px;
        right: 9px;
    }
    .hero-art-bubble {
        display: flex;
        align-items: flex-start;
        gap: 6px;
    }
    .bubble:after {
        width: 10px;
        height: 10px;
        bottom: -7px;
        border-width: 1px;
    }
    .bubble strong {
        margin: 0;
    }
    .bubble strong:before {
        height: 2px;
    }
    .hero-art-illust {
        margin: -4px 0 0;
    }
    .hero-art-illust img {
        max-height: none;
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    .hero-panel p br {
        display: none;
    }
    .note br {
        display: none;
    }
    .section-heading p br {
        display: none;
    }
    .btn {
        width: 100%;
        max-width: 360px;
        min-height: 48px;
        padding: 11px 27px 11px 15px;
    }
    .hero-panel .btn {
        width: 100%;
        max-width: 360px;
        min-height: 48px;
        padding: 11px 27px 11px 15px;
    }
    .case-cta .btn {
        width: 100%;
        max-width: 360px;
        min-height: 48px;
        padding: 11px 27px 11px 15px;
    }
    .header .btn-small {
        width: auto;
        min-height: 34px;
        padding: 8px 22px 8px 12px;
        font-size: 12px;
    }
    #examples {
        padding-top: 120px;
    }
    .section-heading {
        margin-bottom: 26px;
    }
    .case h3 {
        font-size: 18px;
    }
    .case-figure {
        padding: 18px 12px;
    }
    .case-figure img {
        width: 100%;
        height: auto;
    }
    .spec {
        max-width: 100%;
        overflow-wrap: anywhere;
    }
    .note {
        line-height: 1.8;
        margin-top: 20px;
    }
    .step-num {
        font-size: 20px;
        height: 40px;
        margin: 0 0 4px;
        width: 40px;
    }
    .step-ttl {
        width: calc(100% - 52px);
    }
    .step + .step::before {
        display: none;
    }
    .step-art {
        padding-left: 12px;
        width: 120px;
    }
    .step p {
        grid-column: 2;
        grid-row: 1 / span 2;
        margin: 0;
        width: calc(100% - 132px);
    }
    .faq summary:before {
        font-size: 20px;
        flex: 0 0 auto;
    }
    .faq summary span {
        flex: 0 0 auto;
    }
}
/* ===== 小さいスマートフォン ===== */
@media (max-width: 390px) {
    .hero h1 {
        font-size: 27px;
    }
    .bubble {
        font-size: 11px;
        padding: 8px 2px;
    }
    .bubble.a {
        font-size: 11px;
        padding: 8px 2px;
    }
    .bubble.b {
        font-size: 11px;
        padding: 8px 2px;
    }
    .bubble.c {
        font-size: 11px;
        padding: 8px 2px;
    }
    .hero-panel {
        padding: 22px 16px;
    }
}