@import url('https://fonts.googleapis.com/css2?family=DotGothic16&family=Hina+Mincho&family=Montserrat:wght@100;200;300;400&family=Roboto:wght@100;300;400&family=Yusei+Magic&display=swap');


html {
    scroll-behavior: smooth
}

* {
    font-family: 'Roboto', sans-serif;
}

a {
    color: #333 !important;
}

.message {
    margin-top: 60px !important;
}

.wrapper {
    max-width: 1120px;
    margin: 0 auto;
}

.wrapper-news {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px;
    background-color: #f9f9f9;
}

.wrapper-sp {
    padding: 0, 15px;
}

.mt-100 {
    margin-top: 100px;
}

.mt-60 {
    margin-top: 60px;
}

.mb-100 {
    margin-bottom: 100px;
}

.mb-60 {
    margin-bottom: 60px;
}

.pt-100 {
    padding-top: 100px;
}

.pt-60 {
    padding-top: 60px;
}

.section-title {
    margin-top: 20px;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
    color: #474747;
}

.section-padding {
    padding-top: 50px;
    padding-bottom: 10px;
}

.page-cover-img {
    height: 180px;
    background-image: url(/webroot/img/page-cover.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.page-cover-img h1 {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translate(-50%, 0);
    font-weight: 100;
    letter-spacing: 1rem;
}

/* welcome セクション */
.welcome {
    width: 100%;
    height: 100vh;
    display: block;
    /* background-color: rgba(0, 0, 0, 0.5); */
    transition: all 1s ease-out;
    z-index: 5;
}
video {
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
}

.welcome-logo {
    width: 100vw;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    flex-direction: column;
}

.welcome-logo img {
    width: 35vh;
    margin-top: 18vh;
}

.welcome p {
    text-align: center;
    color: #fff;
    font-weight: 300;
}

.main-content {
    height: 100%;
}


/* scroll button animation */
.scroll-container {
    position: absolute;
    bottom: 5vh;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
}

.scroll-down-p {
    font-weight: 100;
    font-size: 12px;
}

.scroll-down {
    width: 30px !important;
    height: 50px;
    border: 2px solid #ffffff;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    margin-bottom: 20px;
    margin-top: 80px;
}

.scroll-down::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 20px;
    width: 6px;
    height: 6px;
    border-radius: 100%;
    transform: translateX(-50%);
    background: #ffffff;
    animation: scrollDown 1.5s ease infinite;
}

.scroll-down::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 5px;
    width: 6px;
    height: 15px;
    border-radius: 3px;
    transform: translateX(-50%);
    background: #ffffff;
}

.scroll-down-link {
    display: inline-block;
    width: 100% !important;
    height: 20px !important;
    color: #fff !important;
}

@keyframes scrollDown {
    0% {
        transform: translate(-50%, 0px);
        opacity: 0;
    }

    50% {
        transform: translate(-50%, 8px);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 16px);
        opacity: 0;
    }
}


/* Header */
.navi {
    position: relative;
}

.navigation {
    height: 60px;
    padding: 10px;
    position: fixed;
    display: flex;
    justify-content: space-between;
    width: 100%;
    background: rgba(241, 241, 241, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1;
    top: 0;
}

.navigation img {
    width: 50px;
    position: absolute;
    left: 10px;
    top: 5px;
}

.navigation-top {
    height: 60px;
    padding: 10px;
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    /* background-color: #ebebeb; */
    background: rgba(241, 241, 241, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9999999;
}

.navigation-top img {
    width: 50px;
    position: absolute;
    left: 10px;
    top: 5px;
}

.header-right {
    display: flex;
}

.header-right ul {
    display: flex;
}

.header-menu ul {
    margin: 0;
    display: flex;
    align-items: center;
}

.header-right ul li {
    list-style: none;
    padding-left: 25px;
    padding-top: 7px;
}

.header-right ul li:last-child {
    margin-right: 80px;
}

.menu-link {
    position: relative;
}

.selected,
.menu-link::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #000000;
    bottom: -5px;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform 0.3s;
}

.menu-link:hover::after {
    transform: scale(1, 1);
    transform-origin: right top;
}

/* Header sandwich */
.sandwich {
    cursor: pointer;
    position: fixed;
    right: 20px;
    z-index: 3;
    top: 10px;
}

.sandwich-open {
    position: fixed !important;
}

.bar1,
.bar2,
.bar3 {
    width: 35px;
    height: 5px;
    background-color: #333;
    margin: 6px 0;
    transition: 0.4s;
}

.change .bar1 {
    transform: translate(0, 11px) rotate(-45deg);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: translate(0, -11px) rotate(45deg);
}

/* Header sandwich 黒いメニュー */
#sandwich-menu {
    visibility: hidden;
    opacity: 0;
    /* display: none; */
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-out;
}

.sandwich-menu-line {
    width: 100%;
    height: 2px;
    background-color: #fff;
    margin: 20px 0 50px 0;
}

.sandwich-menu-container {
    height: 60vh;
    width: 500px;
    padding: 20px;
    transition: all 0.3s ease-out;
}

.sandwich-menu-title h3 {
    color: #fff;
}

.sandwich-menu-links {
    height: 300px;
    display: flex;
    column-gap: 120px;
}

.sandwich-menu-links:first-child {
    margin-right: 20px;
}

.sandwich-menu-links ul {
    margin: 0;
}

.sandwich-menu-links ul li h4 {
    color: #fff;
    font-weight: 100 !important;
    transition: transform 0.1s ease-in;
}

.sandwich-menu-links ul li h4:hover {
    color: #2cff61;
    transform: scale(1.05);
}

.sandwich-menu-links ul li {
    list-style: none;
    padding-bottom: 10px;
}


/* トップページ */
.hero {
    width: 100%;
    height: 320px;
    background-image: url(/webroot/img/cov.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-text {
    height: 120px;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-text h2,
.hero p {
    margin: 0;
    font-weight: 300;
}

.logos-hero {
    margin-top: 20px;
    width: 100%;
    height: auto;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.logos-hero img {
    width: 3%;
    aspect-ratio: 2/3;
    object-fit: contain;
    filter: drop-shadow(0 0 5px white)
        /* -webkit-filter: drop-shadow(0px 0px 7px rgba(255, 255, 255, 0.9)); */
}

/* about us section */

.about-us {
    padding-bottom: 50px;
}

.top-company-vision {
    width: 100%;
    margin-top: 30px;
    border: #333 1px solid;
    padding: 20px 100px;
    text-align: center;
    background-image: url(/webroot/img/vision-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}


.top-company-vision p {
    margin-bottom: 0;
}

.vision {
    font-family: 'DotGothic16', 'sans-serif';
    font-size: 30px;
    color: #4f4f4f;
}

.vision-text {
    /* font-family: 'Yusei Magic', sans-serif; */
    font-size: 21px;
    color: #4f4f4f;
}

/* SERVICE section */
.services {
    background-color: #fafafa;
}

.service-list {
    height: 100%;
    width: 100%;
    display: flex;
    column-gap: 15px;
}

.service {
    width: auto;
}

.service p {
    padding-top: 10px;
    text-align: center;
    margin-bottom: 0;
}

.service-img-container {
    overflow:hidden;
}
.service img {
    transition: all .3s ease-in-out;
}
.service img:hover {
    transform: scale(1.1);
}

.section-link {
    margin-top: 60px;
    text-align: center;
    padding-bottom: 20px;
    position: relative;
}
.section-link a {
    font-size: 18px;
    font-weight: 700;
}

.section-link img {
    width: 15px;
    position: absolute;
    top: 11%;
    margin-left: 5px;
}

.logos {
    margin-top: 20px;
    width: 100%;
    height: 100%;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.logos img {
    width: 5%;
    aspect-ratio: 2/3;
    object-fit: contain;
}

/* NEWS */

.news {
    display: flex;
    column-gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
}

.news-pc {
    display: block !important;
}
.news-sp {
    display: none !important;
}

.news-box {
    width: 50%;
    position: relative;
}

.news-img {
    width: 20%;
    height: 100%;
}

.news-btn {
    position: absolute;
    text-align: right;
    font-size: 0.8rem;
    bottom: -12px;
    right: 0;
    margin-left: 10px;
}

.news-btn a {
    border: 1px solid rgb(168, 168, 168);
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.5s;
    background-color: #ebebeb;
    position: relative;
}

.news-btn a:hover {
    background-color: rgb(75, 75, 75);
    color: #fff !important;
}


.news-date {
    margin-bottom: 10px;
}

.news-title {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    line-height: 10px;
    font-size: 1.3rem;
}

/* NEWS 詳細 */
.news-info {
    text-align: right;
    margin-bottom: 30px;
}

.news-info p {
    line-height: 0.1rem;
}

.news-badge {
    display: flex;
    flex-direction: row-reverse;
    /* max-width: 100px; */
    text-align: right;
    gap: 5px;
}

.news-badge span {
    padding: 5px 10px;
    background-color: rgb(255, 166, 0);
    border-radius: 15px;
    font-size: 0.8rem;
    color: white;
}

.news-content {
    padding-bottom: 20px;
    /* text-align: center; */
}

.news-content p {
    text-align: left;
}

.news-content img {
    margin-bottom: 20px;
}

/* お問い合わせ */
.contact {
    background-color: #fafafa;
}

.contact-text {
    padding: 20px 90px;
    text-align: center;
    line-height: 2.6rem;
}

.contact-btn {
    text-align: center;
    margin: 40px 0 55px 0;
}

.contact-btn a {
    padding: 10px 18px;
    background-color: #000000;
    color: #fff !important;
    border-radius: 15px;
}

/* フッター */
.footer-container {
    width: 90%;
    margin: 0 auto;
}

.footer-logo {
    position: relative;
    top: -30px;
    padding-bottom: 0;
    margin-bottom: 0;
}

.footer-logo-text {
    position: absolute;
    top: 120px;
    left: 30px;
}

.footer-menu {
    display: flex;
    justify-content: center;
}

.footer-menu a {
    font-size: 1rem;
    color: #fff !important;
}

.footer-menu td {
    padding-top: 5px !important;
}

.footer-menu-container td {
    padding-top: 20px !important;
}

.footer-menu-container {
    width: 80%;
}

.social-logos {
    margin-top: 50px;
}

.copyrightt {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
}

.copyrightt p {
    margin-top: 50px !important;
    display: block !important;
}

/* COMPANY */
.greeting {
    position: relative;
}

.greeting-container {
    width: 80%;
    margin: 0 auto;
}

.greeting-container img {
    margin-right: 30px;
    width: 100%;
}

.greeting img:last-child {
    position: absolute;
    right: 20px;
    bottom: 10px;
}

.company-info {
    width: 80%;
    margin: 50px auto 100px auto;
}

.company-table tr td:first-child {
    width: 40%;
}

.signature {
    text-align: right; 
    display:block; 
    margin-top:20px;
}
/* SERVICES */
.services-page p {
    text-align: justify;
}

.service-container {
    margin-bottom: 200px;
}

.service-box {
    display: flex;
    max-width: 80%;
    margin-bottom: 80px;
}

.service-box h4 {
    /* font-family: 'Hina Mincho', serif; */
    font-size: 2rem;
    padding-bottom: 5px;
    border-bottom: #474747 1px solid;
    margin-bottom: 20px;
}

.service-box p {
    width: 100%;
    text-align: justify;
    margin-bottom: 0;
}

/* JOIN US */

.join-us {
    width: 100%;
    height: 100vh;
    background-image: url(/webroot/img/join-us.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.join-us a {
    width: fit-content;
    min-width: 170px;
    display: inline-block;
    padding: 10px 20px;
    border: #000000 1px solid;
    text-align: center;
    background-color: rgba(0, 0, 0, 0);
    transition: all 0.5s;
}

.join-us a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.join-us-content {
    width: 550px;
    height: auto;
    position: absolute;
    left: 10vw;
    top: 20vh;

    h4 {
        margin-bottom: 20px;
    }
}


/* Contact add */
.contact-background {
    /* height: 100vh; */
    background-image: url(/webroot/img/programming-background.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.contact-container {
    margin-top: 12vh;
    display: flex;
    flex-direction: column;
    align-items: left;
    padding: 0 30px;
    width: 550px;
    height: 90vh;
    background-color: rgba(248, 248, 248, 0.2);
    backdrop-filter: blur(70px);
}

.contact-container h3 {
    margin-top: 1vh;
    text-align: center;
}

.contact-container hr {
    border: solid black !important;
    border-width: 1px 0 0 !important;
}

.contact-form-btn {
    position: absolute;
    bottom: 5vh;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 auto;
    text-align: center;
}

.contact-form-btn button {
    background-color: #000000;
    margin-top: 1.5vh;
}

.fieldset-contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    margin-top: 2.5vh;
    margin-bottom: 0;
    width: auto;
    height: 60vh;
    position: relative;
}

.fieldset-contact label {
    font-size: 1.5vh;
}

.contact-text {
    font-size: 1.1rem !important;
    padding: 0 !important;
    margin-bottom: 0;
}

.contact-text-contact {
    padding: 0 10px;
    font-size: 1.8vh;
    text-align: center;
    line-height: 1.5rem;
}

.contact-text-contact:last-child {
    margin-top: 10px;
}


/* Contact confirm */

/* .contact-container fieldset {

} */

.contact-confirm {
    font-weight: bold;
}

.confirm-scroll {
    max-width: 450px;
    min-height: 140px;
    max-height: 150px;
    overflow-wrap: break-word;
    overflow-y: scroll;
}

.contact-container p {
    margin-bottom: 0;
}


/* Contact complete */
.contact-container img {
    display: block;
    width: 200px;
    text-align: center;
    margin: 50px auto;
}

.contact-complete-text {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.contact-complete-btn {
    margin-top: 100px;
}

.contact-complete-btn a {
    color: #fff !important;
    background-color: #000000;
    padding: 15px 25px;
}

/* Product */
.product-title {
    display: block;
    margin: 50px auto;
    text-align: center;
}

.product-title h3 {
    margin-bottom: 20px;
}

.products {
    width: 100% !important;
    display: flex;
    margin-bottom: 50px;
}

.products img {
    width: 300px;
    height: 100%;
    margin-right: 40px;
}

.products-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    margin-top: 0;
}

.products-box {
    width: 100%;
}

.products-btn {
    text-align: right;
    font-size: 0.8rem;
}

.products-btn a {
    border: 1px solid black;
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.5s;
}

.products-btn a:hover {
    background-color: black;
    color: #fff !important;
}

.products-tiny-text {
    font-size: 0.8rem;
}

.buy-button {
    background-color: #000000;
    color: #fff !important;
    padding: 10px 15px 7px 15px;
    border-radius: 5px;
    margin-left: 50px;
}
.fa-shopping-cart{
    margin-right: 5px;
}
.title-container {
    display:flex;
    justify-content: center;
    align-items:center
}

/* Product MINE MINE! */
.mine-pics {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 50px;
}

.video {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 150px;
}

/* Product DATTO */
.datto-pics {
    width: 100% !important;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 50px;
}

.datto-pics img:first-child {
    width: 340px;
    height: 100%;
}

.datto-pics img:last-child {
    width: auto;
    max-height: 432px;
}

.datto-img {
    display: block;
    margin: 0 auto;
    margin-bottom: 20px;
}

.thanks {
    margin: 0 auto;
    width: 50%;
    text-align: center;
}

.privacy-policy-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 80px;
    width: 800px;
    height: 100%;
    border: 1px solid black;
    margin: 0 auto;
    margin-top: 60px;
    margin-bottom: 100px;
}

.privacy-policy-section p {
    margin-bottom: 0;
}

.fade-in {
    opacity: 0;
    transform: translate(0,80px);
    transition: all 800ms;
}
.fade-in.scrollin {
    opacity: 1;
    transform: translate(0,0);
}


/* logo intro */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeOut 1.5s 2s forwards;
  }
  
  @keyframes fadeOut {
    0% {
      opacity: 1;
    }
  
    100% {
      opacity: 0;
      visibility: hidden;
    }
  }
  
  .loading__logo {
    opacity: 0;
    animation: logo_fade 2s 0.5s forwards;
    width: 175px;
  }
  
  @keyframes logo_fade {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
  
    60% {
      opacity: 1;
      transform: translateY(0);
    }
  
    100% {
      opacity: 0;
    }
  }

  .active-nav {
    padding-bottom: 3px;
    border-bottom: #222222 2px solid;
  }

  .slogan-sp {
    display: none;
  }

  .blog-thumbnail {
    width: 100%;
    max-height: 500px;
    overflow: scroll;
    display: flex;
    flex-wrap: wrap;
    transition: all 1s ease-out;
  }
  .thumbnail-wrap{
    overflow: hidden;
  }
  .blog-thumbnail img:hover {
    cursor: copy;
    opacity: 0.5;
  }
  .blog-thumbnail img:active {
    transform: skew(-2deg) rotate(2deg);
  }
  .thumbnail-item {
    width: 33.33%;
    height: auto;
    padding: 5px;
    border: gray 1px solid
  }

.blogs-list {
    max-width: 70%;
    display: flex;
    margin: 20px auto;
    box-shadow: 5px 5px 10px -3px rgba(0, 0, 0, 0.09);
    position: relative;
    background-color: #f9f9f9;
}

.blogs-list:hover {
    box-shadow: 5px 5px 10px -3px rgba(0.19, 0.19, 0, 0.19);
}

.blogs-list img {
    width: 200px;
}
.blog-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 20px;
}
  
.blogs-date {
    position: absolute;
    right: 20px;
    top: 10px;
    color: #858585;
}
.blogs-title{
    margin: 0;
    padding: 0 100px 0 0 ;
    overflow: hidden;
    width: 100%;
}
.blogs-title-l {
    font-weight: bold;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #4f4f4f;
}

.blog-image-title {
    width: 100%;
    background-color: gray;
    padding: 5px 10px;
    color: #fff;
    margin-top: 20px;
}
.file-upload {
    width: 100%;
    height: 100%;
    border: 1px gray solid;
    text-align: center;
    background-image: url(/webroot/img/up-bg.png) ;
    background-repeat: no-repeat;
    background-attachment: cover;
    background-position: center;
}
.file-upload button {
    background-color: #000000;
    font-size: 0.8rem;
    padding: 10px 15px;
}
.file-upload button:disabled {
    cursor: not-allowed;
}
.file-upload input {
    width: 100%;
    text-align: center;
}

.embed-container {
    width: calc((100% - 10px) / 3);
    height: 100%;
    position: relative;
    margin-bottom: 20px;
    margin-right: 5px;
}
.embed-container:nth-child(3n) {
    margin-right: 0;
}
.embed-curtain {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0.19, 0.19, 0, 0.19);
}
.embed-curtain:hover {
    cursor: copy;
    opacity: 0.5;
}
.side-nav {
    position: relative;
}
.copy-msg {
    display: none;
    text-align: center;
    width: 200px;
    height: auto;
    top: 30vh;
    left: 50%;
    position: fixed;
    background-color: rgba(167, 251, 188, 0.8);
    z-index: 1000000;
    padding: 20px;
    border-radius: 10px;
}
#content1 {
    min-height: 500px;
}
.blog-files-thumbnail {
    max-width: 50px;
}
