html { 
    font-family: "Noto Sans JP", sans-serif;
    color: #030305;
    font-size: calc(100vw*(10/375));
}

body {
    max-width: 620px;
    margin: 0 auto;
}

@media screen and (min-width: 620px) {
    html {
        font-size: calc(620px*(10/375));
    }

    a {
        transition: opacity .4s 0s cubic-bezier(.44,.14,.09,1.02);
    }

    a:hover {
        opacity: .7;
    }
}

span {
    display: inline-block;
}

picture {
    display: block;
}

img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

a {
    display: inline-block;
}

section {
    position: relative;
}

.u-en {
    font-family: "Lexend Deca", sans-serif;
}

.u-orange {
    color: #F29600;
}

/*===========================================================================*/
/*  mwdia  */
/*===========================================================================*/
.p-media {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.p-media__header {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
}

.p-media__header span {
    padding-bottom: .8rem;
    border-bottom: solid .2rem #2d2d2d;
}

.p-media__slider {
    margin-top: 1.8rem;
    width: 100%;
    overflow: hidden;
}

.p-media__slider--wrapper {
    display: flex;
    gap: 2.5rem;
}

.p-media__slider--inner {
    display: flex;
    gap: 2.5rem;
}

.p-media__slider--01 {
    width: 87rem;
    min-width: 87rem;
}
.p-media__slider--02 {
    width: 86rem;
    min-width: 86rem;
}

@keyframes scroll-right {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

@keyframes scroll-left {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

.p-media__slider--wrapper.--left {
    margin-top: 1rem;
}

.p-media__slider--wrapper.--right .p-media__slider--inner {
    animation: scroll-right 45s linear infinite;
}

.p-media__slider--wrapper.--left .p-media__slider--inner {
    animation: scroll-left 45s linear infinite;
    margin-top: 1rem;
}

/*===========================================================================*/
/*  mwdia  */
/*===========================================================================*/
.p-uv {
    padding: 5rem 2rem;
    background-color: #F5F5F5;
}

.p-uv__subHead {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.25;
}

.p-uv__head {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.25;
}

.p-uv__inner ul {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.p-uv__inner ul li {
    background-color: #FFF;
    border-radius: .8rem;
    position: relative;
}

.p-uv__inner ul li.--woman::before {
    position: absolute;
    content: '';
    background-image: url(../img/user-voice-woman-img.webp);
    background-size: contain;
    width: 4.5rem;
    height: 6.4rem;
    top: 1.3rem;
    right: 2rem;
}

.p-uv__inner ul li.--man::before {
    position: absolute;
    content: '';
    background-image: url(../img/user-voice-man-img.webp);
    background-size: contain;
    width: 4.5rem;
    height: 6.4rem;
    top: 1.3rem;
    right: 2rem;
}

.p-uv__voice {
    display: block;
    padding: 2rem 3.4rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.p-uv__voice--head {
    font-feature-settings: 'palt' on, 'calt' off;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.4; 
    position: relative;
}

.p-uv__voice--head::before {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -1.4rem;
    content: '';
    width: .8rem;
    height: .8rem;
    border-radius: 50%;
    background-color: #F29600;
}

.p-uv__voice--subHead {
    font-feature-settings: 'palt' on, 'calt' off;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4; 
}

.p-uv__voice--txt {
    padding: 0 2rem;
    font-feature-settings: 'palt' on;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.9;


    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.p-uv__voice--arrow {
    display: flex;
    justify-content: center;
    background-color: #898989;
    padding-top: .9rem;
    padding-bottom: .9rem;
    border-radius: 0 0 .8rem .8rem;
}

.p-uv__voice--arrow figure {
    width: 1rem;
    display: flex;
}

.accordion-content.is-open {
    max-height: 70rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.accordion-trigger.p-uv__voice--arrow img {
    transform: rotate(0deg);
    transition: transform 0.3s ease-out;
}

.accordion-trigger.is-open.p-uv__voice--arrow img{
    transform: rotate(180deg);
}

.accordion-trigger.is-open + .accordion-content {
    max-height: 70rem;
    padding-top: 0;
    padding-bottom: 2rem;
}

.accordion-trigger {
    cursor: pointer;
}


/*===========================================================================*/
/*  compare  */
/*===========================================================================*/
.p-compare__inner {
    position: relative;
    height: 76rem;
    overflow: hidden;
}

.p-compare__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.p-compare__table {
    position: absolute;
    padding: 4rem 0;
    top: 22.1rem;
    left: 0;
    width: 100%;
    height: auto;
    overflow-x: scroll;
}

.p-compare__table::-webkit-scrollbar {
    display: none;
}

.p-compare__table--img {
    padding-left: 2rem;
    padding-right: 2rem;
    width: max(150vw, 83.4rem);
    height: 44.9rem;
    filter: drop-shadow(2px 2px 20px rgba(0, 0, 0, 0.10));
    cursor: grab;
}

.p-compare__table--img img {
    width: 79.4rem; /* 画像は元のサイズ（794px → 79.4rem）*/
    height: 44.9rem; /* 画像は元のサイズ（449px → 44.9rem）*/
    object-fit: contain;
    flex-shrink: 0; /* 画像の縮小を防ぐ */
}

.p-compare__table--img:active {
    cursor: grabbing; /* ドラッグ中のカーソル */
}

/*===========================================================================*/
/*  contact  */
/*===========================================================================*/
.p-contact__inner {
    position: relative;
}

.p-contact__line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 45.5rem;
    width: 29.5rem;
    height: 5.4rem;
    background-color: #61b94b;
    border-radius: .4rem;
    text-align: center;
}

.p-contact__line {
    width: 29.5;
    display: flex;
    align-items: center;
}

.p-contact__line p {
    width: 27.3rem;
    color: #fff;
    font-feature-settings: 'palt' on;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.3; 
}

.p-contact__deco--img {
    width: 2.2rem;
    display: flex;
    justify-content: center;
    position: relative;
}

.p-contact__deco--img::before {
    content: '';
    height: 5.4rem;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.2rem;
    background-color: #4E963C;
    z-index: -1;
    border-radius: 0 .4rem .4rem 0;
}

.p-contact__deco--img img {
    width: 1.1rem;
    height: 1.1rem;
}

.p-contact__tell {
    position: absolute;
    bottom: 7rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.p-contact__tell--txt {
    font-family: Lexend;
    text-align: center;
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.5;
    transform: translateY(1.3rem);
}

.p-contact__tell--num {
    font-family: Lexend;
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.5;
}

/*===========================================================================*/
/*  faq  */
/*===========================================================================*/
.p-faq {
    padding: 5rem 2rem 0;
}

.p-faq__subHead {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.25;
}

.p-faq__head {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.25; 
}

.p-faq__list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.p-faq__q {
    border-radius: .6rem;
    border:  1px solid #F29600;
    padding: 1.3rem 4.7rem 1.4rem;
    position: relative;
    cursor: pointer;
}

.p-faq__q .u-en {
    position: absolute;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.5;
    top: 1.2rem;
    left: 1.2rem;
}

.p-faq__q .--txt {
    font-feature-settings: 'palt' on;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .02em;
    white-space: nowrap;
}

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

.p-faq__q .--plus::before {
    background-color: #F29600;
    content: '';
    height: .2rem;
    left: 50%;
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
}
.p-faq__q .--plus::after {
    background-color: #F29600;
    content: '';
    height: 100%;
    left: 50%;
    position: absolute;
    top: 50%;
    width: .2rem;
    transform: translate(-50%, -50%);
}

.p-faq__list li.is-open .p-faq__q .--plus::after {
    opacity: 0;
}

.p-faq__a {
    position: relative;
    padding: 1rem 0 1rem 4.7rem;
    display: none;
}

.p-faq__a .u-en {
    position: absolute;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .035em;
    left: 1.8rem;
    top: 1.1rem;
}

.p-faq__a .--txt {
    font-feature-settings: 'palt' on;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: .03em;
}

/*===========================================================================*/
/*  btn  */
/*===========================================================================*/
.p-btn {
    position: fixed;
    width: 37.5rem;
    height: 6.3rem;
    display: flex;
    justify-content: center;
    bottom: 0;
}

.p-btn__line {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #61b94b;
}

.p-btn__line::before {
    background-color: #4E963C;
    content: '';
    height: .5rem;
    left: 0;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.p-btn__line figure {
    width: 1.7rem;
}

.p-btn__line p {
    color: #FFF;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.45; 
    padding-left: .5rem;
}

.p-btn__tell {
    position: relative;
    width: 18.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F29600;
}

.p-btn__tell::before {
    background-color: #E18F0A;
    content: '';
    height: .5rem;
    left: 0;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.p-btn__tell figure {
    width: 1.6rem;
}

.p-btn__tell p {
    font-family: Geist;
    color: #FFF;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.45;
    padding-left: .4rem;
}

/*===========================================================================*/
/*  footer  */
/*===========================================================================*/
.p-footer {
    margin-bottom: 6.3rem;
    padding-top: 3rem;
}

.p-footer__logo--img {
    width: 9.6rem;
    margin: 0 auto;
}

.p-footer__contents {
    margin: 1rem auto 0;
    width: 23rem;
    display: flex;
    flex-wrap: wrap;
    column-gap: 3rem;
    justify-content: center;
}

.p-footer__contents a {
    padding-top: 1rem;
    font-feature-settings: 'palt' on;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.3; 
}

.p-footer__txt {
    margin-top: 3rem;
    background-color: #F29600;
    width: 100%;
}

.p-footer__txt p {
    color: #FFF;
    text-align: center;
    font-feature-settings: 'palt' on;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: .03em;
    padding: 1.5rem 7.3rem 1.4rem 7.9rem;
}