@charset "utf-8";

.title {
  height: calc(100vh - 200px);
  background-image: url(../images/03/top.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  text-shadow: 0px 6px 12px #241c1c;
}

.title h1 {
  font-size: 32px;
  font-weight: bold;
}

.title p {
  font-size: 18px;
  margin-top: 15px;
}

.section-1 {
  position: relative;
  /* 子要素の基準となるように設定 */
  width: 100%;
  /* 必要に応じて調整 */
  height: auto;
  /* 必要に応じて調整 */
  margin-top: 180px;
  margin-bottom: 180px;
}

.section-1 img {
  display: block;
  /* 画像がインライン要素として表示されるのを防ぐ */
  width: 100%;
  height: 500px;
  object-fit: cover;
  /* 画像がコンテナに合わせてどのように表示されるかを設定 */
}

.section-2 {
  position: relative;
  /* 子要素の基準となるように設定 */
  width: 100%;
  /* 必要に応じて調整 */
  height: auto;
  /* 必要に応じて調整 */
  margin-top: 180px;
  margin-bottom: 180px;
}

.section-2 img {
  display: block;
  /* 画像がインライン要素として表示されるのを防ぐ */
  width: 100%;
  height: 500px;
  object-fit: cover;
  /* 画像がコンテナに合わせてどのように表示されるかを設定 */
}

.text-overlay {
  position: absolute;
  top: 50%;
  /* 上下の余白を作るために調整 */
  left: 20px;
  /* 左寄せにするために調整 */
  transform: translateY(-50%);
  /* 縦方向の中央揃えを維持 */
  color: white;
  padding: 20px;
  text-align: left;
  /* テキストを左寄せに変更 */
  border-radius: 5px;
  width: auto;
  /* テキストの幅に合わせて調整 */
  max-width: 80%;
  /* 必要に応じて最大幅を設定 */
  line-height: 1.8;
  /* 行間の値を調整（例：1.5, 2.0など） */
}

.text-overlay h2 {
  font-size: 35px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 30px;
  line-height: 1.2;
  /* 必要に応じてh1の行間も調整 */
}

.text-overlay p {
  font-size: 15px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0px;
  line-height: 1.2;
  /* 必要に応じてh1の行間も調整 */
}

.Profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-direction: row-reverse;
  justify-content: space-between;
  width: 1000px;
  max-width: 90%;
  margin-top: 40px;
  margin-bottom: 80px;
  margin-left: auto;
  margin-right: auto;
  align-items: flex-start;
}

.Profile img {
  margin-right: 20px;
  margin-left: 20px;
  width: 400px;
}

.reverse .Profile-text {
  font-size: 15px;
  margin-left: 10px;
  margin-right: 50px;
  max-width: 500px;
}

.Profile-text-01 {
  background-image: url(../images/03/技.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-position: 90%;
  height: 250px;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  max-width: 450px;
  margin-right: 50px;
  margin-top: 40px;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 28px;
}

.Profile-text-02 {
  background-image: url(../images/03/質.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-position: 0%;
  height: 250px;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  max-width: 450px;
  margin-left: 60px;
  margin-top: 40px;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 28px;
}

/* スマートフォン */
@media (max-width: 768px) {

  .Profile {
    display: block;
  }

  .item-container {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  .item {
    width: 90%;
    margin: 15px 0;
    text-align: left;
  }

  .item p {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .item .price {
    text-align: center;
  }
}