/* css */

/* heroを半分の大きさにする */
.hero {
  background-color: bisque;
}

.hero p {
  font-size: 30px;
}

/* hero2 */
.hero2 {
  background-color: #9c1c21;
  background-image: url("./images/top_hero2.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-color: antiquewhite;
}

.hero3 {
  background-color: lightgrey;
}

.hero3-container {
  display: flex;
}

.hero3-container .hero3-image3 {
  width: 50%;
}

.hero3-container .hero3-image4 {
  width: 50%;
  background-color: #9f1f24;
}

.hero3-container .hero3-image4 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.instagram-slideshow {
  padding: 15px;
}

/* store image */

.store {
  margin: 0 0 40px 0;
}

/* ask */
.ask-trouble .text h2 strong {
  color: #666666;
}
.ask {
  background-color: beige;
}

.ask h2 {
  text-align: center;
}

.ask p {
  text-align: center;
}

.ask h3 {
  text-align: right;
}

/* footscan */

.footscan .footscan-text {
  margin: 0 0 40px 0;
}

.footscan .footscan-container {
  display: flex;
  gap: 10px;
}

.footscan .footscan-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top;
  border-radius: 5px;
}

.footscan .footscan-container .footscan-image1 {
  width: calc(100% / 3);
  background-color: white;
}

.footscan .footscan-container .footscan-image2 {
  width: calc(100% / 3);
}

.footscan .footscan-container .footscan-image3 {
  width: calc(100% / 3);
  background-color: white;
}

/* sportip-pro */

.sportip-pro {
  margin: 0px 0 40px 0;
}

.sportip-pro h2 {
  text-align: center;
}

.sportip-pro .sportip-pro-text {
  margin: 0px 0 40px 0;
}

.sportip-pro .sportip-pro-container {
  display: flex;
}

.sportip-pro .sportip-pro-container .sportip-pro-image1 {
  width: 50%;
}

.sportip-pro .sportip-pro-container .sportip-pro-image2 {
  width: 50%;
  background-color: black;
}

.sportip-pro .sportip-pro-container .sportip-pro-image2 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media screen and (max-width: 767px), print {
  .sportip-pro .sportip-pro-container {
    display: block;
  }

  .sportip-pro .sportip-pro-container .sportip-pro-image1 {
    width: 100%;
  }

  .sportip-pro .sportip-pro-container .sportip-pro-image2 {
    width: 100%;
  }
}

/* インスタグラムに角丸設定 */

.lineup_box > li img {
  border-radius: 15%;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

/* slideshow */

.instagram-slideshow {
  /* slick初期化前の状態 */
  height: calc(100vw / 10);
  overflow: hidden;
  visibility: hidden;
}

.instagram-slideshow.slick-initialized {
  /* slick初期化後の状態 */
  height: auto;
  overflow: auto;
  visibility: visible;
}

.instagram-slideshow .instagram-slideshow-image {
  width: calc(100% / 10);
  aspect-ratio: 1;
}

.instagram-slideshow .instagram-slideshow-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ask-trouble */
.ask-trouble h2 {
  text-align: center;
  margin: 45px 0 40px 0;
  color: #9f1f24;
  font-size: 40px;
}

.ask-trouble h3 {
  text-align: center;
  color: #9f1f24;
  font-size: 30px;
}

.ask-trouble .ask-container {
  display: flex;
  flex-direction: row;
  padding: 25px 0 0 0;
  gap: 10px;
}

.ask-container .ask-trouble-text {
  width: 25%;
  flex: 1;
}

.ask-container .ask-trouble-text h4 {
  text-align: center;
  background-color: #fffde8; /*線の外側*/
  border-radius: 9px 9px 9px 0;
  display: inline-block;
  padding: 4px 10px 4px 10px;
  margin-top: 10px;
  color: #9c1c21;
  font-size: 25px;
}

.ask-container ul {
  /* 標準のul, liの見た目を消す */
  margin: 0;
  padding: 0;

  /* https://saruwakakun.com/html-css/reference/ul-ol-li-design */
  background: #fffde8;
  box-shadow: 0px 0px 0px 10px #fffde8; /*線の外側*/
  border: dashed 2px #ffb03f; /*破線*/
  border-radius: 9px;
  margin-left: 10px; /*はみ出ないように調整*/
  margin-right: 10px; /*はみ出ないように調整*/
  padding: 0.5em 0.5em 0.5em 2em;
}

.ask-container ul li {
  /* 標準のul, liの見た目を消す */
  margin: 0;
  padding: 0;
  list-style: none;

  /* https://saruwakakun.com/html-css/reference/ul-ol-li-design */
  line-height: 1.5;
  padding: 0.5em 0;
}

.ask-trouble .ask-trouble-footer {
  color: #9f1f24;
  text-align: center;
  margin: 50px;
  font-size: 25px;
  background: #fffde8;
  box-shadow: 0px 0px 0px 10px #fffde8; /*線の外側*/
  border: dashed 2px #ffb03f; /*破線*/
  border-radius: 9px;
  margin-left: 10px; /*はみ出ないように調整*/
  margin-right: 10px; /*はみ出ないように調整*/
  padding: 0.5em 0.5em 0.5em;
}

@media screen and (max-width: 767px), print {
  .ask-trouble h2 {
    font-size: 1.7em;
  }

  .ask-trouble h3 {
    font-size: 1.3em;
  }

  .ask-trouble .ask-container {
    display: block;
  }

  .ask-trouble .ask-trouble-footer {
    font-size: 17px;
  }

  .ask-container .ask-trouble-text {
    width: 100%;
    margin: 0 0 40px 0;
  }
}
