@charset "UTF-8";
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #FEFEFE;
}
header {
  background-color: #F6F6F8;
}
.navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.navigation li {
  margin: 0;
  height: 50px;
  width: 100px;
  padding: 10px 40px;
  text-align: center;
  display: flex; /* Flexboxを有効化 */
  justify-content: center; /* 横方向の中央揃え */
  align-items: center; /* 縦方向の中央揃え */
}
.nav1 {
  background-color: #FEFEFE;
}
.nav2 {
  background-color: #FDE3E6;
}
.nav3 {
  background-color: #FCCFD2;
}
.navigation a {
  text-decoration: none;
  color: #8B8A86;
  font-size: 1.6em;
}
.hero {
  text-align: center;
  margin: 150px 0 100px;
}
.hero h1 {
  font-size: 2.0em;
  color: #8B8A86;
}
.hero-image {
  max-width: 150px;
  margin: 80px 0;
}
.subtitle {
  font-size: 1.0em;
  color: #B6A69B;
  margin-top: 20px;
}
.description {
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.9rem;
  color: #B6A69B;
  line-height: 1.8;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  place-items: center;
  gap: 20px;
  padding: 0px 100px;
  margin-bottom: 100px;
}
.work-item {
  background-color: #ccc;
  height: 150px;
  width: 225px;
  border-radius: 8px;
}
.background {
  background-image: url("../image/bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  text-align: left;
  margin: 0 auto;
  padding: 100px 140px;
  line-height: 1.8;
}
.background p {
  color: #8B8A86;
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0 80px;
  color: #8B8A86;
}
.profile-pic {
  width: 100px;
  height: 100px;
  margin-right: 40px;
}
.name {
  font-size: 1.3em;
  margin-bottom: 13px;
}
.profile-content {
  font-size: 0.9em;
  margin-bottom: 13px;
	line-height: 1.4;
}
.address {
  font-size: 0.8em;
}
.e-mail {
  font-size: 0.8em;
}
.email-link {
  text-decoration: none;
  color: #8B8A86;
}
.address-item {
  display: flex;
  gap: 20px;
}
.copyright {
  color: #B6A69B;
  text-align: center;
  font-size: 0.5em;
  margin: 0 0 20px 0;
}
/* =========================================
   タブレット（iPad）1024px以下
   ========================================= */
@media(max-width:1024px) {
  .works-grid {
    /* 3カラムから2カラムへ */
    grid-template-columns: repeat(2, 1fr);
    padding: 0 50px;
    gap: 15px;
  }
  .hero {
    margin: 100px 0 80px;
  }
  .hero h1 {
    font-size: 1.8em;
  }
  /* ナビゲーションの文字サイズを少し小さく */
  .navigation a {
    font-size: 1.4em;
  }
  /* 背景部分の横余白を少し減らす */
  .background {
    padding: 80px 60px;
  }
  /* フッターコンテンツのパディングを調整 */
  .footer-content {
    padding: 60px 50px 40px;
  }
}
/* =========================================
   スマホ（iPhone/Android）600px以下
   ========================================= */
@media(max-width:600px) {
	.description{
		margin: 0 50px;
	}
  .works-grid {
    /* 2カラムから1カラムへ */
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
  }
  .hero {
    margin: 80px 0 60px;
  }
  .hero h1 {
    font-size: 1.5em;
  }
	
	.navigation{
		display: block;
		width: 100%;
	}
	.navigation li{
		width: 100%;
		padding: inherit;
	}
  .navigation a {
    font-size: 1.2em;
  }
  .background {
    padding: 60px 20px;
  }
  .footer-content {
    display: block;
    /* flexを解除して縦方向に積む */
    text-align: center;
    padding: 40px 50px 30px;
  }
  .profile-pic {
    margin: 0 auto 20px auto;
    /* 画像を中央寄せ */
  }
  /* 文字サイズや余白をさらに調整 */
  .name {
    font-size: 1.2em;
    margin-bottom: 8px;
  }
  .profile-content {
    font-size: 0.85em;
    margin-bottom: 8px;
		text-align: left; 
  }
  .address {
    font-size: 0.75em;
  }
  .e-mail {
    font-size: 0.75em;
  }
	.address-item{
		display: block;
		text-align: left;
	}
}