@charset "UTF-8";

#contents {
    padding-top: 17rem;
    padding-bottom: 18.3rem;

    @media screen and (max-width: 767px) {
        padding-top: 6rem;
        padding-bottom: 8rem;
    }
}

#profile {
    margin-bottom: 17.2rem;

    @media screen and (max-width: 767px) {
        margin-bottom: 6.9rem;
    }

    .title {
        margin-bottom: 4rem;
    }

    .contents {
        display: flex;
        align-items: center;
        padding: 5rem 0;
        border-top: 1px solid #000000;
        border-bottom: 1px solid #000000;

        @media screen and (max-width: 767px) {
            flex-direction: column;
            padding: 2.2rem 0 1rem;
        }

        .content {

            &.left {
                display: flex;
                align-items: center;
                gap: 5rem;
                width: 47%;

                @media screen and (max-width: 767px) {
                    gap: 1.8rem;
                    padding-bottom: 3.1rem;
                    width: 100%;
                }

                .icon {
                    flex-shrink: 0;
                    width: 20rem;
                    aspect-ratio: 1 /1;
                    border-radius: 50%;
                    overflow: hidden;

                    @media screen and (max-width: 767px) {
                        width: 10rem;
                    }

                    & img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        object-position: center;
                    }
                }

                .people-info {
                    .info {
                        display: flex;
                        align-items: center;
                        gap: 1.2rem;
                        margin-bottom: 2.7rem;

                        @media screen and (max-width: 767px) {
                            gap: 0.6rem;
                            margin-bottom: 1.4rem;
                        }

                        .ken {
                            padding: 0.05rem 1.6rem 0.25rem;
                            border-radius: 10rem;
                            background-color: #000;
                            font-style: normal;
                            font-weight: 700;
                            font-size: 2rem;
                            line-height: 3.1rem;
                            color: #FFFFFF;

                            @media screen and (max-width: 767px) {
                                padding: 0.25rem 0.8rem;
                                font-size: 1.2rem;
                                line-height: 1.2rem;
                            }
                        }

                        .tag {
                            font-style: normal;
                            font-weight: 700;
                            font-size: 2rem;
                            line-height: 100%;
                            letter-spacing: 0.05em;
                            color: #000000;

                            @media screen and (max-width: 767px) {
                                font-size: 1.2rem;
                            }
                        }
                    }

                    .name {
                        font-family: 'Alexandria';
                        font-style: normal;
                        font-weight: 500;
                        font-size: 2.4rem;
                        line-height: 100%;
                        letter-spacing: 0.05em;
                        color: #000000;

                        @media screen and (max-width: 767px) {
                            font-size: 1.4rem;
                        }
                    }
                }
            }

            &.right {
                position: relative;
                padding-left: 10.6rem;
                width: 53%;

                @media screen and (max-width: 767px) {
                    padding-left: 0;
                    padding-top: 2.7rem;
                    width: 100%;
                }

                &::before {
                    content: "";
                    position: absolute;
                    left: 0;
                    top: calc(50% - 7rem);
                    display: inline-block;
                    width: 1px;
                    height: 14rem;
                    background-color: #000000;
                }

                @media screen and (max-width: 767px) {
                    &::before {
                        left: 4rem;
                        top: 0;
                        width: calc(100% - 8rem);
                        height: 1px;
                        background-color: #000000;
                    }
                }

                .block {
                    width: 100%;

                    .title,
                    .text {
                        font-style: normal;
                        font-size: 1.8rem;
                        line-height: 3.2rem;
                        letter-spacing: 0.1em;
                        color: #000000;
                        text-align: left;

                        @media screen and (max-width: 767px) {
                            font-size: 1.4rem;
                            line-height: 2rem;
                        }
                    }

                    .title {
                        width: 12.6rem;
                        font-weight: 600;
                        vertical-align: top;

                        @media screen and (max-width: 767px) {
                            width: 10rem;
                        }
                    }

                    .text {
                        font-weight: 400;

                        @media screen and (max-width: 767px) {
                            padding-bottom: 1.2rem;
                            vertical-align: top;
                        }

                        & a {
                            text-decoration: underline;

                            @media (hover: hover) and (pointer: fine) {
                                &:hover {
                                    text-decoration: none;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

#career {
    margin-bottom: 16.6rem;

    @media screen and (max-width: 767px) {
        margin-bottom: 9.4rem;
    }

    .title {
        margin-bottom: 4.8rem;
    }

    .table {
        & table {
            width: 100%;
            table-layout: auto;

            & tr {
                &:not(:last-child) {
                    & td {
                        padding-bottom: 4.8rem;
                    }
                }

                @media screen and (max-width: 767px) {
                    display: flex;
                    flex-direction: column;

                    &:not(:last-child) {
                        & td {
                            padding-bottom: 3rem;
                        }
                    }
                }
            }

            & th {
                position: relative;
                padding-right: 12.6rem;
                width: 1px;
                font-family: 'Alexandria';
                font-style: normal;
                font-weight: 300;
                font-size: 4.2rem;
                line-height: 100%;
                letter-spacing: 0.1em;
                color: #000000;
                text-align: left;
                vertical-align: top;
                white-space: nowrap;

                @media screen and (max-width: 767px) {
                    padding-right: 0;
                    width: 100%;
                    padding-left: 4.5rem;
                    padding-bottom: 1.2rem;
                    font-size: 2.6rem;
                }

                &::before {
                    content: "";
                    position: absolute;
                    right: 6.2rem;
                    top: 0;
                    bottom: 0;
                    display: inline-block;
                    width: 2px;
                    height: 100%;
                    background-color: #B9EEE4;
                }

                @media screen and (max-width: 767px) {
                    &::before {
                        right: auto;
                        left: 1.6rem;
                    }
                }

                .detail {
                    position: absolute;
                    right: 4.7rem;
                    top: 0;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    width: 3.2rem;
                    height: 3.2rem;
                    background-color: #B9EEE4;
                    border-radius: 50%;

                    @media screen and (max-width: 767px) {
                        right: auto;
                        left: 0;
                    }

                    &::after {
                        content: "";
                        display: inline-block;
                        width: 1.6rem;
                        height: 1.6rem;
                        background-color: #00AC8C;
                        border-radius: 50%;
                    }
                }
            }

            & td {

                @media screen and (max-width: 767px) {
                    position: relative;
                    padding-left: 4.5rem;
                    font-size: 2.6rem;

                    &::before {
                        content: "";
                        position: absolute;
                        left: 1.6rem;
                        top: 0;
                        bottom: 0;
                        display: inline-block;
                        width: 2px;
                        height: 100%;
                        background-color: #B9EEE4;
                    }

                }

                .main {
                    font-style: normal;
                    font-weight: 600;
                    font-size: 2.6rem;
                    line-height: 4.2rem;
                    letter-spacing: 0.05em;
                    color: #000000;

                    @media screen and (max-width: 767px) {
                        font-size: 1.6rem;
                        line-height: 2.6rem;
                    }
                }

                .sub {
                    margin-top: 1.2rem;
                    font-style: normal;
                    font-weight: 400;
                    font-size: 1.8rem;
                    line-height: 2.9rem;
                    letter-spacing: 0.1em;
                    color: #000000;

                    @media screen and (max-width: 767px) {
                        margin-top: 0.8rem;
                        font-size: 1.4rem;
                        line-height: 180%;
                    }
                }
            }


        }
    }
}

#story {

    .title {
        margin-bottom: 5.2rem;

        @media screen and (max-width: 767px) {
            margin-bottom: 4.1rem;
        }
    }

    .contents {
        .block {
            padding-top: 6.8rem;
            border-top: 1px solid #000000;

            @media screen and (max-width: 767px) {
                padding-top: 4rem;
            }

            &:not(:last-child) {
                margin-bottom: 12rem;
            }

            @media screen and (max-width: 767px) {
                &:not(:last-child) {
                    margin-bottom: 8rem;
                }
            }

            &:last-child {
                .text-area:last-child {
                    margin-bottom: 0;
                }
            }

            .text-area {
                display: flex;
                margin-bottom: 7.4rem;

                @media screen and (max-width: 767px) {
                    flex-direction: column;
                    margin-bottom: 2.4rem;
                }

                .title {
                    flex-grow: 1;
                    font-style: normal;
                    font-weight: 600;
                    font-size: 3.4rem;
                    line-height: 5.4rem;
                    letter-spacing: 0.05em;
                    color: #000000;

                    @media screen and (max-width: 767px) {
                        font-size: 2.4rem;
                        line-height: 3.8rem;
                    }
                }

                .text {
                    flex-shrink: 0;
                    width: 83.5rem;

                    @media screen and (max-width: 767px) {
                        width: 100%;
                    }

                    .main {
                        font-style: normal;
                        font-weight: 600;
                        font-size: 2.6rem;
                        line-height: 4.7rem;
                        letter-spacing: 0.05em;
                        color: #000000;

                        @media screen and (max-width: 767px) {
                            font-size: 1.6rem;
                            line-height: 180%;
                        }
                    }

                    .sub {
                        margin-top: 4rem;
                        font-style: normal;
                        font-weight: 400;
                        font-size: 1.8rem;
                        line-height: 200%;
                        letter-spacing: 0.1em;
                        color: #000000;

                        @media screen and (max-width: 767px) {
                            margin-top: 1.4rem;
                            font-size: 1.4rem;
                            line-height: 180%;
                        }
                    }
                }
            }

            .img {
                border-radius: 3rem;
                overflow: hidden;

                @media screen and (max-width: 767px) {
                    border-radius: 0.7rem;
                }
            }
        }
    }
}





/* edit css */
/* h2 */
#editor-area {


    & h2 {
        padding-bottom: 5.2rem;
        font-family: 'Alexandria';
        font-style: normal;
        font-weight: 500;
        font-size: 6.4rem;
        line-height: 100%;
        letter-spacing: 0.05em;
        color: #000000;
        border-bottom: 1px solid #000;
        padding-top: 16rem;

        @media screen and (max-width: 767px) {
            padding-top: 7rem;
            padding-bottom: 4.1rem;
            font-size: 3.8rem;
        }
    }

    /* h3 */
    & h3 {
        margin-top: 4rem;
        font-style: normal;
        font-weight: 600;
        font-size: 2.6rem;
        line-height: 4.7rem;
        letter-spacing: 0.05em;
        color: #000000;

        @media screen and (max-width: 767px) {
            margin-top:2rem;
            font-size: 1.6rem;
            line-height: 180%;
        }
    }

    /* h4 */
    & h4 {
        margin-top: 4rem;
        font-style: normal;
        font-weight: 400;
        font-size: 2.6rem;
        line-height: 4.7rem;
        letter-spacing: 0.05em;
        color: #000000;

        @media screen and (max-width: 767px) {
            margin-top: 2rem;
            font-size: 1.6rem;
            line-height: 180%;
        }
    }

    /* p */
    & h5,
    & h6,
    & p {
        margin-top: 4rem;
        font-style: normal;
        font-weight: 400;
        font-size: 1.8rem;
        line-height: 200%;
        letter-spacing: 0.1em;
        color: #000000;

        @media screen and (max-width: 767px) {
            margin-top: 2rem;
            font-size: 1.4rem;
            line-height: 180%;
        }
    }

    & a {
        position: relative;
        text-decoration: underline;
        font-style: normal;
        font-weight: 400;
        font-size: 1.8rem;
        line-height: 200%;
        letter-spacing: 0.1em;
        color: #000000;

        @media screen and (max-width: 767px) {
            margin-top: 2rem;
            font-size: 1.4rem;
            line-height: 180%;
        }

        @media (hover: hover) and (pointer: fine) {
            &:hover {
                text-decoration: none;
            }
        }

        &[target="_blank"] {
            text-decoration: underline;

            @media (hover: hover) and (pointer: fine) {
                &:hover {
                    text-decoration: none;
                }
            }

            &::after {
                content: "";
                display: inline-block;
                margin-left: 0.3rem;
                margin-bottom: -0.5rem;
                width: 2.4rem;
                height: 2.4rem;
                background-image: url("../../common/img/parts/out-link.svg");
                background-size: 100% 100%;
                background-repeat: no-repeat;

                @media screen and (max-width: 767px) {
                    width: 2rem;
                    height: 2rem;
                }
            }
        }
    }

    /* ul */
    & ul {
        margin-top: 4rem;

        @media screen and (max-width: 767px) {
            margin-top: 2rem;
        }

        & li {
            position: relative;
            padding-left: 1.8rem;
            font-size: 1.8rem;
            line-height: 3rem;
            letter-spacing: 0.08em;

            @media screen and (width < 767px) {
                padding-left: 1.6rem;
                font-size: 1.6rem;
                line-height: 2.4rem;
            }

            &:after {
                content: "";
                position: absolute;
                left: 0.5rem;
                top: 1.4rem;
                display: block;
                width: 0.3rem;
                height: 0.3rem;
                border-radius: 0.3rem;
                background: #000;
            }

            @media screen and (max-width: 767px) {
                &:after {
                    top: 1.1rem;
                    left: 0.3rem;
                }
            }
        }
    }

    /* ol */
    & ol {
        margin-top: 4rem;
        counter-reset: number 0;

        @media screen and (max-width: 767px) {
            margin-top: 2rem;
        }

        & li {
            position: relative;
            padding-left: 1.8rem;
            font-size: 1.8rem;
            line-height: 3rem;
            letter-spacing: 0.08em;
            counter-increment: number 1;

            @media screen and (width < 767px) {
                padding-left: 1.6rem;
                font-size: 1.6rem;
                line-height: 2.4rem;
            }

            &:after {
                content: counter(number) ".";
                position: absolute;
                left: 0;
                top: 0;
                display: block;
                font-size: 1.8rem;
                line-height: 3rem;
                letter-spacing: 0.08em;
            }

            @media screen and (max-width: 767px) {
                &::after {
                    font-size: 1.6rem;
                    line-height: 2.4rem;
                }
            }
        }
    }

    /* img float */
    & img.alignleft {
        float: left;
        margin: 0.8rem 1rem 1rem 0;

        @media screen and (width < 767px) {
            float: none;
            display: block;
            margin: 0 auto 1rem;
        }
    }

    & img.aligncenter {
        display: block;
        margin: 0 auto 3rem;
    }

    & img.alignright {
        float: right;
        margin: 0.8rem 0 1rem 1rem;
    }

    @media screen and (width < 767px) {
        & img.alignright {
            float: none;
            display: block;
            margin: 0 auto 1rem;
        }
    }

    & img {
        vertical-align: top;
        max-width: 100%;
        height: auto;
    }

    /* blockquote */
    & blockquote {
        position: relative;
        margin: 0 0 3rem 3rem;
        padding-left: 6rem;
        font-size: 1.4rem;
        line-height: 180%;

        @media screen and (width < 767px) {
            margin: 0 0 1.5rem 0;
            padding-left: 4rem;
            line-height: 160%;
        }

        &:after,
        &:before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            display: block;
        }

        &:after {
            top: 0.5rem;
            width: 0.2rem;
            height: 5rem;
            background: #ccc;
        }

        &:before {
            content: "“";
            position: absolute;
            left: 1rem;
            top: -0.5rem;
            color: #ccc;
            font-size: 6rem;
            line-height: 100%;
        }
    }
}