/*--------------------------------------------------------------
  File Name: front-page.css
  Description: トップページスタイル
  Purpose: 特定ページのレイアウト調整・装飾のため
  Created: 2025-11-24
  Updated: 2025-11-24
--------------------------------------------------------------*/

/* ローディング時のフェードイン設定 */
body {
  opacity: 0;
  transition: opacity 1s ease-in;
}

body.loaded {
  opacity: 1;
}

/* basic style */
h1.logo .logo-area {
  width: 38vw;
  max-width: 220px;
}

.logo {
  height: 100vh;
  margin: auto;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-area {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
}

.info-area .text {
  margin-top: 46px;
  margin-left: 50px;
}
.info-area .text_about {
  text-align: right;
  margin-top: 38px;
  padding-right: 2vw;
}

.line-illust {
  width: 70vw;
  max-width: 160px;
}

.line-illust img {
  width: 100%;
}

.line-illust.yellow-blue {
  margin-left: 10px;
  margin-top: -70px;
}

.info-area.right-layout {
  flex-direction: row-reverse;
  flex-wrap: wrap;
  margin-right: 0;
}

.info-area.right-layout .line-illust {
  width: 160vw;
}

.line-illust.red-green {
  margin-right: 0px;
  margin-top: 0px;
}

.bottom-area {
  margin: 0 auto;
}

.bottom-message {
  width: 65vw;
  margin: 0 auto;
  max-width: 300px;
}

.bottom-message img {
  width: 100%;
}

.bottom-illust {
  width: 54vw;
  max-width: 260px;
  margin: 0 auto;
}

.bottom-illust img {
  width: 100%;
}

.contact {
  font-size: 2rem;
}

.contact a {
  text-decoration: none;
  font-weight: 500;
  color: #000;
  letter-spacing: 2px;
  border: 3px solid #000;
  padding: 10px 20px 10px 18px;
  border-radius: 36px;
}

/* 中型デバイス */
@media (min-width: 600px) {
  /* 大きめのスマートフォン向けのスタイル */

  .bottom-message {
    width: 38vw;
    max-width: 350px;
  }

  .bottom-illust {
    width: 20vw;
  }

  .info-area {
    flex-direction: row;
  }

  .info-area .text {
    margin-top: 50px;
    margin-left: 40px;
  }

  .line-illust {
    width: 18vw;
  }

  .line-illust.yellow-blue {
    margin-left: -40px;
    margin-top: 40px;
  }

  .info-area.right-layout {
    flex-direction: row-reverse;
    margin-right: 3vw;
  }

  .line-illust.red-green {
    margin-right: -64px;
    margin-top: 110px;
  }

  .bottom-illust {
    width: 40vw;
  }
}

/* 大型デバイス */
@media (min-width: 700px) {
  /* タブレット向けのスタイル */

  h1.logo .logo-area {
    width: 30vw;
  }

  .bottom-message {
    width: 40vw;
    max-width: 400px;
  }
}

/* 小型デスクトップ */
@media (min-width: 1201px) {
  /* 小型デスクトップ向けのスタイル */

  h1.logo .logo-area {
    width: 20vw;
  }
}

/* 大型デスクトップ */
@media (min-width: 2000px) {
  /* 大型デスクトップ向けのスタイル */
}
