@charset "UTF-8";

/* site-header(下層ページはトップよりヘッダーを上に寄せる) */
@media screen and (min-width: 768px) {
    .site-header__inner {
        padding-top: 2rem;
    }
}

/* page-head */
.page-head {
    padding: 6.5rem var(--s-20) 0;
}
.page-head__inner {
    max-width: var(--w-content);
    margin: 0 auto;
}
.page-head__en {
    color: var(--c-teal);
    font-family: "Zen Kaku Gothic New", var(--font-base);
    font-size: var(--fs-16);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
}
.page-head__title {
    margin-top: var(--s-12);
    font-family: "Zen Kaku Gothic New", var(--font-base);
    font-size: var(--fs-28);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
}
.section-title--white {
    color: var(--c-white);
}
.section-title--white .section-title__en {
    color: var(--c-deep);
}
@media screen and (min-width: 768px) {
    .page-head {
        padding: 10rem var(--s-40) 0;   /* Figma: LIVERラベル y160 */
    }
    .page-head__en {
        font-size: var(--fs-24);
    }
    .page-head__title {
        margin-top: var(--s-16);
        font-size: 3rem;   /* 48px */
    }
}

/* page-hero */
.page-hero {
    position: relative;
    padding: var(--s-32) var(--s-20) var(--s-32);
}
.page-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6rem;
    background: var(--page-hero-band, var(--c-coral));
}
.page-hero__inner {
    position: relative;
    z-index: 1;
    max-width: var(--w-content);
    margin: 0 auto;
}
.page-hero__photo {
    display: block;
    width: 100%;
    height: 160px;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    object-fit: cover;
    object-position: 50% 42%;
}
@media screen and (min-width: 768px) {
    .page-hero {
        padding: 4rem var(--s-40) 3rem;   /* Figma: 写真 y328〜648、帯 y528〜688 */
    }
    .page-hero::after {
        height: 10rem;
    }
    .page-hero__photo {
        aspect-ratio: 15 / 4;
        height: auto;
    }
}

/* fit */
.fit {
    padding: 3rem var(--s-20) 0;
}
.fit__lead {
    font-size: var(--fs-14);
    letter-spacing: 0.04em;
    line-height: 1.7;
    text-align: center;
}
.fit__list {
    display: grid;
    gap: var(--s-40);
    max-width: 21.875rem;   /* SPデザイン幅350px */
    margin: var(--s-16) auto 0;
}
.fit-item {
    display: flex;
    flex-direction: column;   /* SP: 写真→見出し→本文の1カラム */
    align-items: center;
    gap: 0;
}
.fit-item__photo {
    display: block;
    width: 100%;
}
.fit-item__photo img {
    width: 100%;
    height: auto;
}
.fit-item__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: -1.25rem;
}
.fit-item__label {
    display: flex;
    justify-content: center;
    padding: var(--s-8) var(--s-24);
    border-radius: 40px;
    background: var(--c-teal);
    color: var(--c-white);
    font-size: var(--fs-16);
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.6;
    text-align: left;
}
.fit-item__text {
    width: 100%;
    margin-top: var(--s-12);
    font-size: var(--fs-14);
    letter-spacing: 0.04em;
    line-height: 1.6;
}
@media screen and (min-width: 768px) {
    .fit {
        padding: 6rem var(--s-40) 0;
    }
    .fit__lead {
        font-size: var(--fs-18);
    }
    .fit__list {
        grid-template-columns: repeat(2, 36.0625rem);
        justify-content: center;
        gap: 3rem 2.875rem;
        max-width: var(--w-content);
        margin-top: 2rem;
    }
    .fit-item {
        flex-direction: row;
        gap: 1rem;
    }
    .fit-item__photo {
        flex: 0 0 13.75rem;
        width: 13.75rem;
    }
    .fit-item__body {
        flex: 0 0 21.3125rem;
        align-items: stretch;
    }
    .fit-item__label {
        padding: var(--s-16);
        font-size: var(--fs-18);
        line-height: 1;
        white-space: nowrap;
    }
    .fit-item__text {
        margin-top: 1.125rem;
        font-size: var(--fs-16);
    }
}

/* flow */
.flow {
    position: relative;
    padding: 4rem var(--s-20) 4.5rem;
    background: var(--c-teal);
    color: var(--c-black);
    overflow: hidden;
}
.flow__circles {
    position: absolute;
    top: 14rem;
    right: -8rem;
    width: 20rem;
    transform: rotate(120deg);
}
.flow .section-title {
    position: relative;
    margin-bottom: var(--s-32);
}
.flow__inner {
    position: relative;
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    column-gap: 2.25rem;
    row-gap: 1.25rem;
    max-width: 42.4375rem;
    margin: 0 auto;
}
.flow__phase {
    grid-column: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--c-deep);
    color: var(--c-white);
    font-size: var(--fs-14);
    font-weight: 600;
    letter-spacing: 0.1em;
    writing-mode: vertical-rl;
}
.flow__phase--before {
    grid-row: 1 / 4;
}
.flow__phase--full {
    grid-row: 1 / 6;
}
.flow__phase--before,
.flow__phase--full {
    margin-bottom: -0.75rem;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1rem), 50% 100%, 0 calc(100% - 1rem));   /* 下端を矢印状に */
}
.flow__phase--after {
    grid-row: 4 / 6;
    margin: -0.75rem 0 0;
    clip-path: polygon(0 0, 50% 1.125rem, 100% 0, 100% calc(100% - 0.75rem), 50% 100%, 0 calc(100% - 0.75rem));   /* 上端はV字の切り欠き */
}
.flow__list {
    display: contents;
}
.flow-step {
    grid-column: 2;
    position: relative;
    padding: var(--s-16) var(--s-16) var(--s-16) 2.75rem;
    border-radius: 8px;
    background: var(--c-white);
}
.flow-step__icon {
    position: absolute;
    top: 50%;
    left: -2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--c-deep);
    transform: translateY(-50%);
}
.flow-step__icon::after {
    content: "";
    position: absolute;
    inset: 0.25rem;
    border: 1px solid var(--c-white);
    border-radius: 50%;   /* Figma: 内側の細い白リング */
}
.flow-step__icon img {
    width: 50%;
    height: 50%;
    object-fit: contain;
}
.flow-step__icon--full {
    background: none;
}
.flow-step__icon--full::after {
    content: none;
}
.flow-step__icon--full img {
    width: 100%;
    height: 100%;
}
.flow-step__title {
    padding-bottom: var(--s-12);
    border-bottom: 2px dashed var(--c-teal);
    color: var(--c-deep);
    font-size: var(--fs-16);
    font-weight: 600;
    line-height: 1.2;
}
.flow-step__num {
    background: linear-gradient(90deg, #166371 0%, #449798 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.flow-step__text {
    margin-top: var(--s-16);
    font-size: var(--fs-14);
    font-weight: 500;
    line-height: 1.6;
}
@media screen and (min-width: 768px) {
    .flow {
        padding: 5rem var(--s-40) 9.6875rem;
    }
    .flow__circles {
        top: 11.0625rem;
        right: auto;
        left: calc(50% + 164px);
        width: 29.6875rem;
    }
    .flow .section-title {
        margin-bottom: 3rem;
    }
    .flow__inner {
        grid-template-columns: 4.5rem 1fr;
        column-gap: 6.6875rem;
        row-gap: 1.875rem;
    }
    .flow__phase {
        font-size: var(--fs-24);
    }
    .flow__phase--before,
    .flow__phase--full {
        margin-bottom: -1.0625rem;   /* Figma: 尖り29px(カード下端+17px)  */
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.8125rem), 50% 100%, 0 calc(100% - 1.8125rem));
    }
    .flow__phase--after {
        margin: -1.3125rem 0 -0.25rem;  
        clip-path: polygon(0 0, 50% 2rem, 100% 0, 100% calc(100% - 1.375rem), 50% 100%, 0 calc(100% - 1.375rem));
    }
    .flow-step {
        padding: 2rem 2.5rem 2rem 5rem;
    }
    .flow-step__icon {
        left: -3.75rem;
        width: 6.25rem;
        height: 6.25rem;
    }
    .flow-step__icon::after {
        inset: 0.375rem;   /* 内径87.5px */
    }
    .flow-step__title {
        width: 22.5rem;
        font-size: var(--fs-18);
    }
    .flow-step__text {
        font-size: var(--fs-16);
        white-space: nowrap;   /* Figma: カード幅より長い行も折り返さない */
    }
}
