.scrolldown1 {
    position: fixed;
    left: 20px;
    top: 200px;
    height: 100px;
}

.scrolldown1 span {
    position: fixed;
    left: 10px;
    top: 150px;
    color: rgba(0, 0, 0, 0);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    writing-mode: vertical-rl;

}

/* 線の描写 */
.scrolldown1::after {
    content: "";
    /*描画位置*/
    position: fixed;
    top: 500px;
    /*線の形状*/
    width: 1px;
    height: 50px;
    background: grey;
    animation: pathmove 5s ease-in-out infinite;
    opacity: 0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove {
    0% {
        height: 0;
        top: 0;
        opacity: 0;
    }

    30% {
        height: 80px;
        opacity: 1;
    }

    100% {
        height: 0;
        top: 850px;
        opacity: 0;
        background-color: #CF2520;

    }
}



body {
    font-size: 1.2em;
    margin: 0;
    padding: 0;
    font-family: 'Noto Serif JP', serif;
    color: #112222;
    background-color: #F4F3EE;
}

a {
    text-decoration: none;
    color: #333333;

}

a:hover {
    color: #CF2520;
}


/* ヘッダーナビ */
.fa-solid.fa-bars,
.fa-solid.fa-xmark {
    z-index: 2;
    color: white;
    position: fixed;
    top: 10px;
    right: 10px;
    display: none;
    cursor: pointer;
}

.headernav {
    width: 200px;
    position: fixed;
    top: 0;
    right: 0;
    /* background-color: rgba(0, 0, 0, 0); */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background-image: url("../img/manu_maru.png");
    background-position: top -80px right -100px;
    background-size: 10%;
    /* background-position: bottom left 500px; */
    background-repeat: no-repeat;
    transition: all 3s ease;
    z-index: 1;



}

.headernav:hover {
    transition: all 1.5s ease;
    background-image: url("../img/manu_maru.png");
    background-size: 140%;

    /* background-position: bottom left; */

}

.headernav ul {
    list-style-type: none;

}

.headernav ul li {
    margin-bottom: 30px;
    color: #CF2520;
    opacity: calc(0.2);
    transition: all 0.5s ease;


}

.headernav ul li:hover {
    transition: all 0.5s ease;
    opacity: calc(1.0);
    /* background-color: rgba(255, 255, 255, 0.9); */

}


/* main */
#main {
    height: 883px;
    display: flex;
    justify-content: start;
    align-items: flex-end;
    background-image: url("../img/sphere-7469333.png");
    background-position: center top 100px;
    background-size: 30%;
    background-repeat: no-repeat;
    background-color: #F4F3EE;


}

/* #main::before {
    content: "";
    display: block;
    height: 100vh;
    width: 100vw;
    z-index: -1;
    position: fixed;
    top: 0;
    left: -5px;
    background-color: #F4F3EE;
    background-image: url("../img/sphere-7469333.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center top 100px;
    background-size: 30%;
    filter: blur(10px);

} */

#main h2 {
    width: 1200px;
    margin: 0 auto 30px auto;
    animation: main 3s ease-in;

}

@keyframes main {
    0% {
        opacity: 0;
        transform: translate(0, 5px);

    }

    50% {
        opacity: 1;

    }
}

#main h2 span {
    font-weight: 300;
}

.more {
    text-align: center;
}

.more a:hover {
    border-bottom: 1px dashed #CF2520;
}

/* about */
.aboutoya {
    height: 800px;
    background-color: #F4F3EE;

}

#about {
    height: 800px;
    width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

#about div {
    display: flex;
    align-items: center;

}

#about p {
    padding: 20px 20px 20px 0;
}

.yokoji {
    animation: yoko 9s ease;
}


@keyframes yoko {
    0% {
        top: 0;
        opacity: 0;
        transform: translate(-100px, 0);

    }

    50% {
        top: 100px;
        opacity: 1;

    }
}

.yoko p {
    animation: yokop 9s ease;
}

@keyframes yokop {
    0% {
        top: 0;
        opacity: 0;
        transform: translate(100px, 0);

    }

    50% {
        top: 100px;
        opacity: 1;

    }
}

.tatejinooya {
    justify-content: center;

}

.tateji {
    writing-mode: vertical-rl;

}

.tateji span {
    color: #CF2520;
}

.tatenomidashi {
    animation: tate 9s ease;

}

@keyframes tate {
    0% {
        top: 0;
        opacity: 0;
        transform: translate(0, 100px);

    }

    50% {
        top: 100px;
        opacity: 1;

    }
}

.tateji p {
    animation: tatep 9s ease;
}

@keyframes tatep {
    0% {
        top: 0;
        opacity: 0;
        transform: translate(0, -100px);

    }

    50% {
        top: 100px;
        opacity: 1;

    }
}

/* article */
.articlepiar {
    background-color: #F4F3EE;
}

#article {
    height: 700px;
    width: 1200px;
    margin: 0 auto;
}

.sakuhin {
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: flex-start;

}

.sakuhinmidashi {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
}

#article .sakuhinmidashi section {
    width: 1000px;
}

#article .sakuhinmidashi a {
    margin: 5px 0 20px 0;
}

#article .sakuhinmidashi section:hover {
    /* background-color: rgba(255, 255, 255, 0.5); */
    transition: all 0.5s ease;
}

#article .sakuhinmidashi section a:hover {
    color: white;
}

.zikan {
    float: left;
    writing-mode: vertical-rl;
    padding-right: 100px;
    margin-left: -5px;
    margin-top: 9px;

}

article .sakuhinmidashi section h3 {
    float: none;
}
.digest_sentence{
    position: relative;
    width:95%;
}
.continuation_sentence{
    position: absolute;
    right: 0;
}


#article h2 {
    color: #CF2520;
    background-image: url("../img/redline.png");
    background-repeat: no-repeat;
    background-size: 8%;
    background-position: bottom 10px left 15px;
    padding-bottom: 20px;

}



#article span {
    transition: all 0.5s ease;

}

#article span:hover {
    color: crimson;
    transition: all 0.5s ease;

}


#prof {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('../img/woman-5835747.jpg');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: bottom -100px right 0;

    background-color: #ffff;

}

.cp {
    height: 800px;
    width: 1200px;
    margin: 0 auto;
}

.cp h2 {
    color: #CF2520;
    background-image: url("../img/redline.png");
    background-repeat: no-repeat;
    background-size: 8%;
    background-position: bottom 10px left 28px;
    padding-bottom: 20px;
}

.cp p {
    width: 100%;
    height: 200px;

}

footer {
    border-top: 1px solid black;
    height: 300px;
    text-align: center;
    background-color: #f2f2f2;

}

footer div {
    padding-top: 30px;
}


/* コラム一覧ページ */
.koramu {
    background-color: #F4F3EE;
    margin: 0;
    height: 950px;
}

.koramu .sakuhin {
    padding-top: 40px;
}

.koramu #article h2 {
    margin: 0;
    padding-top: 30px;
    padding-bottom: 20px;
    background-position: bottom 17px left 22px;
}




/* 記事ページ */
.kobetsukiji #article,
.kobetsukiji .sakuhin {
    height: auto;
}

.kobetsukiji #article h2 {
    background-position: bottom 17px left 20px;

}

.kobetsukiji .sakuhinmidashi {
    display: block;
}


.zengo {
    display: flex;
    justify-content: center;
}

.zengo p {
    padding: 0 30px;
}

.zenbun h3 {
    margin: 80px;
    font-size: 1.5em;
}

.zenbun .naiyo {
    margin: 50px 0;
    letter-spacing: 0.2em;
    line-height: 30px;
    font-size: 1.1em;

}

.gaku {
    margin: 10px 0;
    width: 1000px;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.gaku img {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    position: absolute;
    width: 1000px;
}

.kobetsukiji .zikan {
    padding: 0;
}

.zenbun {
    width: 1000px;
    margin: 0 auto;
}

/* 問い合わせページ */
#toiawase {
    margin: 0 auto;
    width: 1200px;
}

#toiawase h2 {
    color: #CF2520;
    background-image: url("../img/redline.png");
    background-repeat: no-repeat;
    background-size: 8%;
    background-position: bottom 17px left 28px;
    padding-bottom: 20px;
}

#contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 80px 0;
}

.toiawasetyui {
    width: 700px;
}

.form2 {
    text-align: center;
}



input[type="text"] {
    border: none;
    height: 30px;
    width: 500px;
}

textarea {
    border: none;
    resize: none;
    width: 500px;
    height: 240px;
}

.sousin {
    text-align: center;
    margin: 50px 0;
}

input[type="submit"],
input[type="button"],
button {
    width: 100px;
    height: 25px;
    color: #F4F3EE;
    background-color: #555555;
    border: none;
    border-radius: 10px;
    transition: all 0.5s ease;

}

input[type="submit"]:hover,
input[type="button"]:hover,
button:hover {
    background-color: #CF2520;
    transform: scale(1.2);
    transition: all 0.5s ease;


}

.kakuninnaiyou {
    color: rgb(50, 50, 209);
}

/* サンクス */
.thanks {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}