@charset "utf-8";

html {
    scroll-behavior: smooth;
}


/* hover時に画像拡大表示 */
.works_imgbox {
    overflow: hidden;
}

.works_imgbox img {
    transition: 1s all;
}

.works_flex section:hover .works_imgbox img {
    transform: scale(1.2, 1.2);
    transition: 1s all;
}


/* slick調整用 */
.slider div {
    width: fit-content;
}
@media screen and (min-width: 897px) {
    .slider div {
        width: fit-content;
    }
}

.slider img {
    width: auto;
    height: 282px;
}
@media screen and (min-width: 897px){
    .slider img {
        width: auto;
        height: 420px;
    }
}

.slick-slider {
    overflow-x: hidden;
}


/* その場でふわっと表示 */
.fadeIn {
    animation-name: fadeInAnime;
    animation-duration: 2.3s;
    animation-delay: 0.2s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeInAnime {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


.main_introduction {
    padding-top: 300px;
    padding-bottom: 300px;
    background-color: #d9d9db;
    max-width: 100%;
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
}

.main_introduction p {
    max-width: 800px;
    margin: 0 auto;
}


/* パララックス固定表示 */
.hoge{
    height: 1000px;
}
.hoge__attachment{
    display: block;
    height: 300px;
    width: 100%;
}    
.hoge__attachment__clip{
    display: block;
    /* position: relative; */
    overflow: hidden;
    clip-path: inset(0 0 0 0);
    height: 1000px;
}
picture img{
    position: fixed;
    width: 172px;
    height: auto;
    left: 50%;
    top: 48vh;/* %指定だとiosのsafariでスクロール中に縦ずれが起こる */
    transform: translate(-86px,-53.215px);
    pointer-events: none;
}
@media screen and (min-width: 897px) {
    picture img {
        top: 51%;
    }
}


/* ハンバーガーメニュー関連 */
@media screen and (min-width: 897px) {
    .menu {
        margin-top: 0;
    }
}

@media screen and (min-width: 897px) {
    .btn-gnavi {
        display: none;
    }
}


/* グローバルメニュー上書き用 */
@media screen and (max-width: 896px) {
    #wrapper nav {
        transform: translateX(0px);
        position: fixed;
        top: -844px;
        left: 0;
        height: 255px;
        padding-top: 50px;
        background: #F6F7F8;
        opacity: 0.9;
        font-size: 16px;
        box-sizing: border-box;
        z-index: 2;
    }
}
@media screen and (min-width: 897px) {
    #wrapper nav {
        transform: translateX(0px);
        position: static;
        width: 100%;
        padding-top: 0;
        background: #F6F7F8;
        opacity: 1;
        z-index: 0;
    }
}


@media screen and ( min-width: 897px ) {
    #wrapper nav {
        height: 139px;
    }
} 


/* 縦書きグローバルメニューのホバー時の線 */
.header nav a::before {
    position: absolute;
    top: 0;
    right: -25%;
    content: "";
    display: inline-block;
    width: 1px;
    height: 0;
    background: #00081A;
    transition: height 0.3s cubic-bezier(0.39, 0.575, 0.565, 1);
}

.header nav a:hover::before {
    height: 100%;
}

.menu {
    text-align: center;
}


@media screen and (min-width: 897px) {

    .introduction img,
    .about img,
    .skill img,
    .works img {
        height: 26px;
    }
}


.main_about {
    margin-top: 420px;
    padding-top: 80px;
    /* ページ内リンクの位置調整用 */
}

.main_skill {
    margin-top: 120px;
    padding-top: 80px;
    /* ページ内リンクの位置調整用 */
}

.main_skill h4 {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 18px;
    font-weight: 300;
    padding-top: 70px;
}

@media screen and (min-width: 897px) {
    .main_skill h4 {
        padding-right: 67%;
    }
}




.main_introduction p:first-of-type {
    margin-top: 2.875rem;
}

@media screen and (min-width: 897px) {
    .main_introduction p:first-of-type {
        margin-top: 3.625rem;
    }
}

.main_about p:first-of-type {
    margin-top: 87px;
}

@media screen and (min-width: 897px) {
    .main_about p:first-of-type {
        margin-top: 106px;
    }
}

.main_about p:nth-of-type(2) {
    margin-top: 76px;
    margin-bottom: 43px;
}

@media screen and (min-width: 897px) {
    .main_about p:nth-of-type(2) {
        margin-top: 84px;
        margin-bottom: 55px;
    }
}

.main_item {
    margin-right: 53px;
}

.main_item p:nth-of-type(7) {
    margin-top: 15px;
}

.main_item p {
    margin-block-start: 0;
    margin-block-end: 0;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 15px;
    font-weight: 300;
}

.main_item p:first-child {
    padding-top: 26px;
}

.main_skill>p:nth-of-type(n+2) {
    padding-top: 15px;
}

.main_icon_box {
    margin-top: 24px;
}

.main_icon {
    width: 118px;
    padding: 3px 0;
}

.main_flexbox {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.main_text {
    width: 100%;
}

.main_text p:first-of-type {
    margin-top: 70px;
}

@media screen and (min-width: 897px) {
    .main_text p:first-of-type {
        margin-top: 23px;
    }
}

.main_text p:nth-of-type(n+2) {
    padding-top: 29px;
}

@media screen and (min-width: 897px) {
    .main_flexbox {
        justify-content: space-between;
    }

    .main_icon_box {
        margin-right: 47px;
    }

    .main_text {
        width: 60%;
    }
}


.main_carousel {
    margin-top: 70px;
}

@media screen and (min-width: 897px) {
    .main_carousel {
        margin-top: 117px;
    }
}


/* SP/PC画像切り替え */
.pc {
    display: none;
}

.sp {
    display: block;
}

@media screen and (min-width: 897px) {
    .sp {
        display: none;
    }

    .pc {
        display: block;
    }
}


.main_works section:hover {
    opacity: 0.7;
}


.main_works div:nth-of-type(n+3) {
    text-align: left;
    margin-top: 50px;
}

.main_works h4 {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: normal;
    padding-top: 18px;
    text-align: left;
}

@media screen and (min-width: 897px) {
    .main_works h4 {
        padding-top: 0px;
    }

    .main_works a {
        width: 324px;
        display: inline-block;
    }
}

.works_activityLink>a {
    text-decoration: none;
    text-align: center;
    display: block;
    border: 0.5px solid #00081a;
    margin-top: 125px;
    padding-top: 11px;
    padding-bottom: 15px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 13px;
    font-weight: normal;
}
@media screen and (min-width: 897px) {
    .works_activityLink>a {
        border: 0.5px solid #d9d9db;
    }
}


/* その他の活動のホバー時のアニメーション */
@media screen and (min-width: 897px){
    .works_activityLink {
        width: 324px;
        margin: 0 auto;
        position: relative;
    }

    .works_activityLink a {
        text-align: center;
    }


    .works_activityLink>a::before {
        position: absolute;
        top: 0;
        left: 0;
        content: "";
        display: inline-block;
        width: 0;
        height: 0.5px;
        background: #00081A;
        transition: width 0.3s cubic-bezier(0.39, 0.575, 0.565, 1);
    }
    .works_activityLink>a:hover::before {
        width: 100%;
    }

    .works_activityLink>a::after {
        position: absolute;
        top: 100%;
        right: 0;
        content: "";
        display: inline-block;
        width: 0;
        height: 0.5px;
        background: #00081A;
        transition: width 0.3s cubic-bezier(0.39, 0.575, 0.565, 1);
    }
    .works_activityLink>a:hover::after {
        width: 100%;
    }

    .change_border1_inner {
        display: inline-block;
        width: 324px;
        height: 100%;
        margin: 0 auto;
    }
    .change_border1_inner::before {
        position: absolute;
        top: 0;
        right: 0;
        content: "";
        display: inline-block;
        width: 1.5px;
        height: 0;
        background: #00081A;
        transition: height 0.3s cubic-bezier(0.39, 0.575, 0.565, 1);
    }
    .works_activityLink>a:hover .change_border1_inner::before {
        height: 100%;
    }
    .change_border1_inner::after {
        position: absolute;
        bottom: 0;
        left: 0;
        content: "";
        display: inline-block;
        width: 0.5px;
        height: 0;
        background: #00081A;
        transition: height 0.3s cubic-bezier(0.39, 0.575, 0.565, 1);
    }
    .works_activityLink>a:hover .change_border1_inner::after {
        height: 100%;
    }
}



p {
    font-family: YakuHanMP, "Shippori Mincho", serif;
    line-height: 2;
    font-size: 14px;
    text-align: justify;
    /* テキストを両端揃え */
    word-break: break-all;
    /* 両端揃え時のレイアウト崩れ防止 */
}

@media screen and (min-width: 897px) {
    p {
        font-size: 16px;
    }

}


h2 {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 21px;
}

h3 {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 10px;
}

@media screen and (min-width: 897px) {
    h3 {
        font-size: 12px;
    }
}



section {
    text-align: center;
}

.heading2 {
    margin-bottom: 15px;
}

.works {
    margin-top: 120px;
    padding-top: 80px;
}

@media screen and (min-width: 897px) {
    .works {
        margin-top: 120px;
        padding-top: 80px;
        /* ページ内リンクの位置調整用 */
    }
}

/* 制作物一覧のリンク設定 */

/* ボックス全体にrelative */
.works_trend {
    position: relative;
}
/* aタグの設定 */
.works_trend a {
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}
/* ボックス全体にrelative */
.works_banner {
    position: relative;
}
/* aタグの設定 */
.works_banner a {
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}
/* ボックス全体にrelative */
.works_web {
    position: relative;
}
/* aタグの設定 */
.works_web a {
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}
/* ボックス全体にrelative */
.works_business {
    position: relative;
}
/* aタグの設定 */
.works_business a {
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}
/* ボックス全体にrelative */
.works_major {
    position: relative;
}
/* aタグの設定 */
.works_major a {
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}
/* ボックス全体にrelative */
.works_slide {
    position: relative;
}
/* aタグの設定 */
.works_slide a {
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}
/* ボックス全体にrelative */
.works_feed {
    position: relative;
}
/* aタグの設定 */
.works_feed a {
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}
/* ボックス全体にrelative */
.works_trace {
    position: relative;
}
/* aタグの設定 */
.works_trace a {
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}


@media screen and (max-width: 896px) {
    .flex_text p {
        display: none;
    }
}

@media screen and (max-width: 896px) {
    .works_flex section:nth-of-type(n+2) {
        margin-top: 49px;
    }
}

@media screen and (min-width: 897px) {
    .works_flex {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .works_flex section {
        width: 525px;
        height: 156px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        background-color: #d9d9db;
        margin-bottom: 15px;
    }


    .works_flex section:nth-of-type(2n+1) {
        margin-right: 15px;
    }

    .flex_text {
        width: 52%;
        margin-right: 13%;
    }

    .flex_text h4 {
        font-family: "Shippori Mincho", serif;
        font-size: 17px;
        font-weight: 800;
    }

    .works_flex div:first-of-type {
        width: 155px;
    }

    .works_flex p {
        line-height: 1.5;
        padding-top: 11px;
        font-size: 14px;
    }

    .works_flex img {
        width: 155px;
        height: 154px;
        object-fit: cover;
        border: 1px solid #f6f7f8;
        box-sizing: content-box;
    }
}


.footer_logo {
    margin-left: 44%;
}

@media screen and (min-width: 897px) {
    .footer_logo {
        width: 7%;
        margin-left: 47.3%;
    }

    .footer p:first-of-type {
        padding-top: 36px;
    }
}