@charset "utf-8";

/*共通設定===========================================*/
html {
    font-size: 100%;
    background-color: #fefefe;
    color: #333;
    scroll-behavior: smooth;
    font-family: "Noto Sans JP", sans-serif;
}

body {
    opacity: 0;
    transition: opacity 2s ease-in-out;
}
body.fade-in {
    opacity: 1;
}

h1,
h2,
h3 {
    color: #111;
}

img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
    object-fit: cover;
}

ul,
ol {
    list-style-type: none;
}

a {
    color: #333;
    text-decoration: none;
}

.main {
    margin-left: 164px;
    padding-right: 64px;
}

.link__btn {
    font-family: "Sawarabi Mincho", serif;
    border: #dd305e 1px solid;
    border-radius: 10px;
    padding: 8px 24px;
    line-height: 1.8;
    transition: all 0.3s ease;
}

.link__btn:hover {
    border: #dd305e 1px solid;
    background-color: #dd305e;
    color: #fefefe;
}

.red__font {
    color: #dd305e;
}

/*header==============================================*/
.tap-zone {
    display: none;
}

header {
    width: 164px;
    height: 100vh;
    padding: 16px 0px 0px 12px;
    position: relative;
    position: fixed;
    background-color: #fefefe;
    border-right: 1px solid #f1f1f1;
}

.header__name {
    display: block;
    font-size: 14px;
    margin-bottom: 56px;
    font-family: "Sawarabi Mincho", serif;
    font-weight: normal;
}

.header__logo {
    width: 80px;
    margin-bottom: 16px;
}

.header__nav {
    margin-bottom: 32px;
}

.header__nav__list {
    padding: 8px 0 8px 8px;
}

.header__nav__link {
    font-size: 14px;
    font-family: "Sawarabi Mincho", serif;
    display: block;
}

.header__nav__link:hover {
    color: #dd305e;
}

.header__nav__link.active {
    color: #dd305e;
}

.header__contact__link {
    display: inline-block;
    font-size: 14px;
    border: 1px solid #dd305e;
    border-radius: 8px;
    padding: 8px 16px;
}

/*.hero=============================*/
.hero {
    height: 100vh;
    padding: 48px 64px 40px 0px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: end;
    position: relative;
    margin-bottom: 160px;
}

.hero__visual {
    width: 76%;
    height: 72vh;
    margin-bottom: 40px;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 24px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    top: 0;
    left: 0;
    opacity: 0;
}

.chris__link {
    position: absolute;
    right: 4%;
    bottom: 4%;
    display: block;
    padding: 12px 32px;
    font-family: "Sawarabi Mincho", serif;
    font-size: 24px;
    border: 1px solid #dd305e;
    border-radius: 10px;
    line-height: 1.8;
    background-color: #fefefe;
    transition: all 0.3s ease;
}

.chris__link:hover {
    background-color: #ee6a8d;
    color: #fefefe;
}

.hero__text {
    position: absolute;
    bottom: 10%;
    left: 0%;
    font-family: "Sawarabi Mincho", serif;
    font-size: clamp(32px, 5vw, 96px);
    line-height: 1.4;
    text-shadow: 0 0 4px white;
    width: 10em;
    height: 3em;
}

/*section共通===========================*/

.sec__content {
    display: flex;
}

.left {
    width: 32%;
}

.right {
    width: 68%;
}

.left__sectitle {
    font-size: 24px;
    text-align: right;
    padding-right: 1em;
    font-family: "Sawarabi Mincho", serif;
    margin-bottom: 24px;
    padding-bottom: 2px;
    border-bottom: #f1f1f1 solid 1px;
}

/*.works========================-*/

.works {
    padding: 40px 0 80px 0;
    margin-bottom: 160px;
}

.works_thumb {
    padding: 0px 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: end;
    gap: 40px;
}

.work__thumb__box {
    background-color: #fefefe;
    text-align: right;
    cursor: pointer;
    padding: 8px;
    border-radius: 10px;
    filter: grayscale(0.4);
    transition: transform 0.3s, background 0.3s;
    /* box-shadow:  4px 4px 12px #e0e0e0,
             -4px -4px 12px #ffffff; */
}

.work__thumb__box:hover {
    border-bottom: #dd305e 1px solid;
    background-color: #f9f9f9;
    transform: scale(1.04);
    filter: grayscale(0.0);
}

.work__thumb__box.active {
    /* background-color: #faedf1; */
    background-color: #f9f9f9;
    color: #333;
    /* border-left: #dd305e 2px solid; */
    border-bottom: #dd305e 1px solid;
    transform: scale(1.04);
    filter: grayscale(0.0);
}

.work__thumb__img {
    width: 48%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
    overflow: hidden;
}

.work__thumb__text {
    font-size: 14px;
    margin-top: 8px;
}

.works__rightbox {
    height: 86vh;
    padding: 0px 8px;
    border-left: #f1f1f1 solid 1px;
    position: relative;
    overflow-y: scroll;
}
.works__rightbox::-webkit-scrollbar {
    width: 4px;
}

.works__rightbox::-webkit-scrollbar-track {
    background: transparent;
}

.works__rightbox::-webkit-scrollbar-thumb {
    background: rgba(221, 48, 94, 0.3);
    border-radius: 4px;
}

.works__rightbox::-webkit-scrollbar-thumb:hover {
    background: rgba(221, 48, 94, 0.5);
}

.works__rightbox {
    scrollbar-width: thin;
    scrollbar-color: rgba(221, 48, 94, 0.3) transparent;
}

.works__main {
    width: 100%;
    padding-bottom: 120px;
    border-bottom: #f1f1f1 1px solid;
    background-color: #fefefe;
}

.works__main__textbox {
    position: relative;
    margin-bottom: 80px;
}

.works__main__title {
    font-size: 3.2vw;
    margin-bottom: 32px;
    font-weight: normal;
}

.works__main__text {
    margin-bottom: 64px;
    font-size: 14px;
    width: 72%;
}

.works__link__btn {
    position: absolute;
    right: 2%;
    bottom: -56px;
}

.works__main__img {
    width: 98%;
    margin-bottom: 32px;
}

/*flow=================================*/

.flow {
    padding: 40px 0 160px 0;
}

.flow__thumb__content {
    text-align: right;
    padding: 0px 64px 0 8px;
}

.flow__thumb__box {
    text-align: center;
    /* border: #dd305e 1px solid; */
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 16px 8px;
    width: 88%;
    display: inline-block;
    margin-bottom: 32px;
    position: relative;
    cursor: pointer;
    transform: scale(1);
    transition: transform 0.3s ease, background 0.3s ease;
    box-shadow: 2px 2px 4px #dedede,
        -2px -2px 4px #ffffff;
}

.flow__thumb__box:hover {
    border-bottom: #dd305e 1px solid;
    background-color: #f1f1f1;
    transform: scale(1.02);
}

.flow__thumb__box.active {
    border-bottom: #dd305e 1px solid;
    background-color: #faedf1;
    color: #333;
}

.flow__thumb__title {
    font-size: 20px;
    margin-bottom: 0.8em;
}

.flow__thumb__text {
    font-size: 14px;
}

.flow__thumb__icon {
    position: absolute;
    top: -16%;
    right: -12%;
    width: 5.8vw;
    border-radius: 4px;
    box-shadow: 2px 2px 4px #dfdfdf,
        -2px -2px 4px #ffffff;
}

.flow__main__content {
    padding: 0 8px;
    border-left: #f1f1f1 solid 1px;
    max-width: 90%;
    height: 600px;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.flow__main__box {
    /* border-right: #dd305e 1px solid; */
    background-color: #fafafa;
    /* border-bottom: #dd305e 1px solid; */
    border-radius: 20px;
    padding: 4px 40px 32px 40px;
    overflow: hidden;
    scroll-snap-align: start;
    height: 600px;
    /*高さ合わせ*/
    box-sizing: border-box;
    margin-bottom: 40px;
    box-shadow: inset 1px 1px 2px #dfdfdf,
        inset -1px -1px 2px #ffffff;
}

.flow__main__content::-webkit-scrollbar {
    width: 4px;
}

.flow__main__content::-webkit-scrollbar-track {
    background: transparent;
}

.flow__main__content::-webkit-scrollbar-thumb {
    background: rgba(221, 48, 94, 0.3);
    border-radius: 4px;
}

.flow__main__content::-webkit-scrollbar-thumb:hover {
    background: rgba(221, 48, 94, 0.5);
}

.flow__main__content {
    scrollbar-width: thin;
    scrollbar-color: rgba(221, 48, 94, 0.3) transparent;
}

.flow__main__wrap {
    width: 800px;
}


.flow__main__title {
    font-size: 32px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.flow__main__title span {
    font-size: 14px;
    color: #999;
}

.flow__main__textbox {
    width: 100%;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
    /* text-indent: 1em; */
}

.flow__main__img {
    width: 72%;
}

/*qu================================*/

.qa {
    padding: 40px 0 160px 0;
}

.qa__content {
    padding: 0 8px;
    border-left: #f1f1f1 solid 1px;
}

.accordion-area {
    list-style: none;
    width: 100%;
    max-width: 940px;
    /* margin:0 auto; */
    transition: all 0.2s ease;
}

.accordion-area li {
    margin: 10px 0;
}

.accordion-area section {
    /* border-bottom: 1px solid #dd305e; */
    border-bottom: 1px solid #d1d1d1;
    border-radius: 10px;
}

/*アコーディオンタイトル*/
.qa__title {
    position: relative;
    /*+マークの位置基準とするためrelative指定*/
    cursor: pointer;
    font-size: 16px;
    font-weight: normal;
    padding: 2% 3% 2% 50px;
    transition: all .5s ease;
}

/*アイコンの＋と×*/
.qa__title::before,
.qa__title::after {
    position: absolute;
    content: '';
    width: 15px;
    height: 2px;
    background-color: #dd305e;
    transition: all 0.4s ease;

}

.qa__title::before {
    top: 48%;
    left: 15px;
    transform: rotate(0deg);

}

.qa__title::after {
    top: 48%;
    left: 15px;
    transform: rotate(90deg);

}

/*closeというクラスがついたら形状変化*/
.qa__title.close::before {
    transform: rotate(45deg);
}

.qa__title.close::after {
    transform: rotate(-45deg);
}

/*アコーディオンで現れるエリア*/
.qa__box {
    display: none;
    /*はじめは非表示*/
    background: #f1f1f1;
    border-radius: 10px;
    margin: 0 3% 3% 3%;
    padding: 2%;
}

/*.contact========================================*/

.contact {
    padding: 40px 0 160px 0;
}

.contact__slide__wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.contact__slide {
    margin : 20px auto;
    width : 100%;
    overflow : hidden;
}

.contact__slide ul{
    display : inline-block;
    margin: 0;
    padding-left: 100%;
    white-space : nowrap;
    animation : SlideSample 40s linear infinite;
}
.contact__slide:hover ul {
    animation-play-state: paused;
}

.contact__slide ul li{
    display:inline;
    margin: 0 80px 0 0;
    color: #ddd;
    font-size: 7vw;
    font-family: "Sawarabi Mincho", serif;
    letter-spacing: .2em; /*文字の間隔*/
    text-shadow: 0 0 4px; /*文字のぼかし*/
}

@keyframes SlideSample{
    0% { transform: translateX(0)}
    100% { transform: translateX(-100%)}
}



.contact__rightcontent {
    padding: 0 8px;
    border-left: #f1f1f1 solid 1px;
}

.contact-form {
    background: #fefefe;
    padding: 20px;
    max-width: 960px;
    /* margin: 0 auto; */
    border-radius: 8px;
    /* border: #dd305e 1px solid; */
    border: #f1f1f1 1px solid;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-size: 16px;
}

.contact-form h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 4px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 4px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

.form-group textarea {
    resize: vertical;
    height: 64px;
}

.form-group input[type="submit"] {
    background: #dd305e;
    color: #fefefe;
    padding: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.form-group input[type="submit"]:hover {
      background-color: #e94d74;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.required {
    color: red;
    font-size: 0.9em;
}

.privacy__link {
    color: #333;
    font-size: 12px;
    display: block;
    width: 100%;
    text-align: right;
    text-decoration: underline;
    padding: 8px 0;
}
.privacy__link:hover {
    opacity: 0.8;
}

/*about=========================*/

.about {
    padding: 40px 0 80px 0;
}

.about__rightcontent {
    padding: 96px 8px 80px 8px;
    border-left: #f1f1f1 solid 1px;
    height: 88vh;
    overflow-y: scroll;
}

.about__rightcontent::-webkit-scrollbar {
    width: 4px;
}

.about__rightcontent::-webkit-scrollbar-track {
    background: transparent;
}

.about__rightcontent::-webkit-scrollbar-thumb {
    background: rgba(221, 48, 94, 0.3);
    border-radius: 4px;
}

.about__rightcontent::-webkit-scrollbar-thumb:hover {
    background: rgba(221, 48, 94, 0.5);
}

.about__rightcontent {
    scrollbar-width: thin;
    scrollbar-color: rgba(221, 48, 94, 0.3) transparent;
}

.about__right__title {
    font-size: 32px;
    margin-bottom: 40px;
}

.profile {
    margin-bottom: 120px;
}

.profile__flex {
    display: flex;
    align-items: center;
    justify-content: start;
}

.profile__img {
    width: 20%;
    margin-right: 24px;
}

.profile__textbox {
    width: 70%;
}

.profile__name {
    font-size: 24px;
    margin-bottom: 16px;
}

.profile__text {
    font-size: 14px;
    line-height: 1.7;
}

.profile__sns {
    display: flex;
    justify-content: end;
    align-items: center;
    margin: 32px 48px 0 0;
    font-size: 14px;
}

.profile__sns__item {
    margin-left: 8px;
}

.career {
    margin-bottom: 120px;
}

.career ol li {
    font-size: 14px;
    margin-bottom: 14px;
}

.credit__text a {
    font-size: 14px;
    line-height: 2.4;
}

.sp__br {
    display: none;
}

/*footer============================*/

.footer {
    padding: 40px 80px;
    text-align: right;
}

/*1439～1025================================================*/
@media screen and (max-width: 1439px) {

    /*共通設定=========================================================*/
    .main {
        padding-right: 48px;
    }

    /*.hero=============================*/
    .hero {
        padding: 48px 16px 40px 0px;
        margin-bottom: 120px;
    }

    .chris__link {
        padding: 12px 32px;
        font-size: 20px;
    }

    /*flow=================================*/

    .flow__thumb__content {
        padding: 0px 20px 0 8px;
    }

    .flow__thumb__box {
        width: 100%;
        padding: 16px 4px;
    }

    .flow__thumb__title {
        font-size: 18px;
    }

    .flow__thumb__icon {
        right: -6%;
        width: 5.4vw;
    }

    .flow__main__content {
        max-width: 100%;
        height: 540px;
    }

    .flow__main__box {
        padding: 4px 24px 32px 24px;
        height: 540px;
    }

    .flow__main__wrap {
        width: 480px;
    }


    .flow__main__title {
        font-size: 32px;
    }

    .flow__main__img {
        width: 88%;
    }

    /*about=========================*/

    .profile__name {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .profile__text {
        font-size: 14px;
        line-height: 1.6;
    }

    .career {
        margin-bottom: 120px;
    }

    .career ol li {
        font-size: 14px;
        margin-bottom: 14px;
    }

    .credit__text a {
        font-size: 14px;
    }
}

/*1024~768*/
@media screen and (max-width: 1024px) {

    .main {
        margin-left: 56px;
        padding-right: 24px;
    }

    /*header==============================================*/

    header {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 9990;
    }

    header.active {
        transform: translateX(0%);
    }

    .tap-zone {
        display: block;
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        background-color: #333;
        color: #fefefe;
        left: 0;
        top: 0;
        width: 56px;
        height: 100%;
        z-index: 9999;
        cursor: pointer;
        transform: translateX(0%);
        transition: transform 0.3s ease, width 0.3s ease, background 0.3s ease;
    }

    .tap-zone.active {
        width: 24px;
        transform: translateX(164px);
    }

    .tap-zone p {
        transform: rotate(-90deg);
        white-space: nowrap;
        width: 200px;
    }

    /*.hero=============================*/
    .hero {
        padding: 48px 8px 40px 0px;
        margin-bottom: 120px;
    }

    .hero__visual {
        width: 96%;
        height: 64vh;
        min-height: 360px;
        margin-bottom: 144px;
    }

    .hero-slider {
        border-radius: 16px
    }

    .hero__text {
        bottom: 16%;
        left: 4%;
        font-size: clamp(24px, 7.2vw, 96px);
        width: 10em;
        text-align: left;
    }

    /*.works========================-*/

    .works {
        margin-bottom: 80px;
    }


    .work__thumb__box:hover {
        border-bottom: #dd305e 1px solid;
        background-color: #f9f9f9;
        transform: scale(1.04);
        filter: grayscale(0.0);
    }

    .works__main {
        padding-bottom: 80px;
    }

    .works__main__text {
        width: 96%;
    }

    /*flow=================================*/

    .flow__thumb__icon {
        width: 6.8vw;
        right: -5%;
    }

    .flow__main__content {
        height: 616px;
    }

    .flow__main__box {
        padding: 4px 24px 32px 24px;
        height: 616px;
    }

    .flow__main__wrap {
        width: 100%;
    }

    .flow__main__img {
        width: 96%;
    }

    /*about===================*/

    .profile__flex {
        display: flex;
        align-items: normal;
        justify-content: start;
        flex-direction: column;
    }

    .profile__textbox {
        width: 100%;
    }

    .profile__sns {
        margin: 32px 8px 0 0;
    }

    .profile__sns__link {
        padding: 8px 16px;
    }

}

/*768px～429px===============================================*/
@media screen and (max-width: 767px) {
    .main {
        padding-right: 16px;
        margin-left: 40px;
    }
    .mobile_main {
        padding-right: 0;
    }

    .tap-zone {
        width: 40px;
    }

    .tap-zone.active {
        transform: translateX(154px);
    }

    /*.hero=============================*/
    .hero {
        padding: 0px 0px 40px 0px;
        margin-bottom: 16px;
    }

    .hero__visual {
        width: 100%;
        height: 72vh;
        min-height: 360px;
        margin-bottom: 196px;
    }

    .hero-slider {
        border-radius: 0 0 0 0;
    }

    .hero__text {
        bottom: 20%;
        font-size: clamp(24px, 8.0vw, 96px);
    }

    .chris__link {
        padding: 12px 28px;
        font-size: 18px;
    }


    /*section共通===========================*/

    .sec__content {
        display: flex;
        flex-direction: column;
    }

    .left {
        width: 100%;
        margin-bottom: 16px;
    }

    .right {
        width: 100%;
    }

    .left__sectitle {
        text-align: left;
        padding-left: 12px;
    }

    /*.works========================-*/

    .works {
        padding: 40px 0 64px 0;
        margin-bottom: 120px;
    }

    .works_thumb {
        gap: 24px;
    }

    .work__thumb__box {
        filter: grayscale(0);
    }

    .works__rightbox {
        height: 80vh;
        border-top: 1px solid #f1f1f1;
        padding-top: 40px;
    }

    .works__main {
        padding-bottom: 64px;
    }

    .works__main__title {
        font-size: 32px;
        margin-bottom: 24px;
    }

    .works__main__text {
        margin-bottom: 64px;
        font-size: 14px;
        width: 96%;
    }

    .works__main__img {
        width: 98%;
        margin-bottom: 32px;
    }

    /*flow=================================*/

    .flow {
        padding: 40px 0 120px 0;
    }

    .flow__thumb__content {
        padding: 0px 12px 0 8px;
    }

    .flow__thumb__box {
        width: 96%;
        padding: 12px 4px;
    }

    .flow__thumb__title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .flow__thumb__icon {
        right: 1%;
        top: -6%;
        width: 14vw;
    }

    .flow__main__content {
        max-width: 100%;
        height: 544px;
    }

    .flow__main__box {
        padding: 4px 20px 32px 20px;
        height: 544px;
        overflow: hidden;
    }

    .flow__main__wrap {
        width: 100%;
    }


    .flow__main__title {
        font-size: 24px;
    }

    .flow__main__text {
        font-size: 12px;
    }

    .flow__main__img {
        width: 88%;
    }

    /*qa=======================*/
    .qa {
        padding-bottom: 120px;
    }

    .qa__title {
        font-size: 14px;
    }

    .qa__box {
        font-size: 14px;
    }

    /*contact=====================*/
    .contact {
        padding-bottom: 120px;
    }

    .contact__slide__wrapper {
        display: none;
    }

    input::placeholder,
    textarea::placeholder {
        font-size: 14px;
    }

    input::-webkit-input-placeholder,
    textarea::-webkit-textarea-placeholder {
        /* Chrome, Safari */
        font-size: 14px;
    }

    input::-moz-placeholder,
    textarea::-moz-placeholder {
        /* Firefox 19+ */
        font-size: 14px;
    }

    input:-ms-input-placeholder,
    textarea:-ms-textarea-placeholder {
        /* IE 10+ */
        font-size: 14px;
    }

    input::-ms-input-placeholder,
    textarea::-ms-textarea-placeholder {
        /* Microsoft Edge */
        font-size: 14px;
    }

    /*about=================================--*/

    .sp__br {
        display: block;
    }

    .profile__name {
        font-size: 24px;
        margin-top: 8px;
        margin-bottom: 24px;
    }

    .profile__text {
        width: 100%;
        font-size: 12px;
    }

    .profile__sns {
        font-size: 12px;
        margin-right: 0;
    }

    .profile__sns__link {
        display: inline-block;
        padding: 8px 12px;
    }

    .career ol li {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .credit__text a {
        font-size: 12px;
    }

    /*footer===================*/
    .footer {
        text-align: center;
        padding: 40px 0;
    }

}

/*428px～=======================================-*/
@media screen and (max-width: 428px) {

    /*hero===============*/
    .chris__link {
        padding: 8px 24px;
        font-size: 16px;
    }

    /*works===============*/
    .works__main__title {
        font-size: 28px;
    }

    .works__main__textbox {
        width: 98%;
    }

    .works__main__text {
        font-size: 12px;
        width: 100%;
    }

    /*flow=================*/

    .flow__thumb__text {
        font-size: 12px;
    }

    .flow__main__content {
        height: 464px;
    }

    .flow__main__box {
        height: 464px;
    }

    /*about==================*/

    .profile__name {
        font-size: 22px;
    }

    .profile__sns__link {
        padding: 6px 10px;
    }


}