@charset "utf-8";

*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
ul, li {
  list-style: none;
  text-decoration: none;
}
a {
  color: inherit;
  text-decoration: none;
}
/* 全体のスタイル */
body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  color: #000000;
  line-height: 1;
  background-color: #ffffff;
}
img {
  max-width: 100%;
} 
.toggle-menu-button {
  display: none; /* 初期状態では非表示 */
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.toggle-menu-button .bar {
  width: 30px;
  height: 4px;
  background-color: #000;
  border-radius: 2px;
}
/* 横幅と左右の余白 */
.w-container {
  width: min(92%, 1166px);
  margin: auto;
  position: relative;
}
.titles{
  padding-top: 80px;
  font-size: 30px;
  font-family: 'Noto Sans JP';
}
.sub-titles {
  text-align: center;
  margin-bottom: 30px;
}
.sub-titles h3 {
  font-size: 35px;
  font-family: 'Noto Sans JP';
  display: inline-block; /* 文字の幅だけに背景を適用 */
  font-weight: bold;
  position: relative;
  padding-bottom: 10px; /* 下線とテキストの間隔 */
  background: linear-gradient(to right, #bebebe 0%, #727272 100%);
  background-repeat: no-repeat;
  background-position: center 70%; /* 下線を文字の中央付近に */
  background-size: 100% 25%; /* 下線の幅と高さ */
}





/*  ヘッダー------------------------------------------------------------------------------------------------*/
header{
  background-color: #ffffff;
  position: fixed;
  width: 100%;
  height: 70px;
  top: 0;
  z-index: 9999;
}
.header-container{
  width: min(92%, 1166px);  /* w-container と同じ幅 */
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-container img {
  max-height: 60px;  
  width: auto;  
  object-fit: contain; 
}
.header-container ul {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
}

.header-contact-btn {
  background-color: black;
  color: #fff;
  min-width: 100px;
  width: 50%;  /* 必要に応じて調整 */
  height: 30px;  /* ボタンの高さを指定 */
  border-radius: 24px;  /* 丸みをつける */
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;  /* 文字サイズ調整 */
  display: block;  /* aタグ全体をブロック要素にする */
  text-align: center;  /* 文字を中央揃え */
  margin: 0 auto;  /* 上下中央揃え */
  line-height: 30px;  /* 縦方向に中央揃え */
}

.header-contact-btn a {
  display: block;  /* aタグをブロック要素にする */
  text-decoration: none;  /* リンクの下線を消す */
  height: 100%;  /* 高さを親要素に合わせる */
  width: 100%;  /* 幅を親要素に合わせる */
  line-height: 30px;  /* 縦方向に中央揃え */
  color: white;  /* 文字色 */
  text-align: center;  /* 文字を中央揃え */
}

/*  メインビジュアル------------------------------------------------------------------------------------------------*/
.main-visual{
  height: 100dvh;
  padding-top: 140px;
  padding-bottom: 70px;
  display: flex;
  align-items: center;
  z-index: 998;
}
.main-visual-container {
  height: 80%;
  width: 100%;
  font-size: 30px;
  display: flex;
  justify-content: left;
  align-items: end;
  background-image: url("../images/main-visual2-1.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}
/* メインビジュアルの画像を薄くする */
.main-visual-container::before {
  content: ""; 
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.344);
  z-index: 1; 
}
.main-visual-container h1{
  width: min(92%, 1166px); /* w-containerと同じ幅に設定 */
  margin: 20px auto;
  z-index: 2;
}

/* Scrolly.js 風のフェードイン (CSSのみ) */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px); /* 下から少し浮かび上がる */
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* フェードインを適用 */
.main-visual h1 span {
  opacity: 0;
  display: inline-flex; /* 改行の影響を受けないようにする */
  animation: fadeInUp 1.5s ease-out forwards;
}

/* 2つの行を順番にフェードインさせる */
.main-visual h1 span:nth-of-type(1) {
  animation-delay: 0.3s; /* 1つ目のテキストのフェードイン開始時間 */
}

.main-visual h1 span:nth-of-type(2) {
  animation-delay: 1s; /* 2つ目のテキストのフェードイン開始時間 */
}



/*  view more ボタン------------------------------------------------------------------------------------------------*/

.view-more-btn {
  display: block;
  text-align: center;
  margin: 20px auto 0 auto; /* 上下のマージンを調整して中央揃え */
  height: 48px;
  min-width: 180px;
  width: 20%;
  line-height: 40px;
  background-color: transparent;
  color: #000000;
  border-radius: 25px;
  border: solid;
  font-size: 14px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  transition: all 0.2s ease-in-out;
}

.view-more-btn a {
  display: block;
  height: 100%;
  width: 100%;
  line-height: inherit;
  color: inherit;
  text-align: inherit;
  border-radius: inherit;
  background-color: inherit;
  position: absolute; 
  top: 0; 
  transition: all 0.5s ease-in-out;
}

.view-more-btn:hover {
  top: 3px; 
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.0);
}

.view-more-btn:hover a {
  top: 0; 
}

/*  ワークス------------------------------------------------------------------------------------------------*/
.recent-works {
  margin-top: 100px;
  margin-bottom: 100px;
}
.recent-works-container {
  display: flex;
  flex-direction: column;
}
.recent-works-area {
  background-color: #F7F7F7;
  padding-top: 50px;
  padding-bottom: 50px;
}  

/* banners セクション */
.banners {
  margin-top: 50px;
  background-color: #eeeeee;
}
/* Slick スライダー */
.works {
  list-style: none;
  padding: 0;
  margin: 0;
}
.works {
  overflow: hidden;  /* はみ出した部分を隠す */
  max-width: 100%;  /* 必要に応じて調整 */
}
.works li a {
  padding: 10px;
  width: 30%;  
}
.works img {
  max-width: 350px;
  border-radius: 10px;
  margin: 10px auto;
  object-fit: cover;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3); 
}
.works img:hover {
  transform: translateY(4px); /* 下に沈む */
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1); /* 影を小さくする */
}
.banners img {
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0); 
}
.banners img:hover {
  transform: none; /* 下に沈む */
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0); 
}


.works h3 {
  font-size: 1.2rem; /* タイトルのフォントサイズ */
  font-weight: bold; /* タイトルを太字 */
  margin-top: 10px; /* 上の余白を20pxに */
  margin-bottom: 0px; /* 下の余白を10pxに */
  color: #333; /* タイトルの色 */
  line-height: 1.4; /* 行間を1.4倍に設定 */
  padding: 0px;
  text-align: center;
}
.logo .works{
  max-width: 100%;
  margin: 0 auto;
}
.logo .works img {
  max-width: 250px;
}
.slick-prev, .slick-next {
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  z-index: 10;
}
.slick-prev:before, .slick-next:before {
  color: white;
  font-size: 20px;
}
.slick-dots {
  bottom: -30px;
}
.slick-dots li button:before {
  font-size: 10px;
  color: gray;
}
.slick-dots li.slick-active button:before {
  color: black;
}

/* Web Sites セクション */
.recent-works-area.web-sites {
  background-color: #f7f7f7; 
  padding: 50px 0;
  margin-top: 50px;
}
.works-website-container {
  display: flex;
  flex-direction: row; 
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 80%;
  margin: 20px auto;
  max-width: 1200px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3); 
  border-radius: 10px;
  padding: 10px;
  transition: all .1s ease-in-out;
  position: relative; 
}
/* ホバー時の動き（少し沈む） */
.works-website-container:hover {
  transform: translateY(4px); /* 下に沈む */
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1); /* 影を小さくする */
}
.works-image {
  width: 50%;
  height: 280px; /* 画像の高さを統一 */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* 画像がはみ出さないようにする */
  border-radius: 10px;
}
.works-image img {
  object-fit: cover; /* はみ出し防止 */
}
/* テキストエリア */
.works-text {
  width: 50%;
  text-align: left;
}
.works-text h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}
.works-text p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}
.logo-favicon .works img {
  height: 200px;
  width: 200px;
}
/* dtp セクション */
.dtp {
  background-color: #eeeeee;
}

@media screen and (max-width: 768px) {
  .works-website-container{
    display: flex;
    flex-direction: column;
    height: auto;
  }
  .works-image {
    width: 100%;
    height: auto;

  }
  .works-text{
    width: 100%;
  }
}






/* プロフィール ------------------------------------------------------------------------------------------------*/
.profile {
  margin-top: 100px;
  margin-bottom: 100px;
}
.profile-area{
  background-color: #eeeeee;
  padding-top: 50px;
  padding-bottom: 50px;
}
.profile-container{
  padding-top: 20px;
  display: flex;
  flex-direction: column;
}
/* プロフ左の写真エリア */
.profile-image {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  
}
.profile-image img {
  width: 60%;
  object-fit: cover;
  object-position: center bottom; 
  height: 300px; 
}
/* プロフ右の文章エリア */
.profile-container-box {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-left: 30px;
  padding-right: 30px;
  gap: 32px;
}
.profile-description {
  display: flex;
  min-width: 180px;
  width: 20%;
  display: inline-block;
  justify-content: center;
  text-align: center;
  margin-top: 40px;
  margin-right: auto;
  margin-left: auto;
  justify-content: center;
  align-items: center;
  width: 50%;
  line-height: 30px;
}
.profile-name{
  margin-top: 5px;
  font-size: 20px;
}
.profile-summary{
  margin-top: 50px;
}




@media screen and (max-width: 768px) {

} 

/*  コンタクト------------------------------------------------------------------------------------------------*/
.contact {
  margin: 100px 0; 
}
.contact-area {
  background-color:  #F7F7F7;
  padding: 50px 0; 
  display: flex;
  justify-content: center; 
}
.contact-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 50px 0;
  font-size: 20px;
  height: 100%; 
}
.contact-btn {
  display: block;
  text-align: center;
  align-items: center;
  margin: 50px 0;
  height: 48px;
  min-width: 180px;
  width: 40%;
  line-height: 40px;
  background-color: black;
  color: #ffffff;
  border-radius: 25px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  transition: all 0.2s ease-in-out;
}

.contact-btn a {
  display: block;
  height: 100%;
  width: 100%;
  line-height: inherit;
  color: inherit;
  text-align: inherit;
  border-radius: inherit;
  background-color: inherit;
  position: absolute; 
  top: 0; 
  transition: all 0.2s ease-in-out;
}

.contact-btn:hover {
  top: 5px; 
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.0);
}

.contact-btn:hover a {
  top: 0; 
}



@media screen and (max-width: 768px) {
  .contact-container {
    width: 100%;
    padding: 20px;
    font-size: 18px;
    text-align: center;
  }
  
  .contact-btn {
    min-width: 60%;
    font-size: 14px;
    height: 40px;
    margin: 30px auto;
  }
}


/* フッター ------------------------------------------------------------------------------------------------*/
footer {
  width: 100%;
  height: 70px;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 20;
}
.footer-container{
  display: flex;
  justify-content: space-between;
  color: #000000;
}
.footer-container ul {
  display: flex;
  justify-content: center;
  gap: 20px;
}











/* モバイル（768px以下）の場合 ------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  .header-container ul {
    display: none; /* 最初はメニューを非表示 */
    flex-direction: row;
    gap: 15px;
    width: 100%;
    height: 100%;
    text-align: center;
    opacity: 0; /* 初期状態で透明 */
    color: #000000; /* 文字色は白 */
    transition: opacity 1s ease; /* フェードイン・フェードアウトのアニメーション */
    font-size: 14px;
    font-family: 'Noto Sans JP';
  }

  .header-container.active ul {
    display: flex; /* activeクラスが追加された場合にメニューを表示 */
    opacity: 1; /* メニュー表示時に不透明 */
  }

  .toggle-menu-button {
    display: flex;
    flex-direction: column; /* バーを縦に並べる */
    justify-content: space-between; /* バーの間隔を均等に */
    width: 30px; /* ボタンの横幅を調整 */
    height: 22px; /* ボタンの高さを調整 */
  }

  .toggle-menu-button .bar {
    width: 30px; /* バーの横幅 */
    height: 4px; /* バーの高さ */
    background-color: #000; /* バーの色 */
    border-radius: 2px; /* バーの角を丸くする */
  }
  /* contact ボタンのスタイル */
  .header-contact-btn {
    display: flex;
    background-color: transparent;
    min-width: auto;
    text-align: center;  /* 文字を中央揃え */
    margin: 0 auto;  /* 上下中央揃え */
    line-height: 30px;  /* 縦方向に中央揃え */
  }
  .header-contact-btn a {
    color: #000000; /* 文字色は白 */
    font-family: 'Noto Sans JP';
    padding: 0;
    margin: 0;
  }

  /* メインビジュアル */
  .main-visual {
    height: 60vh; /* メインビジュアルの高さを調整 */
    padding-top: 80px; /* 上の余白を調整 */
  }

  .main-visual-container {
    background-image: url("../images/main-visual2-1.jpg");
    background-position: center;
    background-size: cover;
    position: relative;
    height: 100%;
  }

  .main-visual-container h1 {
    font-size: 24px; /* フォントサイズを調整 */
    text-align: left; /* タイトルを中央揃え */
    z-index: 1;
  }

  .titles, .sub-titles{
    padding-top: 40px;
    font-size: 20px;
  }

  /* プロフィール */
  .profile-container {
    text-align: center; /* 中央揃え */
    gap: 20px;
  }
  .profile-container-box{
    flex-direction: column;
    padding: 0;
  }

  .profile-image{
    width: 100%;
  }
  .profile-image img {
    object-fit: contain;
  }
  .profile-description {
    width: 80%; 
    margin: 0 auto; 
  }

  .profile-name {
    font-size: 18px;
  }

  .profile-summary {
    margin-top: 30px;
    font-size: 14px; /* フォントサイズを小さく */
  }

  /* 作品 */
  .recent-works .works {
    flex-direction: column;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
  }
  .recent-works .works img {
    width: 100%;
    height: auto; /* 高さを自動調整 */
  }

  .contact-area{
    height: auto;
  }
  
  .contact-container {
    width: 100%;
    padding: 20px;
    margin: 0;
  }
  
  .contact-btn {
    min-width: 60%;
    font-size: 14px;
    height: 40px;
    margin: 30px auto;
  }

  footer {
    padding: 10px;
  }
  .footer-container{
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-container p {
    margin-top: 10px;
  }
}
