/* 全体設定 */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Serif JP", serif;
    font-style: normal;
}

li {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* 背景テキスト */
.heading {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 13em;
    font-weight: 700;
    color: #d0a900;
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: 50px;
    transform: translate(250px, 90px);
    z-index: 5;
}

/* 各セクションのタイトル */
.title.fade-in.fade-in-up {
    font-family: "Times New Roman", 游明朝, YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho Pro", serif;
    font-weight: bold;
    font-size: 5em;
    color: #fdfdfd;
    text-align: center;
    transform: translateY(-50px);
}

/* 各セクションのカード型画像の共通CSS */
.img-box {
    display: flex;
}

.img-box:nth-child(n) {
    margin-top: 80px;
}

.img-box .img_card {
    margin-left: 50px;
    box-shadow: 0 0 10px #ddd;
}

.img-box .img_card:first-child {
    margin-left: 0;
}

.section3 .img-box .img_card img {}


.image_link {
    display: block;
    position: relative;
    text-decoration: none;
}

.image_link img {
    display: block;
    width: 100%;
    transition: 0.3s;
}

.image_link:before {
    content: "View More";
    display: block;
    color: #fff;
    text-shadow: 0 0 10px #000;
    line-height: 48px;
    width: 180px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -1em;
    margin-left: -90px;
    opacity: 0;
    z-index: 3;
    transition: 0.3s;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.2em;
}

.image_link:hover img {
    filter: blur(4px);
    transform: scale(1.1);
    border-radius: 10px;
}

.image_link:hover:before {
    opacity: 1;
    margin-top: -0.5em;
}


/* メインビジュアルテキストのアニメーション */
/* メインビジュアルタイトル（希望タイトル部分） */
.textanimation {
    font-size: 4em;
    font-weight: bold;
    text-shadow: 0 0 3px #f7f7f7;
}

@keyframes showTextFromBottom {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(0px);
    }
}

.textanimation span {
    animation: showText .5s backwards;
    display: inline-block;
}

.textanimation>span {
    overflow: hidden;
}

.textanimation>span>span {
    animation: showTextFromBottom 0.4s backwards;
}

/* メインビジュアルタイトル（希望タイトル小見出し部分） */
.textanimation.text {

    font-family: "Times New Roman", 游明朝, YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho Pro", serif;
    transform: translateY(-30px);
}


/* fade-inアニメーション */
.fade-in-left {
    transform: translate(-30px, 0);
}

.fade-in-right {
    transform: translate(30px, 0);
}

.scroll-in {
    opacity: 1;
    transform: translate(0, 0);
}

.fade-in {
    opacity: 0;
    transition-duration: 900ms;
    transition-property: opacity, transform;
}

.fade-in-up {
    transform: translate(0, 30px);
}

.fade-in-down {
    transform: translate(0, -30px);
}

.fade-in-left {
    transform: translate(-30px, 0);
}

.fade-in-right {
    transform: translate(30px, 0);
}

.scroll-in {
    opacity: 1;
    transform: translate(0, 0);
}






/********************
       ヘッダー 
*********************/
.header {
    display: flex;
    align-items: center;
    position: fixed;
    z-index: 100;
    top: 40px;
    left: 30px;
}

/* ヘッダーロゴ */
.header_logo {
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 0.12em;
    font-size: 2em;
    color: #fff;
    position: relative;
    z-index: 1000;
}

.header_logo span {
    color: #d0a900;
    font-size: 1.3em;
}

.header_logo a:visited {
    color: #fff;
}

.header_logo a {
    text-decoration: none;
    transition: all .3s;
}

/*========= ナビゲーションのためのCSS ===============*/

/*アクティブになったエリア*/
#g-nav.panelactive {
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position: fixed;
    z-index: 999;
    top: 0;
    width: 100%;
    height: 100vh;
}

/*丸の拡大*/
.circle-bg {
    position: fixed;
    z-index: 3;
    /*丸の形*/
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #000;
    /*丸のスタート位置と形状*/
    transform: scale(0);
    /*scaleをはじめは0に*/
    top: -50px;
    left: calc(50% - 50px);
    /*50%から円の半径を引いた値*/
    transition: all .6s;
    /*0.6秒かけてアニメーション*/
}

.circle-bg.circleactive {
    transform: scale(50);
    /*クラスが付与されたらscaleを拡大*/
}

/*ナビゲーションの縦スクロール*/
#g-nav-list {
    display: none;
    /*はじめは表示なし*/
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#g-nav.panelactive #g-nav-list {
    display: block;
    /*クラスが付与されたら出現*/
}

/*ナビゲーション*/
#g-nav ul {
    opacity: 0;
    /*はじめは透過0*/
    /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
}

/*背景が出現後にナビゲーションを表示*/
#g-nav.panelactive ul {
    opacity: 1;
}

/* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
#g-nav.panelactive ul li {
    animation-name: gnaviAnime;
    animation-duration: 1s;
    animation-delay: .2s;
    /*0.2 秒遅らせて出現*/
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes gnaviAnime {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


/*リストのレイアウト設定*/
#g-nav li {
    text-align: center;
    list-style: none;
}

#g-nav li a {
    color: #fff;
    text-decoration: none;
    padding: 30px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: bold;
    transition: all .3s;
}


#g-nav li a:hover {
    color: #d0a900;
}

/*========= ボタンのためのCSS ===============*/
.openbtn {
    position: fixed;
    z-index: 9999;
    /*ボタンを最前面に*/
    top: 30px;
    right: 30px;
    cursor: pointer;
    width: 50px;
    height: 50px;
}

.openbtn p {
    color: #d0a900;
    transform: translate(3px, 45px);
    font-size: 14px;
}

/*×に変化*/
.openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #fff;
    width: 45%;
}

.openbtn span:nth-of-type(1) {
    top: 15px;
}

.openbtn span:nth-of-type(2) {
    top: 23px;
}

.openbtn span:nth-of-type(3) {
    top: 31px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}


/********************
       メイン 
*********************/
/* スクロール */
/*スクロールダウン全体の場所*/
.scrolldown1 {
    /*描画位置※位置は適宜調整してください*/
    position: absolute;
    left: 50%;
    bottom: 10px;
    z-index: 10;
    /*全体の高さ*/
    height: 50px;
}

/*Scrollテキストの描写*/
.scrolldown1 span {
    /*描画位置*/
    position: absolute;
    left: -25px;
    top: -20px;
    /*テキストの形状*/
    color: #eee;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

/* 線の描写 */
.scrolldown1::after {
    content: "";
    /*描画位置*/
    position: absolute;
    top: 0;
    /*線の形状*/
    width: 1px;
    height: 30px;
    background: #eee;
    /*線の動き1.4秒かけて動く。永遠にループ*/
    animation: pathmove 1.4s ease-in-out infinite;
    opacity: 0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove {
    0% {
        height: 0;
        top: 0;
        opacity: 0;
    }

    30% {
        height: 30px;
        opacity: 1;
    }

    100% {
        height: 0;
        top: 50px;
        opacity: 0;
    }
}


/* メインビジュアル */
.mainvisual {
    height: 100vh;
    color: #fff;
    position: relative;
}

.mainvisual .filter {
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.2;
    position: absolute;
    bottom: 0;
    left: 0;
}

.mainvisual .container {
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 200px 0 0 0;
    z-index: 2;
}

.mainvisual .name {
    font-family: "Bebas Neue", sans-serif;
    margin-top: 140px;
    font-size: 3em;
    font-weight: 400;
    letter-spacing: 0.15em;
    transform-origin: center bottom;
    animation: yurayura 3.5s linear infinite;
}

@keyframes yurayura {

    0%,
    100% {
        transform: rotate(3deg);
    }

    50% {
        transform: rotate(-3deg);
    }
}

.mainvisual .name span {
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.3em;
    font-weight: 900;
    color: #d0a900;
}


.mainvisual h1 {
    font-family: "Zen Old Mincho", serif;
    font-weight: 700;
    margin-top: 80px;
    font-size: 5em;
    letter-spacing: 0.15em;
}

.mainvisual .text {
    margin-top: 70px;
    font-size: 2em;
    letter-spacing: 0.15em;
}

.mainvisual .text strong {
    font-size: 1.3em;
    color: #d0a900;
}

/* アバウト */
.section2 {
    background-image: url(../images/mainvisual.jpg);
    background-position: center bottom;
    background-size: cover;
    background-attachment: fixed;
    padding: 200px 0;
    position: relative;
    z-index: -2;
}

.section2 .filter2 {
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.8;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
}

.section2 .col {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 100px;
}

.section2 .col img {
    width: 50%;
    position: relative;
    z-index: 1;
    border-radius: 5px;
    background-attachment: fixed;
}

.section2 .col .profile_col {
    background-color: #fff;
    /* rgba(255,255,255,0.5) */
    padding: 80px;
    width: 50%;
    transform: translate(-70px, 140px);
    border-radius: 5px;
    box-shadow: 0 0 10px #f7f7f7;
    position: relative;
    z-index: 1;
}

.section2 .col .profile_col h2 {
    font-family: "Zen Old Mincho", serif;
    font-weight: 600;
    font-size: 40px;
    text-align: left;
}

.section2 .col .profile_col h2 span {
    color: #d0a900;
    font-family: "Zen Old Mincho", serif;
    font-weight: 600;
}

.section2 .col .profile_col p {
    margin-top: 40px;
    font-size: 18px;
    letter-spacing: 0.08em;
    line-height: 1.8;
    width: 100%;
}

/* ポートフォリオ */
.section3 {
    background-color: #000;
    padding: 200px 0;
    position: relative;
    z-index: 2;
}

.section3 .bg {
    background-color: #000;
    height: 900px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
}



/* HPの実績 */
.section4 {
    background-color: #212121;
    padding: 200px 0;
    position: relative;
    z-index: 2;
}

/* LPの実績 */
.section5 {
    background-color: #000;
    padding: 200px 0;
    position: relative;
    z-index: 2;
}

/* スライダーエリア */
.slider-area {
    background-color: #212121;
    padding: 200px 0;
    position: relative;
    z-index: 2;
}





/* お問い合わせ */
.section6 {
    background-color: #000;
    padding: 200px 0;
    position: relative;
    z-index: 2;
}

.section6 .text {
    text-align: center;
    font-size: 18px;
    color: #fff;
    margin-top: 50px;
}

/* お問い合わせフォーム */
/* レイアウト */
.cta {
    margin-top: 80px;
    padding: 30px 0;
    border-radius: 20px;
    background-color: #fff;
}

form {
    width: 70%;
    margin: 0 auto;
}

.form-row {
    display: flex;
    align-items: center;
    padding: 40px 40px;
    border-bottom: 1px solid #f2f4f5;
}

.form-row:last-child {
    border-bottom: none;
}

.form-label {
    display: flex;
    align-items: center;
    width: 250px;
}

.form-label label {
    font-weight: bold;
}

.form-label span {
    margin-left: 10px;
    padding: 5px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    background-color: #d0a900;
}

/* フォームパーツのデザイン */
input,
textarea {
    background-color: #f2f4f5;
    border: none;
    border-radius: 3px;
    padding: 20px 25px;
    font-size: 16px;
    color: #333;
    flex-grow: 1;
}

input::placeholder,
textarea::placeholder {
    color: #999;
    font-size: 14px;
}

select {
    background-color: #f2f4f5;
    border: none;
    border-radius: 3px;
    padding: 15px 20px;
    font-size: 16px;
    color: #333;
}

button {
    cursor: pointer;
    margin-top: 30px;
    padding: 20px 40px;
    border: none;
    border-radius: 3px;
    color: #fff;
    font-size: 16px;
    font-family: "Times New Roman", 游明朝, YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho Pro", serif;
    font-weight: normal;
    background-color: #000;
    width: 50%;
    transition: all .3s;
}

button:hover {
    background-color: #d0a900;
    font-weight: bold;
    border-radius: 40px;
}


/* フッター */
.footer {
    background-color: #a80101;
    padding: 70px 0;
    font-size: 16px;
    color: #fff;
}

.footer .col {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer .footer_logo {
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 0.12em;
    font-size: 2em;
    color: #fff;
    text-decoration: none;
}

.footer_logo span {
    color: #d0a900;
    font-size: 1.3em;
}

.footer_logo a:visited {
    color: #fff;
}

.footer_logo a {
    text-decoration: none;
    transition: all .3s;
}

.footer ul {
    display: flex;
    font-size: 18px;
}

.footer ul li {
    margin-left: 50px;
}

.footer ul li:first-child {
    margin-left: 0;
}

.footer ul li:visited {
    color: #fff;
}

.footer ul li a {
    text-decoration: none;
    transition: all .3s;
    color: #fff;
}

.footer ul li a:hover {
    color: #d0a900;
}

.footer p {
    text-align: center;
    margin: 70px 0 0px;
    font-size: 0.8em;
}


/* ページトップボタン */
/*リンクの形状*/
#page-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    border-radius: 5px;
    width: 60px;
    height: 60px;
    color: #000;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.6rem;
    transition: all 0.3s;
}

#page-top a:hover {
    color: #fff;
    background: #d0a900;
    transform: translateY(-10px);
    border-radius: 0;
}

/*リンクを右下に固定*/
#page-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 2;
    /*はじめは非表示*/
    opacity: 0;
    transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove {
    animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*　下に下がる動き　*/

#page-top.DownMove {
    animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: translateY(100px);
    }
}


/*========= LoadingのためのCSS ===============*/

/* Loading背景画面設定　*/
#splash {
    /*fixedで全面に固定*/
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 999;
    text-align: center;
    color: #fff;
}

/* Loading画像中央配置　*/
#splash_text {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 999;
    transform: translate(-50%, -50%);
    color: #fff;
    width: 100%;
}

/*IE11対策用バーの線の高さ※対応しなければ削除してください*/
#splash_text svg {
    height: 2px;
}

/*割れる画面のアニメーション*/
.loader_cover {
    width: 100%;
    height: 50%;
    background-color: #000;
    transition: all .2s cubic-bezier(.04, .435, .315, .9);
    transform: scaleY(1);
}

/*上の画面*/
.loader_cover-up {
    transform-origin: center top;
}

/*下の画面*/
.loader_cover-down {
    position: absolute;
    bottom: 0;
    transform-origin: center bottom;
}

/*クラス名がついたらY軸方向に0*/
.coveranime {
    transform: scaleY(0);
}


/* マウスストーカー */
#cursor {
    pointer-events: none;
    width: 40px;
    height: 40px;
    background-color: rgba(206, 206, 206, 0.1);
    position: fixed;
    top: -16px;
    left: -16px;
    z-index: 20;
    border-radius: 50%;
    transition: 0.15s;
}


/* スマホでは非表示 */
@media (max-width: 599px) {
    #cursor {
        display: none;
    }
}




@media screen and (max-width: 768px) {

    /******************
    　　　　共通
    *******************/
    /* 背景テキスト */
    .heading {
        font-family: "Bebas Neue", sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 4.8em;
        font-weight: 700;
        color: #d0a900;
        opacity: 0.2;
        position: absolute;
        top: -10px;
        left: 30px;
        transform: translate(0px, 60px);
        z-index: 5;
    }

    /* 各セクションのタイトル */
    .title.fade-in.fade-in-up {
        font-family: "Times New Roman", 游明朝, YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho Pro", serif;
        font-weight: bold;
        font-size: 2.5em;
        color: #fdfdfd;
        text-align: center;
        transform: translateY(-10px);
    }

    /* 各セクションのカード型画像の共通CSS */
    .img-box {
        display: flex;
        flex-direction: column;
        width: 90%;
        margin: 0 auto;
    }

    /* imgボックスの二番目の要素のマージンを0に */
    .img-box:last-child {
        margin-top: 0;
    }

    .img-box .img_card {
        margin-top: 40px;
        box-shadow: 0 0 10px #ddd;
        margin: 30px auto;
    }

    .image_link {
        display: block;
        position: relative;
        text-decoration: none;
    }

    .image_link img {
        display: block;
        width: 100%;
        transition: 0.3s;
    }

    .image_link:before {
        content: "View More";
        display: block;
        color: #fff;
        text-shadow: 0 0 10px #000;
        line-height: 48px;
        width: 180px;
        text-align: center;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: -1em;
        margin-left: -90px;
        opacity: 0;
        z-index: 3;
        transition: 0.3s;
        font-size: 1.6rem;
        font-weight: 500;
        letter-spacing: 0.2em;
    }

    .image_link:hover img {
        filter: blur(4px);
        transform: scale(1.1);
        border-radius: 10px;
    }

    .image_link:hover:before {
        opacity: 1;
        margin-top: -0.5em;
    }



    /********************
       ヘッダー 
    *********************/
    .header {
        display: flex;
        align-items: center;
        position: fixed;
        z-index: 100;
        top: 20px;
        left: 10px;
    }

    /* ヘッダーロゴ */
    .header_logo {
        font-family: "Bebas Neue", sans-serif;
        letter-spacing: 0.12em;
        font-size: 1.5em;
        color: #fff;
        position: relative;
        z-index: 1000;
    }

    .header_logo span {
        color: #d0a900;
        font-size: 1.3em;
    }

    .header_logo a:visited {
        color: #fff;
    }

    .header_logo a {
        text-decoration: none;
        transition: all .3s;
    }

    /*========= ナビゲーションのためのCSS ===============*/

    /*アクティブになったエリア*/
    #g-nav.panelactive {
        /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
        position: fixed;
        z-index: 999;
        top: 0;
        width: 100%;
        height: 100vh;
    }

    /*丸の拡大*/
    .circle-bg {
        position: fixed;
        z-index: 3;
        /*丸の形*/
        width: 100px;
        height: 100px;
        border-radius: 50%;
        background: #000;
        /*丸のスタート位置と形状*/
        transform: scale(0);
        /*scaleをはじめは0に*/
        top: -50px;
        left: calc(50% - 50px);
        /*50%から円の半径を引いた値*/
        transition: all .6s;
        /*0.6秒かけてアニメーション*/
    }

    .circle-bg.circleactive {
        transform: scale(50);
        /*クラスが付与されたらscaleを拡大*/
    }

    /*ナビゲーションの縦スクロール*/
    #g-nav-list {
        display: none;
        /*はじめは表示なし*/
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    #g-nav.panelactive #g-nav-list {
        display: block;
        /*クラスが付与されたら出現*/
    }

    /*ナビゲーション*/
    #g-nav ul {
        opacity: 0;
        /*はじめは透過0*/
        /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
        position: absolute;
        z-index: 999;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 20px;
    }

    /*背景が出現後にナビゲーションを表示*/
    #g-nav.panelactive ul {
        opacity: 1;
    }

    /* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
    #g-nav.panelactive ul li {
        animation-name: gnaviAnime;
        animation-duration: 1s;
        animation-delay: .2s;
        /*0.2 秒遅らせて出現*/
        animation-fill-mode: forwards;
        opacity: 0;
    }

    @keyframes gnaviAnime {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
        }
    }


    /*リストのレイアウト設定*/
    #g-nav li {
        text-align: center;
        list-style: none;
    }

    #g-nav li a {
        color: #fff;
        text-decoration: none;
        padding: 20px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.2em;
        font-weight: bold;
        transition: all .3s;
    }


    #g-nav li a:hover {
        color: #d0a900;
    }

    /*========= ボタンのためのCSS ===============*/
    .openbtn {
        position: fixed;
        z-index: 9999;
        /*ボタンを最前面に*/
        top: 10px;
        right: 10px;
        cursor: pointer;
        width: 50px;
        height: 50px;
    }

    .openbtn p {
        color: #d0a900;
        transform: translate(6px, 45px);
        font-size: 12px;
    }

    /*×に変化*/
    .openbtn span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #fff;
        width: 45%;
    }

    .openbtn span:nth-of-type(1) {
        top: 15px;
    }

    .openbtn span:nth-of-type(2) {
        top: 23px;
    }

    .openbtn span:nth-of-type(3) {
        top: 31px;
    }

    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }



    /******************
    　メインビジュアル
    *******************/
    /* メインビジュアルのテキストアニメーション */
    /* メインビジュアルタイトル（希望タイトル部分） */
    .textanimation {
        font-size: 1em;
        font-weight: bold;
        text-shadow: 0 0 3px #f7f7f7;
    }

    /* メインビジュアルタイトル（希望タイトル小見出し部分） */
    .textanimation.text {

        font-family: "Times New Roman", 游明朝, YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho Pro", serif;
        transform: translateY(-30px);
    }

    .mainvisual {
        background-image: url(../images/mainvisual.jpg);
        background-position: center bottom;
        background-size: cover;
        background-attachment: fixed;
        height: 80vh;
        color: #fff;
        position: relative;
    }

    .mainvisual .filter {
        width: 100%;
        height: 100%;
        background-color: #000;
        opacity: 0.6;
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: 1;
    }

    .mainvisual .container {
        margin: 0 auto;
        text-align: center;
        position: relative;
        z-index: 2;
        padding: 100px 0 0 0;
    }

    .mainvisual .name {
        font-family: "Bebas Neue", sans-serif;
        margin-top: 250px;
        font-size: 2em;
        font-weight: 400;
        letter-spacing: 0.15em;
        transform-origin: center bottom;
        animation: yurayura 3.5s linear infinite;
    }

    @keyframes yurayura {

        0%,
        100% {
            transform: rotate(3deg);
        }

        50% {
            transform: rotate(-3deg);
        }
    }

    .mainvisual .name span {
        font-family: "Bebas Neue", sans-serif;
        font-size: 1.2em;
        font-weight: 900;
        color: #d0a900;
    }


    .mainvisual h1 {
        font-family: "Zen Old Mincho", serif;
        font-weight: 600;
        margin-top: 60px;
        font-size: 2.2em;
        letter-spacing: 0.15em;
    }

    .mainvisual .text {
        margin-top: 70px;
        font-size: 1.2em;
        letter-spacing: 0.15em;
    }

    .mainvisual .text strong {
        font-size: 1.3em;
        color: #d0a900;
    }

    /******************
    　    アバウト
    *******************/
    /* アバウト */
    .section2 {
        background-color: #212121;
        padding: 100px 0;
        position: relative;
        z-index: -2;
    }

    .section2 .col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .section2 .col img {
        width: 100%;
        position: relative;
        z-index: 2;
        border-radius: 5px;
    }

    .section2 .col .profile_col {
        background-color: #fff;
        /* rgba(255,255,255,0.5) */
        padding: 30px 30px;
        width: 90%;
        transform: translate(0px, -100px);
        border-radius: 5px;
        box-shadow: 0 0 10px #f7f7f7;
        position: relative;
        z-index: 3;
    }

    .section2 .col .profile_col h2 {
        font-family: "Zen Old Mincho", serif;
        font-weight: 600;
        font-size: 2.5em;
        text-align: center;
    }

    .section2 .col .profile_col h2 span {
        color: #d0a900;
        font-family: "Zen Old Mincho", serif;
        font-weight: 600;
    }

    .section2 .col .profile_col p {
        margin-top: 40px;
        font-size: 18px;
        letter-spacing: 0.08em;
        line-height: 1.8;
        width: 90%;
    }

    /* ポートフォリオ */
    .section3 {
        background-color: #000;
        padding: 100px 0;
        position: relative;
        z-index: 2;
    }


    /* HPの実績 */
    .section4 {
        background-color: #212121;
        padding: 100px 0;
        position: relative;
        z-index: 2;
    }

    /* LPの実績 */
    .section5 {
        background-color: #000;
        padding: 100px 0;
        position: relative;
        z-index: 2;
    }

    /* スライダーエリア */
    .slider-area {
        background-color: #212121;
        padding: 100px 0;
        position: relative;
        z-index: 2;
    }

    /* お問い合わせ */
    .section6 {
        background-color: #000;
        padding: 100px 0;
        position: relative;
        z-index: 2;
    }

    .section6 .text {
        text-align: center;
        font-size: 18px;
        color: #fff;
        margin-top: 50px;
    }

    /* お問い合わせフォーム */
    /* レイアウト */
    .cta {
        margin-top: 80px;
        padding: 30px 0;
        border-radius: 20px;
        background-color: #fff;
    }

    form {
        width: 100%;
        margin: 0 auto;
    }

    .form-row {
        display: flex;
        align-items: center;
        padding: 40px 40px;
        border-bottom: 1px solid #f2f4f5;
    }

    .form-row:last-child {
        border-bottom: none;
    }

    .form-label {
        display: flex;
        align-items: center;
        width: auto;
    }

    .form-label label {
        font-weight: bold;
    }

    .form-label span {
        margin-left: 10px;
        padding: 5px 5px;
        border-radius: 3px;
        font-size: 0.7em;
        font-weight: bold;
        color: #fff;
        background-color: #d0a900;
    }

    /* フォームパーツのデザイン */
    input,
    textarea {
        background-color: #f2f4f5;
        border: none;
        border-radius: 3px;
        padding: 20px 25px;
        margin-left: 10px;
        font-size: 10px;
        color: #333;
        flex-grow: 1;
        width: 60%;

    }

    input::placeholder,
    textarea::placeholder {
        color: #999;
        font-size: 14px;
    }

    select {
        background-color: #f2f4f5;
        border: none;
        border-radius: 3px;
        padding: 15px 20px;
        font-size: 16px;
        color: #333;
    }

    button {
        cursor: pointer;
        display: block;
        margin-top: 20px;
        padding: 20px 40px;
        border: none;
        border-radius: 3px;
        color: #fff;
        font-size: 14px;
        font-family: "Times New Roman", 游明朝, YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho Pro", serif;
        font-weight: normal;
        background-color: #000;
        width: 100%;
        transition: all .3s;
    }

    button:hover {
        background-color: #d0a900;
        font-weight: bold;
        border-radius: 40px;
    }

    /************* 
        フッター
    *************/
    /* フッター */
    .footer {
        background-color: #a80101;
        padding: 70px 0;
        font-size: 16px;
        color: #fff;
    }

    .footer .col {
        display: flex;
        flex-direction: column;
    }

    .footer .footer_logo {
        font-family: "Bebas Neue", sans-serif;
        letter-spacing: 0.12em;
        font-size: 1.7em;
        color: #fff;
        text-decoration: none;
    }

    .footer_logo span {
        color: #d0a900;
        font-size: 1.3em;
    }

    .footer_logo a:visited {
        color: #fff;
    }

    .footer_logo a {
        text-decoration: none;
        transition: all .3s;
    }

    .footer ul {
        display: flex;
        font-size: 13px;
        margin-top: 40px;
    }

    .footer ul li {
        margin-left: 20px;
    }

    .footer ul li:first-child {
        margin-left: 0;
    }

    .footer ul li:visited {
        color: #fff;
    }

    .footer ul li a {
        text-decoration: none;
        transition: all .3s;
        color: #fff;
    }

    .footer ul li a:hover {
        color: #d0a900;
    }

    .footer p {
        text-align: center;
        margin: 50px 0 0px;
        font-size: 0.6em;
    }
}