@charset "utf8";

/* 
ヘッダー
  幅90％（margin-left5%、margin-right5%)
  max-width: 1920px;
  height: 64px;

メインビジュアル
  height: calc(100vh - 64px);
  幅は文字はヘッダーと同じ。画像は幅100％
  文字は90％、開始位置は10％/2の5％、画像は100％
*/

*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img{
  vertical-align: bottom;
  width: 100%;
}

header {
  max-width: 1920px;
  background-color: #FFFFFF;
  height: 64px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

footer {
  max-width: 1920px;
  height: 64px;
}

.header-inner, .footer-inner {
  max-width: 1080px;
  height: 64px;
  display: flex;
  justify-content: space-between;
  width: 90%; /* ヘッダーの幅。width10％半分は5％分 */
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}

.header-inner img, .footer-inner img {
      width: 56px;
      height: 56px;
}

.header-site-menu ul, .footer-site-menu ul {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}



a {
  text-decoration: none;
  color: inherit;
}

.header-inner ul li, .footer-inner ul li {
  font-weight: bold;
}

.navbtn {
  border: none;
  outline: none;
  background: transparent;
  font-size: 30px;
  color: #aaaaaa;
}

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

@media  (max-width: 768px){
  .header-site-menu,.footer-site-menu{
    position: fixed;
    inset: 0 -100% 0 100%;
    z-index: 150;
    background-color: #4e483ae6;
    transition: transform 0.3s;
  }
  .header-site-menu ul,.footer-site-menu ul{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 40px;
    color: #FFFFFF;
  }
  .open .header-site-menu, .open .footer-site-menu {
    transform: translate(-100%, 0);
  }
  .open body {
    position: fixed;
    /* overflow: hidden;   スマホなどでは少しずれることありだから念のため*/
  }
  .open .navbtn{
    z-index: 160;
    color: #FFFFFF;
  }
  .navbtn .fa-bars{
    display: revert;
  }
  .open  .fa-bars{
    display: none;
  }
  .navbtn .fa-xmark {
    display: none;
  }
  .open  .fa-xmark {
    display: revert;
  }
}


ul {
  list-style: none;
}

li {
  list-style: none;
}

.main-visual {
  margin-top: 64px;
  height: calc(100dvh - 64px);
  /* background-image: url(../images/20161216_eyecatch.jpg); */
  background-image: url(../images/webdesigner-portforio.webp);
  /* background-image: url(../images/portforio-wbdesigner.webp); */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
}

.main-visual-txt {
  position: absolute;
  top: 70%;
  height: 150px;
  width: 100%;
  gap: 0;

}

.main-visual-txt_1 {
  background-image: linear-gradient(90deg,  rgba(0, 123, 255, 0.7), rgba(0, 123, 255, 0.7) 50%, transparent 50%, transparent);
  background-size:200% 100%;
  background-repeat: no-repeat;
  min-height: 50%;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  font-size: 30px;
  line-height: 1;  
  background-position: 100% 0;

  /* padding-left: 5%;   縮小するとおかしい*/
}

@media  (max-width: 1012px){
    .main-visual-txt_1 {
      background-image: linear-gradient(90deg,  rgba(0, 123, 255, 0.7), rgba(0, 123, 255, 0.7) 50%, transparent 50%, transparent);
  }
}

.main-visual-txt_1 h1{
  display: inline-block;
  max-width: 1080px;
  padding: .5rem 0rem;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}


.main-visual-txt_2{
  background-size: 0% 100%;
  background-position: 100% 0;
  opacity: 0;
  background-image: linear-gradient(90deg,  rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7) 50%, transparent 50%, transparent);
  background-size:200% 100%;
  background-repeat: no-repeat;
  height: 30%;
  display: flex;
  align-items: center;
  /* padding-left: 5%; header-innerのwidth10％/2の5％分 */
}

@media  (max-width: 1012px){
  .main-visual-txt_2{
    background-image: linear-gradient(90deg,  rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7) 100%, transparent 0%, transparent);
      background-size: 400% 100%;
      }
}

.main-visual-txt_2 h2 {
  max-width: 1080px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  color: black;
  padding: .5rem 0rem;
}



#works {
  max-width: 1080px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 64px;
  padding-bottom: 64px;
  /* background-color: #000; */
}

.section-title {
  background-color: #333;
  color: #FFFFFF;
  width: 7em;
  text-align: center;
  padding-left: 2px;
  padding-right: 2px;
  margin-bottom: 56px;
}

@media  (max-width: 768px){
.section-title {
  margin-bottom: 32px;
  }
}

#works h3 {
  margin-bottom: 16px;
}

.bunner-container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
  /* color: #FFFFFF; */
  font-size: 12px;
}


.bunner-container div {
  /* background-color: #000; */
  /* border: #333 solid 2px; */
  width: calc((100% - 32px - 32px) / 3);
}


.bunner-container img {
  width: 100%;
  padding: 32px 32px 8px 32px;
}

.bunner-container h4 {
  background-color: #FFFFFF;
  width: 100%;
  padding-left: 32px;
  padding-right: 32px;
  padding-bottom: 8px;
  text-align: center;
}

.bunner-container p {
  background-color: #FFFFFF;
  width: 100%;
  padding-left: 32px;
  padding-right: 32px;
  padding-bottom: 32px;
}

.site-container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  /* background-color: beige; */
  margin-bottom: 32px;
  font-size: 12px;
}

.site-container li {
 width: calc((100% - 32px - 32px) / 3);
}

.site-container img {
  width: 100%;
  margin-bottom: 8px;
}

.site-container h4 {
  text-align: center;
}

@media  (max-width: 768px){
  .bunner-container div {
    width: 100%;
  }
  .site-container li {
    width: 100%;
  }
  .bunner-container {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 32px;
  }

  .bunner-container div {
    background-color:   3;
  }

  .slick-arrow {
    z-index: 999;
    width: 200px;
  }
}


.more-container {
  background-color: rgba(0, 123, 255);
  width: 7em;
  margin-left: auto;
  margin-right: auto;
  margin-top: 32px;
  text-align: center;
  color: #FFFFFF;
  padding: 4px;
  font-size: 22px;
  font-weight: bold;
  box-shadow: 3px 3px 2px  gray;
  display: block;
}

#profile {
  /* background-color: #e0e0e0; */
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.profile-inner {
  max-width: 1080px;
  width: 90%;
  margin: 0 auto;
}

.profile-container {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* flex-wrap: wrap; */
}

.profile-text {
  width: 100%; /* ← gap 32px に対応した左右カラム */
  background-color: white;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.profile-text .name {
  color: #334a9b;
  margin-bottom: 16px;
}

.profile-text h3 {
  margin-top: 16px;
}

.profile-img-container img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}


@media  (max-width: 768px){
  .profile-text {
    width: 100%;
    padding: 16px;
  }

  .profile-container {
  gap: 32px;
  flex-direction: column-reverse;
  }
  .profile-img-container img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 50% 20%; 
}
}


/* .circle {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #888;
  display: block;
} */


#contact {
  width: 90%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  
}



.contact-form-dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 600px; 
  margin-left: 10%;
  margin-right: 30%;
}



.contact-form-dl dt {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-weight: bold;
  padding-top: 20px;
  padding-left: 30%;
}

.contact-form-dl dd {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
  margin-top: 16px;
}

.contact-form-dl input {
  width: 100%;
  padding: 8px;
  font-size: 16px;
}

.contact-form-dl textarea {
  width: 100%;
  padding: 8px;
  font-size: 16px;
  height: 150px;
}

.contact-button {

}

.contact-button button{
  font-size: 30px;
  width: 7em;
  margin-left: auto;
  margin-right: auto;
  margin-top: 32px;
  background-color:#FFFFFF;
  color: #000;
  padding: 4px;
  font-size: 22px;
  font-weight: bold;
  display: block;
}

@media  (max-width: 768px) {
  .contact-form-dl {
    grid-template-columns: 1fr;
    max-width: 240px; 
    margin-left: auto;
    margin-right: auto;
  }

  .contact-form-dl dt {
    margin: 0;
    padding: 0;
    margin-top: 24px;
  }

  .contact-form-dl dd {
    margin-top: 10px;
  }
}

footer {
  background-color: #e0e0e0;
  margin-top: 64px;
}
