@charset "UTF-8";

body {
  display: flex;
  flex-flow: column;
  min-height: 100vh;
  /* color: #333 ; */
  padding-top: 60px;
  font-size: 14px;
  line-height: 1.6;
  font-family: "Roboto","Noto Sans JP", sans-serif;
  letter-spacing: 1px;
}

/* ===========================
   Scroll Animation
=========================== */

.fade-up{
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.22,.61,.36,1);
    will-change: opacity, transform;
}

.fade-up.show{
    opacity:1;
    transform:translateY(0);
}

/* 左から */

.fade-left{
    opacity:0;
    transform:translateX(-40px);
    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.22,.61,.36,1);
}

.fade-left.show{
    opacity:1;
    transform:none;
}

/* 右から */

.fade-right{
    opacity:0;
    transform:translateX(40px);
    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.22,.61,.36,1);
}

.fade-right.show{
    opacity:1;
    transform:none;
}

/* 拡大 */

.zoom-in{
    opacity:0;
    transform:scale(.92);
    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.22,.61,.36,1);
}

.zoom-in.show{
    opacity:1;
    transform:scale(1);
}

.pc_only {
  display: none;
}

.pc-tb_only {
  display: none;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 60px;
  background: #fff;
  border-bottom: 1px solid #d9d9d9;
  z-index: 100;
}

.header .inner {
  padding: 0 20px;
  position: relative;
}

.header .logo {
  padding-top: 5px;
}

.header .logo img {
  height: 40px;
}

.header h2 {
  position: relative;
  top: -6px;
  font-size: 9px;
}

.title_pc {
  display: none;
}

header nav {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 400px;
  transform: translateX(100%);
  transition: ease 0.4s;
  background: #ffffffdc;
}

.header_nav_sp {
  width: 50px;
  height: 100%;
}

.nav_sp {
  position: absolute;
  top: -2px;
  right: 8px;
  background-color: transparent;
  border-color: transparent;
  z-index: 999;
}

.nav_sp span {
  width: 100%;
  height: 1px;
  background: #000;
  position: relative;
  transition: ease 0.4s;
  display: block;
}

.nav_sp span:nth-child(1) {
  top: 0;
}

.nav_sp span:nth-child(2) {
  margin: 8px 0;
}

.nav_sp span:nth-child(3) {
  top: 0;
}

.nav_sp.active span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
  margin-top: 4px;
}

.nav_sp.active span:nth-child(2) {
  opacity: 0;
}

.nav_sp.active span:nth-child(3) {
  top: -13px;
  transform: rotate(-45deg);
}

header nav.active {
  transform: translateX(0);
}

.header_menu {
  margin-top: 60px;
}

.header_menu.active {
  transform: translateX(0);
}

.nav_items {
  padding-top: 20px;
}

.nav_items_item a {
  color: #000;
  font-weight: bold;
  width: 100%;
  display: block;
  text-align: center;
  font-size: 20px;
  text-decoration: none;
  margin-bottom: 20px;
}

.nav_items_item span a {
    color: #0f65e8;
  }

.header_nav_snslinks {
  padding: 10px 20px;
  display: flex;
  width: 100%;
  justify-content: space-around;
  box-sizing: border-box;
}

.header_nav_snslinks li img {
  width: 30px;
  height: 30px;
  transition: all .3s ease;
}

main {
  flex: 1;
}

.key-visual_main {
  width: 100%;
  height: 250px;
  background: url(../images/key-visual.jpg) no-repeat center center / cover;
  padding: 40px 20px 0 20px;
  box-sizing: border-box;
}

.key-visual_main h2 {
  padding-bottom: 20px;
  font-size: 22px;
}

.key-visual_main p {
  font-size: 14px;
  line-height: 1.4;
}

.key-visual .btn a {
  display: inline-block;
  margin: 10px 20px;
  padding: 8px 25px;
  background: #0f65e8;
  border-radius: 3px;
  box-shadow: 2px 2px 4px gray;
  color: #fff;
  font-size: 15px;
  text-decoration: none;
} 

.key-visual .btn a:hover {
  background: #0b53c1;   /* 少し濃い青 */
  box-shadow: 4px 4px 8px rgba(0,0,0,.2);
  transition: .3s;
}

.home-projects {
  margin-top: 10px;
  padding: 0 20px;
  overflow:hidden;
}

.title_home-projects p {
  color: #0f65e8;
  font-size: 14px;
}

.project-card {
  overflow: hidden;
  height: 100%;
  border-radius: 10px;
  background: #fff;
  box-shadow: 2px 2px 4px rgba(0,0,0,.15);
  transition: .3s;
}

.project-card:hover {
  transform: translateY(-8px);
}

.project-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.project-card__image {
  width: 100%;
  display: block;
}

.project-card__body {
  padding: 15px;
}

.project-card__category {
  font-size: 14px;
  font-weight: bold;
}

.project-card__title {
  margin: 5px 0;
  font-size: 22px;
}

.project-card__description {
  color: #000;
  text-align: left;
  line-height: 1.6;
}

.splide{
  width:100%;
  max-width:100%;
}

#featuredProjectsSlider {
  width:100%;
  max-width:100%;
}

#featuredProjectsSlider .splide__track {
  overflow: hidden;
}

#featuredProjectsSlider .splide__slide {
  padding: 10px;
}

/* 共通 */
.home-projects_btn_p,
.home-news .btn{
    margin-top:24px;
    padding-right:30px;
    text-align:right;
}

.home-projects_btn_p a,
.home-news .btn a{
    display:inline-flex;
    align-items:center;
    gap:16px;
    position:relative;
    color:#000;
    text-decoration:none;
    font-weight:600;
    transition:.35s ease;
}

/* 下線 */
.home-projects_btn_p a::before,
.home-news .btn a::before{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:100%;
    height:2px;
    background:#0f65e8;
    transform:scaleX(0);
    transform-origin:left;
    transition:.35s;
}

.home-projects_btn_p a::before{
    bottom: 0;
}

.home-projects_btn_p a{
    padding-bottom:8px;
}

/* 丸 */
.circle-arrow{
    width:34px;
    height:34px;
    border:1.5px solid #0f65e8;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#0f65e8;
    transition:.35s;
}

/* ホバー */
.home-projects_btn_p a:hover,
.home-news .btn a:hover{
    color:#0f65e8;
}

.home-projects_btn_p a:hover::before,
.home-news .btn a:hover::before{
    transform:scaleX(1);
}

.home-projects_btn_p a:hover .circle-arrow,
.home-news .btn a:hover .circle-arrow{
    background:#0f65e8;
    color:#fff;
    transform:translateX(8px);
}

.home-projects h2 {
  font-size: 18px;
}

.whysaitama {
  margin-top: 30px;
  padding: 0 20px;
}

.whysaitama ul {
  list-style: none;
}

.whysaitama img {
  width: 100%;
}

.whysaitama h2 {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  font-size: 18px;
  border-bottom: 2px solid #0f65e8;
}

.whysaitama p {
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.4;
}

.whysaitama .btn {
  margin: 10px 0;
  text-align: left;
}

.whysaitama .btn a {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid #0f65e8;
  border-radius: 3px;
  box-shadow: 1px 1px 3px gray;
  color: #0f65e8;
  text-decoration: none;
} 

.whysaitama .btn a:hover {
  background: #0f65e8;
  color: #fff;
  box-shadow: 4px 4px 8px rgba(0,0,0,.2);
  transition: .2s;
}

.home-news {
  margin-top: 30px;
  padding: 0 20px 20px;
}

.home-news p:first-child {
  font-size: 14px;
}

.home-news p {
  color: #0f65e8;
}

.home-news h2 {
  font-size: 18px;
}

.home-news_li {
  padding-top: 10px;
  list-style: none;
  font-size: 14px;
}

.home-news_li li:hover {
  background: #0f66e828;
  transition: .5s;
}

.home-news_li li + li {
  padding-top: 10px;
  border-top: 1px solid #d9d9d9;
}

.home-news_li li time {
  color: #666;
}

.home-news_li time + p {
  display: inline-block;
  padding-left: 10px;
}

.home-news_li p a {
  position: relative;
  display: block;
  padding-bottom: 5px;
  color: #000;
  font-size: 14px;
  text-decoration: none;
  width: calc(100% - 25px);
}

.home-news_li p a::after {
  content: url(../images/News_Newtab_icon.svg);
  position: absolute;
  right: -25px;
}

.footer {
  position: relative;
  margin-top: 15px;
  padding: 10px 20px;
  box-sizing: border-box;
  width: 100%;
  height: 80px;
  background: #efefef;
}

.footer_logo img {
  height: 40px;
}

.footer_nav ul {
  display: none;
}

.footer_nav li a:hover {
  color: #666;
  transition: .2s;
}

.footer_sns-links {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 160px;
}

.footer_sns-links ul {
  display: flex;
  justify-content: space-around;
}

.footer_sns-links img {
  height: 30px;
}

.footer_sns-links li img {
  width: 30px;
  height: 30px;
  transition: all .3s ease;
}

.footer_sns-links li:nth-child(1) {
  background: url(../images/InstagramLogo-Normal.svg) no-repeat;
}

.footer_sns-links li:nth-child(3) {
  background: url(../images/youtube_icon-red.svg) no-repeat;
}

.footer_sns-links li:nth-child(1):hover img {
  opacity: 0;
}

.footer_sns-links li:nth-child(3):hover img {
  opacity: 0;
}

footer .copyright {
  text-align: center;
}

footer p small {
  color: #666;
  font-size: 8px;
}

@media screen and (min-width: 768px) {
  
  .sp_only {
    display: none;
  }

  .pc-tb_only {
    display: block;
  }

  body {
    padding-top: 70px;
  }

  .header {
    height: 70px;
  }

  .header .inner {
    padding: 0 25px;
  }

  .header .logo {
    padding-top: 7px;
    height: 50px;
  }

  .header .logo img {
    height: 48px;
  }

  .header h2 {
    top: -1px;
  }

  .nav_sp {
    top: 0;
    right: 25px;
  }

  .header_menu {
    margin-top: 70px;
  }

  .header_nav_snslinks {
    padding: 20px 50px;
  }

  .key-visual {
    position: relative;
  }

  .key-visual_main {
    height: 400px;
    padding: 45px 50px 0 50px;
  }

  .key-visual_main h2 {
    padding-bottom: 35px;
    font-size: 28px;
  }

  .key-visual_main p {
    font-size: 20px;
  }

  .key-visual .btn a {
    position: absolute;
    bottom: 40px;
    margin: 0 50px;
    padding: 10px 40px;
    font-size: 20px;
  }

  .home-projects {
    padding: 10px 25px;
    text-align: center;
  }

  .home-projects p {
    margin-top: 0;
    font-size: 16px;
  }

  .home-projects h2 {
    font-size: 24px;
  }

  .home-projects_btn_p {
    padding-top: 10px;
  } 

  .home-projects_btn_p a {
    font-size: 14px;  
  }

  .whysaitama {
    padding: 30px 25px 15px 25px;
  }

  .whysaitama ul {
    display: flex;
    justify-content: space-between;
  }

  .whysaitama li {
    width: calc((100% - 30px) / 2);
  }

  .whysaitama h2 {
    padding-top: 12px;
    font-size: 24px;
  }

  .whysaitama p {
    padding-top: 5px;
    font-size: 14px;
  }

  .whysaitama .btn {
    margin: 15px 0;
    text-align: left;
  }

  .whysaitama_img {
    order: 2;
  }

  .whysaitama_text {
    order: 1;
  }

  .home-news {
    padding: 0 25px 20px;
    text-align: center;
  }

  .home-news p:first-child {
    font-size: 16px;
  }

  .home-news h2 {
    font-size: 24px;
  }

  .home-news_li {
    font-size: 14px;
    text-align: left;
  }

  .home-news_li li {
    padding: 10px 0;
  }

  .home-news_li p a {
    font-size: 14px;
  }

  .home-news .btn a {
    font-size: 14px;
  }

  .footer_nav {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-55%);
    width: 440px;
  }

  .footer_nav ul {
    display: flex;
    justify-content: space-between;
  }

  .footer_nav li a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
  }

  .footer_sns-links {
    right: 10px;
  }

  footer p small {
    font-size: 10px;
  }

}

@media screen and (min-width: 1024px) {

  body {
    padding-top: 80px;
  }

  .pc_only {
    display: inline-block;
  }

  .header .inner {
    padding: 0 30px;
  }


  .header {
    height: 80px;
  }

  .header .logo {
    position: relative;
    padding-top: 12px;
    height: 55px;
  }

  .header .logo img {
    height: 53px;
  }

  .header h2 {
    position: absolute;
    top: 18px;
    left: 170px;
    font-size: 20px;
  }

  .title_pc {
    position: absolute;
    top: 43px;
    left: 171px;
    display: block;
    font-size: 14px;
  }

  header nav {
    position: static;
    transform: inherit;
    background-color: inherit;
    height: inherit;
  }

  .header_menu {
    margin-top: 0;
  }

  .header_menu::before {
    position: absolute;
    top: 70px;
    left: calc(50% - 40px);
    content: '';
    background: #fff;
    width: 80px;
    height: 45px;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom: 1px solid #d9d9d9;
    transition: all .4s  ease;
  }

  .header_menu::after {
      position: absolute;
      top: 70px;
      left: calc(50% - 20px);
      content: url(../images/header_chevron-down.svg);
      width: 40px;
      height: auto;
      transition: all .35s  ease;
    }


  .nav_items {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -100%);
    display: flex;
    width: calc(100% - 200px);
    height: 60px;
    justify-content: space-evenly;
    background: #ffffff;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    border-bottom: 1px solid #d9d9d9;
    opacity:0;
    visibility:hidden;
    transition:.35s;
    z-index: -1;
  }

  @media (hover: hover) and (pointer: fine) {

  .header:hover .header_menu::after {
    transform: translate(0, 65px) rotate(180deg);
  }

  .header:hover .header_menu::before {
    transform: translate(0, 70px);
  }

  .header:hover .nav_items {
    transform:translate(-50%, 0);
    opacity:1;
    visibility:visible;
  }

  }

  .header.open .header_menu::after {
    transform: translate(0, 65px) rotate(180deg);
  }

  .header.open .header_menu::before {
    transform: translate(0, 70px);
  }

  .header.open .nav_items {
    transform:translate(-50%, 0);
    opacity:1;
    visibility:visible;
  }

  .nav_items_item {
    padding-bottom: 5px;
    position: relative;
  }

  .nav_items_item a {
    margin-bottom: 0;
    font-size: 20px;
  }

  .nav_items_item::before {
    background: #0f65e8;
    content: '';
    width: 100%;
    height: 2px;
    position: absolute;
    left: 0;
    top: 30px;
    transform-origin: left top;
    transform: scale(0, 1);
    transition: transform .45s;
  }

  .nav_items_item:hover::before {
    transform-origin: left top;
    transform: scale(1, 1);
  }

  .header_social {
    position: absolute;
    top: 0;
    right: 5%;
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .header_nav_snslinks {
    display: flex;
    gap: 30px;
  }

  .header_nav_snslinks li a {
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #d9d9d9;
    transition: .35s;
    box-shadow: 0 3px 12px rgba(0,0,0,.05);
  }

  .header_nav_snslinks li img {
    width: 20px;
    height: 20px;
  }

  .header_nav_snslinks li a:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
  }

  .header_nav_snslinks li:hover img {
    opacity: 0.5;
  }

  .nav_sp {
    display: none;
  }

  .key-visual_main {
    height: 500px;
    padding: 60px 100px 0 100px;
  }

  .key-visual_main h2 {
    padding-bottom: 55px;
    font-size: 35px;
  }

  .key-visual_main p {
    font-size: 22px;
  }

  .key-visual .btn a {
    position: absolute;
    bottom: 60px;
    margin: 0 100px;
    padding: 10px 50px;
    font-size: 22px;
  }

  .circle-arrow {
    width:42px;
    height:42px;
    font-size:15px;
  }

  .home-projects_btn_p a,
  .home-news .btn a {
    gap:18px;
    font-size:17px;
  }

  .home-projects {
    padding: 0 50px;
  }

  .home-projects p {
    margin-top: 20px;
    font-size: 18px;
  }

  .home-projects h2 {
    font-size: 28px;
  }

  .home-projects_btn_p {
    padding-top: 20px;
  } 

  .home-projects_btn_p a {
    font-size: 16px;  
  }

  .whysaitama {
    padding: 30px 100px 15px 100px;
  }

  .whysaitama li {
    width: calc((100% - 70px) / 2);
  }

  .whysaitama h2 {
    padding-top: 12px;
    font-size: 28px;
  }

  .whysaitama p {
    padding-top: 5px;
    font-size: 18px;
  }

  .whysaitama .btn {
    margin: 15px 0;
    text-align: left;
  }

  .home-news {
    padding: 0 30px 20px;
  }

  .home-news p:first-child {
    font-size: 18px;
  }

  .home-news h2 {
    font-size: 28px;
  }

  .home-news_li {
    font-size: 16px;
  }

  .home-news_li li {
    padding: 15px 0;
  }

  .home-news_li p a {
    font-size: 16px;
  }

  .home-news .btn a {
    font-size: 16px;
  }

  .footer {
    padding: 15px 25px;
    height: 95px;
  }

  .footer_logo img {
    height: 50px;
  }

  .footer_nav {
    top: 25px;
    width: 600px;
  }

  .footer_nav .pc_only {
    display: inline-block;
  }

  .footer_nav li a {
    font-size: 18px;
  }

  .footer_sns-links {
    top: 25px;
    right: 4%;
  }

  .footer_sns-links ul {
    justify-content: space-between;
  }

}

