/*===Top-page===*/
.mv {
    position: relative;
    margin: auto;
    overflow: hidden;
    height: 100vh;
}
.bgimg {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    animation : bgAnime 15s infinite;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    object-fit: cover;
}
.mv__img1 {
    background-image: url(assets/img/mv1.jpg);
    animation-delay: 0s;
}
.mv__img2 {
    background-image: url(assets/img/mv2.jpg);
    animation-delay: 5s;
}
.mv__img3 {
    background-image: url(assets/img/mv3.jpg);
    animation-delay: 10s;
}
@keyframes bgAnime {
    0% { opacity: 0; }
    10% { opacity: 1; }
    20% { opacity: 1; }
    30% { opacity: 0; }
    100% { opacity: 0; }
}

.mv__txt {
    position: relative;
    height: 100%;
}
.mv__txt--main {
    font-size: 2rem;
    background-color: inherit;
    z-index: 11;
    width: fit-content;
    padding: 0 0.5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    margin: auto;
    line-height: 3rem;
    color: #fff;
    font-weight: 600;
    /* background: rgba(255, 255, 255, 0.65); */
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    letter-spacing: 0.5em;
    -webkit-font-feature-settings: normal;
    font-feature-settings: normal;
    text-shadow: 1px 1px 5px rgba(1,1,1,1);
    color: transparent; /*テキストを透明にしてtext-shadowだけ表示する*/
    animation-name: txt-animation;
    animation-duration: 5s;
    animation-fill-mode: both;
}
@keyframes txt-animation {
  0% {
    text-shadow: 0 0 100px #fff;
    opacity: 0;
  }
  5% {
    text-shadow: 0 0 90px #fff;
  }
  10% {
    opacity: 1;
  }
  30% {
    text-shadow: 0 0 0px #fff;
  }
  100% {
    opacity: 1;
    color: #fff;
    text-shadow: 1px 1px 5px rgba(1,1,1,1);
  }
}

/*=video=*/
.video {
    display: none;
}

.top-common__title {
    font-size: 2rem;
    line-height: 3rem;
    font-weight: 600;
}
.top-common__subtitle {
    font-size: 1rem;
    font-weight: normal;
    padding-bottom: 1rem;
}

.scroll__down {
  position: relative;
  width: 100%;
  height: 100vh;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
}
.scroll__down:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%;
  background: linear-gradient(180deg,rgba(#000, 0) 0, rgba(#000, .8) 80%, rgba(#000, .8) 100%);
}
.scroll__down span {
  display: inline-block;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 30px;
  padding: 10px 10px 55px;
  color: #fff;
  font-size: 0.8rem;
  line-height: 1;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  writing-mode: vertical-lr;
  transition: .2s;
  overflow: hidden;
  margin: auto;
}
.scroll__down span:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 50px;
  background: #ddd;
}
.scroll__down span:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 50px;
  background: #000;
}
.scroll_down span:hover {
  opacity: .5;
}
#scroll span:after {
  animation: sdl01 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}
@keyframes sdl01 {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

/*=top-sns=*/
.top-sns {
    max-width: 100%;
    z-index: 0;
    -webkit-overflow-scrolling: touch;
    align-content: center;
    align-items: center;
    display: flex;
    flex: none;
    flex-direction: column;
    position: relative;
    z-index: 9;
}
.top__sns {
    align-content: center;
    align-items: flex-start;
    background: rgba(0, 0, 0, 0.0);
    bottom: auto;
    flex: none;
    flex-direction: column;
    flex-wrap: nowrap;
    height: 100vh;
    justify-content: center;
    left: auto;
    margin: 0 0 0 0;
    mix-blend-mode: multiply;
    position: fixed;
    right: 0px;
    top: 0;
    width: 50px;
    z-index: 4;
    max-width: 100%;
}
.top__sns--txt {
    flex: none;
    height: auto;
    line-height: 1.4;
    text-align: center;
    width: 50px;
    writing-mode: vertical-rl;
    -ms-writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    max-width: 100%;
    justify-content: center;
    padding-bottom: 1rem;
}
.top__sns--list {
    text-align: center;
}
.top__sns--list a {
    color: #333;
}
.top__sns--list a:hover {
    opacity: 0.5;
}
.fa-brands {
    font-size: 1.7rem;
}
.top__sns--txt,.top__sns--instagram {
    border-bottom: 1px solid #d4d4d4;
}
.top__sns--txt p {
    margin-right: 13px;
}
.top__sns--instagram {
    padding: 1rem 0;
}
.top__sns--line {
    padding-top: 1rem;
}

/*=About=*/
.top-about__inner {
    display: flex;
    padding-top: 5rem;
}
.top-about__imgleft {
    margin-top: 22rem;
    position: relative;
}
.top-about__imgleft::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background-image: linear-gradient(0deg, transparent 0 60%, #f8f7f2 100%);
}
.top-about__content {
    margin-right: 7rem;
}
.top-about__content p {
    margin: 5rem 0 4rem 5rem;
    line-height: 2rem;
}
.top-about__content--btn {
    margin-left: 5rem;
}
.top-about__imgright {
    margin-top: 7rem;
}
.top-about__imgcenter {
    width: 500px;
    margin: auto;
    padding: 3rem 0 0 7rem;
}

/*=Service=*/
.top-service__inner {
    display: flex;
    padding: 10rem 0;
}
.top-service__img {
    width: 65%;
    max-width: 1100px;
    margin-right: 3rem;
}
.top-service__content {
    width: 35%;
    padding: 3rem 5rem 0 0;
}
.top-service__content p {
    padding: 4rem 0 3rem 0;
    line-height: 2rem;
}
.top-service__inner2 {
    max-width: 1000px;
    margin: auto;
    display: flex;
    padding: 10rem 0;
}
.top-service__negi {
    margin-top: 5rem;
    padding-left: 1rem;
}
.top-service__negi p {
    margin: 2rem 3rem 0 0;
    line-height: 2rem;
}

/*=News=*/
#top-news {
    background-color: #fff;
}
.top-news__inner {
    display: flex;
    padding: 5rem 3rem;
}
.top-news__titlearea {
    width: 20%;
    display: flex;
}
.top-news__title, .top-news__subtitle {
    writing-mode: vertical-rl;
    -ms-writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    max-width: 100%;
}

.top-news__content {
    width: 80%;
}
.top-news__content--list {
    border-bottom: 1px solid #eee;
    padding: 0.8rem 0;
}
.top-news__date {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}
.top-news__list {
    font-weight: bold;
    font-size: 1.2rem;
}

.top-news__content--btn {
    padding-top: 3rem;
}
.top-news__content--btn a {
    margin-left: auto;
}

/*=Contact=*/
.top-contact__inner {
    display: flex;
}

.top-contact__nagaimolab {
    width: 50%;
    background-image: url(assets/img/lab.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 5rem 1rem;
}
.top-contact__nagaimolab__inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: max-content;
}
.top-lab__title, .top-lab__subtitle {
    color: #fff;
    text-align: center;
}
.top-nagaimolab__btn {
    padding-top: 2rem;
}
.top-nagaimolab__btn a {
    margin: auto;
    color: #fff;
}
.top-nagaimolab__btn a::before,
.top-nagaimolab__btn a::after {
    background-color: #fff;
}

.top-contact__ct {
    width: 50%;
    background-color: #27303f;
    padding: 5rem 1rem;
    color: #fff;
    text-align: center;
}
.top-contact__ct--txt {
    padding: 3rem 1rem;
}
.top-contact__ct--txt p {
    border-bottom: 1px solid #fff;
    padding: 0 1rem 1rem 1rem;
    margin: auto;
    width: fit-content;
    line-height: 2rem;
}
.top-contact__btn a {
    color: #fff;
    margin: auto;
}
.top-contact__btn a::before,
.top-contact__btn a::after {
    background-color: #fff;
}

/*===Service-page===*/
.service__mv--img {
    background-image: url(../cuore/assets/img/service-mv.jpg);
}
#service-banner {
    padding-top: 5rem;
}
.service__banner {
    max-width: 600px;
    margin: auto;
    position: relative;
}
.service__banner--txtarea {
    text-align: center;
    color: #fff;
    position: absolute;/*重ねたい子要素にabsolute*/
    top:50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
    -webkit-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
    transform: translate(-50%,-50%);/*センター寄せの修正*/
    margin: 0!important;/*文字がずれている場合や*/
    padding: 0!important;/*文字が折り返される場合*/
    width: 70%;
}
.service__banner--txt {
    border-bottom: 1px solid #fff;
    padding-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}
.service__banner--subtxt {
    padding: 0.5rem 1rem 1rem 1rem;
    font-size: 0.9rem;
}
.service__banner a:hover {
    opacity: 0.5;
}

/*=Service=*/
.service__space {
    padding: 8rem 1rem;
}
.common__service {
    display: flex;
}
.service__common--txtarea {
    width: 40%;
}
.service__common--img {
    width: 60%;
}
.production__content, .wholesale__img {
    padding-right: 2rem;
}
.service__common--title {
    padding: 3rem 0 2rem 0;
    font-size: 2.3rem;
    font-weight: 600;
}
.service__common--txt {
    line-height: 2rem;
}

/*=Service-QR=*/
#service-qr {
    padding: 5rem 1rem;
    background-color: #fff;
}
.service__qr {
    display: flex;
    padding: 2rem 1rem;
    max-width: 920px;
    margin: auto;
}
.qr__common {
    display: flex;
    width: 50%;
    padding: 2rem 1.5rem;
}
.qr__common--title {
    font-size: 1.3rem;
    font-weight: 600;
    padding-bottom: 1rem;
}
.qr__common--txtarea {
    width: 70%;
    padding-right: 2rem;
}
.qr__common--txt {
    line-height: 1.5rem;
}
.qr__common--img {
    width: 30%;
}
.qr__line {
    background-color: #e5e5e5;
}
.qr__instagram {
    background-color: #f2f0f0;
}
.qr__link {
    color: #0a47ff;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid #0a47ff;
    font-weight: bold;
}
.qr__link:hover {
    opacity: 0.5;
}

/*=Service-img=*/
.service-img__inner {
    display: flex;
    width: 100%;
}

/*===About-page===*/
.about__mv--img {
    background-image: url(../cuore/assets/img/about-mv.jpg);
}
#about-detal {
    padding: 5rem 1rem 10rem 1rem;
}
.about-detal__title {
    font-size: 2rem;
    border-bottom: 1px solid #000;
    padding-bottom: 0.5rem;
    text-align: center;
    width: fit-content;
    justify-self: center;
    font-weight: 600;
    margin: auto;
}

.about-detal__content {
    max-width: 650px;
    margin: auto;
    padding-top: 3rem;
}
.about-detal__list {
    display: flex;
    border-bottom: 1px solid #cecece;
    padding: 1rem 0;
    line-height: 2rem;
}
.about-detal__list--title {
    font-weight: bold;
    width: 20%;
    margin-right: 2rem;
}
.about-detal__list--item {
    width: 80%;
}

/*===Blog-page===*/
.blog__list {
    display: grid;
    grid-template-columns: 30% 30% 30%;
    gap: 3rem 2rem;
    justify-content: center;
}
.blog__list--img {
    height: 180px;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.blog__list--img a img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s;
}
.blog__list--img a:hover {
    opacity: 0.5;
}
.blog__list--title {
    font-size: 1.2rem;
    font-weight: 600;
    padding-top: 1rem;
}
.blog__list--date {
    padding: 1rem 0;
    font-size: 0.8rem;
}
.blog__category {
    display: flex;
    flex-wrap: wrap;
}
.blog__category--item {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    padding: 0.3rem;
    border: 1px solid #000;
    border-radius: 5px;
    width: fit-content;
}

/*===News-page===*/
.news__list--item {
    border-top: 1px solid #000;
}
.news__list--item:last-child {
    border-bottom: 1px solid #000;
}
.news__link {
    display: flex;
    align-items: center;
    padding: 2rem 0;
}
.news__link:hover {
    opacity: 0.5;
}
.news__item--date {
    margin-right: 2rem;
}
.news__list--title {
    font-weight: 600;
}

/*===Single-page===*/
.single__content ul,
.single__content ol {
    padding-left: 1rem;
    margin-top: 2em;
    margin-bottom: 2em;
    border-radius: 10px; 
}
.single__content ul li,
.single__content ol li {
    margin-bottom: 1em;
}
.single__content ul li:last-of-type,
.single__content ol li:last-of-type {
    margin-bottom: 0em;
}
.single__content ul {
    list-style-type: disc;
}
.single__content ol {
    list-style-type: decimal;
}
/* .single-post .l-main .l-section ol li {
  padding-left: 1em;
} */
.single__inner {
    padding-top: 2rem;
}
.single__img img {
    height: auto;
}

.single__title {
    font-size: 2rem;
    font-weight: 600;
    padding-bottom: 2rem;
    line-height: 3rem;
}
.single__date {
    font-size: 0.9rem;
}
.single__content h2 {
    font-size: 1.3rem;
    font-weight: 600;
    padding: 0.5rem;
    margin: 3rem 0 2rem 0;
    border-left: 5px solid #27303f;
    border-bottom: 1px solid #27303f;
    line-height: 2.5rem;
}
.single__content h3 {
    font-weight: 600;
    font-size: 1.2rem;
    border-bottom: 1px solid #27303f;
    margin: 3rem 0 2rem 0;
    padding-bottom: 0.5rem;
    line-height: 2.5rem;
}
.single__content h4 {
    font-weight: 600;
    font-size: 1.2rem;
    margin: 3rem 0 2rem 0;
    line-height: 2.5rem;
}
.single__content h5 {
    font-size: 1.2rem;
    margin: 3rem 0 2rem 0;
    line-height: 2.5rem;
}
.single__content p {
    line-height: 2.5rem;
    margin-bottom: 1.5rem;
}

/*===Contact-page===*/
.contact__first--txt {
    padding: 2rem 0 1rem 0;
    border-bottom: 1px solid #000;
    text-align: center;
    line-height: 2rem;
}

.contact__formarea {
    padding-top: 3rem;
}
.required {
    color: #e80000;
    font-size: 0.8rem;
    padding-left: 0.3rem;
}
.contact__form {
    margin-bottom: 2rem;
    width: 100%;
}
.contact__form--title {
    padding-bottom: 0.5rem;
}
.contact__form--box input, .contact__form--box textarea {
    background-color: #d9d9d9;
    border-radius: 3px;
    padding: 0.5rem;
    border: none;
    width: 100%;
}
.contact__form--box textarea {
    height: 200px;
}

.privacy__check {
    text-align: center;
}
.privacy__check p input {
    vertical-align: baseline;
}
.privacy__link {
    color: #0a47ff;
    border-bottom: 1px solid #0a47ff;
}
.privacy__link:hover {
    opacity: 0.5;
}
.contact__button {
    text-align: center;
    padding-top: 3rem;
}
.wpcf7-submit {
    border: 1px solid #000;
    border-radius: 45px;
    padding: 1rem 5rem;
    background-color: #f8f7f2;
    transition: .3s;
}
.wpcf7-submit:hover {
    opacity: 0.5;
    border: 1px solid #fff;
    background-color: #333;
    color: #fff;
}
.wpcf7-spinner {
    display: none!important;
}
.wpcf7-list-item {
    margin: 0!important;
}

/*===Privacy-page===*/
.privacy__first--txt {
    line-height: 2rem;
    border-bottom: 1px solid #000;
    padding: 1rem 0;
}
.privacy__list {
    padding-bottom: 3rem;
}
.privacy__list--first {
    padding-top: 2rem;
}
.privacy__list--last {
    padding-bottom: 5rem;
}
.privacy__list--title {
    font-size: 1.5rem;
    padding-bottom: 0.5rem;
    font-weight: bold;
}
.privacy__list--txt {
    line-height: 2rem;
}

/*===404===*/
.title404 {
    text-align: center;
    font-size: 2rem;
    line-height: 3rem;
    padding-top: 5rem;
}
.titlearea404 {
    margin-bottom: 3rem;
}

.button404 {
    text-align: center;
}
.button404 a {
    padding: 1rem 5rem;
    border: 1px solid #000;
    border-radius: 45px;
    transition: all .3s;
}
.button404 a:hover {
    opacity: 0.5;
    background-color: #333;
    color: #fff;
    border: 1px solid #fff;
}

/*ipad用CSS*/
@media screen and (max-width:850px) {}

/*タブレット用CSS*/
@media screen and (max-width:768px) {
    /*===Blog-page===*/
    .blog__area {
        grid-template-columns: 45% 45%;
    }
}

/*スマホ用CSS*/
@media screen and (max-width:470px) {
    /*===Top-page===*/
    /*=video=*/
    .video {
        display: block;
    }
    .video{
        width: 100%;
        height: 100vh;
        background: url(../img/kv-alternative.jpg) no-repeat center/cover;
        position: absolute;
        top: 0;
        left: 0;
        overflow: hidden;
        z-index: 1;
    }
    .video::after{
        content: '';
        width: 100%;
        height: 100%;
        background-color: #10394b;
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        opacity: .3;
    }
    .video video{
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
    }
    .wp-video {
        width: 100%!important;
        height: 100vh!important;
    }

    .mv__txt--main {
        font-size: 1.8rem;
        top: 45%;
    }
    
    .top__sns {
        display: none;
    }
    .top-common__title {
        font-size: 1.7rem;
    }
    .top-common__subtitle {
        padding-bottom: 0.5rem;
    }

    /*=About=*/
    .top-about__inner {
        flex-direction: column;
        padding-top: 7rem;
    }
    .top-about__imgleft {
        margin-top: inherit;
    }
    .top-about__content {
        order: 2;
        margin-right: inherit;
        padding: 3rem 1rem;
    }
    .top-about__content p {
        margin: 3rem 0;
    }
    .top-about__imgleft {
        order: 1;
    }
    .top-about__imgright {
        order: 3;
        margin-top: 5rem;
        width: 90%;
        margin-left: auto;
    }
    .top-about__imgcenter {
        width: 80%;
        margin: inherit;
        padding: 5rem 0 0 0;
    }
    .top-about__content--btn {
        margin-left: inherit;
    }

    /*=Service=*/
    .top-service__inner {
        flex-direction: column;
        padding-top: 7rem;
    }
    .top-service__inner2 {
        flex-direction: column;
        padding-top: 0;
    }
    .top-service__negi {
        margin-top: 0;
    }

    .top-service__img {
        width: 95%;
    }
    .top-service__img2 {
        padding: 1rem;
        margin-top: 2rem;
    }
    .top-service__content {
        width: 100%;
        padding: 3rem 1rem 0 1rem;
    }
    .top-service__content p {
        padding: 2rem 0;
    }

    /*=News=*/
    .top-news__inner {
        padding: 5rem 1rem;
    }
    .top-news__titlearea {
        width: 15%;
        margin-right: 1.5rem;
    }
    .top-news__content {
        width: 85%;
    }
    .top-news__date {
        margin-bottom: 0.5rem;
    }
    .top-news__list {
        font-size: 0.9rem;
    }

    /*=Contact=*/
    .top-contact__inner {
        flex-direction: column;
    }
    .top-contact__nagaimolab {
        width: 100%;
        padding: 15rem 1rem;
    }
    .top-contact__ct {
        width: 100%;
    }
    .top-contact__ct--txt {
        padding: 2rem 0 0 0;
    }
    .top-contact__ct--txt p {
        padding: 0 0 1rem 0;
    }

    /*===Service-page===*/
    #service-banner {
        padding: 5rem 1rem 0 1rem;
    }
    .service__space {
        padding: 5rem 1rem;
    }
    .service__qr {
        flex-direction: column;
    }
    .service__banner--txtarea {
        width: 95%;
    }
    .service__banner--txt {
        font-size: 1.2rem;
        padding-bottom: 0.5rem;
    }
    .service__banner--subtxt {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
    
    .common__service {
        flex-direction: column;
    }
    .service__common--title {
        font-size: 1.5rem;
    }
    .production__img {
        order: 1;
    }
    .production__content {
        order: 2;
    }
    .service__common--img {
        width: 100%;
    }
    .service__common--txtarea {
        width: 100%;
    }
    .qr__common {
        width: 100%;
        padding: 2rem 1rem;
    }
    .service__qr {
        padding: 2rem 0;
    }
    .wholesale__img {
        padding-right: 0;
    }

    .qr__common--title {
        font-size: 1.2rem;

    }
    .qr__common--txtarea {
        padding-right: 1rem;
    }
    .qr__common--txt {
        font-size: 0.9rem;
    }

    .service-img__inner {
        flex-direction: column;
    }

    /*===About-page===*/
    #about-detal {
        padding: 5rem 1rem;
    }
    .about-detal__title {
        font-size: 1.5rem;
    }

    /*===Contact-page===*/
    .privacy__check--txt {
        font-size: 0.9rem;
    }

    /*===404-page===*/
    .single404__title {
        font-size: 2rem;
    }

    /*===Blog-page===*/
    .blog__list {
        grid-template-columns: 100%;
    }

    /*===Single-page===*/
    .single__title {
        font-size: 1.7rem;
    }
}