body {
    background-color: rgba(249, 248, 236, 1);
    font-family: "Yuji Syuku", serif;
}

.container {
    max-width: 1200px;
    margin: auto;
    width: 100%;
    padding-inline: 50px;
}

.section-title h2 {
    font-size: 1.9rem;
}

.section-title img {
    max-width: 300px;
    width: 100%;
    transform: translate(-30px, -20px);
    z-index: -1;
}

a:hover {
    opacity: 0.6;
}

/* -------------------header------------------- */
header {
    background-color: rgba(255, 255, 255, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-left img {
    width: 150px;
}

.header-right {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.header-right img {
    width: 30px;
    height: 30px;
}

.header-right a {
    display:inline-block;
    font-size: 1.5vw;
    margin-right: 10px;
    margin-left: 10px;
}

header ul {
    display: flex;
}

li {
    list-style: none;
    padding-left: 20px;

}

a {
    text-decoration: none;
    color: black;
    transition: 0.5s;
    font-size: 0.9rem;
}

/* -------------------mainvisual------------------- */

.mainvisual {
    position: absolute;
    top: 0;
    z-index: -1;
    height: 100vh;
    width: 100%;
}

.slide img {
    opacity: 0;
    animation: slideAnime 32s ease infinite;
    position: absolute;
    width: 100%;
    height: 100vh;
}

.slide img:nth-of-type(1) {
    animation-delay: 0s
}

.slide img:nth-of-type(2) {
    animation-delay: 8s
}

.slide img:nth-of-type(3) {
    animation-delay: 16s
}

.slide img:nth-of-type(4) {
    animation-delay: 24s
}

/*=== スライドのアニメーション ========================= */
@keyframes slideAnime {
    0% {
        opacity: 0
    }

    12% {
        opacity: 1
    }

    25% {
        opacity: 1
    }

    37% {
        opacity: 0
    }

    100% {
        opacity: 0
    }
}

.main-text {
    position: absolute;
    top: 20%;
    left: 48%;
    animation: fadeIn 8s forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.main-text img {
    height: 450px;
}

.sub-text {
    position: absolute;
    top: 55%;
    left: 40%;
    writing-mode: vertical-rl;
    font-size: 1.25rem;
}

.sub-text span {
    margin-top: 20px;
}

.SCROLL {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
}

.SCROLL img {
    transform: translateX(20px);
}

/* -------------------SCROLLアニメーション--------------- */

.SCROLL img {
    animation: arrow 2s ease infinite;
}

@keyframes arrow {
    0% {}

    50% {
        transform: translate(20px, 8px);
    }

    100% {}

}

/* -------------------#about--------------------- */
#about {
    margin-top: 105vh;
    display: flex;
    margin-bottom: 50px;
    opacity: 0;
    transition: all 3s;
    transform: translateY(50px)
}

.about-img {
    position: relative;
    max-height: 400px;
    max-width: 50%;
    z-index: -1;
    margin-top: 50px;
}

.about-img img {
    width: 100%;
    height: 100%;
}

.about-img::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0px 0px 20px 30px rgba(249, 248, 236, 1);
}

.wrapper p:nth-of-type(1) {
    font-size: 1.5rem;
    margin-left: 30px;
}

.wrapper p:nth-of-type(2) {
    margin-left: 40px;
    margin-top: 20px;
    font-size: 1.1rem;
}

.wrapper p:nth-of-type(2) span {
    font-size: 0.9rem;
}

#about .section-title {
    margin-top: 50px;
}

.wrapper {
    max-width: 570px;
    width: 100%;
    background-image: url(../img/kumikoimg.png);
    background-size: contain;
    background-color: rgba(249, 248, 236, 0.8);
    background-blend-mode: lighten;
    background-position: center;
}


/* --------------#kumiko-------------------- */

#kumiko {
    background-image: url(../img/kumiko.png);
    background-attachment: fixed;
    position: relative;
    width: 100%;
    background-size: cover;
    margin-bottom: 50px;
}


#kumiko .container {
    opacity: 0;
    transform: translateY(50px);
    transition: 3s;
    display: flex;
    padding-bottom: 50px;
    padding-top: 50px;
    align-items: center;
}

.kumiko-work {
    max-width: 50%;
    text-align: center;
}

.kumiko-work img {
    /* height: 85%; */
    max-width: 80%;
    border: 10px solid rgba(237, 210, 182, 0.647);
}

.kumiko-text {
    max-width: 550px;
}

#kumiko span {
    font-size: 0.93rem;
    margin-left: 15px;
}

#kumiko p {
    margin-left: 40px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.kumiko-work p {
    text-align: left;
    transform: translateX(55px);
}

#kumiko h2 {
    margin-left: 30px;
    font-size: 2.5rem;
}

/* ---------------------#work------------------ */
.example {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 30px;
}

.comment {
    position: relative;
    z-index: -1;
    margin-bottom: 20px;
    margin-top: 10px;
}

.comment p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

.comment img {
    margin-top: 10px;
    max-width: 250px;
}

.inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 90%;
    text-align: center;
    margin: auto;
}

.photo {
    width: 100%;
    height: auto;
    box-shadow: -15px 0px 0px rgba(160, 135, 9, 0.71);
    transition: 2s;
    opacity: 0;
    transform: translateY(50px);

}

.item{
    transition: all 0.8s;
}

.item:hover {
    transform: scale(1.08);
}

#work {
    margin-bottom: 50px;
}

/* -----------------#contact----------------- */
.contact-flex {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 20px;
}

.text {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.contact-flex img {
    height: 25px;
    transform: translateY(7px);
    margin-right: 5px;
}

.contact-flex p {
    font-size: 1.56rem;
    font-weight: bold;
}

dt,
dd {
    border: 1px solid black
}

dt {
    background-color: brown;
    color: white;
    width: 20%;
    height: 60px;
    font-size: 0.7rem;
    display: grid;
    place-items: center;
    text-align: center;
}

dd {
    background-color: white;
    width: 80%;
    padding-left: 10px;
    display:grid;
}

dl {
    display: flex;
    flex-wrap: wrap;
}

.contact-form {
    width: 60%;
    margin: auto;
}

input {
    width: 100%;
    height: 100%;
}

textarea {
    padding-top: 10px;
    height: 120px;
    width: 100% !important
}

.content {
    height: 150px;
}

.send {
    border: 1px solid black;
    width: 200px;
    height: 50px;
    background-color: brown;
    color: white;
    margin-top: 20px;
    display: block;
    margin-inline: auto;
    transition: 0.5s;
}

.send:hover {
    opacity: 0.6;
}

#contact {
    position: relative;
    margin-bottom: 120px;
    opacity: 0;
    transform: translateY(50px);
    transition: 3s;
}

.corner1 {
    position: absolute;
    top: 14%;
    left: 5%;
    width: 160px;
}

.corner2 {
    position: absolute;
    bottom: 0%;
    right: 5%;
    width: 200px;
}

form {
    text-align: center;
}

.wpcf7 form .wpcf7-response-output {
    margin: 0;
}

.wpcf7-response-output{
    display: inline-block;
}

/* ---------googlemap----------- */
.googlemap {
    text-align: center;
    background-image: url(../img/nature.png);
    width: 100%;
    background-size: cover;
    background-attachment: fixed;
}

iframe {
    padding-block: 100px;
    width: 60%;
    opacity: 0;
    transform: translateY(50px);
    transition: 3s;
    height: 600px;
}

/* -----------------footer-------------- */
footer .container {
    display: flex;
    justify-content: space-between;
}

footer {
    background-color: rgb(220, 198, 171);
    padding-block: 20px;
}

.footer-flex {
    display: flex;
}

.footer-flex p {
    margin-right: 50px;
}

.arrow {
    position: fixed;
    bottom: 20px;
    right: 30px;
}

.footer-logo {
    width: 150px;
}

/* ------------------レスポンシブ------------------ */
@media(max-width:900px) {

    .container {
        padding-inline: 10px;
    }

    .section-title {
        text-align: center;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .section-title img {
        max-width: 250px;
        transform: translate(0px, -18px);
    }

    /* ------------------headerレスポンシブ------------------- */

    .header-left img {
        max-width: 100px;
        margin-left: 10px;
        transform: translateY(5px);
    }

    .header-right {
        margin-right: 20px;
    }

    .header-right a {
        font-size: 0.8rem;
        margin-right: 10px;
        margin-left: 5px;
    }

    .header-right img {
        width: 20px;
        height: 20px;
    }

    .header-flex {
        padding-top: 10px;
    }

    /* ---------------ハンバーガーメニュー------------------ */

    .btn {
        width: 35px;
        height: 35px;
        cursor: pointer;
        position: relative;
        margin-left: 10px;
        background-color: brown;
        z-index: 10;
    }

    .btn span {
        display: block;
        width: 50%;
        height: 2px;
        background-color: white;
        position: absolute;
        z-index: 3;
        transition: all 0.5s;
        margin-inline: 8px;
    }

    .btn span:nth-child(1) {
        top: 36%;

    }

    .btn span:nth-child(2) {
        top: 50%;
    }

    .btn span:nth-child(3) {
        top: 64%;
    }

    .open .btn span:nth-child(1) {
        transform: rotate(-45deg);
        top: 50%;
    }

    .open .btn span:nth-child(2) {
        /* transform: rotate(45deg); */
        opacity:0;
    }

    .open .btn span:nth-child(3) {
        transform: rotate(45deg);
        top: 50%;
    }

    .open-menu {
        position: absolute;
        left: -300px;
        display: inline;
        transition: all 0.5s;
        font-size: 1.25rem;
        text-align: center;
        top: 0;
        height: 100vh;
        padding: 100px 50px 0 20px;
    }

    .open .open-menu {
        z-index: 3;
        left: 0;
        background-color: rgba(182, 151, 112, 0.671);
    }

    .mask {
        display: none;
        position: fixed;
        top: 0;
        z-index: 2;
        width: 100%;
        height: 100%;
        background-color: aliceblue;
        opacity: 0.8;
        cursor: pointer;
    }

    .open .mask {
        display: block;
    }

    .open-menu li {
        margin-top: 10px;
    }

    /* --------------main-visualレスポンシブ-------------------- */

    .main-text {
        left: 50%;
        transform: translateX(-50%);
        top: 20%;
    }

    .main-text img {
        height: 350px;
    }

    .sub-text {
        position: absolute;
        top: 55%;
        left: 15%;
        writing-mode: vertical-rl;
        font-size: 0.93rem;
    }

    .mainvisual {
        height: 80vh;
    }

    .slide img {
        height: 80vh;
    }

    .SCROLL {
        font-size: 0.6rem;
    }

    .SCROLL img {
        transform: translateX(12px);
        height: 15px;
    }

    .SCROLL img {
        animation: arrow 2s ease infinite;
    }

    @keyframes arrow {
        0% {}

        50% {
            transform: translate(12px, 5px);
        }

        100% {}

    }

    /* -----------------aboutレスポンシブ------------------ */

    #about {
        margin-top: 80vh;
        flex-direction: column;
        align-items: center;
    }

    .about-img {
        margin-top: 0px;
        max-width: 500px;
    }

    .wrapper p:nth-of-type(1) {
        margin-left: 10px;
        font-size: 1.1rem
    }

    .wrapper p:nth-of-type(2) {
        margin-left: 10px;
        font-size: 1rem;
        line-height: 1.5;
    }

    .wrapper {
        background-position: center;
        padding-bottom: 50px;
        background-size: 80%;
    }

    /* ------------------kumikoレスポンシブ---------------------- */

    #kumiko .container {
        flex-direction: column;
    }

    #kumiko p {
        margin-left: 20px;
        line-height: 1.5;
        font-size: 1rem;
    }

    .kumiko-work {
        margin-left: 0px;
        text-align: center;
        max-width: 400px;
    }

    .kumiko-work p {
        transform: translateX(0);
        text-align: center;
    }

    .kumiko-text {
        width: 100%;
        margin-bottom: 20px;
    }

    #kumiko {
        background-attachment:scroll;
    }

    /* ------------------workレスポンシブ----------------- */
    .example {
        font-size: 1.25rem;
    }

    .comment {
        margin-bottom: 0px;
        font-size: 0.9rem;
    }

    .photo {
        width: 100%;
        max-width: 250px;
    }

    .comment img {
        margin-top: 0px;
        max-width: 180px;
    }

    .inner {
        max-width: 75%;
    }

    /* ----------------contactレスポンシブ------------- */

    .corner1 {
        display: none;
    }

    .corner2 {
        display: none;
    }

    .contact-form {
        max-width: 500px;
        width: 90%;
    }

    .contact-flex p {
        font-size: 1.1rem;
        font-weight: bold;
        padding-bottom: 10px;
    }

    .contact-flex img {
        height: 18px;
        transform: translateY(5px);
    }

    .text {
        font-size: 0.81rem;
    }

    #contact dt {
        font-size: 0.65rem;
        height: 50px;
        width: 27%;
    }

    #contact dd {
        width: 73%;
    }

    #contact .content {
        height: 150px;
    }

    .contact-flex {
        margin-top: 0px;
    }

    .send {
        font-size: 0.8rem;
    }

    input,
    textarea {
        font-size: 0.875rem;
    }

    .wpcf7-not-valid-tip {
        font-size: 0.8rem;
    }

    #contact {
        margin-bottom: 90px;
    }

    /* ----------------footerレスポンシブ------------------- */

    .footer-logo {
        max-width: 100px;
        margin-left: 20px;
    }

    .footer-flex p {
        font-size: 0.625rem;
        margin-right: 80px;
    }

    .arrow img {
        width: 35px;
    }

    /* ----------------googlemapレスポンシブ--------------- */

    iframe {
        width: 80%;
        padding-block: 50px;
        height: 450px;
    }

    .googlemap {
        background-attachment: scroll;
        padding-block:50px;
    }
}



@media(min-width: 768px){
    a[href^="tel:"]{
      pointer-events: none;
    }
  }

  .wpcf7-not-valid-tip {
    translate:0 -25px;
}