/*PC、スマホ共通スタイル*/
* {
    box-sizing: border-box;
    color: black;
    background-color: □#ffffff;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
}

P {
    font-size: 18px;
}

body {
    position: relative;
    max-width: aut;
    margin: 0;
}


/*ヘッダーのセクション*/
header {
    position: fixed; 
    max-width: 100%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 34px;
    padding: 0 230px 0 230px;
    background-color: #ffffff;
    border-top: solid 30px rgb(0, 0, 0);
    border-bottom: solid 5px rgb(0, 0, 0);
    z-index: 30;
}

header a {
    text-decoration: none;
}

#nav-main-page li {
    list-style: none;
    transition: transform 0.3s;
}

#nav-main-page li:hover {
    transform: scale(1.1);
}

#MyProfile-nav {
    border: solid 1px black;
    margin: 20px 0 20px 0;
    padding: 0 30px;
    transition: transform 0.3s;
}

#MyProfile-nav:hover {
    transform: scale(1.1);
}

#nav-main-page ul {
    display: flex;
    margin: 20px 0 0 0;
    padding: 0;
}

#nav-main-page a {
    padding: 0 15px 0 15px;
}


/*カメラの写真*/
#camera img {
    max-width: 100%;
    margin: 0;
}

/*歓迎テキストループ*/
.welcome-wrapper {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.loop_text1 {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 60px;
  overflow: hidden;
  padding-left: 20px;
  margin: 126px 0 10px 0;
  color: rgb(165, 165, 165); /*元色#ffa07a*/
}

.loop_text1:nth-child(odd) {
  animation: loop 50s -25s linear infinite;
}

.loop_text1:nth-child(even) {
  animation: loop2 50s linear infinite;
}

.loop_text2 {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 60px;
  overflow: hidden;
  padding-left: 20px;
  margin: 0;
  color: rgb(165, 165, 165);
}

.loop_text2:nth-child(odd) {
  animation: loop 50s -25s linear infinite;
}

.loop_text2:nth-child(even) {
  animation: loop2 50s linear infinite;
}


@keyframes loop {
    0% {
      transform: translateX(100%);
    }
    to {
      transform: translateX(-100%);
    }
}

@keyframes loop2 {
    0% {
      transform: translateX(0);
    }
    to {
      transform: translateX(-200%);
    }
}

/*スクロールダウン*/
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400&display=swap');

.scroll_down{
  position:absolute;
  /* width: 50px;
  height: 50px; */
  background-color: #ff7acc;
  /* bottom:50px; */
  top: 590px;/* 元は200px */
  right:20%;
  animation: arrowmove 1s ease-in-out infinite;
}

.scroll_down a{
  position: absolute;
  left: -24px;
  top: 0px;
  /* bottom: 30px; */
  background-color: #ff90bb;
  color: #000;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  font-size: 14px;
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
}

.text {
  display: block;
  margin: 110px 0 0 40px;
  /* margin-left: -14px; */
  width: 130px;
  height: 44px;
  font-size: 30px;
  color: #000;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 2px;
}

.arrow {
  position: absolute;
  width: 56px;   /* 元は28px */
  height: 5px;   
  margin: 40px 0 0 70px;
  opacity:0; 
  transform: scale3d(0.5, 0.5, 0.5);
  animation: move 3s ease-out infinite;
}

.arrow:first-child {
  animation: move 3s ease-out 1s infinite;
}

.arrow:nth-child(2) {
  animation: move 3s ease-out 2s infinite;
}

.arrow:before,
.arrow:after {
  content: ' ';
  position: absolute;
  top: 0;
  height: 100%;
  width: 51%;
  background: #000;
}

.arrow:before {
  left: 0;
  transform: skew(0deg, 30deg);
}

.arrow:after {
  right: 0;
  width: 50%;
  transform: skew(0deg, -30deg);
}

@keyframes move {
  25% { opacity: 1; }
  33% { opacity: 1; transform: translateY(30px); }
  67% { opacity: 1; transform: translateY(40px); }
  100% { opacity: 0; transform: translateY(55px) scale3d(0.5, 0.5, 0.5); }
}


/*about titleのセクション*/
#about-title {
    scroll-margin-top: 100px;
    position: relative;
    height: 203px;
}

#title-a {
    position: absolute;
    left: 20px;
    font-size: 120px;
    margin: 0 0 0 0;
    z-index: 11;
}

#title-a  h1{
    margin: 0 0 0 0;
}

#blue-line {
    position: absolute;
    top: 70px;
    height: 100px;
    width: 600px;
    z-index: 10;
    background-color: rgb(96, 177, 252);
    /* opacity: 0.5; */
    border-radius: 0 50px 50px 0;
}

.fade-target {
  opacity: 0;
  transition: opacity 3s;
}

.fade-in {
  opacity: 1;
}

 /* .fade-in {
  animation: fade-in 3s;
  animation-fill-mode: forwards;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
} */


/*aboutのセクション*/
#about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;  
    margin: 50px 0 0 0;
}

#about h2 {
    font-size: 43px;
}

#about li {
    font-size: 23px;
}


#about-detail {
    display: flex;
}

#about-images {
    max-width: 400px;
    margin: 0 150px 0 0;
    padding: 30px;
    background-color: #b0d9fc;
    border-radius: 50%;
}

#about-detail img {
    max-width: 100%;
    border-radius: 50%;
}


/*works-titleのセクション*/
#works-title {
    scroll-margin-top: 100px;
    position: relative;
    margin-top: 100px;
    height: 203px;
}

#title {
    position: absolute;
    right: 20px;
    font-size: 120px;
    margin: 0 0 0 0;
    z-index: 11;
}

#title h1{
    margin: 0 0 0 0;
}

#orenge-line  {
    position: absolute;
    top: 70px;
    right: 0px;
    height: 100px;
    width: 600px;
    z-index: 10;
    background-color: rgb(250, 207, 126);
    border-radius: 50px 0 0 50px;
}

/*Worksのセクション*/
#works {
    display: flex;
    align-items: center; 
    margin: 25px 0 0 0;
}



#Works-parent {
    width: 100%;
    margin: 0 100px 0 100px;
    display: flex;
    justify-content:space-between;
}

.Works-Children {
    max-width: 300px;
    margin: 15px;
}

.Works-Children img {
    max-width: 100%;
}

/*contact-titleのセクション*/
#contact-title {
    scroll-margin-top: 100px;
    position: relative;
    margin-top: 100px;
    height: 203px;
}

#contact-title-position {
    position: absolute;
    left: 20px;
    font-size: 120px;
    margin: 0 0 0 0;
    z-index: 21;
}

#contact-title-position h1{
    margin: 0 0 0 0;
}

#green-line  {
    position: absolute;
    top: 70px;
    left: 0px;
    height: 100px;
    width: 600px;
    z-index: 20;
    background-color: rgb(150, 189, 123);
    clip-path: polygon(0 0, 100% 100%, 0 100%);
}

/*contact-fromのセクション*/
#contact {
  width: 1000px;
  margin: 40px auto 0 auto;
}


#contact > form >div {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.contact-error {
  background-color: #fdcde0;
  border-width: 2px;
  border-color: #ee1c70;
  border-radius: 5px;
  text-align: left;
}

.contact-heading1 {
  height: 100px;
  width: 225px;
  padding: 38px 8px 38px 15px;
  background-color: rgb(109, 161, 75);
  border-radius: 5px 0 0 5px;
}

.contact-heading2 {
  height: 140px;
  width: 225px;
  padding: 58px 8px 58px 15px;
  background-color: rgb(109, 161, 75);
  border-radius: 5px 0 0 5px;

}

.contact-label {
  font-weight: bold;
  font-size: 18px;
}

.contact-span {
  margin: 0 0 0 10px;
  color: rgb(179, 0, 0);
}

.contact-text1 {
  height: 100px;
  width: 770px;
  margin: 0 0 0 5px;
  background-color: rgb(222, 230, 180);
  border-radius: 0 5px 5px 0;
}

.contact-text2 {
  height: 140px;
  width: 770px;
  margin: 0 0 0 5px;
  background-color: rgb(222, 230, 180);
  border-radius: 0 5px 5px 0;
}

form input {
  height: 40px;
  width: 300px;
  border-color: transparent;
  border-width: 1px;
  margin: 30px 8px 30px 15px;
  border-radius: 5px;
}

.contact-text2 textarea {
  height: 80px;
  width: 600px;
  border-color: transparent;
  margin: 30px 8px 30px 15px;
  border-radius: 5px;
}

.submit-button {
  font-weight: bold;
  font-size: 18px;
  height: 50px;
  width: 120px;
  background-color: rgb(109, 161, 75);
  border-radius: 5px;
  margin: 30px auto 30px auto;
  transition: transform 0.3s;
}

.submit-button:hover {
  transform: scale(1.1);
}




/*フッターのセクション*/
footer {
    display: flex;
    justify-content: center;
    margin: 100px 0 0 0;
    background-color: black;
}

footer p {
    color: #ffffff;
}



