@charset "UTF-8";
/* CSS Document */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main #title {
  margin: 150px 0 100px 0;
  width: 100%;
}
main #title h2 {
  text-align: center;
  font-weight: bolde;
  letter-spacing: 3px;
  font-size: 18px;
}

/*about*/
main #about{
  width: 50%;
    margin: 0 auto;
}
main #logo {
  margin: 150px auto;
  text-align: center; /* 中央揃えを追加 */
   /* フェードインアニメーションの適用 */
   opacity: 0;
   animation: fadeInUp 0.8s ease forwards;
   animation-delay: 0.3s; /* ページ読み込み後少し遅れて表示 */
 }
main #logo img {
  width: 600px;
  margin: 0 auto;
  display: block; /* ブロック要素として表示 */
}
main #company {
    margin-bottom: 100px;
}
main #company h2 {
    text-align: center;
    letter-spacing: 4px;
    font-size: 20px;
}
main #company dl {
  display: flex;
  flex-wrap: wrap;
  width: 350px; /* 固定幅を設定 */
  margin: 30px auto; /* 上下マージンはそのままに、左右マージンをautoに */
  text-align: left; /* テキスト自体は左揃え */
    
}
main #company dt {
  width: 120px;
  font-weight: bold;
  margin-right: 20px;
  margin-bottom: 15px;
    letter-spacing: 4px;
}
main #company dd {
  width: calc(100% - 140px);
  margin: 0 0 15px 0;
    text-align: right;
    letter-spacing: 3px;
}
main #service h2 {
    text-align: center;
    letter-spacing: 4px;
    font-size: 20px;
    margin-bottom: 30px;
}
main #service p {
    max-width: 800px;
    margin: 0 auto;
}

/*profile_history*/
main #profile_history {
  width: 75%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
main #profile_history #flex_area {
  display: flex;
  gap: 30px;
  width: 100%;
  max-width: 1200px; /* 最大幅を設定 */
  margin: 0 auto;
  justify-content: center; /* 中央揃え */
   /* フェードインアニメーションの適用 */
   opacity: 0;
   animation: fadeInUp 0.8s ease forwards;
   animation-delay: 0.3s; /* ページ読み込み後少し遅れて表示 */
 }
main #profile_history #flex_area .text {
  width: 70%;
  letter-spacing: 3px;
  line-height: 3;
  max-width: 900px;
}
main #profile_history #flex_area .text ul {
  list-style: none;
    padding: 0;
}
main #profile_history #flex_area .image {
  width: 30%;
  margin: 0 auto;
}
main #profile_history #flex_area .img-item {
  margin: 0 auto;
}
/*
main #profile_history #flex_area .button-container {
    border-radius: 50px;
    color: #808080;
    font-size: 12px;
    padding: 3px 10px 1px 10px;
    border: 1px solid #808080;
    width: 80px;
    margin: 0 auto;
    text-align: center;
}
main #profile_history #flex_area .button-container.margin-top {
  margin-top: 10px;
}
main #profile_history #flex_area .button-container a {
  color: #808080;
  text-decoration: none;
}
*/

/*brands_works*/
main #brands_works #title h2 {
padding-top: 20px;
}
main #brands_works #title h2 .br-sp {
  display: none;
}
main #brands_works #list {
    text-align: center;
    /* フェードインアニメーションの適用 */
   opacity: 0;
   animation: fadeInUp 0.8s ease forwards;
   animation-delay: 0.3s; /* ページ読み込み後少し遅れて表示 */
}
main #brands_works #list ul {
    list-style: none;
    padding: 0;
}
main #brands_works #list li {
    margin-bottom: 10px;
}
main #brands_works #list p {
    margin-top: 70px;
}
main #brands_works #list .no-style-link {
  text-decoration: none;
  color: inherit;
}

/*message_contact*/
main #message_contact #title h2 {
padding-top: 20px;
}
main #message_contact #text p {
    text-align: center;
    letter-spacing: 2px;
     /* フェードインアニメーションの適用 */
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.3s; /* ページ読み込み後少し遅れて表示 */
}
main #message_contact .button-container {
    color: #808080;
    font-size: 15px;
padding: 7px 5px 5px 5px;
    border: 1px solid #808080;
    width: 160px;
    margin: 0 auto;
    text-align: center;
    margin-top: 100px;
     /* フェードインアニメーションの適用 */
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.3s; /* ページ読み込み後少し遅れて表示 */
  transition: all 0.3s ease; /* ホバーエフェクトのトランジション */
}

main #message_contact .button-container a {
  color: #808080;
  text-decoration: none;
  letter-spacing: 3px;
  display: block; /* リンク全体をクリック可能に */
  transition: all 0.3s ease; /* ホバーエフェクトのトランジション */
}

/* ホバーエフェクト */
main #message_contact .button-container:hover {
  background-color: #808080;
  border-color: #808080;
}

main #message_contact .button-container:hover a {
  color: #ffffff;
}

/*1050px以下*/
@media screen and (max-width: 1050px) {

main #about {
  width: 90%;
}
main #about img {
  width: 500px;
}
main #profile_history #flex_area {
  gap: 10px;
}

/*700px以下*/
@media screen and (max-width: 700px) {
main #about img {
  width: 80%;
}
main #about #company dl {
  width: 60%;
  min-width: 250px;
}
  main #about #service p {
  font-size: 13px;
}
main #brands_works {
  width: 90%;
  margin: 0 auto;
}
main #brands_works #title h2 {
  font-size: 16px;
}
main #brands_works #title h2 .br-sp {
  display: block;
}
main #brands_works #list li {
  font-size: 13px;
}
main #profile_history {
  width: 90%;
}
main #profile_history #flex_area {
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
main #profile_history #flex_area .text {
  width: 100%;
  max-width: 100%;
}
main #profile_history #flex_area .image {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; 
}
main #profile_history #flex_area .img-item {
  width: calc(50% - 10px); 
  margin-bottom: 20px;
}
main #profile_history #flex_area .button-container {
  margin: 0 auto 20px;
  padding: 7px 14px;
}
main #profile_history #flex_area .text {
  letter-spacing: 1px;
  line-height: 2;
  font-size: 13px;
}
main #message_contact {
  width: 90%;
  margin: 0 auto;
}
main #message_contact #text {
  font-size: 13px;
}
}

}