@charset "utf-8";
.required {
  background-color: red;
  color: #ffffff;
  padding: 2px 5px;
  border-radius: 3px;
  
}
/* 拡大背景アニメーション */
.expanding-bg {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  background: #9cebffb0;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  z-index: 0;
  transition: transform 0.8s ease-in-out, opacity 0.3s ease;
  opacity: 0;
}

.expand {
  transform: translate(-50%, -50%) scale(30);
  opacity: 1;
}

/* ローダーのボール */
.loader-wrapper {
  position: fixed;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 9999;
}

.ball {
  width: 80px;
  height: 80px;
  background: #9cecff;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 50%;
  animation: bounceOnce 1.2s cubic-bezier(0.33, 1, 0.68, 1) forwards;
  z-index: 2;
}

@keyframes bounceOnce {
  0%   { top: 50%; }
  40%  { top: 85%; }
  100% { top: 50%; }
}

/* 表示コンテンツ */
.content {
  opacity: 0;
  transition: opacity 0.8s ease;
  position: relative;
  z-index: 10;
}
.content.show {
  opacity: 1;
}

body {
  font-size: 16px;
  font-family: 'arial', 'Hiragino Sans', 'Meiryo', sans-serif;
  color: #333333;
  transition: background-color 1.5s ease;
}
.gitHub {
  color: #4a90e2;
  border-bottom: #4a90e2;
}
header {
    text-align: center;
    display: flex;
    height: 100px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
header img {
    width: 350px;
    height: 100px;
    align-items: center;
}
/* fade-styles.css */
.hamburger-fade {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.hamburger-fade__wrapper {
  position: relative;
  width: 30px;
  height: 20px;
  margin: 20px auto;
}

.hamburger-fade__line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000000;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.hamburger-fade__line:nth-child(1) { top: 0; }
.hamburger-fade__line:nth-child(2) { top: 9px; }
.hamburger-fade__line:nth-child(3) { top: 18px; }

.hamburger-fade.active .hamburger-fade__line {
  background-color: #000000;
}

.hamburger-fade.active .hamburger-fade__line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger-fade.active .hamburger-fade__line:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.hamburger-fade.active .hamburger-fade__line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.nav-fade {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  visibility: hidden;
  z-index: 900;
}

.nav-fade__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(241, 255, 255, 0.95);
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-fade.active {
  visibility: visible;
}

.nav-fade.active .nav-fade__bg {
  opacity: 1;
}

.nav-fade__wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 5vh 10vw;
}

.nav-fade__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-fade__item {
  position: relative;
  margin-bottom: 2vh;
  padding-left: 60px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-fade.active .nav-fade__item {
  opacity: 1;
  transform: translateY(0);
}

.nav-fade.active .nav-fade__item:nth-child(1) { transition-delay: 0.2s; }
.nav-fade.active .nav-fade__item:nth-child(2) { transition-delay: 0.3s; }
.nav-fade.active .nav-fade__item:nth-child(3) { transition-delay: 0.4s; }
.nav-fade.active .nav-fade__item:nth-child(4) { transition-delay: 0.5s; }

.nav-fade__number {
  position: absolute;
  left: 0;
  color: #666;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
}

.nav-fade__link {
  display: inline-block;
  color: #000000;
  font-size: 32px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-fade__link:hover {
  color: #4a90e2;
}

.nav-fade__info {
  margin-top: auto;
  padding-left: 60px;
  color: #666;
  font-size: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.6s;
}

.nav-fade.active .nav-fade__info {
  opacity: 1;
  transform: translateY(0);
}

.nav-fade__address,
.nav-fade__tel {
  margin: 5px 0;
}
.intro-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 250px;
  padding-bottom: 150px;
}

.image-section {
  animation: slideUp 1s ease-out forwards;
  opacity: 0;
  animation-delay: 0.2s;
}

.profile-img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
}

/* 線とテキストの全体 */
.text-section {
  display: flex;
  margin-left: 50px;
  gap: 30px;
}

/* 縦線 */
.line {
  width: 2px;
  height: 250px;
  background-color: black;
  margin-right: 30px;
  opacity: 0;
  animation: slideLeft 1s ease-out forwards;
  animation-delay: 1s;
}

/* テキスト */
.text-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  opacity: 0;
  animation: slideText 1s ease-out forwards;
  animation-delay: 2s;
}

.portfolio {
text-align: start;
  font-size: 100px;
  font-family: 'Dancing Script', cursive;
  margin: 0;
}

.name {
  font-size: 70px;
  font-family: 'Dancing Script', cursive;
  margin: 0;
}

/* アニメーション */
@keyframes slideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideLeft {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideText {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.text h2 {
    font-size: 130px;
    margin: 0;
}
.text p {
    font-size: 60px;
    margin: 0;
}
section h1 {
    font-size: 80px;
    text-align: center;
    margin: 50px 0;
    font-family: "Dancing Script", cursive;
}
.aboutColum {
    gap: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 80px auto 80px;
}
.aboutImg img {
    width: 400px;
    height: auto;
    
}
.aboutImg {
    display: flex;
    flex-direction: column;
}
.text2 {
    width: 500px;
    font-size: 20px;
    line-height: 1.8;
}
.text2 h2 {
    font-size: 40px;
    margin-bottom: 20px;
    font-family: "Dancing Script", cursive;
}
.viewMore{
    text-align: center;
    margin: 50px auto;

}
.viewMore a , .viewSite a{
    align-items: center;
    font-size: 25px;
    border-bottom: 1px solid #9A9796;
    border-left: 1px solid #9A9796;
    border-radius: 35px;
    border-right: 1px solid #9A9796;
    border-top: 1px solid #9A9796;
    flex: none;
    flex-direction: column;
    height: auto;
    justify-content: flex-start;
    margin: 0px 0px 0px -1px;
    padding: 10px 20px 10px 20px;
    width: auto;
}
.works {
    margin-top: 150px;
}
#contact {
  padding: 50px 0;
}
.contact-Form {
  background-color: #ffffff;
  padding: 30px;
  max-width: 800px;
  margin: auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}
.form-Row {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.form-Row .input-Area label{
  margin-right: 30px;
}
.contact-Form #top3 {
  margin-top: 10px;
}
.form-Row label {
  width: 250px;
  font-weight: bold;
  margin-right: 10px;
  line-height: 1.5;
}
.input-Area {
  flex: 1;
  align-items: center;
}
  
input[type="text"],input[type="email"],
input[type="tel"],textarea {
  flex: 1;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  background-color: #ffffff;
}
.address-Row {
  display: flex;
  gap: 10px;
  flex: 1;
  flex-direction: column;
}
textarea {
  resize: vertical;
  height: 200px;
}
.submit-Btn {
  display: inline-block;
  width: 250px;
  text-align: center;
  text-decoration: none;
  line-height: 60px;
  outline: none;
  border-radius: 10px;
  color: #fff;
  background-color: #000000;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.submit-Btn:hover {
  transform: scale(0.9,0.9);
}

.center {
  justify-content: center;
}
.zipcode input, input[type="text"], input[type="tel"] {
  display: flex;
  flex: 0; 
}
.contact-Form label {
  text-align: right;
} 
.zipcode p {
  display: flex;
  justify-content: center;
  align-items: center;
}
.zipcode {
  display: flex;
}
.input-Area {
  text-align: left;
  justify-self: center;
}
.toTop img {
  margin: 0px;
  position: fixed;
  right: calc((100% - 1366px) / 2 + 25px);
  /* right: 20px; */
  bottom: 60px;
  z-index: 999;
  transform: rotate(90deg);
  opacity: 0.8;
}
.works ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}
.modal {
  background-color: #6F87AC;
  border-radius: 10px;
}
.modal {
  color: #ffffff;
}
li p {
  position: relative;
}
li p::after {
  position: absolute; 
  left: 0;            
  content: '';        
  width: 100%;        
  height: 2px;        
  background: #ffffff;
}
li p::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #ffffff;
  bottom: -1px;
  transform: scale(0, 1);
  transform-origin: center top; 
  transition: transform 0.3s;   
}  
li p:hover::after {
  transform: scale(1, 1); 
}
section {
  scroll-margin-top: 120px; /* ヘッダーの高さ + 少し余裕 */
}

.botton {
  justify-self: end;
}
.modal p {
  display: flex;
  justify-content: right;
  margin: 10px 0 10px 0;
}
.modal h3 {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 300px;
  height: 50px;
  font-size: 20px;
}
.modal img {
  width: 300px;
  height: 150px;
}
.modalOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.modalOverlay.isActive {
  visibility: visible;
  opacity: 1;
}

.modalContent {
  background: white;
  padding: 30px;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.modalClose {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.modalInner img {
  max-width: 100%;
  height: auto;
  margin-top: 10px;
}

.noScroll {
  overflow: hidden;
}

@keyframes fadeIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modalContent {
  background-color: antiquewhite;
}
.jsModal h4 {
  font-size: 24px;
  display: flex;
  justify-content: center;
  margin: 20px 0;
}
.jsModal span {
  font-size: 18px;
  margin: 20px 0;
}
.jsModal p {
  font-size: 15px;
  line-height: 1.5;
  margin: 10px 0;
}
.viewSite {
    justify-self: center;
    margin-top: 30px;

}
.coming {
  width: 540px;
  height: 300px;
}
footer {
  text-align: center;
  padding: 20px;
  background-color: #000000;
  font-size: 14px;
  position: relative;
    z-index: 1000;
  color: #ffffff;  
}
@media (max-width: 768px) {
  .nav-fade__link {
    font-size: 35px;
  }

  .nav-fade__item {
    padding-left: 0px;
    margin-bottom: 4.5vh;
  }

  .nav-fade__info {
    padding-left: 0px;
  }
.nav-fade__list {
  margin-top: 40px;
}
.nav-fade {
  height: 100%;
}
.contact-Form {
  max-width: 90%;
  padding: 20px 0;
  background-color: #ffffff;
}
.contact {
  padding: 50px 0 0;
}
.form-Row {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#top1 {
    height: 200px;
}
.form-Row label {
  text-align: center;
}
.form-Row input[type="text"],
.form-Row input[type="email"],.form-Row input[type="tel"],.form-Row textarea, input[type="text"] {
  width: 90%;
}
.address-Row {
  width: 90%;
}
.address-Row input[type="text"]{
  width: 100%;
}
.zipcode input[type="text"] {
  width: 120px;
}
.informaition {
  width: 100%;
  margin: 0 auto;
  font-size: 20px;
  line-height: 30px;
}
header img {
  width: 200px;
  height: 70px;
  margin-top: 10px;
}
.profile-img {
  width: 100px;
  height: 100px;
}
.name {
  font-size: 30px;
}
.portfolio {
  font-size: 50px;
}
.line {
  height: 100px;
  margin-right:15px ;
}
.text-section {
  margin-left: 10px;
  gap: 0px;
}
.aboutColum {
  flex-direction: column;
  align-items: center;
} 
.text2 {
  width: 90%;
}
.intro-container {
  padding-top: 330px;
  padding-bottom: 250px;
}
.aboutImg img {
  width: 90%;
  height: auto;
}
.aboutImg {
  align-items: center;

}
footer {
  text-align: center;
  padding: 20px;
  background-color: #000000;
  font-size: 14px;
  color: #ffffff;  
}
.toTop img {
  bottom: 60px;
  right: calc((100% - 365px) / 2 + 10px);
}
}