@charset "utf-8";

/* 共通のスタイルここから */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

main {
  background: url("../images/bg.jpg") no-repeat center/cover;
  padding: 80px 20px;

}

.footer {
  background: #ccb5b5;
  text-align: center;
  padding: 20px 20px;
}

.footer p {
  font-size: 12px;
}

#copyright{
    padding-top: 30px;
}

#global-nav a {
  color: #333333;
  text-decoration: none;
}

#global-nav a:hover {
  text-decoration: underline;
}

/* 共通のスタイルここまで */

/* headerのスタイルここから */
#global-nav{
    list-style-type: none;
    margin: 10px auto 0;
    padding: 20px;
    width: fit-content;
    display: flex;
    gap: 30px;
    border: solid #ffffffa2 5px;
    background-color: #ffffffa2;
    border-radius: 10px;
}

#global-nav{
    position: fixed;
    top: 0;
    right: 6rem;
    /* width: 100%; */
    z-index: 1000; /* 他の要素より前に出す */
}

#hero-index{
    background-image: url(../images/hero-image.jpg);
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 0;
    margin-bottom: 0;
    
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;

    padding-right:  180px;
    padding-bottom: 180px;
}

.mana-ishiguro{
    color: #ffffff;
    font-family: 'Times New Roman', Times, serif;
    font-size: 50px;
    animation-name: fade-up;
    animation-duration: 2s;
}

@keyframes fade-up{
    from{
      transform: translateY(30px);
      opacity: 0;
    }
    to{
      transform: translateX(0);
      opacity: 1;
    }

}

/* headerのスタイルここまで */

/* index.htmlのスタイルここから */

.index-profile,.index-works,.index-contact{
  margin-right: 200px;
  margin-left: 200px;
  margin-bottom: 150px;
}

#index-skills{
  margin-right: 200px;
  margin-left: 200px;
  margin-bottom: 150px;
 
}

.index-title{
    font-size: 40px;
    border-bottom: solid;
}
.index-profile-box1{
    display: flex;
    align-items: center;
    gap: 200px;
    justify-content: center;
    padding:50px 80px ;

}
.prof-btn,.works-btn{
    display: block;
    margin-left: auto;
    margin-right: 50px;
}

.index-work-items{
    padding-top: 50px 80px;
}

.index-work-box{
    list-style-type: none;
    display: grid;
    display: flex;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 80px;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 50px;

}

.index-work-items-image{
    width: fit-content;
}

.index-contact p{
  padding-top: 40px;
  padding-bottom: 50px;
  line-height: 2em;
}

.contact-box{
  width: 500px;
  margin: 0 auto;
  background: #ccb5b5cd;
  padding: 15px;
  margin-top: 50px;
  border-radius: 10px;
  text-align: center;
}


.contact-btn{
  padding-bottom: 40px;
}

/* index.htmlのスタイルここまで */


/* profileのスタイルここから */
.header-profile {
  background: url("../images/hero-image-profile.jpg") no-repeat center/cover;
  padding: 80px 20px 80px;
  text-align: center;
  position: relative;
}

.profile {
  max-width: 900px;
  margin: 0 auto;
}

.profile-box1{
    display: flex;
    align-items: center;
    gap: 200px;
    justify-content: center;
}

.profile-box1 img{
    margin-right: auto;
    filter: drop-shadow(15px 15px 0 #504744);
}

.profile-textbox1{
    margin-left: 450px;
    text-align: right;
}
.profile-box2{
    display: flex;
    align-items: center;
    gap: 250px;
    justify-content: center;
    margin-top: 70px;
}

.profile-box2 img{
    margin-left: auto;
    filter: drop-shadow(15px 15px 0 #504744);

}

.profile-textbox2{
    margin-right: 450px;
}

/* profileのスタイルここまで */

/* worksのスタイルここから */
.header-works {
  background: url("../images/hero-image-works.jpg") no-repeat center/cover;
  padding: 80px 20px 80px;
  text-align: center;
  position: relative;
}
.work-items{
    padding: 60px 100px;
    list-style-type: none;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.work-items li {
  width: 450px;
  background: #f8f8ff;
  padding: 15px;
  border-radius: 10px;
  transition: 0.3s;
}

.work-items img {
  border-radius: 8px;
  margin-bottom: 10px;
}

.w-img{
  margin: 0 auto;
  width: fit-content;
  padding-top: 15px;
}

.work-item-title {
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
}

.work-item-text{
    text-align: left;
    display: block;
    font-size: 14px;
}

.work-items li:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.work-item-text a {
  color: #db5757;
  text-decoration: none;
}

.w-img-link {
  color: inherit;
  text-decoration: none;
}


/* worksのスタイルここまで */

/* skillsのスタイルここから */
#skill-items{
    display: flex;
    flex-wrap: wrap;

    gap: 50px;
    margin: 50px auto 0;
    justify-content: center;
}
#skill-items-image{
    padding: 20px;
    width: 25%;
    background-color: #f8f8ff;
    border-radius: 10px;
    text-align: center;
}
#skill-items-image p{
    text-align: left;
}
#skill-items-image:nth-child(n+4){
  margin-top: 30px;
}
/* skillsのスタイルここまで */

/* contactのスタイルここから */
.header-contact {
  background: url("../images/hero-image-contact.png") no-repeat center/cover;
  padding: 80px 20px 80px;
  text-align: center;
  position: relative;
}

.header-contact h1 {
  font-size: 32px;
  font-weight: bold;
}

.contact-text-box {
  max-width: 600px;
  text-align: center;
  margin: 0 auto;
  background: #ccb5b5;
  padding: 20px;
  border-radius: 4px;
}

.text1,.text2,.text3 {
  font-size: 16px;
  margin-top: 10px;
  padding-bottom: 10px;
}


.form{
    max-width: 500px;
    text-align: left;
    margin: 0 auto;
    padding-top: 30px;
}

.form p{
    padding-top: 20px;
    padding-bottom: 50px;
}
input[type="text"],input[type="email"],input[type="tel"]{
    width: 230px;
    height: 30px;
}

input[type="submit"]{
    width: 200px;
    height: 50px;
  
}

label{
  display: flex;
  align-self: center;
  padding-bottom: 20px;

}

label:not(:last-child){
  margin-bottom: 20px;
}

.title{
    display: flex;
    justify-content: space-between;
    align-self: center;
    padding-right: 20px;
    width: 220px;
    font-weight: 700;
}

.title-textarea{
    display: flex;
    justify-content: space-between;
    align-self: flex-start;
    padding-top: 20px;
    padding-right: 20px;
    width: 220px;
    font-weight: 700;

}

textarea{
    width: 300px;
    height: 200px;
}

textarea{
    flex: 1;
}

.agree{
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-top: 30px;
}
.agree a{
    text-decoration: none;
}

.agree a:hover{
    text-decoration: underline;
}

.submit-btn{
    display: flex;
    justify-content: center;
    padding: 30px;
    
}
/* contactのスタイルここまで */


/* privacy policyのスタイルここから */

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #333;
  line-height: 1.8;
}

.header-privacy {
  background: url("../images/hero-image-privacy.jpg") no-repeat center/cover;
  padding: 80px 20px 80px;
  text-align: center;
  position: relative;
}

.header h1 {
  font-size: 32px;
  font-weight: bold;
}

.privacy {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 4px;
}

.privacy h2 {
  font-size: 18px;
  margin-bottom: 20px;
}

.privacy h3 {
  font-size: 16px;
  margin-top: 20px;
}

.privacy p {
  font-size: 14px;
  margin-top: 10px;
}

/* privacy policyのスタイルここまで */

.img-big{
  text-align: center;
  padding: 100px;
  background-color: #f8f8ff;
  border-radius: 10px;

}
