@charset "UTF-8";
/*
Theme Name: UPLAST Original theme
Theme URL: https://uplastkaitori.com/hp
Description:  株式会社UPLASTのホームページです。
Author: 株式会社UPLAST
Version: 1.0.0
*/

/* all */
body {
    font-size: 100%;
    text-size-adjust: 100%;
    letter-spacing: 0.7px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    line-height: 1;
    margin:0 auto;
    background: #f6f6f6;
  }

html {
  scroll-behavior: smooth;
}

*{
  box-sizing: border-box;
  margin:0;
  padding:0;
}

h1{
  font-size: 35px;
}

h2{
  font-size: 28px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom:35px;
}

h3{
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
}

p,th,td,li{
  font-size: 15px;
  line-height: 2;
  letter-spacing: 1px;
}

ul {
  list-style:none;
}

a{
  text-decoration: none;
  font-size: 14px;
}

ol{
  padding-left:1.5em;
  line-height: 1.6;
}

table{
  width: 100%;
  border-collapse: collapse;
}

input, select, textarea  {
  font-size: 100%;
  border: 1px solid #ddd;
  padding: 10px;
  width: 100%;
}

textarea{
  width: 100%;
  padding:10px;
}

img {
  vertical-align: bottom;
  object-fit: cover;
}

textarea:focus,select:focus,input:focus{
  outline: none;
}

a:hover,button:hover{
  cursor: pointer;
}

input,select{
  border-radius: 0;
}

a[href*="tel:"] {
  color:#000000;
}

.is_sp{
  display: none;
}

.box_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.cal_2{
  display: inline-block;
  width: calc(50% - 40px / 2);
}

.cal_3{
  display: inline-block;
  width: calc(33.33% - 60px / 3);
}

.cal_4{
  display: inline-block;
  width: calc(25% - 40px / 4);
} 

.cal_6{
  display: inline-block;
  width: calc(16.6% - 30px / 6);
} 

.wrapper{
  max-width: 1040px;
  width: 100%;
  margin:0 auto;
  padding:80px 40px;
}

.inner{
    max-width: 1020px;
    width: 100%;
    margin:0 auto;
    padding:120px 25px 120px 25px;
  }

.en{
  font-weight: bold;
  font-size: 150px;
  letter-spacing: 4px;
  line-height: 1;
  color: #ffffff;
  position: absolute;
  left:0;
  top: 80px;
  z-index: -1;
  font-family: "Jost", sans-serif;
}

i{
  padding-right:4px;
}

/* header */
header{
  z-index: 10;
  max-width: 1440px;
  width: 100%;
  height: 70px;
  position: absolute;
  top:0;
}

.logo_b{
  display: none;
}

.fixed{
  position: fixed;
  top:120px;
  z-index: 99;
  right: 0;
}

.fixed .is_pc{
  display: block;
  margin-bottom: 10px;
}

.tell_icon{
  margin-right:5px;
  vertical-align: top;
  padding-top: 3px;
}

.is_sp{
  display: none;
}

.nav_menu li a{
  font-size: 14px;
  line-height: 1.5;
  padding: 25px 15px;
  font-weight: 500;
  display: block;
  letter-spacing: 1px;
}

.fixed .nav_menu li a{
  padding:20px 5px;
}

.nav_menu li a span{
  color: #1ab5e1 ;
  font-family: "Jost", sans-serif;
}

.logo_w{
  margin:6px 0 0 40px;
}

.fixed .logo_w{
  display: none;
}

.fixed .logo_b{
  display: block;
  padding-top:15px;
}

header h1{
  float: left;
  line-height: 1.2;
}

.header a{
  color:#333333;
  letter-spacing: 1px;
}

input#menu-btn-check{
  display: none;
}

.header ul{
  display: flex;
  justify-content: flex-end;
  margin-right:15px;
}

.nav_menu li a:hover{
  opacity: 0.7;
}

.header_btnbox{
  text-align: right;
  margin:20px 0 0 0;
}

.header_btnbox div{
  display:inline-block;
  text-align: center;
  margin-right: 20px;
  vertical-align: top;
}

.tell_btn p{
  font-size: 19px;
}

.tell_btn{
  font-family: "Josefin Sans", sans-serif;
  font-weight: 300;
}

.tell_btn span{
  font-size: 12px;
  padding-left: 10px;
  margin-left: 10px;
  border-left: 1px solid #b0b0b0;
  color: #6b6b6b;
  font-family: "Inter", sans-serif;
}

.mail_btn{
  max-width: 170px;
  width: 100%;
  background: #f6ab00;
  border-radius: 99px;
}

.mail_btn a{
  color:#ffffff;
  padding:13px 0;
  display: block;
  font-size: 15px;
}

.line_btn{
  max-width: 170px;
  width: 100%;
  border:2px solid #004ea2;
  background: #ffffff;
  border-radius: 99px;
}

.line_btn a{
  color:#004ea2;
  padding:13px 0;
  border-radius: 99px;
  font-size: 15px;
  display: block;
}

.contact{
    padding:2px;
   background: #0399e2;
    margin:11px;
}

.contact a{
    background: #0399e2;
    color: #ffffff;
    border:1px solid #ffffff!important;
    padding: 11px 30px !important;
}

/* index */

.swiper{
  position: relative;
  margin-top:70px;
}

.top_cover{
  position: absolute;
  z-index: 99;
}

.top_text{
  position: absolute;
  z-index: 99;
  top: 335px;
  left: 110px;
}

.scroll_line{
  position: absolute;
  z-index: 99;
  right: 20px;
  bottom:140px;
  writing-mode: vertical-rl;
  font-family: "Josefin Sans", sans-serif;
  color: #ffffff;
  font-weight: 300;
}


.scroll{
  position: absolute;
  right: 35px;
  bottom: -80px;
  width: 2px;
  z-index: 99;
  height: 200px;
}

.scroll-bar-container {
  width: 100%;
  height: 100%;
  background: #eee;
  overflow: hidden;
  position: relative;
}

.scroll-bar {
  height: 0%;
  background: linear-gradient(135deg, #0399e2 0%, #033793 100%);
  width: 100%;
  animation: growBar 2s linear infinite;
}

@keyframes growBar {
  0% {
    height: 0%;
  }
  100% {
    height:100%;
  }
}

.top_btnbox img{
  position: absolute;
  z-index: 99;
  top: 400px;
  filter: drop-shadow(7px 7px 7px #ddd);
}

.top_btn01{
  left: 110px;
}

.top_btn02{
  left:280px;
}

.blue{
  color: #0399e2;
  font-weight: 500;
}

.about_section{
  position: relative;
}

.about_section .inner{
  max-width: 750px;
}

.about_section .right{
   writing-mode: vertical-rl;
   width: 20%;
}

.about_section .left{
  width: 80%;
  padding-top:40px;
}

.about_section .left p{
  padding-bottom:15px;
}

.about_section h2 span{
  background: #ffffff;
  padding: 15px 5px;
}

.about_section .text01{
  font-size: 27px;
  padding-right: 25px;
  font-weight: 500;
  letter-spacing: 2px;
}

.work_section{
  position: relative;
  height: 450px;
}

.work_section .en{
  right: 0;
  left:auto;
  top: 0;
}

.work_section .box{
  position: absolute;
}

.work_section .box p{
  padding-bottom:10px;
}

.work_section .box01{
  left:0;
  top:0;
  max-width: 800px;
}

.work_section .box02{
  right:80px;
  top:80px;
  max-width: 350px;
}

.btn{
  background: #0399e2;
  max-width: 200px;
  margin-top:20px;
  padding: 2px;
}

.btn a{
  display: inline-block;
  width: 100%;
  padding:10px 0;
  color: #ffffff;
  text-align: center;
  font-family: "Jost", sans-serif;
  border:1px solid #ffffff;
  box-shadow: 0px 4px 4px rgb(77 77 77 / 17%);
}

.news_section{
  position: relative;
}


.post_item{
  display: flex;
  padding: 20px;
  background: #ffffff;
}

.post_date{
  padding-right:10px;
}

.post_date p{
  color: #0399e2;
  font-family: "Jost", sans-serif;
}

.post_title p{
  color:#000000;
}

.archive_item{
  background: #ffffff;
  padding:20px;
  margin-bottom:15px;
}

.post_content{
  color:#656565;
  line-height: 1.3;
}

@keyframes infinity-scroll-left {
from {
  transform: translateX(0);
}
  to {
  transform: translateX(-130%);
}
}

.scroll-infinity{
  padding-bottom:100px;
}

.scroll-infinity__wrap {
  display: flex;
  overflow-x: hidden;
  width: 100vw;
}

.scroll-infinity__list {
  display: flex;
  list-style: none;
  padding: 0
}
.scroll-infinity__list--left {
  animation: infinity-scroll-left 80s infinite linear 0.5s both;
}
.scroll-infinity__item {
  width: calc(100vw / 1.6);
}
.scroll-infinity__item>img {
  width: 100%;
}

/* page */
.subpage{
  max-width: 1060px;
  width: 100%;
  margin:0 auto;
  padding: 50px 15px 80px 15px;
}

.subpage_h1{
padding: 70px 60px;
margin-top:70px;
color: #ffffff;
font-weight: 600;
background:#217bbd;
background-size: cover;
font-size: 33px;
letter-spacing: 3px;
font-weight: 500;
background: linear-gradient(rgb(99 174 255 / 84%), rgb(93 170 255 / 84%)), url(img/back.jpg);
background-position: center;
position: relative;
}

.subpage_h1 span{
position: absolute;
font-size: 100px;
bottom: -20px;
right: 0;
color: #ffffff61;
font-family: "Jost", sans-serif;
letter-spacing: 0;
font-weight: 600;
}

.subpage h2{
line-height: 1;
padding:20px 5px ;
font-size: 20px;
color:#217bbd;
border-bottom: 1px dashed #217bbd;
}

.subpage .text_block{
padding:15px 30px ;
border: 2px solid #217bbd;
border-radius: 5px;
margin-bottom:60px;
}

.subpage .text{
padding:20px 5px;
}

.breadcrumbs{
padding:10px;
font-size: 14px;
color: #777777;
}

.breadcrumbs a{
  color: #777777;
}

.breadcrumbs .h_en{
display: none;
}


.table{
  border-top:none;
  }

  .table th,.table td{
    padding:20px 40px;
    border:1px dotted #0399e2;
    border-right:none!important;
    border-left:none!important;
        background:#ffffff;
  }

  .table th{
    width:25%;
    color:#0399e2;
    background:#eee;
  }

  .table th p{
    color:#0399e2;
  }
  .table .note{
    font-size: 10px;
    color:#777777;
    font-weight: normal;
    letter-spacing: 1px;
  }

.wpcf7 form.sent .wpcf7-response-output{
border-color:#3c60c7!important;
}

.wpcf7-spinner{
  display: none!important;
}

.required{
	font-size:10px;
}

.submit-container{
  max-width: 300px;
  margin: 20px auto 0 auto;
}


.submit-container input{
  background: #0399e2;
  color: #ffffff;
  box-shadow: 0px 4px 4px rgb(77 77 77 / 17%);
}

.service_img01{
  position: absolute;
  left: -195px;
  top:-15px;
  border-radius: 0 7px 7px 0;
}

.policy .ol_li{
  margin-top:20px;
}

.policy ol{
  padding-left: 1em;
}

.policy .text_box{
  background: #ffffff;
  padding:10px;
 margin-top: 10px;
}

.policy .disc{
  list-style: disc;
  padding-left: 1em;
margin-top: 5px;
}

.policy .date{
  margin-top:20px;
  text-align: right;
}

.message_container .cal_2{
    background: #ffffff;
    padding: 21px;
    width: calc(50% - 20px / 2);
}

.message_container .cal_2 p{
padding-bottom:10px;
    font-size: 14px;
}

.message_container .cal_2 h3{
  padding-bottom:10px;
}

.message_container .cal_2 .name{
text-align:right;
}


/* footer */

footer{
  text-align: center;
  background: #ffffff;
}

footer .inner{
  padding:30px 25px 50px 25px;
}

footer ul{
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 20px;
}

footer ul a{
  color:#939393;
}

small{
  font-size: 11px;
  background: #383838;
  color:#ffffff;
  text-align: center;
  padding:20px 0;
  display: block;
}

/* ローディングアニメーション */
.loading-screen {
  position: fixed; /* ← これが重要！ */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #f6f6f6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* ← ヘッダーより上になるように十分大きな値にする */
}

.bouncing-loader {
  display: flex;
  gap: 10px;
}

.bouncing-loader div {
  width: 10px;
  height: 10px;
  background-color: #0399e2;
  border-radius: 50%;
  animation: bounce 0.6s infinite ease-in-out;
}

.bouncing-loader div:nth-child(2) {
  animation-delay: 0.2s;
  background-color: #5ab5ea;
}

.bouncing-loader div:nth-child(3) {
  animation-delay: 0.4s;
  background-color: #a3d9f5;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

.loading-logo {
  width: 250px;
  animation: pulse 1.5s ease-in-out infinite;
  margin-bottom: 30px;
}

body.noscroll {
  overflow: hidden;
  height: 100vh;
  overscroll-behavior: none;
}
