@charset "utf-8";

/* パソコンで見たときは"pc"のclassがついた画像が表示される  */
.first-view {
  position: relative;
  width: 100%;
  display: block !important;
}
.sp {
  display: none !important;
}

.first-view img {
  width: 100%;
  height: auto;
  object-fit: cover;
  vertical-align: bottom;
}

/* テキストラップ：中央に配置 */
.first-view .text-wrapper {
  position: absolute;
  top: 55%; /* 50%より少し下 */
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 左寄せ */
  gap: 1em;
  color: #fff;
  text-shadow: 1px 1px 10px #4b2c14;
}

.lead {
  width: 100%;
  margin: 60px auto;
}

.lead p {
  line-height: 2;
  text-align: center;
}

.link-button-area {
  text-align: center;
  margin-top: 40px;
}

.link-button {
  background-color: #191970;
  display: inline-block;
  min-width: 180px;
  line-height: 48px;
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  color: #ffffff;
  font-size: 14px;
}

.link-button:hover {
  background-color: #1e90ff;
}

.recommended {
  background-color: #ffffff;
  /*padding-top: 45px;
  padding-bottom: 55px;*/
}

.recommended h2 {
  font-size: 22px;
  font-weight: bold;
  text-align: center;
}

.recommended h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background-color: #000000;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}

/*250430追加*/
.newsrecommended {
  background-color: #ffffff;
  padding-top: 45px;
  padding-bottom: 55px;
}

.newsrecommended h2 {
  font-size: 22px;
  font-weight: bold;
  text-align: center;
}

.newsrecommended h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background-color: #000000;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
} /*250430追加*/

.item-list {
  display: flex;
  padding-top: 40px;
  padding-bottom: 10px;
  padding-left: 60px;
  padding-right: 60px;
  overflow: scroll;
}

.item-list li {
  flex-shrink: 0;
  width: 260px;
  margin-left: 75px;
}

.item-list li:first-child {
  margin-left: 0;
}

.item-list dl {
  margin-top: 20px;
}

.item-list dt {
  font-weight: bold;
}

.item-list dd {
  font-size: 13px;
  line-height: 20px;
  margin-top: 10px;
}

.item-list .price {
  font-weight: bold;
  margin-top: 15px;
}
/* 追加 */
.item-list .works-name {
  font-weight: bold;
  font-size: 16px;
  margin-top: 15px;
}
/* 追加 */
.item-list .works-text {
  font-size: 14px;
  margin-top: 15px;
}
/* 追加 */
.item-list .works-content {
  font-size: 10px;
  margin-top: 15px;
}
/* 追加 */
.item-list img:hover {
  transform: scale(1.2);
  transition-duration: 0.5s;
}
/* 保留 
.icon{
  display: flex;
}
.icon1,.icon2,.icon3 {
  background-color: #191970;
  display: inline-block;
  min-width: 70px;
  line-height: 20px;
  border-radius: 2px;
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
  font-size: 10px;
  text-align: center;
  margin-right: 5px;
}*/

@media (max-width: 800px) {
  /* スマートフォンで見たときは"sp"のclassがついた画像が表示される */

  .sp img {
    width: 100%;
    height: 62vh;
    object-fit: cover;
    vertical-align: bottom;
  }

  .sp {
    display: block !important;
    position: relative;
  }

  .first-view {
    display: none !important;
  }
  .first-view p {
    padding-top: 60px;
    padding-left: 20px;
  }
  .first-view .mainp {
    font-size: 36px;
    line-height: 48px;
  }
  .first-view .subp {
    font-size: 14px;
    margin-top: 15px;
  }

  .lead {
    padding-left: 20px;
    padding-right: 20px;
  }

  /*250521削除
  .item-list {
    padding-left: 20px;
    padding-right: 20px;
  }*/

  .item-list li {
    width: 220px;
    margin-left: 30px;
  }
}
