@charset "UTF-8";

html{
    font-size: 100%;
    background-color: #004efe;
}
body{
    color: #333;
    font-family: 'Roboto', 'Noto Sans JP', sans-serif;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.05em;
}
img{
    max-width: 100%;
    vertical-align: middle;
}
li{
    list-style: none;
}
a{
    color: #000;
    text-decoration: none;
}
a:hover{
    opacity: 0.7;
}

/*------
ヘッダー
-----*/

#header{
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #eceef4;
    padding: 0 20px;
    position: relative;
}
#header::after{
    content: "";
    width:  100%;
    max-width: 1400px;
    height: 1px;
    background-color: #333;
    margin: 0 auto;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
#header .logo{
    width: 100%;
    max-width: 300px;
    
}
#header .logo a{
    display: block;
}
#header .navi .menu{
    display: flex;
    align-items: center;
}
#header .navi .menu li{
    font-size: 14px;
    margin-left: 40px;
}
#header .navi .menu .menu-contact a{
    background-color: #004efe;
    border-radius: 30px;
    color: #fff;
    display: block;
    padding: 8px 80px 8px 20px;
    text-align: center;
    position: relative;
}
#header .navi .menu .menu-contact a::after{
    content: "";
    width: 40px;
    height: 1px;
    background-color: #fff;
    margin: 0 auto;
    position: absolute;
    top: 15px;
    left: 100px;
    right: 0;
}

/*------
ロゴビジュアル
-----*/

.logovisual{
    background-color: #eceef4;
    padding-top: 170px;
    padding-bottom: 170px;
}
.logo-mark{
    text-align: center;
    margin: 0 auto;
}
.logo-mark img{
    width: 100%;
    max-width: 200px;

}

/*------
メインビジュアル
-----*/

.mainvisual{
  position: relative;
  height: 100vh;
  z-index: 10;
}
.mainvisual img{
  width: 100%;
  height: 100%;
  max-height: 1000px;
  object-fit: cover;
}
.mainvisual .text{
  position: absolute;
  top: 500px;
  left: 100px;
  color: #fff;
}
.mainvisual .text .title{
  letter-spacing: 0.1em;
  font-size: 30px;
  font-weight: 500;
  padding-bottom: 30px;
}
.mainvisual .text .detail{
  font-size: 16px;
}
.mainvisual .text .detail .ip{
  display: none;
}
.scroll-down {
  position: absolute;
  bottom: -30px;
  left: 50%;
  z-index: 30;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: #004efe;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: 0.3s;
  z-index: 50;
}
.scroll-down:hover {
  opacity: 1;
}
/* ↓ 矢印部分（CSSだけで作る） */
.scroll-down .arrow {
  display: block;
  width: 12px;
  height: 12px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.3s ease; 
}

/* ホバーしたときに下に沈む */
.scroll-down:hover .arrow {
  transform: rotate(45deg) translate(3px, 3px); /* ← translateYの代わりにtranslate(x,y)で調整 */
}


/*------
コンセプト
-----*/

.wrapper{
  max-width: 1250px;
  padding: 0 20px;
  margin: 0 auto;
}
.concept{
  color: #fff;
  padding-top: 300px;
}
.concept .text{
  padding-bottom: 350px;
}
.concept .text .title{
  font-size: 25px;
  padding-bottom: 20px;
}
.concept .text .subtitle{
  font-size: 18px;
}
.concept .description{
  display: flex;
  justify-content: space-between;
  padding-bottom: 150px;
  font-size: 14px;
}
.concept .description .detail{
  width: 100%;
  max-width: 550px;
  line-height: 2;
}
.concept .description .skill{
  width: 100%;
  max-width: 400px;
}
.concept .description .skill .title{
  padding-bottom: 15px;
}

.concept .img {
  width: 100%;
  display: flex;
  justify-content: space-between; /* ← 戻す */
  flex-wrap: nowrap; /* ← 折り返さない */
  gap: 40px; /* ← 余白はgapで制御 */
  padding-bottom: 200px;
}

.concept .img img {
  width: calc((100% - 80px) / 3); /* ← gapぶんを引いて3等分 */
  max-width: 370px;
  height: auto;
  object-fit: cover;
  border-radius: 30px;
}

/*------
事業内容
-----*/
#service{
  background-color: #eceef4;
}
#service .wrapper{
  max-width: 1250px;
  padding: 0 20px;
  margin: 0 auto;
}
.works{
  background-color: #eceef4;
  padding: 0;
  margin: 0 auto;
}
.worksgrod-wrapper{
  max-width: none;
}
.works .works-title{
  font-size: 25px;
  font-weight: 500;
  padding-top: 180px;
  padding-bottom: 100px;
}
#service .works .blue-box .blue-title {
  display: inline-block;
  border: 1px solid #fff;
  color: #fff;
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 16px;
  width: auto; /* ←親のflexの影響を防ぐ */
  align-self: flex-start; /* ←左寄せ＆幅を子要素に合わせる */
  white-space: nowrap; /* ←文字が折り返されないように */
}
.works .blue-box .blue-detail{
  font-size: 14px;
  padding-top: 15px;
}
.works-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding-bottom: 280px;
}
.works-grid > *{
  aspect-ratio: 1 / 1;
  border-radius: 30px;
  overflow: hidden;
}
.works-grid > :nth-child(1) {
   grid-column: 1; 
   grid-row: 1; 
}
.works-grid > :nth-child(2) {
   grid-column: 2;
   grid-row: 1;
}
.works-grid > :nth-child(3) {
   grid-column: 3;
   grid-row: 1;
}
.works-grid > :nth-child(4) {
   grid-column: 1;
   grid-row: 2; 
}
.works-grid > :nth-child(5) {
   grid-column: 2;
   grid-row: 2; 
}
.works-grid > :nth-child(6) {
   grid-column: 3;
   grid-row: 2;
}
.service img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blue-box{
  background-color: #004efe;
  color: #fff;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.slide-box {
  position: relative;
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.slide.active {
  opacity: 1;
}

/*　アクセス */
.access{
  padding-top: 100px;
  margin-bottom: 120px;
}
.access p{
  font-size: 25px;
  color: #fff;
  font-weight: 500;
  padding-bottom: 50px;
  padding-top: 30px;
}
.access .info-flex {
  display: flex;
  padding-top: 30px;
}
.access .info-flex .info {
  margin-right: auto;
  padding-right: 5px;
  color: #fff;
}
.access .info dt{
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 500;
}
.access .info dd{
  margin-bottom: 30px;
  font-size: 14px;
}
.access .info dd a{
  color: #fff;
}
.access .map{
  width: 100%;
  max-width: 650px;
  height: 450px;
}
.access .map iframe{
  width: 100%;
  height: 100%;
}

 /*　コンタクト　*/
#contact{
  background-color: #eceef4;
}
#contact .wrapper{
  max-width: 1000px;
}
.contact-form{
  padding-bottom: 80px;
}
.contact-form .contact-title{
  text-align: center;
  font-size: 25px;
  font-weight: 500;
  padding-top: 200px;
}
.contact-form .contact-detail{
  font-size: 16px;
  padding-top: 60px;
  padding-bottom: 100px;
  text-align: center;
}
.contact-form dt{
  font-weight: 500;
  margin-bottom: 10px;
}
.contact-form dt .require{
  color: #004efe;
  margin-left: 5px;
}
.contact-form dd{
  margin-bottom: 40px;
}
.contact-form dd input[type="text"],
.contact-form dd input[type="email"]{
  width: 100%;
  background-color: #DCDEE5;
  padding: 15px 10px;
}
.contact-form dd textarea{
  width: 100%;
  height: 200px;
  background-color: #DCDEE5;
  padding: 15px 10px
}
.contact-form .btn{
  padding-top: 30px;
  padding-bottom: 100px;
  text-align: center;
}
.contact-form .btn input{
  background-color: #004efe;
  color: #fff;
  font-size: 16px;
  padding: 15px 40px;
  border-radius: 50px;
}

footer{
  background-color: #004efe;
  padding: 10px 0;
  text-align: center;
}

footer img{
  width: 100%;
  max-width: 30px;
  align-items: center;
}
footer img a{
    display: block;
}

/*------
iPad　↓↓↓　　
-----*/

@media screen and (max-width:1024px){
  main{
    padding-top: 60px;
  }           /*　←ヘッダーを固定する　*/

  /*　ヘッダー　*/
  #header{
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
  }
  #header .logo{
    max-width: 230px;
  }

    /*　ヘッダー　ハンバーガー　*/
  #header .hamburger {
    width: 50px;
    height: 50px;
    cursor: pointer;
    position: fixed;
    top: 5px;
    right: 10px;
    z-index: 30;
  }
  #header .hamburger span {
    width: 30px;
    height: 3px;
    background-color: #004efe;
    display: inline-block;
    position: absolute;
    left: 10px;
    transition: all 0.4s;
  }
  #header .hamburger span:nth-of-type(1) {
    top: 16px; 
  }
  #header .hamburger span:nth-of-type(2) {
    top: 25px;
  }
  #header .hamburger span:nth-of-type(3) {
    top: 34px;
  }
  #header .navi {
    width: 80%;
    height: 100vh;
    background-color: #fff;
    position: fixed;
    top: 0;
    right: -80%;
    z-index: 20;
    transition: all 0.6s;
  }
  #header .navi .menu {
    width: 100%;
    height: 100vh;
    flex-direction: column;
    padding: 80px 0;
    overflow: auto;
  }
  #header .navi .menu li {
    padding: 12px 0;
    margin-left: 0;
  }
  #header .navi.active {
    right: 0;
  }
  #header .hamburger.active span:nth-of-type(1) {
    top: 24px;
    transform: rotate(-45deg);
  }
  #header .hamburger.active span:nth-of-type(2) {
    opacity: 0;
  }
  #header .hamburger.active span:nth-of-type(3) {
    top: 24px;
    transform: rotate(45deg);
  }
  #header::after{
    display: none;
  }

    /*　ロゴビジュアル　*/
  .logo-mark img{
    max-width: 150px;
  }

    /*　メインビジュアル　*/
.mainvisual{
  height: 650px;
}
.mainvisual .text{
  top: 420px;
  left: 35px;
}
.mainvisual .text .title{
  font-size: 28px;
  padding-bottom: 20px;
}
.mainvisual .text .detail{
  font-size: 18px;
}

  /*　コンセプト　*/
.wrapper{
  max-width: 1250px;
  padding: 0 30px;
  margin: 0;
}
.concept{
  padding-top: 200px;
}
.concept .text{
  padding-bottom: 230px;
}
.concept .text .title{
  padding-bottom: 15px;
}
.concept .description{
  display: block;
  font-size: 18px;
}
.concept .description .detail{
  max-width: 1000px;
  padding-bottom: 80px;
}
.concept .description .skill{
  max-width: 1000px;
}
.concept .description .skill .title{
  padding-bottom: 15px;
}
.concept .description .skill .detail{
  padding-bottom: 0;
}
.concept .img{
  display: block;
  padding-bottom: 120px;
  text-align: center;
}
.concept .img img{
  width: 100%;
  max-width: 1000px;
  height: 500px;
  margin-bottom: 50px;
}

  /*　事業内容　  */
#service .wrapper{
  padding: 0 30px;
  margin: 0;
}
.worksgrod-wrapper{
  max-width: 1250px;
  padding: 0 30px;
  margin: 0;
}
.works .works-title{
  font-size: 25px;
  padding-top: 180px;
  padding-bottom: 100px;
  margin-left: 0;
}
.works-grid{
  display: block;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: 100px;
}
#service .works .blue-box .blue-title {
  display: inline-block;
  border: 1px solid #333;
  color: #333;
  font-size: 18px;
  font-weight: 500;
}
.works .blue-box .blue-detail{
  font-size: 16px;
}
.blue-box{
  background-color: #eceef4;
  color: #333;
  padding: 25px;
  display: block;
  flex-direction: none;
  width: 100%;
  height: 250px;
}
.works-grid img{
  width: 100%;
  height: 600px;
  object-fit: cover;
}
.slide-box{
  width: 100%;
  height: 600px;
}

/*　アクセス */
.access{
  background-color: #004efe;
  padding: 60px 30px;
}
.access p{
  font-size: 25px;
  color: #fff;
  font-weight: 500;
  padding-bottom: 50px;
  padding-top: 20px;
}
.access .info-flex {
  flex-direction: column-reverse;
  padding-top: 0;
}
.access .info-flex .info {
  margin: auto;
  width: 100%;
  max-width: 900px;
  padding-right: 0;
  padding-top: 50px;
  align-items: center;
  justify-content: space-between;
  
}
.access .info dt{
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 500;
  float: left;
}
.access .info dd{
  margin-bottom: 40px;
  font-size: 16px;
  text-align: right;
}
.access .map{
  max-width: 970px;
  height: 450px;
}
/* コンタクト　*/
#contact .wrapper{
  max-width: 800px;
  padding: 0 30px;
  margin: auto;
  align-items: center;
}

footer{
  height: 60px;
}
}



/*-----------
スマホ
------------*/


@media screen and (max-width:767px){
  
    /* ロゴビジュアル */
  .logovisual{
    padding-top: 120px;
    padding-bottom: 120px;
  }

    /* メインビジュアル */
  .mainvisual{
  height: 400px;
  }
  .mainvisual img{
  height: 400px;
  }
  .mainvisual .text{
  margin: 0 auto;
  top: 230px;
  left: 30px;
  }
  .mainvisual .text .title{
    font-size: 20px;
    padding-bottom: 15px;
  } 
  .mainvisual .text .detail{
    font-size: 16px;
  }
  .mainvisual .text .detail .ip{
    display: inline-block;
  }

  /* コンセプト */
  .concept{
    padding-top: 180px;
  }
  .concept .text{
    padding-bottom: 150px;
  }
  .concept .text .title{
  font-size: 18px;
  }
  .concept .text .subtitle{
  font-size: 14px;
  }
  .concept .description{
  padding-bottom: 90px;
  font-size: 14px;
  }
  .concept .img img{
  width: 100%;
  max-width: 900px;
  height: 250px;
  margin-bottom: 30px;
  }

    /*　事業内容　  */
.works .works-title{
  font-size: 18px;
  padding-top: 100px;
  padding-bottom: 60px;
}
.works-grid{
  padding-bottom: 30px;
}
#service .works .blue-box .blue-title {
  font-size: 14px;
}
.works .blue-box .blue-detail{
  font-size: 14px;
}
.blue-box{
  padding: 18px;
  width: 100%;
  height: 240px;
}
.works-grid img{
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.slide-box{
  width: 100%;
  height: 250px;
}

/*　アクセス */
.access p{
  font-size: 18px;
  padding-bottom: 60px;
}
.access .info-flex .info {
  padding-top: 60px;
}
.access .info dt{
  font-size: 14px;
}
.access .info dd{
  margin-bottom: 35px;
  font-size: 14px;
}
.access .map{
  height: 260px;
}

/*　コンタクト　*/
.contact-form .contact-title{
  padding-top: 100px;
  font-size: 18px;
}
.contact-form .contact-detail{
  font-size: 14px;
  padding-top: 50px;
  padding-bottom: 80px;
}
dl{
  font-size: 14px;
}
.contact-form .btn input{
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 50px;
}

}