@import url('https://fonts.googleapis.com/css2?family=Courgette&family=M+PLUS+Rounded+1c&family=Rampart+One&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}
html {
    scroll-behavior: smooth;
}
.link-color , .link-color:visited{
    color: black;
}


/* loading */
.loader-wrapper {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #CCD0D4;
}
/* ダークモード */
@media (prefers-color-scheme: dark) {
    .loader-wrapper {
        background-color: #22273c;
    }
}

.loader {
  text-align: center;
  text-transform: uppercase;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 4.6875em;
  color: transparent;
  letter-spacing: 0.01em;
}
.loader span {
  text-shadow:
    0 0 2px rgba(204, 208, 212, 0.9),
    0 15px 25px rgba(0, 0, 0, 0.3),
    0 -2px 3px rgba(0, 0, 0, 0.1),
    0 -5px 10px rgba(255, 255, 255, 0.5),
    0 5px 10px rgba(0, 0, 0, 0.3),
    0 3px 4px rgba(255, 255, 255, 0.2),
    0 0 20px rgba(255, 255, 255, 0.45);

  animation: loading 0.85s ease-in-out infinite alternate;
}
/* ダークモード */
@media (prefers-color-scheme: dark) {
  .loader span {
    text-shadow:
      0 0 2px rgba(34, 39, 60, 0.9),
      0 15px 25px rgba(0, 0, 0, 0.3),
      0 -2px 3px rgba(0, 0, 0, 0.1),
      0 -5px 10px rgba(255, 255, 255, 0.5),
      0 5px 10px rgba(0, 0, 0, 0.3),
      0 3px 4px rgba(255, 255, 255, 0.2),
      0 0 20px rgba(255, 255, 255, 0.45);
  }
}

@keyframes loading {
  to {
    text-shadow:
      0 0 2px rgba(204, 208, 212, 0.2),
      0 0 3px rgba(0, 0, 0, 0.02),
      0 0 0 rgba(0, 0, 0, 0),
      0 0 0 rgba(255, 255, 255, 0),
      0 0 0 rgba(0, 0, 0, 0),
      0 0 0 rgba(255, 255, 255, 0),
      0 0 0 rgba(255, 255, 255, 0);
  }
}
/* ダークモード */
@media (prefers-color-scheme: dark) {
  @keyframes loading {
    to {
      text-shadow:
        0 0 2px rgba(34, 39, 60, 0.2),
        0 0 3px rgba(0, 0, 0, 0.02),
        0 0 0 rgba(0, 0, 0, 0),
        0 0 0 rgba(255, 255, 255, 0),
        0 0 0 rgba(0, 0, 0, 0),
        0 0 0 rgba(255, 255, 255, 0),
        0 0 0 rgba(255, 255, 255, 0);
    }
  }
}

.loader span:nth-child(2) {
  animation-delay:0.15s;
}
.loader span:nth-child(3) {
  animation-delay:0.30s;
}
.loader span:nth-child(4) {
  animation-delay:0.45s;
}
.loader span:nth-child(5) {
  animation-delay:0.60s;
}
.loader span:nth-child(6) {
  animation-delay:0.75s;
}
.loader span:nth-child(7) {
  animation-delay:0.90s;
}


.max-width {
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
}

.rubi {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 20px;
    margin: 10px 0 -5px;
}


/* navbar */
.navbar {
    position: fixed;
    width: 100%;
    z-index: 999;
    padding: 10px 0;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    transition: all 0.3s ease;
    background-color: #fff;
}
.navbar.sticky {
    padding: 15px 0;
    background: #0a81ef;
}
.navbar .max-width {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar .logo a {
    color: #000;
    font-size: 35px;
    font-weight: 600;
}
.navbar .logo a span {
    color: #0a81ef;
    transition: all 0.3s ease;
}
.navbar.sticky .logo a span {
    color: #000;
}
.navbar .menu li {
    list-style: none;
    display: inline-block;
}
.navbar .menu li a {
    display: block;
    color: #000;
    font-size: 18px;
    font-weight: 500;
    margin-left: 25px;
    transition: color 0.3s ease;
}
.navbar .menu li a:hover {
    color: crimson;
}
.navbar.sticky .menu li a:hover {
    color: #000;
}

/* menu btn */
.menu-btn {
    color: #000;
    font-size: 23px;
    cursor: pointer;
    display: none;
}
.scroll-up-btn {
    position: fixed;
    height: 45px;
    width: 45px;
    background: #0a81ef;
    right: 30px;
    bottom: 10px;
    text-align: center;
    line-height: 45px;
    color: #000;
    z-index: 9999;
    font-size: 30px;
    border-radius: 30px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}
.scroll-up-btn.show {
    bottom: 30px;
    opacity: 1;
    pointer-events: auto;
}


/* home section */
.home {
    display: flex;
    background: url("/images/campus_spring_2.jpg") no-repeat center;
    background-size: cover;
    height: 100vh;
    color: #000;
    min-height: 500px;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}
.home .max-width{
    margin: auto 0 auto 40px;
}
.home .home-content {
    background-color: rgba(239, 235, 239, 0.8);
    padding: 40px 110px;
    border-radius: 20px;
}
.home .home-content .text-1{
    font-size: 27px;
}
.home .home-content .text-2{
    font-size: 75px;
    font-weight: 600;
    margin-left: -3px;
}
.home .home-content .text-3{
    font-size: 40px;
    margin: 5px 0;
}
.home .home-content .text-3 span{
    color: crimson;
    font-weight: 500;
}
.home .home-content a {
    display: inline-block;
    background: crimson;
    color: #fff;
    font-size: 25px;
    padding: 12px 36px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}
.home .home-content a:hover {
    color: crimson;
    background: none;
}



/* all similar content styling code */
section {
    padding: 100px 0;
}
.about, .services, .sns, .teams, .contact, footer {
    font-family: 'M PLUS Rounded 1c', sans-serif;
}
.about .about-content, .services .serv-content, .sns .sns-content, .contact .contact-content {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
}
section .title {
    position: relative;
    text-align: center;
    font-size: 50px;
    font-weight: 500;
    margin-bottom: 60px;
    padding-bottom: 20px;
    font-family: 'Rampart One', sans-serif;
}
section .title::before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 180px;
    height: 3px;
    background: #111;
    transform: translateX(-50%);
}
section .title::after {
    position: absolute;
    bottom: -25px;
    left: 50%;
    font-size: 20px;
/*    color: #dfd8cd;*/
    padding: 5px;
    background: #fff;
    transform: translateX(-50%);
}



/* about section */
.about .title::after {
    content: "who we are"
}
.about .about-content .left {
    width: 40%;
}
.about .about-content .left img {
    height: 400px;
    width: 400px;
    object-fit: cover;
    border-radius: 6px;
}
.about .about-content .right {
    width: 60%;
    line-height: 40px;
}
.about .about-content .right .text {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 10px;
}
.about .about-content .right .text span {
    color: crimson;
}
.about .about-content .right p {
    text-align: justify;
}
.about .about-content .right a {
    display: inline-block;
    background: crimson;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    padding: 10px 30px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}
.about .about-content .right a:hover {
    color: crimson;
    background: none;
}




/* news section */
.services, .teams {
    color: #fff;
    background: #222;
}
.services .title::before, .teams .title::before {
    background: #fff;
}
.services .title::after, .teams .title::after {
    background: #222;
    content: "News";
}
.services .serv-content .card {
    width: calc(33% - 20px);
    text-align: center;
    border-radius: 6px;
    border: 1px solid;
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: inherit;
}
.services .serv-content .card:hover {
    background: crimson; 
}
.services .serv-content .card .box {
    transition: all 0.3s ease;
}
.services .serv-content .card:hover .box{
    transform: scale(1.05);
}
.services .serv-content .card i {
    font-size: 50px;
    color: crimson;
    transition: color 0.3s ease;
}
.services .serv-content .card:hover i {
    color: #fff; 
}
.services .serv-content .card .text {
    font-size: 25px;
    font-weight: 500;
    margin: 10px 0 7px 0;
}


/* SNS section */
.character {
    margin-left: 75%;
    transform: translateY(-100px);
}
.figcaption {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 12px;
    text-align: right;
    transform: translate(-140px, -100px);
}
.sns .title::after {
    content: "follow us";
}
.sns .sns-content .column {
    margin-top: -90px;
    width: calc(50% - 30px);
}
.sns .sns-content .left .text {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}
.sns .sns-content .left p {
    text-align: justify;
}
.sns .sns-content .left a {
    display: inline-block;
    background: crimson;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 8px 16px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}
.sns .sns-content .left a:hover {
    color: crimson;
    background: none;
}
.sns .sns-content .right .bars {
    margin-bottom: 15px;
}
.sns .sns-content .right .info {
    display: flex;
    margin-bottom: 5px;
    align-items: center;
    justify-content: space-between;
}
.sns .sns-content .right span {
    font-weight: 500;
    font-size: 18px;
}
.sns .sns-content .right .line {
    height: 5px;
    width: 100%;
    background: lightgrey;
    position: relative;
}
.sns .sns-content .right .line::before {
    content: "";
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    background: crimson;
}
.sns-content .right .html::before {
    width: 90%;
}
.sns-content .right .css::before {
    width: 60%;
}
.sns-content .right .js::before {
    width: 80%;
}
.sns-content .right .php::before {
    width: 50%;
}
.sns-content .right .mysql::before {
    width: 70%;
}

/* footer section */
footer {
    background: #b3c3d1;
    padding: 0 10px;
    color: #111;
    display: flex;
    font-size: 20px;
    justify-content: center;
}
footer span {
    margin-top: 18px;
}
.footer-logo {
    transform: translateY(10px);
    width: 60px;
    height: 30px;
}
.sns-btn {
    display: flex;
    margin-left: 40px;
    list-style: none;
    margin-right: 10%;
}

.sns-btn img {
    width: 40px;
    margin: 20px 35px;
}
.sp {
    display: none;
}
.lit-link {
    font-family: "Courgette", cursive;
    font-size: 26px;
    margin-top: 25px;
    margin-left: 25px;
}

/* responsive media query */
@media (max-width: 1300px){
    .home .max-width{
        margin-left: 0px;
    }
}
@media (max-width: 1104px){
    .about .about-content .left img {
        height: 350px;
        width: 350px;
    }
}
@media (max-width: 991px){
    .max-width {
        padding: 0 50px;
    }
    .home .home-content {
        padding: 30px 60px;
    }
}
@media (max-width: 947px){
    .menu-btn {
        display: block;
        z-index: 999;
    }
    .menu-btn i.active:before {
        content: "\f00d";
    }
    .navbar .menu {
        position: fixed;
        height: 100vh;
        width: 100%;
        left: -100%;
        top: 0;
        background: #fff;
        text-align: center;
        padding-top: 80px;
        transition: all 0.3s ease;
    }
    .navbar .menu.active {
        left: 0;
    }
    .navbar .menu li {
        display: block;
    }
    .navbar .menu li a {
        display: inline-block;
        margin: 20px 0;
        font-size: 25px;
    }
    .home .home-content .text-2{
        font-size: 70px;
    }
    .home .home-content .text-3{
        font-size: 35px;
    }
    .home .home-content a {
        font-size: 23px;
        padding: 10px 30px;
    }
    .max-width {
        max-width: 800px;
    }
    .about .about-content .column {
        width: 100%;
    }
    .about .about-content .left {
        display: flex;
        justify-content: center;
        margin: 0 auto 60px;
    }
    .about .about-content .right {
        flex: 100%;
    }
    .services .serv-content .card {
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }
    .sns .sns-content .column, .contact .contact-content .column {
        width: 100%;
        margin-bottom: 35px;
    }
    footer {
        font-size: 15px;
    }
    .sns-btn img {
        width: 30px;
        margin: 30px 30px 20px 0;
    }
    .lit-link {
        font-size: 25px;
        margin-top: 30px;
        margin-left: 0;
    }
}

@media (max-width: 690px){
    .loader {
        font-size: 60px;
    }
    .max-width {
        padding: 0 23px;
    }
    .home .home-content .text-2{
        font-size: 60px;
    }
    .home .home-content .text-3{
        font-size: 32px;
    }
    .home .home-content a {
        font-size: 20px;
    }
    .services .serv-content .card {
        width: 100%;
    }
    .sp {
        display: block;
    }
}

@media (max-width: 500px){
    .loader {
        font-size: 45px;
    }
    .home .home-content .text-2{
        font-size: 50px;
    }
    .home .home-content .text-3{
        font-size: 16px;
    }
    .typing {
        color: aqua;
    }
    .home .home-content a {
        font-size: 20px;
        padding: 18px;
    }
    .sub-text {
        font-size: 14px;
    }
    .services .serv-content .card {
        margin: 10px 10%;
    }
    footer span {
        margin-top: 0;
        margin-bottom: 5px;
        font-size: 10px;
        line-height: 20px;
    }
    .footer-logo {
        width: 44px;
        height: 22px;
        transform: translateY(7px);
    }
    .character {
        width: 90px;
        height: 120px;
    }
    .figcaption {
        font-family: 'M PLUS Rounded 1c', sans-serif;
        font-size: 8px;
        text-align: right;
        transform: translateY(-100px);
    }
    .sns .sns-content .column {
        margin-top: -20px;
    }
    .sns .sns-content .left {
        margin-top: -100px;
    }
    .sns-btn {
        display: flex;
        margin-left: 40px;
        list-style: none;
        margin-right: none;
    }
    .sns-btn img {
        width: 20px;
        margin: 15px 10px 0;
    }
    .sp {
        display: block;
    }
    .lit-link {
        font-size: 15px;
        margin-top: 17px;
        margin-left: 10px;
    }
    .home {
        min-height: 100%;
    }
}

@media (min-width: 769px) {
    .home {
        background-attachment: fixed;
    }
}




