@charset "utf-8";

/* ------------------リセットcss--------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
img,
blockquote,
dl,
dd,
a {
    margin: 0;
    text-decoration: none;
}

ul[role='list'],
ol[role='list'] {
    list-style: none;
}

body {
    min-height: 100vh;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
button,
input,
label {
    line-height: 1.1;
}

/* h1,
h2,
h3,
h4 {
    text-wrap: balance;
} */

a:not([class]) {
    text-decoration-skip-ink: auto;
    color: rgb(0, 104, 182);
}

img,
picture {
    max-width: 100%;
    display: block;
}

input,
button,
textarea,
select {
    font: inherit;
}

textarea:not([rows]) {
    min-height: 10em;
}

:target {
    scroll-margin-block: 5ex;
}

/* ------------------リセットcss終わり--------------------- */
/* --------------------css変数------------------------------*/
:root {
    --color1: #6A6A6A;
    --color2: #f5f5f5;
    --color-text: rgb(30, 30, 30);
    --color4: #848484;
    --color-red: #ff007d;
    --color-blue: #3fa2f7;
    --font-14: 0.875rem;
    --font-16: clamp(0.7rem, -0.293rem + 2.07vw, 1rem);
    --font-18: 1.125rem;
    --font-20: clamp(1rem, 0.625rem + 0.78vw, 1.25rem);
    --font-22: 1.375rem;
    --font-24: clamp(1.25rem, 0.422rem + 1.72vw, 1.5rem);
    --font-26: 1.625rem;

}

/* --------------------css変数おわり------------------------------*/
html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable both-edges;
}

body {
    font-family: "aralet-n", 'メイリオ', 'Meiryo', sans-serif;
    font-weight: 400;
    font-style: normal;
    color: var(--color-text);
}
/* body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background-image: url(../img/mokuzai674752_l.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    } */
/* /adobe fontのちらつき対策 */
.wf-loading {
    opacity: 0;
}

h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 1em;
}

h3 {
    font-weight: 500;
}

section {
    margin: 50px 0;
}

section>section {
    margin: 1.5rem 1rem 0 1rem;
}

section>section>section {
    margin: 1rem 1rem 0 1rem;
}

.container {
    width: 96%;
    max-width: 1280px;
    margin: 0 auto;
    /* background-color: white; */
}

.pc {
    display: block;
}

.tb {
    display: none;
}

.sp {
    display: none;
}

a:hover {
    filter: opacity(0.7);
}


.no-border {
    border: none !important;
}

/* --------------------ヘッダー------------------------------*/
header {
    background-color: rgb(229, 246, 255);
    margin-bottom: 1em;
}

.header_inner_area {
    display: grid;
    width: 100%;
    grid-template-columns: 235px 1fr 65px;
    grid-template-rows: 70px;
    align-items: center;
    background-color: rgba(255, 255, 255, 0);

    div {
        justify-self: center;
        align-self: center;
    }

    .header_logo {
        grid-column: 1 / 2;
    }

    .header_mypage_area {
        grid-column: 3 / 4;
    }

    .header_hamburger-button {
        grid-column: 4 / 5;
        display: none;
    }
}

.header_logo {
    padding: 5px;
}

.header_logo img {
    width: auto;
    height: 62px;
    object-fit: cover;
}

.header_mypage-icon img {
    width: 60px;
    height: auto;
    margin-left: 0;
    border-radius: 2.5px;
    padding: 0 5px;
    background: linear-gradient(145deg, #ffffff, #f8e8f0);
    box-shadow: 5px 5px 10px #e0d2d9,
        -5px -5px 10px #ffffff;
}

#nav ul {
    display: flex;
    gap: 1rem;
    justify-content: right;
    align-items: center;
    padding: 0 2rem;
    margin: 0;

    li {
        list-style: none;
        padding: 0 0.4rem;
    }

    a {
        display: block;
        width: 100%;
        height: 100%;
        line-height: 2.5;
        color: var(--color-text);
    }
}

.animoDoubleDashed {
    /* display: inline-block;
    width: 120px;
    height: 40px;
    padding: 0 14px;
    text-align: center;
    line-height: 40px; */
    cursor: pointer;
    position: relative;
    overflow: hidden
}

.animoDoubleDashed:hover {
    filter: opacity(1);
}

.animoDoubleDashed::after,
.animoDoubleDashed::before {
    position: absolute;
    content: '';
    left: 0;
    height: 2px;
    width: 100%;
    background-color: orange;
    transition: transform .2s ease-in-out
}

.animoDoubleDashed::before {
    top: 0;
    transform: translateX(-100%)
}

.animoDoubleDashed::after {
    bottom: 0;
    transform: translateX(100%)
}

.animoDoubleDashed:hover::after,
.animoDoubleDashed:hover::before {
    transform: translateX(0)
}

@media screen and (max-width:1000px) {
    .header_inner_area {
        grid-template-columns: 235px 1fr 65px 65px;

        .header_hamburger-button {
            display: block;
        }
    }

    .hamburger-menu {
        background-color: transparent;
        border: none;
        cursor: pointer;
        outline: none;
        padding: 0;
        appearance: none;
        margin-top: 18px;
    }

    #nav {
        position: fixed;
        right: -1000px;
        top: 70px;
        width: 100%;
        height: 100%;
        z-index: 100;
        background-color: rgba(0, 0, 0, .8);
        transition: all 600ms ease-out;
        color: white;

        ul {
            flex-direction: column;
            text-align: center;
            margin: 50px auto;
            min-height: 50%;

            li {
                margin: 1rem auto;
            }

            a {
                font-size: 1.6rem;
                line-height: 2;
                color: white;
            }
        }


    }

    #nav.active {
        right: 0;
    }

}

/* --------------------footer-------------------------*/
#footer {
    background-color: rgb(229, 246, 255);
    width: 100%;
    padding: 2rem 0 0;

    .container {
        display: flex;
        justify-content: center;
        gap: 5px;
        background-color: rgba(255, 255, 255, 0);
    }
}

.footer_logo {
    align-items: center;
    width: 210px;
    position: relative;

    img {
        width: 100%;
        object-fit: cover;
    }

    p {
        display: none;
        position: absolute;
        top: -50px;
        left: -70px;
        font-size: 12px;
        background-color: rgba(255, 255, 255, .5);
        border: 1px solid var(--color-text);
        border-radius: 15px;
        padding: 4px;
        transform: rotate(-8deg);
    }
}

.footer_logo img:hover~p {
    display: block;
}

.footer_content {
    display: flex;
    justify-content: center;

    li {
        list-style: none;
        margin-bottom: 0.5rem;

        a {
            color: var(--color-text);
        }
    }
}

.footer_icon {
    display: flex;
    gap: 10px;
    align-self: center;

    a {
        padding: 3px;

    }

    img {
        width: 40px;
        aspect-ratio: 1 / 1;
    }
}

.copyright {
    text-align: center;
}

@media screen and (max-width:768px) {
    #footer .container {
        flex-direction: column;
        align-items: center;
    }

    .pc {
        display: none !important;
    }

    .tb {
        display: block !important;
    }

    .sp {
        display: none !important;
    }

}

/* --------------------------slider--------------------------------- */
.slick-dotted.slick-slider {
    margin-bottom: 0;
    padding: 0;
}

.slick-dots {
    bottom: 30px;
}

.slick-prev,
.slick-next {
    z-index: 100;
    width: 50px;
    height: 50px;
}

.slick-prev:before,
.slick-next:before {
    font-size: 50px;
    color: var(--color-text);
}

/* --------------------------base(共通)--------------------------------- */

.plan {
    width: 350px;
    padding: 0.5rem;
    padding-top: 60px;
    margin: 30px 20px 20px 60px;
    position: relative;
    border-radius: 16px;
    border-radius: 50px;
    background: #f4fff9;
    box-shadow: 8px 8px 16px #c9d6cf,
        -8px -8px 16px #ffffff;

    .copy-text {
        position: absolute;
        top: -36px;
        left: -60px;
        font-weight: 400;
        transform: rotate(-13deg);
        color: black;
        z-index: 10;
        font-size: 18px;
        line-height: 1.2;
        background-color: rgba(255, 255, 255, .8);
        border-bottom: 2px solid rgb(250, 195, 44);
        border-top: 2px solid rgb(250, 195, 44);
        padding: 4px;

    }

    .plan-title {
        text-align: center;
        margin: 0rem auto 0.2rem;
        font-size: 36px;
        background-color: #27d827;
        border-radius: 50px 50px 0 0;
        padding: 20px 6px 8px;
        color: white;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;

    }

    .plan-text {
        margin: 1.5rem auto 0;
        width: fit-content;
        min-height: 80px;

        +p {
            color: #ff007d;
            position: absolute;
            top: 80px;
            right: 30px;
            font-weight: 500;
            font-size: 18px;
        }

        span {
            font-size: 1.16rem;
            color: #ff007d;
        }
    }

    ul {
        margin-top: 10px;
    }

    .plan-text p:nth-child(2n) {
        text-align: center;
        width: 40%;
    }
}

.plan:has(>.jikkuri) {
    background: #fff4f9;
    box-shadow: 8px 8px 16px #e0ced7,
        -8px -8px 16px #fff5ff;

    .plan-title {
        background-color: #d3106e;
    }
}

.sakusaku .plan-text p:nth-child(3) span {
    color: var(--color-text);
}

.btn1 {
    a {
        display: block;
        text-align: center;
        width: 80%;
        max-width: 600px;
        margin: 1rem auto;
        padding: 0.5rem;
        border: 2px solid var(--color-blue);
        border-radius: 16px;
        position: relative;
        color: white;
        background-color: var(--color-blue);
        font-weight: 400;
    }

    a::after {
        content: "→";
        display: block;
        position: absolute;
        top: 0.5rem;
        right: 3rem;
        transition: right .3s;
    }

    a:hover {
        filter: opacity(1);
        background-color: white;
        color: #1062aa;
        border-color: #1062aa;
    }

    a:hover::after {
        right: 1rem;
    }
}
.btn2{
    display: flex;
    gap: 10%;
    width: 100%;
    a {
        display: block;
        text-align: center;
        width: 40%;
        min-width: 150px;
        margin: 1rem auto;
        padding: 0.5rem;
        border: 2px solid var(--color-blue);
        border-radius: 16px;
        position: relative;
        color: white;
        background-color: var(--color-blue);
        font-weight: 400;
    }

    a::after {
        content: "→";
        display: block;
        position: absolute;
        top: 0.5rem;
        right: 2rem;
        transition: right .3s;
    }

    a:hover {
        filter: opacity(1);
        background-color: white;
        color: #1062aa;
        border-color: #1062aa;
    }

    a:hover::after {
        right: 1rem;
    }
}
.character-100 {
    width: 100%;
    max-width: 100px;
}

.character-200 {
    width: 100%;
    max-width: 200px;
}

.arrow_box {
    position: relative;
    background: white;
    border: 3px solid var(--color-red);
    border-radius: 10px;

    &.blue {
        border: 3px solid var(--color-blue);
    }

    &.blue::before {
        border-top-color: var(--color-blue);
    }

}

.arrow_box:after,
.arrow_box:before {
    top: 100%;
    left: 20%;
    border: solid transparent;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.arrow_box:after {
    border-color: rgba(136, 183, 213, 0);
    border-top-color: white;
    border-width: 12px;
    margin-left: -32px;
}

.arrow_box:before {
    border-color: rgba(194, 225, 245, 0);
    border-top-color: var(--color-red);
    border-width: 16px;
    margin-left: -36px;
}

.page h1 {
    margin: 2rem auto;
    width: 350px;
    text-align: center;
    font-weight: 500;
}

.page h1>.sub-title {
    font-size: 20px;
}

.page h2:not(.nyumo) {
    font-size: clamp(1.4rem, 1.114rem + 1.43vw, 1.8rem);
    margin-bottom: 1rem;
    padding-bottom: 10px;
    position: relative;
    display: inline-block;
    padding-right: 0.5rem;
}

.page h2:not(.nyumo)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-image: repeating-linear-gradient(45deg, var(--color-red) 0px, var(--color-red) 1px, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 50%);
    background-size: 8px 8px;
}

.page h3 {
    font-weight: 500;
    margin-bottom: 0.3rem;
    margin-top: 0.5rem;
    font-size: 1.3rem;
}

.page h4 {
    font-weight: 500;
    font-size: 1.1rem;
}

ul.type01,
ol.type01 {
    margin: 0.5rem;
}

.login_area {
    width: 90%;
    max-width: 400px;
    margin: 0 auto 20px auto;

    p {
        margin: 10px auto;
    }

    input {
        width: 80%;
    }

    p:has(input[type="submit"]) {
        text-align: left;
    }
}

.login_area .page input {
    display: block;
    width: 100%;
    min-height: 2rem;

    &:valid {
        border: 1px solid var(--color-text);
    }

    &:invalid {
        border: 1px solid red;
    }
}

p:has(input[type="submit"]) {
    text-align: center;
}

.page input[type="submit"] {
    padding: 10px;
    margin: 30px auto;
    width: 90%;
    max-width: 400px;
    border: solid 1px var(--color-text);
    box-shadow: 1px 1px 4px var(--color4);

    &:hover {
        box-shadow: none;
    }
}

@media screen and (max-width:500px) {
    .section2 {
        .section2_flex-box {
            flex-wrap: nowrap;
        }

    }

    .plan {
        margin: 40px auto;

        .copy-text {
            position: absolute;
            top: -40px;
            left: -10px;
            font-weight: 600;
            transform: rotate(-10deg);
        }
    }

    .character-200 {
        width: 100%;
        max-width: 150px;
    }
}

.note {
    text-indent: -1rem;
    padding-left: 2rem;
}

/* --------------------home-------------------------*/

.home h1 {
    position: absolute;
    z-index: -1;
}

.slider_area {
    width: 100%;
    height: auto;

    img {
        margin: 0 auto;
    }
}

.nyumo {
    display: inline-block;
    padding: 0.5em 1em;
    border-radius: 18px;
    background: linear-gradient(145deg, #f7ffff, #e2eff8);
    box-shadow: 6px 6px 12px #bdcad1,
        -6px -6px 12px #ffffff;
}

.section1 {
    .section1_flex-box {
        max-width: 1000px;
        margin: 40px auto;
        display: flex;

        img {
            max-width: 350px;
            width: 100%;
        }
    }

    .section1_text {
        font-size: var(--font-24);
        padding: 1rem;
        align-self: center;
    }
}

.section2 {
    .section2_flex-box {
        display: flex;
        justify-content: center;
        row-gap: 30px;
        flex-wrap: wrap;
    }

}

.section3 {
    .chart {
        width: 100%;
        max-width: 800px;
        margin: 0px auto;
        padding: 1rem;
        grid-template-areas:
            "h h"
            "i1 i2";
        grid-template-rows: 50px 1fr;
        margin-bottom: 2em;
        border-radius: 50px;
        background: #ffffef;
        box-shadow: 5px 5px 10px #d6d6c9,
            -5px -5px 10px #ffffff;
    }

    .chart.left {
        display: grid;
        grid-template-columns: 120px 1fr;

        h3 {
            grid-area: h;
            display: inline-block;
            justify-self: start;
            padding: 0.5rem 1rem;
            margin-left: 10%;
            margin-bottom: 5px;
            min-width: 250px;
            font-size: var(--font-24);
        }

        p {
            grid-area: i2;
            font-size: var(--font-20);
            align-self: center;
        }

        .character-100 {
            grid-area: i1;
            margin: 10px;
        }
    }

    .chart.right {
        display: grid;
        grid-template-columns: 1fr 120px;

        h3 {
            grid-area: h;
            display: inline-block;
            justify-self: start;
            padding: 0.5rem 1rem;
            margin-right: 10%;
            margin-left: auto;
            margin-bottom: 5px;
            font-size: var(--font-24);
            min-width: 250px;

        }

        p {
            grid-area: i1;
            font-size: var(--font-20);
            align-self: center;
        }

        .character-100 {
            grid-area: i2;
            margin: 10px;
        }

        .character-200 {
            grid-area: i2;
            margin: 10px;
        }

        &:has(.character-200) {
            grid-template-columns: 1fr 220px;

            h3 {
                margin-right: 20%;
            }
        }

        .arrow_box:after {
            margin-left: 162px;
        }

        .arrow_box:before {
            margin-left: 158px;
        }
    }
}

.section4 {
    padding: 1rem;
    border-radius: 24px;
    width: 96%;
    max-width: 1000px;
    margin: 40px auto;
    border-radius: 16px;
    background: #f9ebf2;
    box-shadow: 8px 8px 16px #e0d4da,
        -8px -8px 16px #ffffff;

    .section4_flex-box {
        display: flex;

        img {
            max-width: 200px;
            width: 30%;
        }
    }

    div {
        align-self: center;
    }

    h3 {
        font-size: 36px;
        margin-left: 25%;
    }

    .section4_text {
        font-size: var(--font-20);
        padding: 1rem;
        margin: 0;

        li {
            margin-left: 2rem;
        }
    }
}
.banner-area {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
    .inner {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    img {
        width: 100%;
        max-width: 600px;
        height: auto;
    }
}
@media screen and (max-width:768px) {
    .section2 {
        .section2_flex-box {
            flex-direction: column;
            align-items: center;
        }

    }
}

@media screen and (max-width:500px) {
    .section3 .chart.right:has(.character-200) {
        grid-template-columns: 1fr 170px;

    }

    .section4 {
        position: relative;
        width: 96%;

        h3 {
            position: absolute;
            top: 30px;
            left: 50px;
        }

        .section4_flex-box {
            flex-direction: column;
        }
    }
}

/* --------------------------estimate--------------------------------- */
.estimate {
    padding: 1rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 16px;
    background: #ebf3f9;
    box-shadow: 8px 8px 16px #d4dbe0,
        -8px -8px 16px #ffffff;
}

.estimate-calc {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;

    input:not([type="radio"]),
    select {
        min-width: 8rem;
        height: 2rem;
        text-align: center;
        padding: 2px 5px;
        margin-top: 0.5em;
    }

    input[type="text"] {
        width: 5rem;
    }

}

.estimate-calc-value {
    font-size: var(--font-26);
    text-align: center;
    margin-top: 2rem;
}

/* --------------------------my_page--------------------------------- */
.my_page_nav {
    width: 90%;
    padding: 0;
    margin: 20px auto;
    max-width: 1000px;
    display: flex;
    flex-wrap: wrap;

    li {
        list-style: none;
        flex: 1;
        min-width: 320px;
    }
}

.order_list {
    overflow-x: auto;

    table {
        width: 100%;
        min-width: 800px
    }

    F
}

th,
td {
    padding: 0.2em 0.4em;
}

.member_area {
    width: 90%;
    max-width: 600px;
    margin: 0 auto 20px auto;
    border: 1px solid var(--color-text);

    h3 {
        background-color: var(--color2);
        font-size: var(--font-24);
        padding: 1rem;
    }

    dt {
        border-top: 2px dotted var(--color-text);
        padding: 0.5rem;
        padding-bottom: 0;
    }

    dd {
        padding: 0.5rem;
        padding-left: 2rem;
        /* font-weight: 600; */
    }

    dd.postal-code {
        max-width: 200px;
    }

    dd.postal-code+dd {
        padding-top: 0rem;
    }

    dd.last-child {
        border-bottom: 2px dotted var(--color-text);
    }

    .change-button {
        display: block;
        margin: 20px auto;
        width: 200px;
        height: 40px;
    }

    input:not([type="radio"]),
    textarea {
        width: 100%;
        padding: 0.2em;
    }

    select {
        padding: 0.2em;
    }

    select:first-child {
        margin-bottom: 0.2em;
    }
}
.error-txt {
    color: red;
}

.input-error {
    border: 1px solid red;
}
.member_flame.sign_up {
    dd {
        font-weight: 400;
    }
}

/* --------------------------company--------------------------------- */
.company {
    dl {
        width: 100%;
        max-width: 600px;
        display: flex;
        flex-wrap: wrap;
        margin: 0.7em auto;
    }

    dt {
        width: 120px;
        margin: 0;
        padding: 0.7em 0.5em;
        border-bottom: 1px dotted var(--color-text);
    }

    dd {
        width: calc(100% - 120px);
        padding: 0.7em 0.5em;
        border-bottom: 1px dotted var(--color-text);

    }
}

/* --------------------------tokushoho--------------------------------- */
.tokushoho {
    dl {
        width: 100%;
        max-width: 800px;
        display: flex;
        flex-wrap: wrap;
        margin: 0.7em auto;
    }

    dt {
        width: 160px;
        margin: 0;
        padding: 0.7em 0.5em;
        border-bottom: 1px dotted var(--color-text);
        font-weight: 600;
    }

    dd {
        width: calc(100% - 160px);
        padding: 0.7em 0.5em;
        border-bottom: 1px dotted var(--color-text);

    }
}

@media screen and (max-width:500px) {
    .tokushoho {

        dt {
            border-bottom: none;
        }

        dd {
            width: 100%;
            padding: 0em 0.5em;
        }
    }
}

/* --------------------------privacy_policy--------------------------------- */
.privacy_policy {
    p {
        padding-left: 1rem;
    }
}