/*
2025/05/01 add by fujita
TOPページのcssは別途home.cssに記載
*/

/*------------------------------------------------------------------------------
  PC or ALL 
------------------------------------------------------------------------------*/
.pc {
    display: block;
}

.sp {
    display: none;
}

.home .header {
    position: absolute;
}

.box h3.box-h3 {
    font-size: 2.8rem;
    font-weight: 500;
}

.box .copy {
    font-weight: 500;
}

.bg.bg-01::before {
    background: var(--main-color);
    z-index: -2;
}

.bg.bg-02::before {
    background: #F9F3E8;
    z-index: -2;
}

.box .btn a {
    border: 1px solid #fff;
}

.image-text-type01 {
    margin-bottom: var(--text-margin);
}

.image-text-type03 .text:before {
    border-radius: 5px;
}

.title-type01 span:nth-child(2),
.title-type02 span:nth-child(2),
.title-type03 span:nth-child(2),
.title-type04 span:nth-child(2) {
    font-weight: 500;
    opacity: 1;
}

.image-text-type02 .text:before {
    background-color: #ecf6ef;
}

.fixed-footer .tel a {
    line-height: 1.2;
}

.fixed-footer .tel .time {
    margin: 0 20px;
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
}

.fixed-footer .contact a {
    padding: 10px 28px 10px 25px;
    font-size: 2.4rem;
}

#main-media {
    border: 2px solid var(--main-color);
    padding: 4vmax;
    margin-bottom: var(--box-margin);
    position: relative;
    /*background-image: radial-gradient(circle, #fff0de 2px, transparent 2px), radial-gradient(circle, #fff0de 2px, transparent 2px), radial-gradient(circle, #fff0de 2px, transparent 2px), radial-gradient(circle, #fff0de 2px, transparent 2px);
    background-position: 0 0, 16px 0, 8px 16px, 24px 16px;
    background-size: 32px 32px;*/
}

#main-media .ttl {
    position: absolute;
    line-height: 1;
    top: -1em;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: var(--main-color);
    font-size: 4rem;
    padding: 0.5em;
    white-space: nowrap;

}

#main-media .media-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: center;
    margin-bottom: 20px;
}

#main-media .media-list li {}

#feature {
    counter-reset: feature-counter;
}

#feature h3 {
    counter-increment: feature-counter;
    position: relative;
    padding-left: 90px;
}

#feature h3::before {
    content: counter(feature-counter);
    background: var(--main-color);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    position: absolute;
    left: 0;
    top: 50%;
    width: 70px;
    height: 70px;
    border-radius: 70px;
    transform: translateY(-50%);
}

#feature h3::after {
    display: none;
}

#faq.accordion-type01 .box-h3 {
    position: relative;
    display: flex;
    align-items: center;
}

#faq.accordion-type01 .box-h3::before {
    content: "Q";
    width: 50px;
    height: 50px;
    border-radius: 50px;
    font-size: 24px;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: var(--main-color);
    margin-right: 0.5em;
    flex-shrink: 0;
}

/* ////////////////////////////////////////////
*                 マーカー
* //////////////////////////////////////////// */
/* アニメーション前のスタイル */
.js-marker {
    display: inline;
    position: relative;
    background-image: linear-gradient(90deg, #ffff66, #ffff66);
    /* 単色の場合は同じ色、グラデーションさせる場合は別々の色 */
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 0 30%;
    /* '30%'の部分にマーカーの太さを記入 */
    transition: all 1s ease-in-out;
    /* マーカーを引く速度を調整 */
}

.js-marker.m-green {
    background-image: linear-gradient(90deg, #55ca79, #55ca79);
}


/* アニメーション発火時 */
.js-marker.is-active {
    background-size: 100% 30%;
    /* '30%'の部分は上で設定した太さに合わせる */
}


/*------------------------------------------------------------------------------
  TABLET and SHONE
------------------------------------------------------------------------------*/
@media screen and (max-width: 1200px) {
    .header-nav {
        display: none;
    }
}

@media screen and (max-width: 1024px) {}

/*------------------------------------------------------------------------------
  TABLET ONLY
------------------------------------------------------------------------------*/
@media screen and (min-width: 600px) and (max-width: 1024px) {}

/*------------------------------------------------------------------------------
  SPHONE ONLY
------------------------------------------------------------------------------*/
@media screen and (max-width: 599px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    .box h3.box-h3 {
        font-size: 2.2rem;
    }

    .sphone-fixed-footer ul li.contact a:before {
        content: "\e4a7";
    }

    #main-media {
        margin-top: 10vmax;
        padding-top: 10vmax;
    }

    #main-media .ttl {
        font-size: 2.6rem;
        margin-bottom: 4vmax;
        text-align: center;
        line-height: 1.4;
        padding: 0.1em 1em;

    }

    #main-media .media-list {
        flex-wrap: wrap;
        gap: 3px;
        justify-content: space-around;
    }


    #main-media .media-list li {
        width: 30%;
    }

    #faq.accordion-type01 .box-h3::before {
        width: 40px;
        height: 40px;
        border-radius: 40px;
        font-size: 20px;
    }
}