@charset "UTF-8";

/* 共通部分
-----------------------------------------*/
html {
    font-size: 100%;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    background-color: #fff;
    background-image: url(../images/bg.svg);
    background-repeat: repeat-y;
    background-position: center;
    background-size: 100% auto;


    font-family: "Zen Kaku Gothic New", "YuGothic", "游ゴシック体", sans-serif;
    line-height: 1.7;
    color: #000000;

    margin: 0;
    padding: 0;
    margin-top: 0;
}

a {
    text-decoration: none;
}

h1 {
    font-size: 48px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    font-style: normal;
    margin: 0;
    padding: 0;
}

h2 {
    font-size: 32px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    font-style: normal;
    margin: 0;
    padding: 0;
}

h3 {
    font-size: 24px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    font-style: normal;
    margin: 0;
    padding: 0;
}

h4 {
    font-size: 20px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    padding: 0;
}

p {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

small {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    margin: 0;
    padding: 0;
}


/* MAIN
-----------------------------------------*/

.wrapper-1200 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.left-content {
    text-align: left;
}

img {
    pointer-events: none; 
    max-width: 100%;
    object-fit: cover;
    -webkit-touch-callout:none;
  -webkit-user-select:none;
  -moz-touch-callout:none;
  -moz-user-select:none;
  user-select:none;
  -webkit-touch-callout: none;
}

.yokonarabi {
    display: flex;
    justify-content: space-between;
}

/* WORKS関連
-----------------------------------------*/
.wrapper-works {
    margin: 0 auto;
    padding: 0 3% 0 10%;
    box-sizing: border-box;
}

.marginfrom40to80{
    margin-top: 40px;
}

/*==================================================
モーダルのためのcss
===================================*/
/*全て共通：hideエリアをはじめは非表示*/
.hide-area {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;

    height: 100%;
    background-color: rgba(0, 0, 0, 256.5);
    animation: fadeIn 0.3s ease;


}

/*全て共通：モーダルのボタンの色を変更したい場合*/
.modaal-close:after,
.modaal-close:before {
    background: #666;
}

.modaal-close:focus:after,
.modaal-close:focus:before,
.modaal-close:hover:after,
.modaal-close:hover:before {
    background: #000000;
}

.modaal-container {
    width:90vw;
    max-width: 968px;
    /* 画面幅の割合 */
    height: auto;
    /* 高さ自動 */
    
}



.modaal-text {
    margin-top: 16px;
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    align-content: stretch;
}

.modaal-text2 {
    margin-top: 16px;
    width: 30%;
    display: flex;
    flex-wrap: wrap;
    align-content: stretch;
}

.work-data {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    text-align: right;
    margin:0;
    padding: 0;
    margin-top: 24px;


}

.work-data ul {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 8px;
    list-style: none;
    margin-bottom: 0;
}

.work-data li {
    font-size: 14px;
    margin-left: 16px;
    text-align: right;
}



/*==================================================
モーダルのためのcss
===================================*/
/*==================================================
ギャラリーのためのcss
===================================*/
.works-yokonarabi {
    display: grid;
    padding: 0;
    margin: 0;
    gap: 32px;
    grid-template-columns: repeat(3, 1fr);
}

.works-yokonarabi li {
    /*各画像下に余白をつける*/
    list-style: none;
}

.works-yokonarabi img {
    object-fit: cover;
    overflow: hidden;
    vertical-align: bottom;
    margin: 0;
}

/*　横幅900px以下の段組み設定　*/

/*==================================================
ギャラリーのためのcss
===================================*/


/* 要素の設定（見出し、ボタン、画像）
-----------------------------------------*/
/* 見出し -------------------*/
.wrapper-title {
    padding: 0 3%;
}

.section-title h1 {
    font-family: "helvetica", sans-serif;
    font-style: bold;
    margin: 0;
    height: 64px;
}

.section-title h4 {
    margin: 0;
}

/* ライン -------------------*/
.line2 {
    width: 100%;
    height: 8px;
    border-bottom: 1px solid #000000;
}

.cover8 img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
}


/*==================================================
スライダーのためのcss
===================================*/

.modaal-image {
position: relative;
    margin-top: 16px;
    width: 42%;
    aspect-ratio: 2/3;
    
    /*border-radius: 8px;*/
    object-fit: cover;
    overflow: hidden;
    background-color: #f1f1f1;
    display: flex;
    align-items: center;
}

.modaal-image2 {
position: relative;
    margin-top: 16px;
    width: 65%;
   aspect-ratio: 5/4;
    /*border-radius: 8px;*/
    object-fit: cover;
    overflow: hidden;
    background-color: #f1f1f1;
    display: flex;
    align-items: center;
}

.slider {
    z-index: 1;
    width: 100%;
    height: auto;
    /*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
    
    /*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
    margin: 0;
    padding: 0;
}

.slick-track {
    display: flex;
    align-items: center;
}
/*矢印の設定*/



/*戻る、次へ矢印の位置*/
.slick-prev,
.slick-next {
    position: absolute;
    /*絶対配置にする*/
    z-index: 3;
    top: 48%;
    cursor: pointer;
    /*マウスカーソルを指マークに*/
    outline: none;
    /*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #ccc;
    /*矢印の色*/
    border-right: 2px solid #ccc;
    /*矢印の色*/
    height: 10px;
    width: 10px;
}

.slick-prev {
    /*戻る矢印の位置と形状*/
    left: 2.5%;
    transform: rotate(-135deg);
}

.slick-next {
    /*次へ矢印の位置と形状*/
    right: 2.5%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
    position: absolute;
    z-index: 3;
    text-align: center;
    transform: translate(-50%, -50%);
    top: 97%;
    left: 50%;
    margin: 0 0 0 0;
    padding: 4px;
    font-size: 0;
}

.slick-dots li {
    display: inline-block;
    width: auto;
    height: auto;
    margin: 0;
    padding: 4px;
    
 

}

.slick-dots button {
    margin: 0;
    padding: 0;
    color: transparent;
    outline: none;
    border: none;
    width: 6px;
    height: 6px;
    /*ドットボタンのサイズ*/
    display: block;
    border-radius: 50%;
    background: #ccc;
    /*ドットボタンの色*/
}

.slick-dots .slick-active button {
    background: #333;
    /*ドットボタンの現在地表示の色*/
}

.card-img {
    overflow: hidden;
    border-radius: 8px;
}

.card-img img {
    transition: all 1.0s;
}

.card-img:hover img {
    background: #f1f1f1;
    transform: scale(1.2);
}



.fadeUpTrigger {
    opacity: 0;
}

.fadeUpTrigger2 {
    opacity: 0;
}

.fadeUp {
    animation-name: fadeUpAnime;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(56px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*=========================== ヘッダーCSS =================================*/
.logo {
    max-width: 100%;
    height:40px;
    margin-top: 8px;
}


.blue {
    background-color: rgba(228, 206, 157, 1.0);
    background-image: linear-gradient(-60deg, #00cdacbb 0%, #8ddad5bb 100%);
    border-radius: 8px;
}

.orange {
    background-color: rgba(228, 206, 157, 1.0);
    background-image: linear-gradient(-60deg, #fc6076bb 0%, #ff9a44bb 100%);
    border-radius: 8px;
    color: #fff;
}

.text-white {
    color: #fff;
}

/*==ナビゲーション全体の設定*/
/*ナビゲーションを横並びに*/
nav ul {
    list-style: none;
    display: flex;

    justify-content: center;
}

/*2階層目以降は横並びにしない*/
nav ul ul {
    display: block;
}

/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
nav ul li {
    position: relative;
    font-size: 16px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    font-style: normal;
    margin: 0 4px;
    padding: 0;
}

/*ナビゲーションのリンク設定*/
nav ul li a {
    display: block;
    text-decoration: none;
    color: #000;
    padding: 10px 16px;
    transition: all .3s;
}

nav ul li li a {
    padding: 4px 16px;
    font-size: 16px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
}

nav ul li a:hover {
    color: rgba(228, 206, 157, 1.0);
}

/*==矢印の設定*/

/*2階層目を持つliの矢印の設定*/
nav ul li.has-child::before {
    content: '';
    position: absolute;
    left: 0px;
    top: 20px;
    width: 4px;
    height: 4px;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    transform: rotate(135deg);
}

/*下の階層ulの指定*/
nav li.has-child ul {
    /*絶対配置で位置を指定*/
    position: absolute;
    left: -70px;
    top: 70px;
    z-index: 4;
    /*形状を指定*/
    background-color: rgba(228, 206, 157, 1.0);
    background-image: linear-gradient(-60deg, #00cdacbb 0%, #8ddad5bb 100%);
    border-radius: 8px;
    width: 240px;
    /*はじめは非表示*/
    visibility: hidden;
    opacity: 0;
    /*アニメーション設定*/
    transition: all .3s;
    text-align: left;
    padding: 0 0 8px 8px;
}

/*hoverしたら表示*/
nav li.has-child:hover>ul,
nav li.has-child ul li:hover>ul,
nav li.has-child:active>ul,
nav li.has-child ul li:active>ul {
    visibility: visible;
    opacity: 1;
}

/*ナビゲーションaタグの形状*/
nav li.has-child ul li a {
    color: #fff;
    border-bottom: solid 1px rgba(255, 255, 255, 0.6);
    padding: 8px;
    width: 220px;
}

nav li.has-child ul li:last-child>a {
    border-bottom: none;
}

nav li.has-child ul li a:hover,
nav li.has-child ul li a:active {
    color: #432;
}

/*===========================（終了） ヘッダーCSS =================================*/

/*========= スクロール途中でヘッダーが表示＆非表示するためのCSS ===============*/

#header {
    /*fixedで上部固定*/
    position: fixed;
    height: 70px;
    width: 100%;
    z-index: 999;
    /*最前面へ*/
    /*以下はレイアウトのためのCSS*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-image: url(../images/bg.svg);
    background-position: center;
    background-size: 100% auto;
    color: #000;
    text-align: center;
    padding: 16px;
    margin: 0;
}

/*　上に上がる動き　*/
#header.UpMove {
    animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-100px);
    }
}

/*　下に下がる動き　*/
#header.DownMove {
    animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }

    to {
        opacity: 1;
        transform: translateY(-0px);
    }
}

/*========= （終了）スクロール途中でヘッダーが表示＆非表示するためのCSS ===============*/

/*===========================フッターCSS =================================*/
.logo-footer {
    max-width: 100%;
    height: 40px;
    margin: 0;
    padding: 0;
}

.icon-footer {
    width: 40px;
    margin: 0;
    padding: 0;
}

.footer-icon {
    display: flex;
    flex-direction: row;

    gap: 24px;
    margin: 0;
    padding: 0;

}

.footer-nav {
    display: flex;
    justify-content: flex-end;
    text-transform: uppercase;
    list-style: none;

}

.footer-nav a {
    font-size: 14px;
    color: #ffffff;
    padding: 0;
    margin: 8px 0 8px 16px;
}

.footer-nav a:hover {
    color: rgba(228, 206, 157, 1.0);
}

.fullsize-footer {
    width: 100%;
    height: 160px;
    background-color: rgba(228, 206, 157, 1.0);
    background-image: linear-gradient(-60deg, #00cdacbb 0%, #8ddad5bb 100%);
    padding: 0;
    margin: 0;
}

.page-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wrapper-footer {
    height: 160px;
    margin: 0 auto;
    padding: 0 3%;
}

/*===========================（終了） フッターCSS =================================*/




@media screen and (max-width:1024px) {
    .works-yokonarabi {
    display: grid;
    padding: 0;
    margin: 0;
    gap: 16px;
    grid-template-columns: repeat(2, 1fr);
}

.wrapper-works {
    margin: 0 auto;
    padding: 0 3%;
    box-sizing: border-box;
}

.marginfrom40to80{
    margin-top: 40px;
}
}


@media screen and (max-width:820px) {

    /*-----------全ページ共通-----------------------------------------------------------------------------*/
    body {
        line-height: 1.7;
    }

    a {
        text-decoration: none;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 18px;
    }

    h3 {
        font-size: 18px;
    }

    h4 {
        font-size: 16px;
    }

    p {
        font-size: 14px;
    }

    small {
        font-family: "Zen Kaku Gothic New", sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 12px;
        margin: 0;
        padding: 0;
    }

     .wrapper-1200 {
        padding: 0 5%;
    }


    /* 要素の設定（見出し、ボタン、画像）
-----------------------------------------*/
    /* 見出し -------------------*/

    .section-title h1 {
        margin: 0;
        height: 32px;
        font-size: 24px;
    }

    .section-title h4 {
        margin: 0;
    }


    /*-----------（終了）全ページ共通-----------------------------------------------------------------------------*/

    .marginfrom40to80{
    margin-top: 80px;
}

.yokonarabi{
    flex-direction: column;
}

.modaal-image {
position: relative;
    margin-top: 16px;
    width: 100%;
    aspect-ratio:unset;
    
    /*border-radius: 8px;*/
    object-fit: cover;
    overflow: hidden;
    background-color: #f1f1f1;
    display: flex;
    align-items: center;
}

.modaal-image2 {
position: relative;
    margin-top: 16px;
    width: 100%;
   aspect-ratio:unset;
    /*border-radius: 8px;*/
    object-fit: cover;
    overflow: hidden;
    background-color: #f1f1f1;
    display: flex;
    align-items: center;
}



.modaal-text {
    margin-top: 16px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: stretch;
}

.modaal-text2 {
    margin-top: 16px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: stretch;
}

.work-data li {
    font-size: 12px;
    margin-left: 12px;
    text-align: right;
}



    nav li.has-child ul {
        display: none;
        /*JSのslidetoggleで表示させるため非表示に*/
    }

    nav ul li a {
        display: block;
        text-decoration: none;
        color: #000;
        padding: 16px 32px;
        transition: all .3s;
        border-bottom: 1px solid #94cba9;
        margin-left: 16px;
        margin-right: 16px;
    }

    nav ul li.has-child::before {
        display: none;
    }

    .blue {
        background: transparent;
    }

    .orange {
        background: transparent;
    }

    .text-white {
        color: #000;
    }

    .margin-about {
        margin-top: 80px;
    }

    nav li.has-child:hover>ul,
    nav li.has-child ul li:hover>ul,
    nav li.has-child:active>ul,
    nav li.has-child ul li:active>ul {
        visibility: hidden;

    }

    /*========= ボタンのためのCSS ===============*/

    /*ボタン全体の形状*/
    .openbtn {
        /*ボタンの位置*/
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 999;
        /*ボタンの形状*/
        background-color: rgba(228, 206, 157, 1.0);
        background-image: linear-gradient(-60deg, #00cdacbb 0%, #8ddad5bb 100%);
        cursor: pointer;
        width: 50px;
        height: 50px;
        border-radius: 8px;
    }

    /*ボタンのアイコン設定*/
    .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;
    }

    /*activeクラスが付与された後のボタンのアイコン設定*/
    .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%;
    }


    /*メニューボタンをクリックした際に付与されるpanelactiveクラスがついたら*/


    /*sp版ヘッダーのテキストナビゲーションの形状*/
    #header #g-navi {
        /*固定位置にして最背面に*/
        position: fixed;
        top: 0;
        left: 0;
        z-index: -1;
        /*高さと幅*/
        width: 100%;
        height: 100vh;
        /*天地中央＆テキスト中央揃え*/
        display: block;
        justify-content: start;
        align-items: center;
        text-align: center;
        /*はじめは透過0に*/
        opacity: 0;
        transition: all 0.4s;
        background-image: url(../images/bg.svg);
        background-repeat: repeat-y;
        background-position: center;
        background-size: 100% auto;
    }

    /*メニューボタンをクリックした際に付与されるpanelactiveクラスがついたナビゲーションの形状*/
    #header.panelactive #g-navi {
        opacity: 1;
        /*不透明に*/
        z-index: 3;
        /*最前面に*/
    }

    #header.panelactive #g-navi ul {
        display: block;
        /*flexの横並びをblockにして縦並びに*/
    }

   #header.panelactive #g-navi {
        pointer-events: auto;
        /*flexの横並びをblockにして縦並びに*/
    }

    /*========= （終了）ボタンのためのCSS ===============*/

     #g-navi{
        display:none;
        opacity: 0;
        pointer-events: none;
        /*透過0にして非表示に*/
    }

    #header.panelactive {
        position: relative;
        z-index: 100;
        opacity: 1;
        /*不透明にして出現*/
    }
    /*非表示機能をリセット*/
    #header.panelactive.UpMove {
        animation: none;
    }

    #header.panelactive.DownMove {
        animation: none;
    }

    /*========= FOOTERのためのCSS ===============*/
    .fullsize-footer {
        position: relative;
        z-index: 1000;
        width: 100%;
        height: 100%;
        background-color: rgba(228, 206, 157, 1.0);
        background-image: linear-gradient(-60deg, #00cdacbb 0%, #8ddad5bb 100%);
        padding: 0;
        margin: 0;
    }

    .wrapper-footer {
        height: 100%;
        margin: 0 auto;
        padding: 0 3%;
    }

    .footer-nav {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        text-transform: uppercase;
        list-style: none;
        padding: 0;
        margin: 32px 0;
        text-align: center;
    }

    .footer-nav ul li a {
        display: block;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .page-footer {
        display: flex;
        flex-direction: column-reverse;
        flex-wrap: wrap-reverse;
        justify-content: center;
        align-content: center;
    }

    .footer-icon {
        justify-content: center;
        margin-bottom: 16px;
    }

    .footer-nav a {
        padding: 0;
        margin: 0 0 16px 0;
        border-bottom: none;
    }

    /*========= （終了）FOOTERのためのCSS ===============*/
}




/*==（終了）820px以下の形状=================================================================================================*/