@charset "UTF-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    cursor: none; /*もともとあるカーソルは見えなくなるようにする*/
}

img {
    max-width: 100%;
    vertical-align: bottom;
}
body {
    position: relative;
    background-image: url(../img/bgi.svg);
    background-repeat: repeat;
    background-attachment: fixed;
    background-size: 110%;
    background-position: -10px -10px;
    min-height: 100vh;

    font-family: "Murecho", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    color: #8e2d00;
}
h2,
h3,
h4,
dt p {
    font-family: "Potta One", system-ui;
    font-weight: 400;
    font-style: normal;
    font-size: 30px;
    color: #b2582e;
}

li a:hover {
    opacity: 0.6;
    transition: 0.3s;
}
.innr-body {
    width: 100%;
    margin: 0 auto;
}
/* ヘッダー共通↓ */
header .inner-header {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    height: 100px;
}
header .inner-header h1 {
    font-family: "Potta One", system-ui;
    font-weight: 400;
    font-style: normal;
    font-size: 160%;
    background-color: #4d7c0f;
    padding: 5px 10px;
    border: antiquewhite solid 4px;
    border-radius: 25px;
    margin: 2px;
    transition: 0.3s;
    width: 75%;
    max-width: 300px;
}
header .inner-header h1:hover {
    border: rgb(210, 173, 125) solid 4px;
    transition: 0.3s;
}
header .inner-header h1 p {
    color: antiquewhite;
    text-align: center;
    width: 100%;
}
header .inner-header h1 a:hover p {
    color: rgb(210, 173, 125);
    transition: 0.3s;
}

header .inner-header h1 .logo1 {
    font-size: 80%;
}
header .inner-header nav {
    display: none;
    pointer-events: none;
}
@media screen and (min-width: 980px) {
    header .inner-header {
        width: 71.5%;
        display: flex;
        justify-content: space-between;
        position: fixed;
        top: 5px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 98;
    }
    header .inner-header nav {
        width: 100%;
        display: block;
        pointer-events: auto;
    }
    header .inner-header nav ul {
        display: flex;
        gap: 15px;
        width: 100%;
        padding: 15px;
    }
    header .inner-header nav ul li {
        width: 100%;
        height: 60px;
        padding: 0px 0;
        background-color: rgb(240, 234, 137);
        border-radius: 20px;
    }
    header .inner-header nav ul li a {
        color: antiquewhite;
        display: block;
        width: 100%;
        height: 100%;
        background-color: #4d7c0f;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.3s;
    }
    header .inner-header nav ul li a:hover {
        opacity: 0.6;
    }
}
/* ヘッダー共通↑ */
#cursor {
    position: fixed;
    z-index: 100; /*一番手前に来るように*/
    margin: -3px 0 0 -3px;
    pointer-events: none; /*クリックできなくなるのを防ぐため。noneで対応*/
    opacity: 0;
}
#cursor img {
    width: 50px;
    height: 50px;
    min-width: 50px;
}

/* ham↓ */
.ham {
    width: 60px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 40;
    position: fixed;
    right: 1%;
    top: 20px;
}
.ham span {
    display: block;
    width: 60px;
    height: 7px;
    background-color: #8e2d00;
    border-radius: 20px;
    transition: 0.8s;
}
.ham.active span:nth-child(1) {
    translate: 0 20px;
    rotate: 40deg;
    transition: 0.8s;
}
.ham.active span:nth-child(2) {
    opacity: 0;
}
.ham.active span:nth-child(3) {
    translate: 0 -22px;
    rotate: -40deg;
    transition: 0.8s;
}
@media screen and (min-width: 980px) {
    .ham {
        display: none;
    }
}
/* ham↑ */

/* メイン↓ */
main {
    width: 100%;

    background-color: #fffbe2d9;
    border-radius: 10px;
    margin: 10px auto 0px;
    padding: 40px 40px 60px 40px;
}
@media screen and (min-width: 980px) {
    main {
        width: 70%;
        padding-bottom: 100px;
        margin-top: 140px;
    }
}

section#sakuhin {
    margin: 0 auto 100px;
}
#sakuhin {
    width: 100%;
    height: 100%;
}
.sakuhin-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 0;
    margin: 0 auto;
}
.web,
.tira,
.meisi,
.menu {
    position: relative;
    width: 100%;
    margin: 0 auto;
    height: 30%;
    overflow: hidden;
    border-radius: 8px;
}
div a:hover .blind {
    opacity: 0;
    transition: 0.3s;
}
div a:hover .text {
    background-color: #4d7c0f;
}
.blind {
    position: absolute;
    bottom: 0px;
    left: 0px;
    background-color: #000000ad;
    width: 100%;
    height: 100%;
    transition: 0.3s;
}
.text {
    position: absolute;
    bottom: 0px;
    left: 0px;
    border-radius: 25px;
    background-color: darkgreen;
    color: antiquewhite;
    margin: 5px;
    padding: 10px 30px;
}

.web a,
.tira a,
.meisi a,
.menu a {
    display: block;
    width: 100%;
    font-size: 110%;
}
.work-list {
    background-color: rgb(214, 212, 180);
    width: 50%;
    margin: 0 15px 0 auto;

    text-align: center;
    border-radius: 25px;
}
.work-list a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 20px 0;
    font-size: large;
    color: antiquewhite;
    background-color: #4d7c0f;
    border-radius: 25px;
}
.work-list a:hover {
    opacity: 0.6;
}
.web a img,
.tira a img,
.meisi a img,
.menu a img {
    width: 100%;
}

#prof {
    width: 100%;
    margin: 0 auto;
}
.proflex {
    padding: 30px 0;
}
.jigazo {
    width: 80%;
    padding: 20px;
    margin: 0 auto;
    border: 15px ridge rgb(131, 40, 40);
    background-color: #fff;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prftxt,
.jikogaiyo {
    padding: 10px 0;
}
.jikogaiyo h3 {
    font-size: 50px;
    text-align: center;
    margin-bottom: 20px;
}
.jikogaiyo h4 {
    font-size: larger;
    padding: 15px 0 5px;
    text-align: center;
}
.prftxt dl {
    background-image: url(../img/paff-r.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
}
.prftxt dt {
    font-size: larger;
    font-weight: 500;
    margin-top: 20px;
    padding: 5px 0;
    background-color: #a6d461d7;
    width: 50px;
    height: 50px;
    border-radius: 25px 0;
}
.prftxt dt p {
    width: 7em;
    text-indent: 10px;
}

@media screen and (min-width: 600px) {
    .sakuhin-flex {
        display: flex;
    }

    .web,
    .tira,
    .meisi,
    .menu {
        width: 49%;
        gap: 10px;
        margin: 0 auto;
    }
    .work-list {
        width: 30%;
        max-width: 200px;
    }
}
@media screen and (min-width: 600px) {
    .proflex {
        display: flex;
        gap: 20px;
        /* max-width: 800px; */
        height: 400px;
        margin: 0 auto;
        justify-content: space-between;
    }
    .jigazo {
        width: 50%;
        height: 80%;
        max-width: 280px;
        min-height: 340px;
    }
    .jigazo img {
        width: 100%;

        max-width: 230px;
        max-height: 290px;
    }
    .jikogaiyo {
        width: 65%;
        position: relative;
    }
    .jikogaiyo h3 {
        text-align: left;
        text-indent: 1.5em;
    }
    .jikogaiyo p {
        position: absolute;
        z-index: 1;
    }

    .jikogaiyo .paff {
        position: absolute;
        bottom: 0;
        z-index: 0;
        max-width: 400px;
    }
    .jikogaiyo h4 {
        font-size: larger;
        padding: 15px 0 5px;
        text-align: center;
    }
    .prftxt dl {
        background-image: url(../img/paff-r.png);
        background-size: 70%;
        background-repeat: no-repeat;
        background-position: bottom;
        margin: 0 auto;
    }
}
/* メイン↑ */

/* ナビゲーション↓ */
.ftr-nav {
    width: 50%;
    position: relative;
}
.nav-btn {
    width: 110px;
    position: fixed;
    bottom: 20px;
    right: 10px;
    z-index: 10;
    transform: translateY(55%);
    transition: 0.7s;
}
.ftr-nav .nav-back {
    width: 70%;
    max-width: fit-content;
    min-width: 340px;
    max-height: 400px;
    position: fixed;
    bottom: -134px;
    right: -80px;
    transform: translateY(55%);
    transition: 0.7s;
}
.usinavi {
    position: fixed;
    bottom: 15px;
    right: 0;
    transform: translateY(120%);
    transition: 0.7s;
}
.usinavi ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 250px;
    padding: 5px 10px;
    font-size: 1.4em;
    align-items: center;
}

.usinavi ul li.n-1 {
    width: 48%;
    text-align: center;
}
.usinavi ul li.n-2 {
    width: 48%;
    text-align: center;
}
.usinavi ul li.n-3 {
    width: 48%;
    text-align: center;
}
.usinavi ul li.n-4 {
    width: 48%;
    text-align: center;
}
.usinavi ul li a {
    color: antiquewhite;
    display: block;
    background-color: #4d7c0f;
    border-radius: 15px;
}
.usinavi ul li a {
    padding: 5px 2px;
}
@media screen and (min-width: 980px) {
    .ftr-nav {
        display: none;
        pointer-events: none;
    }
}

/* クリック後↓ */
.nav-back.active {
    width: 70%;
    max-width: fit-content;
    max-height: 400px;
    position: fixed;
    bottom: -55px;
    right: -80px;
    transition: 0.7s;
    transform: translateY(0);
}
.nav-btn.active {
    width: 110px;
    position: fixed;
    bottom: 178px;
    right: 10px;
    z-index: 10;
    transform: translateY(0);
    transition: 0.7s;
}
.usinavi.active {
    position: fixed;
    bottom: 15px;
    right: 0;
    transform: translateY(0);
    transition: 0.7s;
}
.usinavi.active ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 250px;
    padding: 5px 10px;
    font-size: 1.4em;
    align-items: center;
}
/* ナビゲーション↑ */

/* フッター↓ */
.footer {
    background-image: linear-gradient(
        to top,
        #e7ffbaf1 40%,
        #e7ffbab2 70%,
        transparent
    );
    overflow: hidden;
}
.footer svg {
    display: block;
    width: 100%;
    height: 120px;
}
/* 波をまとめる */
.wave-wrap {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: #89c135;
}

/* 共通設定 */
.wave {
    position: absolute;
    left: 0;
    width: 100%;
    height: 120px;
}

.wave path {
    width: 100%;
    height: 100%;
}

/* 1段目（いちばん上・薄） */
.wave-1 {
    top: 0;
}
.wave-1 path {
    fill: #d9f99d; /* 薄い黄緑 */
}

/* 2段目（中間） */
.wave-2 {
    top: 30px;
}
.wave-2 path {
    fill: #fde047; /* 黄色 */
}

/* 3段目（いちばん下・濃） */
.wave-3 {
    top: 60px;
}
.wave-3 path {
    fill: #4d7c0f; /* 濃い緑 */
}

/* フッター本体 */
.gif {
    background-image: url("../img/hituzigif-fttr.gif");

    background-size: 200%;
    width: 100%;
    height: 100%;
    min-width: 600px;
    background-position: bottom left;
    background-repeat: no-repeat;

    padding: 80px 0;
    position: relative;
    bottom: -5px;
}

.footer-inner {
    margin: 0 auto;
    color: antiquewhite;
    background-color: #4d7c0f;
}

footer .inner-ftr {
    width: 90%;

    margin: 0 auto;

    display: flex;
    justify-content: space-between;
}
footer .inner-ftr p {
    width: 200px;
    height: 80px;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer .return {
    display: none;
}
@media screen and (min-width: 600px) {
    .gif {
        background-size: 80%;
        width: 100%;
        min-width: 1400px;
    }
}
@media screen and (min-width: 980px) {
    footer .inner-ftr {
        width: 70%;
    }
    footer .return {
        display: block;
        width: 100px;
        height: 60px;
        padding: 0px 0;
        background-color: rgb(214, 212, 180);
        border-radius: 20px;

        margin: 15px 20px;
    }
    footer .return a {
        color: antiquewhite;
        display: block;
        width: 100px;
        height: 100%;
        background-color: darkgreen;
        border: #d9f99d solid 3px;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    footer .return a:hover {
        opacity: 0.6;
    }
}
/* フッター↑ */
