@charset "utf-8";

/* ========================================================
   1. Variables & Reset
   ======================================================== */
:root {
    /* Font */
    --ft_base: "Noto Sans JP", sans-serif;
    --ft_pop: "Poppins", sans-serif;
    --ft_jost: "Jost", sans-serif;
    --ft_mont:  "Montserrat", sans-serif;

    /* Colors */
    --cl_text: #333333;
    --cl_main: #1973db;
    --cl_accent: #FFD600;
    --cl_bg: #ffffff;
    --cl_bg_light: #F5F9FC;
    --cl_white: #ffffff;

    /* Gradients */
    --grad_main: linear-gradient(90deg, #01aef8 0%, #0058bc 100%);
    --grad_yellow: linear-gradient(180deg, #FFF176 0%, #FDD835 100%);

    /* Layout */
    --wd_pc: 1000px;
}

/* Basic Reset */
html {
    font-size: 62.5%;
}

/* 1rem = 10px */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--ft_base);
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--cl_text);
    margin: 0;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "palt";
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

/* ========================================================
   2. Utilities (ここが抜けると崩れます)
   ======================================================== */
.l-inner {
    width: 90%;
    max-width: var(--wd_pc);
    margin: 0 auto;
}

.l-section {
    padding: 8rem 0;
    overflow: hidden;
}

.u-over-center {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
}

.u-over-right {
    width: 100vw;
    margin-right: calc(50% - 50vw);
}

.u-color-main {
    color: var(--cl_main);
}

.u-color-bg-main {
    color: var(--cl_main);
}

.u-text-center {
    text-align: center;
}

.u-text-right {
    text-align: right;
}

.u-text-bold {
    font-weight: 700;
}

.u-img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.u-font-en-jost {
    font-family: var(--ft_jost);
}

.u-font-en-mont {
    font-family: var(--ft_mont);
}

/* Flexbox Helpers */
.u-flex {
    display: flex;
}

.u-flex-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    color: #333;
}

.u-box-top-radius {
    border-radius: 5rem 5rem 0 0;
    margin-top: -5rem;
}

@media screen and (min-width: 751px) and (max-width: 1200px) {
    html {
        font-size: 0.83333333vw;
    }
}

/* Desktop Columns */
@media screen and (min-width: 751px) {
    .u-pc-only {
        display: block;
    }

    .u-sp-only {
        display: none;
    }

    .u-flex_col1 {
        width: calc(100% / 1);
    }

    .u-flex_col2 {
        width: calc((100% - 3rem) / 2);
    }

    .u-flex_col3 {
        width: calc((100% - 8rem) / 3);
    }

    .u-flex_col4 {
        width: calc((100% - 12rem) / 4);
    }
}

/* Mobile Columns */
@media screen and (max-width: 750px) {
    html {
        font-size: 1.333vw;
    }

    /* SP scaling */
    body {
        font-size: 2.4rem;
    }

    .u-pc-only {
        display: none;
    }

    .u-sp-only {
        display: block;
    }

    .l-section {
        padding: 6rem 0;
    }

    .u-flex {
        display: block;
    }

    /* Stack elements */
    .u-flex_col1,
    .u-flex_col2,
    .u-flex_col3,
    .u-flex_col4 {
        width: 100%;
        margin: 0 0 3rem 0;
    }

    .u-flex_col4:last-child {
        margin-bottom: 0;
    }

    .l-inner {
        width: 93%;
    }
}

/* ========================================================
   3. Components
   ======================================================== */
/* Section Title */
.c-sec-ttl {
    font-size: 2.6rem;
    font-weight: 500;
    text-align: center;
    position: relative;
    padding-bottom: 2rem;
    margin-bottom: 5rem;
    z-index: 1;
}

.c-sec-ttl--skew {
    transform: skewX(-10deg);
    /* 全体を斜めにする */
}

/* 英語表記 (.en) の調整 */
.c-sec-ttl .en {
    display: block;
    font-size: 18rem;
    margin-top: 0.5rem;
    letter-spacing: 0.05em;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.4;
    letter-spacing: -0.01em;
    font-weight: 400;
    line-height: 0.8;
    color: #fff;
    z-index: -1;
    pointer-events: none;
}

/* 下線の装飾 (共通) */
.c-sec-ttl::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 5rem;
    height: 0.4rem;
    background: var(--cl_main);
    border-radius: 2px;
}

.c-sec-ttl--white::after {
    background: #fff;
}

.c-sec-ttl--white {
    color: #fff;
}

.c-sec-ttl--white .en {
    opacity: 0.15;
}

.c-sec-ttl .sub {
    display: block;
    font-size: 1.4rem;
    font-weight: normal;
    margin-top: 0.5rem;
    color: #666;
}

.c-sec-ttl__dot span {
    position: relative;
}

.c-sec-ttl__dot span:before {
    content: '・';
    position: absolute;
    top: -1rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    line-height: 1;
    font-size: 2rem;
}

@media screen and (max-width: 750px) {
    .c-sec-ttl .en {
        font-size: 20.8rem;
    }
}

/* Check List */
.c-check-list {
    list-style: none;
    padding: 0;
}

.c-check-list li {
    position: relative;
    margin-bottom: 1.5rem;
    padding: 0.8em 1.8em;
    background: #e3eefb;
    display: flex;
    flex-wrap: wrap;
    min-height: 7.4rem;
    align-items: center;
    font-size: 1.4rem;
    line-height: 1.7em;
    text-align: justify;
}

.c-check-list li::before {
    content: "!";
    position: absolute;
    left: -1.5rem;
    top: -0.6rem;
    width: 3.3rem;
    height: 3.3rem;
    border: 2px solid var(--cl_main);
    border-radius: 50%;
    color: var(--cl_main);
    font-size: 2.3rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    font-family: "Noto Serif JP", serif;
}

@media screen and (max-width: 750px) {
    .c-check-list li {
        font-size: 2.8rem;
        margin-bottom: 2.3rem;
    }

    .c-check-list li::before {
        width: 6.2rem;
        height: 6.2rem;
        font-size: 4.6rem;
        top: -1.5rem;
    }
}


.c-note-list {
    list-style-type: none;
    padding: 0;

    & li {
        position: relative;
        margin-bottom: 0.3em;
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
        
        &:before {
            content: attr(data-type);
            display: block;
            text-align: center;
            min-width: 1em;
            flex-shrink: 0;
        }
        
        &[data-number]::before {
            content: attr(data-type) attr(data-number);
            margin-right: 0.5rem; 
         }
    }
    
}

.c-step-list {
    counter-reset: number 0;

    & .list-number {
        display: inline-block;
        
        &::after {
            counter-increment: number 1;
            content: counter(number);
        }
    }
}


/* Buttons */
.c-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    color: #fff;
    padding: 2.3rem 8rem;
}



/* youtube */
.c-youtube-wrap {
    position: relative;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.c-youtube-wrap.vertical {
    aspect-ratio: 9 / 16;
}
.remodal-close {
    top: -7rem;
    right: 0;
}

a[data-remodal-target] .c-youtube-wrap {
    pointer-events: none;
}

.c-youtube-wrap iframe {
    width: 100%;
    height: 100%;
}

/* ========================================================
   4. Project Styles
   ======================================================== */

/* Header */
.l-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 2.7rem 0;
    mix-blend-mode: difference;
}

.l-header__inner {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 90%;
    margin: 0 auto;
    gap: 5rem;
}

.c-header-info {
    background: var(--grad_yellow);
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    text-align: center;
    line-height: 1.2;
    transform: skewX(-10deg);
    /* デザインの斜め感 */
}

.c-header-info>* {
    display: inline-block;
    transform: skewX(10deg);
}

/* 文字は戻す */
.c-header-info .u-text-xs {
    font-size: 1rem;
}

.c-header-info .u-text-highlight {
    color: #d32f2f;
    font-weight: 900;
}

/* FV */
.p-fv {
    position: relative;
    text-align: center;
}

.p-fv__bg {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    z-index: 11;
}

/* Floating CV */
.p-float-cv {
    position: fixed;
    bottom: calc(2rem + 80px);
    right: 0;
    z-index: 999;
    display: none;
    width: 34rem;
}

/* 閉じた状態のクラス */
.p-float-cv.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* リンクエリア */
.p-float-cv__link {
    display: block;
    position: relative;
    text-decoration: none;
}

/* --- 閉じるボタンのデザイン --- */
.p-float-cv__close {
    position: absolute;
    top: -1.5rem;
    /* 画像より少し上に */
    left: -1.5rem;
    /* 右寄せ */
    width: 3rem;
    height: 3rem;
    background: #fff;
    /* ボタンの背景色（グレー） */
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    /* リンクより手前に */
    padding: 0;
    transition: background 0.3s;
}

/* CSSで「✕」印を描画（画像不要） */
.p-float-cv__close::before,
.p-float-cv__close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 2px;
    background-color: var(--cl_main);
    /* バツ印の色 */
    transform: translate(-50%, -50%) rotate(45deg);
}

.p-float-cv__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

@media screen and (max-width: 750px) {
    .l-header {
    padding: 2.7rem 0;
}
    .p-float-cv__close {
        width: 5rem;
        height: 5rem;
        top: -2.5rem;
        left: -2.5rem;
    }
}

/* Works */
.p-works {
    background: var(--grad_main);
    color: #fff;
    padding-bottom: 10rem;
}

.p-works .c-sec-ttl .en {
    font-size: 20rem;
    top: 70%;
}

.p-works__box > .u-flex-wrap {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 5rem 6rem;
    border-radius: 1.6rem;
    align-items: center;
}
.p-works__box > .u-flex-wrap + .u-flex-wrap {
    margin-top: 4rem;
}
.p-works__video a {
    position: relative;
    margin-bottom: 3rem;
    overflow: hidden;
    filter: drop-shadow(0.6rem 0.6rem 0.5rem rgba(0,0,0,0.4));
}

.p-works__client {
    /* order: 2; */
    /* padding-left: 0.5em; */
    /* border-left: 0.5rem solid; */
    /* font-size: 1.8rem; */
    /* font-weight: 500; */
    /* margin: 0 0 1.5em; */
}

.p-works__video.u-flex_col2 {
    max-width: 24.2rem;
}
.p-works__info.u-flex_col2 {
    width: calc(100% - 27.2rem);
}

.p-works__video a {
    display: block;
    transition: 0.3s transform;
}

.p-works__video a:hover {
    opacity: 1;
    transform: scale(1.05);
}

.p-works__job {
    font-size: 1.6rem;
    text-align: center;
    width: 100%;
    font-weight: 500;
    margin: 0 0 1.5rem;
}

.p-works__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(128, 128, 128, 0.8);
    border-radius: 50%;
    mix-blend-mode: screen;
}

.p-works__play::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-left: 16px solid #fff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.p-works__info {
    order: 3;
    /* background: linear-gradient(163deg, rgba(255, 255, 255, 1) 50%, rgba(232, 241, 251, 1) 50%); */
    position: relative;
    /* border: 1.4rem #83b3ec; */
    /* border-top-style: solid; */
    /* border-bottom-style: solid; */
    /* border-image: url(../img/top_works_info-line.webp) 100 0 100 0 / 1.6rem / 0 1.6rem repeat; */
    box-sizing: border-box;
}
.p-works__info.u-flex_col2 {padding-left: 3rem;}
.p-works__voice .icon img {
    border-radius: 50%;
}

.p-works__voice .name {
    font-weight: bold;
    margin-bottom: 1.6rem;
    color: var(--cl_main);
    border-bottom: 1px solid;
    position: relative;
    padding: 0 3.5rem 0.9rem 3.5rem;
    z-index: 1;
}
.p-works__voice .area {
    font-size: 1.1rem;
    margin: 0 1rem;
}

.p-works__voice {
    /* width: 77.5%; */
    margin: 0 auto;
}

.p-works__voice .name:before {
    content: '';
    display: block;
    width: 2.6rem;
    height: 2.4rem;
    background-color: var(--cl_main);
    mask: url(../img/voice-icon.webp) no-repeat center/contain;
    position: absolute;
    left: 0;
    top: 0.4rem;
}

.p-works__voice .name:after {
    content: 'User Voice';
    display: block;
    position: absolute;
    z-index: -1;
    right: 0;
    bottom: 0;
    line-height: 0.65;
    font-size: 3.8rem;
    font-weight: 400;
    font-family: var(--ft_jost);
    opacity: 0.2;
    display: none;
}

.p-works__voice .comment {
    font-size: 1.4rem;
    text-align: justify;
}


@media screen and (max-width: 750px) {
    
    .p-works .l-inner {
        width: 100%;
    }
.p-works__box > .u-flex-wrap {
    padding: 6rem 6rem;
    width: 86%;
}
    .p-works__client,
    dd.p-works__info {
        /* width: 86%; */
        /* margin: 3rem auto; */
    }
.c-youtube-wrap.vertical {
    max-width: 50%;
    margin: 0 auto;
}
.p-works__video.u-flex_col2 {
    max-width: 100%;
}
.p-works__info.u-flex_col2 {
    padding-left: 0;
    width: auto;
}
    .p-works__client {
        /* font-size: 3.2rem; */
        /* border-left: 1rem solid; */
        /* line-height: 1.5; */
        /* padding-bottom: 1rem; */
    }

    .p-works__job {
        font-size: 2.8rem;
        display: block;
    }

    .p-works {
        padding: 10rem 0;
    }

    .p-works__info {
        /* background: linear-gradient(141.5deg, rgba(255, 255, 255, 1) 50%, rgba(232, 241, 251, 1) 50%); */
        /* border: 3rem #83b3ec; */
        /* border-image: url(../img/top_works_info-line.webp) 100 0 100 0 / 3rem / 0 3rem repeat; */
        /* padding: 6.5rem 3.5rem; */
    }

    .p-works__voice .name {
        font-size: 3rem;
        padding: 0 2.5rem 0.9rem 7.15rem;
        margin-bottom: 3rem;
        line-height: 1.5;
    }
.p-works__voice .area {
    font-size: 2.2rem;
    display: block;
    margin: 0;
}
    .p-works__voice .comment {
        font-size: 2.4rem;
        text-align: justify;
    }

    .p-works__voice {
        width: 100%;
    }

    .p-works__voice .name:after {
        font-size: 5.2rem;
    }

    .p-works__voice .name:before {
        width: 5.1rem;
        height: 4.6rem;
    }


}

@media screen and (max-width: 750px) {
    .p-service,
    .p-flow,
    .p-why,
    .p-faq {
        padding: 10rem 0 8rem !important;
    }
}


/* Service */
.p-service,.p-flow {
    padding: 15rem 0 30rem;
}

.p-service {
    background: url(../img/top_service-bg.webp) no-repeat center / cover;
}

.p-service__container {
    gap: 4rem 2rem;
    width: 80%;
    margin: 0 auto;
}

.p-service__option-btn {
    text-align: center;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: -4.2rem;
    padding: 1rem;
}

.p-service__option-btn span {
    position: relative;
    padding: 0 2rem;
}

.p-service__option-btn span:before,.p-service__option-btn span:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-right: 0.5rem solid transparent;
    border-left: 0.5rem solid transparent;
    border-top: 0.6rem solid #fff;
    border-bottom: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.p-service__option-btn span:before {
    left: 0;
}

.p-service__option-btn span:after {
    right: 0;
}

.p-service__option {
    font-size: 1.2rem;
    font-weight: 500;
    padding: 2.5rem 3rem;
    background: #e6f4fd;
    border: 1px solid var(--cl_main);
    border-top: 0;
    box-sizing: border-box;
    z-index: 1;
    position: relative;
    text-align: justify;
    width: calc(100% - 1px);
    margin: -1px auto 0;
}

.p-service__note {
    font-size: 1rem;
    font-weight: 500;
    margin: 1.5rem 0;
    color: var(--cl_main);
    line-height: 1.5;
}

.c-plan-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 750px) {
    .p-service .l-inner,.p-service__container {
        width: 100%;
    }

    .p-service__container,.p-service__sub {
        gap: 4rem 2rem;
    }

    .p-service__option-wrap {
        width: 86%;
        margin: 0 auto;
    }

    .p-service__option-btn {
        font-size: 2.4rem;
        margin-top: -6.3rem;
    }

    .p-service__option {
        font-size: 1.9rem;
        padding: 4rem 5rem;
        margin: -2px auto 0;
    }

    .p-service__note {
        font-size: 1.7rem;
    }
    .p-service__option-btn span {
        padding: 0 3.2rem;
    }
    .p-service__option-btn span:before, .p-service__option-btn span:after {
        border-right: 1rem solid transparent;
        border-left: 1rem solid transparent;
        border-top: 1.2rem solid #fff;
    }
    
}

/* Why */
.p-why,
.p-faq {
    padding: 30rem 0 8rem;
}

.p-why {
    position: relative;
    background: var(--grad_main);
}

.p-why .l-inner {
    position: relative;
    z-index: 1;
}

.p-why__since {
    font-size: 2.2rem;
    color: #fff;
    font-weight: 500;
}

.p-why__since .pick {
    background: #fff;
    padding: 0 0.2em;
    color: var(--cl_main);
    margin: 0 0.2em;
    line-height: 1.3;
    display: inline-block;
}

.p-why__visual {
    text-align: center;
    margin: 3rem 0;
}

.p-why__box {
    border: 2px solid var(--cl_main);
    background: #fff;
    padding: 4rem;
    text-align: center;
}

.p-why__box .lead {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--cl_main);
    margin-bottom: 2rem;
}

@media screen and (max-width: 750px) {
    .p-why__since {
        font-size: 3.6rem;
    }

    .p-why .c-sec-ttl .en {
        width: 116vw;
        margin: 0 calc(0% - 8vw);
        font-size: 18.4rem;
        text-align: left;
    }
}

/* Flow */
/* ========================================================
   p-flow: 流れ・ステップ
   ======================================================== */
.p-flow {
    background-color: var(--cl_bg_light);
}

.p-flow .c-sec-ttl .en {
    color: var(--cl_main);
    opacity: 0.15;
}

/* --- Navigation (上部のステップバー) --- */
.p-flow__nav {
    margin-bottom: 4.0rem;
}

.p-flow__nav .c-step-list_number {
    width: 3em;
    height: 3em;
    border-color: inherit;
    border-width: 1px;
    padding: 0 1rem !important;
    margin-bottom: 0.5rem;
}

.p-flow__navslider,
.p-flow__navslider .slick-list {
    width: 100%;
}

.p-flow__navslider .slick-slide {
    width: calc(100%/5 - 4.75rem) !important;
}

/* リスト全体のレイアウト */
.p-flow .c-step-list {
    display: flex;
    justify-content: space-between;
    counter-reset: step-nav 0;
    /* カウンタ初期化 */
    position: relative;
    padding: 0 4.0rem;
    /* 矢印のスペース確保 */
}

/* 各ステップアイテム */
.c-step-list .slick-slide {
    position: relative;
    text-align: center;
    color: var(--cl_main);
    cursor: pointer;
    padding: 0 1.0rem;
    font-size: 1.2rem;
    line-height: 1.4;
}


/* アクティブ時のスタイル */
.p-flow .c-step-list div.slick-current {
    opacity: 1;
    color: var(--cl_main);
}

/* 数字の丸いアイコン */
.p-flow .c-step-list_number {
    width: 5.0rem;
    height: 5.0rem;
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s;
}

/* 数字の生成 */
.p-flow .c-step-list_number::before {
    counter-increment: step-nav 1;
    content: counter(step-nav);
    font-family: var(--ft_jost);
    font-size: 2.0rem;
}

/* アクティブ時の丸アイコン変化 */
.p-flow .c-step-list div.slick-current .c-step-list_number {
    border-color: var(--cl_main);
    background-color: #eaf025;
}

/* --- Step同士をつなぐ線 (装飾) --- */
/* 最初のアイテム以外に線を引く */
.p-flow .c-step-list div:not(:first-child)::after {
    content: "";
    position: absolute;
    top: 1.9rem;
    /* 丸の中心の高さ */
    left: -32%;
    /* 前の要素から伸ばす */
    width: 8.4rem;
    height: 4px;
    z-index: 1;
    transform: translateY(-50%);
    background-image: radial-gradient(circle, var(--cl_main) 2px, transparent 2px);
    background-position: center center;
    background-size: 11px 11px;
}

/* アクティブ済み（または現在地）の線色を変える等の処理が必要ならJSでクラス付与推奨 */


/* --- Main Slider (下部のカード) --- */
.p-flow__slider {
    overflow: hidden;
    margin-bottom: 0 !important;
    padding: 0 2em 2em;
    width: auto;
    margin-left: 3.5%;
}

.p-flow__slider .slick-list {
    overflow: visible !important;
    width: 90%;
    max-width: 877px;
    counter-reset: number 0;
}

.p-flow__item {
    padding: 1.5rem;
    /* スライド同士の隙間を確保（カードの影が見切れないように） */
    transition: all 0.3s ease;
    /* 変化をアニメーションさせる */
    opacity: 0.5;
    /* 少し薄くする */
    transform: scale(0.9);
    /* 少し小さくする */
}


/* 現在地（真ん中）のスタイル */
.p-flow__item.slick-current {
    opacity: 1;
    /* くっきり表示 */
    transform: scale(1);
    /* 元のサイズ */
    z-index: 1;
    /* 一番手前に表示 */
}

.p-flow__navslider .slick-track {
    transform: unset !important;
    width: 100% !important;
    display: flex;
    justify-content: center;
}

/* ========================================================
   Slick Arrows & Dots Custom
   ======================================================== */

/* --- 1. 矢印の共通スタイル --- */
.p-flow__arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 4rem;
    height: 4rem;
    /* 背景白丸 */
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 0;
    /* 文字「Previous」等を隠す */
    transition: all 0.3s;
}

/* 矢印の中にアイコンを描画 (疑似要素で矢印を描く) */
.p-flow__arrow::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 1.2rem solid transparent;
    border-bottom: 1.2rem solid transparent;
    border-left: 1.2rem solid var(--cl_main);
    border-right: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* --- 2. 前へ・次へ の個別位置 --- */
/* 前へボタン */
.p-flow__arrow--prev {
    left: 0;
    /* コンテンツの外に出す */
    transform: translateY(-50%) rotate(180deg);
    /* 矢印の向きを反転 */
}

/* 矢印アイコンの向き修正（ボタン自体を回転させたのでアイコンはそのまま） */
/* あるいはボタンを回転させずに ::before の rotate を調整してもOK */

/* 次へボタン */
.p-flow__arrow--next {
    /* コンテンツの外に出す */
    left: 90rem;
    right: auto;
}

/* --- 3. 【重要】最初と最後で矢印を消す処理 --- */
/* infinite: false の場合、Slickは端のボタンに .slick-disabled を付与します */
.p-flow__arrow.slick-disabled {
    opacity: 0;
    pointer-events: none;
    /* クリック不可にする */
    /* display: none; だとレイアウトがずれることがあるので opacity 推奨 */
}

@media screen and (min-width: 751px) and (max-width: 1200px) {
    .p-flow__arrow--next {
        left: auto;
        right: 9.5%;
    }
}

/* --- 4. ドットナビゲーションのスタイル --- */
.p-flow__slider .slick-dots {
    display: flex !important;
    /* 強制的にflex表示 */
    justify-content: center;
    padding: 0;
    list-style: none;
    width: 84%;
    z-index: 1;
    bottom: 0;
    max-width: 877px;
}

.p-flow__slider .slick-dots li {
    margin: 0 0.9rem;
    width: fit-content;
    height: fit-content;
}

.p-flow__slider .slick-dots li button {
    width: 1.2rem;
    height: 1.2rem;
    background: #fff;
    border-radius: 50%;
    border: none;
    font-size: 0;
    /* 文字隠し */
    padding: 0;
    cursor: pointer;
    transition: background 0.3s;
    border: 2px solid var(--cl_main);
}

/* アクティブなドット */
.p-flow__slider .slick-dots li.slick-active button {
    background: var(--cl_main);
}

/* --- SP対応 --- */
@media (max-width: 750px) {

    /* スマホでは矢印を少し内側に入れるか、非表示にする */
    .p-flow__arrow {
        width: 4rem;
        height: 4.0rem;
        top: 40%;
    }

    .p-flow__arrow::before {
        border-top: 2.2rem solid transparent;
        border-bottom: 2.2rem solid transparent;
        border-left: 1.6rem solid var(--cl_main);
    }

    .p-flow__arrow--prev {
        left: -1.0rem;
    }

    .p-flow__arrow--next {
        right: -1.3rem;
        left: auto;
    }

    .p-flow__item {
        padding: 1.0rem;
        /* SPは隙間を少し狭く */
    }

}

.p-flow__card {
    border-radius: 2.6rem;
    padding: 6rem 25% 4.0rem 15%;
    display: flex;
    flex-direction: column;
    border: 2px solid var(--cl_main);
    box-sizing: border-box;
    align-items: flex-end;
    background: #fff;
    position: relative;
}
.p-flow__icon {
    width: 20rem;
    height: 20rem;
    background-color: var(--cl_main);
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    mask: no-repeat center/contain;
    opacity: 0.15;
}
.p-flow__head {
    display: flex;
    align-items: center;
    margin-bottom: 2.0rem;
    padding-bottom: 0;
    width: 100%;
}

/* カード内の番号 */
span.p-flow__num {
    width: 4rem;
    height: 4rem;
    background: var(--cl_main);
    border-radius: 50%;
    position: relative;
    font-family: var(--ft_jost);
    align-items: center;
    justify-content: center;
    text-align: center;
    display: flex;
    margin-right: 1em;
}

.p-flow__num::before {
    content: "＼Step／";
    font-size: 1.4rem;
    /* 少し大きく */
    color: var(--cl_main);
    position: absolute;
    top: -1.3rem;
    left: -5.6rem;
    width: 10rem;
    transform: rotate(-45deg);
    font-weight: 500;
}

.p-flow__num::after {
    counter-increment: number 1;
    content: counter(number);
    color: #fff;
    font-size: 2.3rem;
}

.p-flow__ttl {
    font-size: 1.8rem;
    font-weight: 500;
}

.p-flow__body {
    color: var(--cl_main);
    font-size: 1.4rem;
    line-height: 1.6;
    width: calc(100% - 5.5rem);
}

/* --- SP Responsive --- */
@media (max-width: 750px) {

    /* ナビゲーションをスクロール可能にする、または簡略化 */
    .p-flow .c-step-list {
        display: block;
        /* Slick化するのでblockでOK */
        padding: 0;
        margin-bottom: 2.0rem;
    }

    .c-step-list .slick-slide {
        font-size: 2rem;
    }

    .p-flow .c-step-list_number::before {
        font-size: 3.0rem;
    }

    .p-flow .c-step-list div:not(:first-child)::after {
        background-image: radial-gradient(circle, var(--cl_main) 1px, transparent 1px);
        background-size: 6px 6px;
        width: 5.4rem;
        left: -20%;
        top: 3rem;
    }

    .p-flow__card {
        padding: 6rem;
        border-width: 1px;
    }

    .p-flow__ttl {
        font-size: 3rem;
    }

    .p-flow__navslider .slick-slide {
        width: calc(100% / 5 - 0rem) !important;
    }

    .p-flow__slider {
        margin: 0 auto;
        margin-right: 0;
        padding: 0 0.7em 2em;
    }

    .p-flow__slider .slick-list {
        width: 100%;
        max-width: 100%;
    }

    span.p-flow__num {
        width: 7rem;
        height: 7rem;
    }

    .p-flow__num::before {
        font-size: 2rem;
        top: -3rem;
        left: -4.1rem;
        transform: rotate(-30deg);
    }

    .p-flow__num::after {
        font-size: 3.6rem;
    }

    .p-flow__body {
        font-size: 2.4rem;
        font-weight: 500;
    }

    .p-flow__slider .slick-dots {
        margin: 0 auto;
        left: 0;
        right: 0;
    }
}

/* FAQ */

.p-faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.p-faq__item {
    margin-bottom: 1rem;
}

.p-faq__q {
    padding: 2rem 6rem 2rem;
    background: var(--cl_main);
    color: #fff;
    border-radius: 4rem;
    cursor: pointer;
    position: relative;
    font-weight: 500;
}

.p-faq__q-toggle {
    position: absolute;
    right: 3rem;
    width: 3rem;
    height: 3rem;
    top: 50%;
    transform: translateY(-50%);
}

.p-faq__q-toggle::before,
.p-faq__q-toggle::after {
    content: "";
    display: block;
    width: 90%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 50%;
    transition: 0.3s transform;
}

.p-faq__q-toggle::after {
    transform: translateY(-50%) rotate(-90deg);
}

.p-faq__q-toggle::before {
    transform: translateY(-50%);
}

.p-faq__q.is-open .p-faq__q-toggle::after {
    transform: translateY(-50%) rotate(0deg);
}

.p-faq__q::before,
.p-faq__a:before {
    content: '';
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ft_jost);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    position: absolute;
    left: 2rem;
    top: 2rem;
    font-weight: 400;
}

.p-faq__q::before {
    content: 'Q';
    background: #fff;
    color: var(--cl_main);
}

.p-faq__a:before {
    content: 'A';
    background: var(--cl_main);
    color: #fff;
}

.p-faq__a {
    display: none;
    padding: 2rem 6rem 2rem;
    line-height: 1.8;
    position: relative;
    font-size: 1.4rem;
}



@media screen and (max-width: 750px) {
    .p-faq__item {
        margin-bottom: 2rem;
    }

    .p-faq__q {
        font-size: 3rem;
        border-radius: 14rem;
        padding: 2rem 9rem 2rem 12rem;
        line-height: 1.5;
        min-height: 13rem;
        display: flex;
        align-items: center;
    }

    .p-faq__q-toggle {
        right: 5rem;
    }

    .p-faq__q::before,
    .p-faq__a:before {
        font-size: 3rem;
        width: 6rem;
        height: 6rem;
        top: 3.5rem;
        left: 3.5rem;
    }

    .p-faq__a {
        padding: 2rem 8rem 2rem 12rem;
        font-size: 2.6rem;
        text-align: justify;
    }
}


/* Contact Form */
.p-contact {
    background: var(--grad_main);
    padding-bottom: 20rem;
}

.c-form {
    background: #fff;
    padding: 5rem;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.4rem;
}
.c-form__note {
    font-weight: 700;
    text-align: justify;
    margin-bottom: 4rem;
}
.c-form__note span {
    font-size: 1.1rem;
    display: block;
    text-indent: -1em;
    padding-left: 1em;
    margin: 1rem auto;
    font-weight: 400;
}
.c-form__row {
    display: flex;
    margin-bottom: 1rem;
    /* border-bottom: 1px solid #eee; */
    padding-bottom: 1rem;
}

.c-form__row .label {
    width: 30%;
    font-weight: bold;
    padding-top: 1rem;
}
.c-form__row .label p {display: flex;flex-wrap: wrap;align-items: center;}
.c-form__required {
    background: #D32F2F;
    color: #fff;
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    border-radius: 0.5rem;
    vertical-align: middle;
    margin-left: 0.5rem;
}

.c-form__row .input {
    width: 70%;
}

.c-form__row .input input,
.c-form__row .input select,
.c-form__row .input textarea {
    width: 100%;
    padding: 1.2rem;
    border-radius: 0.5rem;
    background: #e6e6e6;
    line-height: 1.4;
}

.c-form__btn {
    text-align: center;
    background: #333;
    color: #fff;
    font-size: 2.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    width: fit-content;
    margin: 4rem auto;
    border-radius: 10rem;
    transform: scale(1);
    display: block;
    transition: 0.2s transform;
}
.c-form__btn:hover {
    transform: scale(1.03);
}

/* 1. デフォルトのボタンを隠す */
.wpcf7-radio .wpcf7-list-item input[type="radio"],
.wpcf7-checkbox .wpcf7-list-item input[type="checkbox"] {
    display: none;
}

.wpcf7-radio .wpcf7-list-item,
.wpcf7-checkbox .wpcf7-list-item {
    margin-left: 0 !important;
    margin-right: 2rem;
    display: inline-block;
    padding: 1rem 0;
}

.wpcf7-radio .wpcf7-list-item .wpcf7-list-item-label,
.wpcf7-checkbox .wpcf7-list-item .wpcf7-list-item-label {
    position: relative;
    padding-left: 2.5rem;
    cursor: pointer;
    display: inline-block;
    line-height: 2.4rem;
}


/* 2. ボタン（共通） */

.wpcf7-radio .wpcf7-list-item input[type="radio"] + span::after,
.wpcf7-checkbox .wpcf7-list-item input[type="checkbox"] + span::after,
.wpcf7-radio .wpcf7-list-item input[type="radio"]:checked + span::before,
.wpcf7-checkbox .wpcf7-list-item input[type="checkbox"]:checked + span::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
}
.wpcf7-radio .wpcf7-list-item input[type="radio"] + span::after, 
.wpcf7-checkbox .wpcf7-list-item input[type="checkbox"] + span::after {
    left: 0;
    width: 2rem;
    height: 2rem;
    border: 1px solid #4a4a4a; /* 枠の色 */
    border-radius: 50%; /* チェックボックスも円形にする */
    background: #fff;
    z-index: 1;
}
.wpcf7-radio .wpcf7-list-item input[type="radio"]:checked + span::before,
.wpcf7-checkbox .wpcf7-list-item input[type="checkbox"]:checked + span::before {
    content: "";
    left: 0.4rem; /* 枠の内側に配置 */
    width: 1.2rem;
    height: 1.2rem;
    background: #b5a05b; /* ゴールドの色味 */
    z-index: 2;
}

.p-form__dates .u-flex-wrap {
    align-items: self-start;
    margin-bottom: 1rem;
}
.p-form__date-label {
    font-size: 1.4rem;
    font-weight: 700;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 8rem;
    padding-top: 1rem;
}
.p-form__date-label:before {
    content: '';
    display: block;
    width: 1.6rem;
    height: 1.6rem;
    background: url(../img/check-icon.webp) no-repeat center/contain;
}
.p-form__date, .p-form__time {
    width: calc((100%/2 - 5rem) - 1rem);
    position: relative;
}
.p-form__date:before, .p-form__time:before {
    content: '';
    display: block;
    pointer-events: none;
    width: 0;
    height: 0;
    border-style: solid;
    border-right: 0.7rem solid transparent;
    border-left: 0.7rem solid transparent;
    border-top: 0.9rem solid #555;
    border-bottom: 0;
    position: absolute;
    z-index: 1;
    top: 1.9rem;
    right: 1.5rem;
}
.p-form__date input, .p-form__time input {
    padding-right: 4rem!important;
}


#contact select{
    color: #757575;
}

.wpcf7-spinner {
    display: none;
}
.c-form__btn:after {
    content: '';
    display: block;
    width: 2.6rem;
    height: 2.6rem;
    background: url(../img/submit-icon.webp) no-repeat center/contain;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 3rem;
    pointer-events: none;
}

.p-contact.confirm .c-form__row .label {
    padding: 0;
    margin-bottom: 0;
}
.p-contact.confirm .c-form__row .input {
    margin: 0 auto;
    padding: 1.4rem 2rem;
}
.p-contact.confirm .c-form__row {
    border-bottom: 1px solid #eee;
}
.p-contact.confirm .c-form__row .p-form__date, .p-contact.confirm .c-form__row .p-form__time {width: fit-content;}
.p-contact.confirm .c-form__row .p-form__date:before, .p-contact.confirm .c-form__row .p-form__time:before {
    display: none;
}
.p-contact.confirm .c-form__row .p-form__date-label {
    padding: 0;
}
.p-contact.confirm .c-form__row .c-form__btn {
    font-size: 1.5rem;
    margin: 1rem;
}
.p-contact.confirm .c-form__row.last {
    border: 0;
    align-items: center;
    justify-content: center;
}
.p-contact.confirm .c-form__row .c-form__btn.back {
    background: #858585;
}
.p-contact.confirm .c-form__row .c-form__btn.back:after {
    transform: translateY(-50%) scale(-1,1);
    left: 2rem;
}
.p-contact.confirm .c-form__row .c-form__btn:after {
    right: 2rem;
}
.p-form__free-field {
    font-size: 1.6rem;
}
.p-contact.confirm {
    min-height: calc(100vh - 26.8rem); /* 画面の縦幅いっぱいに最低限広げる */
}


.c-form form {
    display: grid;
}
.wpcf7-turnstile.cf-turnstile {
    order: 2;
    width: fit-content;
    margin: 0 auto;
}


@media screen and (max-width: 750px) {
    .c-sec-ttl {
        font-size: 3.6rem;
        padding-bottom: 3rem;
    }

    .p-fv__title {
        font-size: 2.8rem;
    }

    .c-form {
        padding: 5rem;
    }

    .c-form__row {
        display: block;
    }

    .c-form__row .label,
    .c-form__row .input {
        width: 100%;
        font-size: 3.2rem;
    }

    .c-form__row .label {
        margin-bottom: 1.5rem;
        display: block;
    }
    .c-form__note {
    font-size: 2.6rem;
}

.p-form__date:before, .p-form__time:before {
    border-right: 1rem solid transparent;
    border-left: 1rem solid transparent;
    border-top: 1.4rem solid #555;
    top: 3rem;
}
.p-form__date, .p-form__time {
    width: calc((100% / 2) - 1rem);
}
.c-form__note span {
    font-size: 2rem;
}
.c-form__required {
    font-size: 1.9rem;
    margin-left: 1rem;
    padding: 0.1rem 0.6rem;
}
.wpcf7-radio .wpcf7-list-item input[type="radio"] + span::after, .wpcf7-checkbox .wpcf7-list-item input[type="checkbox"] + span::after {
    width: 2.5rem;
    height: 2.5rem;
}
.wpcf7-radio .wpcf7-list-item .wpcf7-list-item-label, .wpcf7-checkbox .wpcf7-list-item .wpcf7-list-item-label {
    padding-left: 3.5rem;
}
.wpcf7-radio .wpcf7-list-item input[type="radio"]:checked + span::before, .wpcf7-checkbox .wpcf7-list-item input[type="checkbox"]:checked + span::before {
    width: 1.7rem;
    height: 1.7rem;
}
.p-form__date-label {
    font-size: 3rem;
    width: 100%;
}
.p-form__date-label:before {
    width: 2.6rem;
    height: 2.6rem;
}
.c-form__btn {
    font-size: 3.2rem!important;
    max-width: 100%;
}
.c-form__btn .c-btn {
    padding: 2.3rem 13rem;
}
.c-form__btn:after {
    width: 4.6rem;
    height: 4.6rem;
}
.c-btn {
    display: block;
    white-space: normal;
}

.p-contact.confirm .c-form__row .c-form__btn,.p-contact.confirm .c-form__row .c-form__btn input {width: 100%;margin: 3rem 0;}
.p-contact.confirm .c-form__row.last {
    margin-top: 5rem;
}
.p-form__free-field {
    font-size: 2.8rem;
}
}


/* ========================================================
   Footer
   ======================================================== */
.l-footer {
    background-color: #232c39;
    /* デザインに近い濃紺 */
    color: #fff;
    padding: 6rem 0 calc(25rem + 90px);
    font-size: 1.4rem;
    transition: 0.3s padding;
}

.l-footer.p-float-cv__hidden {
    padding: 6rem 0;
}

/* --- 上段エリア --- */
.l-footer__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 4rem;
}

.l-footer__logo img {
    display: block;
    max-width: 100%;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(45deg) brightness(100%) contrast(100%);
}

/* メインナビゲーション */
.l-footer__nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.l-footer__nav li {
    position: relative;
    padding: 0 2rem;
}

.l-footer__nav li a {
    text-decoration: none;
    color: #fff;
    transition: opacity 0.3s;
}

.l-footer__nav li a:hover {
    opacity: 0.7;
}

/* 区切り線 (|) の設定 */
.l-footer__nav li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 1.4rem;
    /* 線の高さ */
    background-color: rgba(255, 255, 255, 0.4);
}

.l-footer__nav li:first-child {
    padding-left: 0;
}

.l-footer__nav li:last-child {
    padding-right: 0;
}

/* --- ボーダーライン --- */
.l-footer__line {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin-bottom: 4rem;
}

/* --- 下段エリア --- */
.l-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 左側：運営ロゴとサブナビのラッパー */
.l-footer__bottom-info {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.l-footer__corp {
    filter: brightness(18.5);
}

.l-footer__sub-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.l-footer__sub-nav li {
    position: relative;
    padding: 0 2rem;
}

/* サブナビの区切り線 */
.l-footer__sub-nav li:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: 0;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

.l-footer__sub-nav li:first-child {
    padding-left: 0;
}

.l-footer__sub-nav a {
    color: #aaa;
    /* 少しグレーにして階層を下げる */
}

.l-footer__sub-nav a:hover {
    color: #fff;
}



/* コピーライト */
.l-footer__copyright {
    color: #fff;
    font-size: 1.4rem;
    font-family: var(--ft_jost);
    letter-spacing: 0.05em;
}

.grecaptcha-badge {
    z-index: 10;
}

/* --- Responsive (SP) --- */
@media screen and (max-width: 750px) {
    .l-footer {
        text-align: center;
    }

    /* 上段：縦積みに */
    .l-footer__top {
        flex-direction: column;
        gap: 3rem;
        padding-bottom: 3rem;
        align-items: flex-start;
        padding: 5em;
    }

    .l-footer__logo {
        margin-bottom: 4rem;
    }

    /* ナビゲーションをSP用に調整 */
    .l-footer__nav ul {
        justify-content: left;
        gap: 1rem 0;
    }

    .l-footer__nav li {
        padding: 0 1.5rem;
        font-size: 2.4rem;
        /* SPでは区切り線を消す場合、以下を有効に */
        /* display: block; width: 100%; padding: 0.5rem 0; */
        width: 100%;
        padding: 0;
        text-align: left;
    }

    /* SPで改行しても線が変にならないよう調整 */
    .l-footer__nav li::after {
        display: none;
        /* SPは見やすさ優先で線を消すのが一般的ですが、残すなら調整 */
    }

    .l-footer__line {
        margin-bottom: 6rem;
    }

    /* 下段：縦積みに */
    .l-footer__bottom {
        flex-direction: column;
        gap: 3rem;
    }

    .l-footer__bottom-info {
        flex-direction: column;
        gap: 2rem;
    }

    .l-footer__sub-nav li {
        padding: 0 1rem;
        font-size: 2.2rem;
        margin: 1em 0;
        padding: 0 1em;
    }

    .l-footer__copyright {
        font-size: 2rem;
    }

}



/* プライバシーポリシー */
.privacy-content {
    width: 88%;
    margin: 15rem auto;
    line-height: 2.1;
}
.privacy-content dt {
    font-weight: 500;
    font-size: 2.2rem;
    margin: 2rem auto;
    border-bottom: 1px solid #dddddd;
}
.privacy-content dd {
    font-size: 1.6rem;
    margin-bottom: 3rem;
}
.privacy-content .ind {
    padding-left: 1em;
    text-indent: -1em;
}


/* --- Responsive (SP) --- */
@media screen and (max-width: 750px) {
.privacy-content dt {
    font-size: 3rem;
}
.privacy-content dd {
    font-size: 2.4rem;
}
}
