@charset "UTF-8";

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Klee One', cursive;
    color: #333;
}

header {
    background-color: rgba(95, 101, 30, 0.7);
    height: 300px;
}

.top-logo {
    position: fixed;
    top: 15px;
    left: 15px;
    width: 120px;
    z-index: 999;
}

.top-logo img {
    width: 100%;
}

.g-nav {
    position: fixed;
    top: 47px;
    right: 50px;
    z-index: 9999;
}

.g-nav-list ul {
    display: flex;
    gap: 40px;
}

.g-nav-list a {
    font-size: 24px;
    color: #333;
    position: relative;
    text-decoration: none;
    /*デフォルトで下線を非表示*/
}

/** 下線を右から引く **/
.g-nav-list a:after {
    position: absolute;
    bottom: -2px;
    left: 0;
    content: "";
    width: 100%;
    height: 1.5px;
    /*下線の太さ*/
    background: #333;
    /*下線の色*/
    transition: transform .3s;
    /*アニメーション速度*/
    transform-origin: right top;
    /*アニメーションの起点*/
    transform: scale(0, 1);
    /*幅は0*/
    opacity: 0.5;
}

.g-nav-list a:hover:after {
    transform-origin: left;
    transform: scale(1, 1);
    /*幅を1に*/
}


.main_color {
    background-color: rgba(95, 101, 30, 0.7);
    width: 100%;
    height: 400px;
}

.white_color {
    background-color: rgba(255, 255, 255, 0.4);
    width: 100%;
    height: 60%;
    font-family: 'Mooli', sans-serif;
}

h1 {
    font-size: 30px;
    margin-left: 100px;
    margin-right: 100px;
    padding-top: 55px;
    padding-bottom: 17px;
}

h2 {
    font-size: 36px;
    margin-left: 120px;
    margin-bottom: 50px;
}

.white_color p {
    font-size: 72px;
    color: #d3d3d3;
    margin: 0 50px;
    opacity: 0.9;
}

.white_color p span {
    font-size: 96px;
    padding: 0 5px;
    opacity: 0.5;
}

.section_Profile h2 {
    margin-left: 100px;
}

.Profile_text {
    max-width: 850px;
    margin: 0 auto;
}

.Profile_text p {
    font-size: 20px;
    line-height: 1.5em;
    letter-spacing: 1.5px;
    margin: 0 50px;
}

.Profile_text p:first-child {
    margin-bottom: 20px;
}

.Profile_text p:nth-child(3) {
    margin-bottom: 20px;
}

.section_Profile {
    padding-top: 200px;
    padding-bottom: 200px;
    background-image: url(../image/back-image.jpg);
    background-repeat: no-repeat;
    background-size: contain;
    background-attachment: fixed;
    background-position: center;
}

.Introduction-box {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(95, 101, 30, 0.7);
    width: 100%;
}

.Introduction-box-white {
    margin: 50px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50px;
}

.Introduction-box h2 {
    display: inline-block;
    margin-top: 100px;
    margin-left: 80px;
}

.Introduction-box-content {
    margin-bottom: 50px;
}

.Introduction-box-content h4 {
    font-size: 20px;
    margin: 0 30px 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
    display: inline-block;
}

.Introduction_box-text {
    margin-left: 50px;
    margin-bottom: 30px;
}

.Introduction_box-text li {
    margin-bottom: 10px;
    line-height: 1.8em;
    font-weight: bold;
}

.Introduction_box-text li span {
    font-weight: 400;
}

.Introduction_box-text li span::before {
    content: "・・・";
}

.Introduction-box-content ul {
    list-style: none;
}

.Introduction-box h3 {
    font-size: 20px;
    margin-left: 30px;
    margin-bottom: 50px;
}

.Introduction-box-fav h3 {
    margin-bottom: 20px;
}

.Introduction-box-fav p {
    margin: 0 50px 20px;
    line-height: 1.8em;
}

.Introduction-box-fav p:last-child {
    margin-bottom: 50px;
}

.Works_content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 40px;

}

.Works_box {
    max-width: 360px;
    height: auto;
    margin: 50px 50px 50px;
    border: 1px solid #5f651e;
}

.Works_box:hover {
    cursor: pointer;
}

.Works_box a {
    text-decoration: none;
}

.Works_box_image {
    max-width: 360px;
    height: auto;
    box-sizing: border-box;
}

.Works_box_image img {
    width: 100%;
    height: auto;
    box-sizing: border-box;
    display: block;
}

.Works_box_title {
    max-width: 360px;
    height: 80px;
    background-color: rgba(95, 101, 30, 0.7);
    box-sizing: border-box;
}

.Works_box_title p {
    font-size: 24px;
    text-align: center;
    line-height: 80px;
    color: #fff;
    box-sizing: border-box;
}

.Works_box_title p span {
    font-size: small;
}

.Works_box_title p span::before {
    content: "※";
    padding-left: 10px;
}

.section_banner h2 {
    margin-top: 200px;
}

.banner_content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 50px;

}

.banner_box {
    width: 300px;
    height: 305px;
    margin: 50px 30px;
    border: 1px solid #5f651e;
}

.banner_box a {
    text-decoration: none;
}

.banner_box a:hover {
    opacity: 0.5;
    transition: 0.5s;
}

.banner_box_image {
    width: 300px;
    height: 225px;
}

.banner_box_image img {
    width: 100%;
    height: 225px;
    object-fit: cover;
}

.banner_box_title {
    width: 300px;
    height: 80px;
    background-color: rgba(95, 101, 30, 0.7);
}

.banner_box_title p {
    font-size: 24px;
    text-align: center;
    line-height: 80px;
    color: #fff;
}

.banner_box_title p span {
    font-size: small;
}

.banner_box_title p span::before {
    content: "※";
    padding-left: 10px;
}

footer {
    width: 100%;
    height: 116px;
    background-color: rgba(95, 101, 30, 0.7);
}

.section_Works {
    margin-bottom: 200px;
    margin-top: 200px;
}

footer p {
    text-align: center;
    padding: 50px;
}

.fadeUpTrigger {
    opacity: 0;
}

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

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

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

}

.fadeUpTrigger2 {
    opacity: 0;
}

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

@keyframes fadeUpAnime2 {
    from {
        opacity: 0;
        transform: translatex(-100px);
    }

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

.banner-header {
    background-color: rgba(95, 101, 30, 0.7);
    height: 150px;
}

.banner-nav-list {
    display: flex;
    margin: 50px 50px 0;
}

.banner-nav-list a {
    text-decoration: underline;
    color: #294866;
}

.banner-nav-list li:first-child::after {
    content: ">";
    font-size: 20px;
    padding: 0 20px;
}

.banner-nav-list li {
    font-size: 20px;
}

.section_banner {
    margin-bottom: 100px;
}

.section_banner h2 {
    margin-top: 100px;
}

.section_works_page h2 {
    margin-top: 100px;
}

.section_works_content_box_image {
    max-width: 600px;
    height: auto;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.section_works_content_box_image:hover {
    opacity: 0.7;
    transition: 0.3s;

}

.section_works_content_box_image img {
    width: 100%;
    height: auto;
    border: 1px solid #5f651e;
}

.section_works_content_box_title dl {
    max-width: 680px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.section_works_content_box_title dt {
    font-size: 24px;
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 1px solid #5f651e;
    color: #5f651e;
    text-align: center;
    margin-bottom: 20px;
}

.section_works_content_box_title dt span {
    font-size: small;
}

.section_works_content_box_title dt span::before {
    content: "(";
    padding-left: 5px;
}

.section_works_content_box_title dt span::after {
    content: ")";
}

.section_works_content_box_title dd {
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.8em;
}

/*== ボタン共通設定 */
.btn {
    /*アニメーションの起点とするためrelativeを指定*/
    position: relative;
    overflow: hidden;
    /*ボタンの形状*/
    text-decoration: none;
    display: inline-block;
    border: 1px solid #555;
    /* ボーダーの色と太さ */
    padding: 10px 30px;
    text-align: center;
    outline: none;
    /*アニメーションの指定*/
    transition: all 0.8s;
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 100px;
}

/*ボタン内spanの形状*/
.btn span {
    position: relative;
    z-index: 3;
    /*z-indexの数値をあげて文字を背景よりも手前に表示*/
    color: #333;
}

.btn:hover span {
    color: #fff;
}

/*== 背景が流れる（上から下） */
.bgtop:before {
    content: '';
    /*絶対配置で位置を指定*/
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    /*色や形状*/
    background: #5f651e;
    /*背景色*/
    width: 100%;
    height: 0;
    /*アニメーション*/
    transition: all 0.8s;
}

/*hoverした際の形状*/
.bgtop:hover:before {
    height: 100%;
    background-color: #5f651e;
}



@media screen and (max-width:1000px) {
    .white_color {
        display: block;
        height: 70%;
        text-align: center;
    }

    .white_color p {
        font-size: 64px;
        color: #d3d3d3;
        margin: 0 100px;
        opacity: 0.9;
    }

    .white_color p {
        padding-top: 40px;
    }

    .section_Profile {
        padding-top: 150px;
        padding-bottom: 150px;
        background-image: url(../image/back-image-sp.jpg);

    }

}



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

    #g-nav {
        /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
        position: fixed;
        z-index: 998;
        /*ナビのスタート位置と形状*/
        top: -120%;
        left: 0;
        width: 100%;
        height: 145px;
        /*ナビの高さ*/

        /*動き*/
        transition: all 0.6s;
    }

    /*アクティブクラスがついたら位置を0に*/
    #g-nav.panelactive {
        top: 0;
    }

    /*ナビゲーションの縦スクロール*/
    #g-nav.panelactive #g-nav-list {
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 998;
        width: 100%;
        height: 145px;
        /*表示する高さ*/
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        background-color: rgba(255, 255, 255, 0.4);
    }

    /*ナビゲーション*/
    #g-nav ul {
        /*ナビゲーション天地中央揃え*/
        position: absolute;
        z-index: 999;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /*リストのレイアウト設定*/

    #g-nav li {
        list-style: none;
        text-align: center;
    }

    #g-nav li a {
        color: #333;
        padding: 8px;
        display: block;
        letter-spacing: 0.1em;
        font-weight: bold;
    }

    #g-nav-list a {
        font-size: 20px;
        color: #333;
        position: relative;
        text-decoration: none;
        /*デフォルトで下線を非表示*/
    }

    /** 下線を右から引く **/
    #g-nav-list a:after {
        position: absolute;
        bottom: 1px;
        left: 0;
        content: "";
        width: 100%;
        height: 1px;
        /*下線の太さ*/
        background: #333;
        /*下線の色*/
        transition: transform .3s;
        /*アニメーション速度*/
        transform-origin: right top;
        /*アニメーションの起点*/
        transform: scale(0, 1);
        /*幅は0*/
    }

    #g-nav-list a:hover:after {
        transform-origin: left;
        transform: scale(1, 1);
        /*幅を1に*/
    }




    /*========= ボタンのためのCSS ===============*/
    .openbtn {
        /*ボタン内側の基点となるためrelativeを指定。
    追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
        position: fixed;
        cursor: pointer;
        width: 50px;
        height: 50px;
        top: 8px;
        right: 10px;
        z-index: 999;
    }

    /*ボタン内側*/
    .openbtn span {
        display: inline-block;
        transition: all .4s;
        /*アニメーションの設定*/
        position: absolute;
        left: 14px;
        height: 2px;
        border-radius: 5px;
        background: #333;
        width: 45%;
    }


    .openbtn span:nth-of-type(1) {
        top: 13px;
    }

    .openbtn span:nth-of-type(2) {
        top: 19px;
    }

    .openbtn span:nth-of-type(3) {
        top: 25px;
    }

    .openbtn span:nth-of-type(3)::after {
        content: "Menu";
        /*3つ目の要素のafterにMenu表示を指定*/
        position: absolute;
        top: 5px;
        left: -2px;
        color: #333;
        font-size: 0.6rem;
        text-transform: uppercase;
    }

    /*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/

    .openbtn.active span:nth-of-type(1) {
        top: 14px;
        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: 26px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(3)::after {
        content: "Close";
        /*3つ目の要素のafterにClose表示を指定*/
        transform: translateY(0) rotate(-45deg);
        top: 5px;
        left: 4px;
    }

    .white_color {
        text-align: center;
    }

    .white_color h1 {
        font-size: 20px;
        margin: 0 20px;
    }

    .white_color p {
        margin: 0 20px;
        box-sizing: border-box;
        font-size: 36px;
    }

    .white_color p span {
        font-size: 48px;
    }


    h2 {
        font-size: 24px;
        text-align: center;
        margin-left: 0;
    }

    .section_Profile h2 {
        margin-left: 0;
    }

    .Introduction-box-white {
        margin: 30px 20px;
    }

    .Introduction-box h2 {
        display: block;
        margin: 0;
        padding: 100px 0 50px;
    }

    .Introduction-box h3 {
        font-size: 18px;
        text-align: center;
        margin-left: 0;
    }

    .Introduction-box-content {
        margin: 0 20px 50px;
    }

    .Introduction-box p {
        font-size: 18px;
        margin: 0 30px 30px;
        line-height: 1.5em;
    }

    .Introduction-box-content h4 {
        margin-left: 10px;
    }

    .Introduction-box-content ul {
        margin-left: 20px;
        margin-bottom: 50px;
        font-size: 16px;
    }

    .Introduction_box-text {
        display: block;
        font-size: 18px;
    }

    .Introduction_box-text li::after {
        content: none;
    }

    .Profile_text p {
        font-size: 18px;
        margin: 0 20px;
        line-height: 1.5em;
    }

    #g-nav ul {
        display: block;
    }

    #g-nav a {
        font-size: 14px;
    }

    .top-logo {
        top: 5px;
        left: 5px;
        width: 60px;
        z-index: 999;

    }

    .banner_content {
        margin: 0 auto;
    }

    .Works_content {
        margin: 0 20px;
    }

    .Works_box {
        margin: 50px auto;
    }

    .banner-nav-list {
        margin-left: 20px;
    }

    .section_works_content_box_title dt {
        font-size: 24px;
    }

    .section_works_content_box_title dd {
        font-size: 16px;
    }
}