@charset "utf-8";
/* CSS Document */

main h2{
	margin-bottom: 30px;
}

/*========================================
　　スライダー
========================================*/

.splide__slide{
	text-align: center;
}

/* 画像の下にページネーション分のスペースを作る */
.splide__track {
  padding-bottom: 35px; /* まずは 24〜40px で調整 */
}

/* Flexbox内でSplideがmainを押し広げるのを防ぐ */
.container main {
  min-width: 0;
}

.design-slider {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.design-slider .splide__slide img {
  display: block;
  width: 100%;
  height: auto;
}

#shurui,
#shurui > .wrap,
#shurui .splide,
#shurui .splide__track,
#shurui .splide__list,
#shurui .splide__slide {
  height: auto !important;
  min-height: 0 !important;
}

#shurui .splide__slide img {
  display: block;
  width: 100%;
  height: auto;
}

.container main {
  min-width: 0;
}

/*===============================
名入れのぼり
==============================*/

#naire p{
	font-size: 1.3rem;
	font-weight: bold;
	position: relative;
    padding: .5em .7em .4em;
    border-bottom: 3px solid #000;
}

#naire p::before,
#naire p::after {
    position: absolute;
    left: 30px;
    bottom: -15px;
    width: 30px;
    height: 15px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
}

#naire p::before {
    background-color: #000;
}

#naire p::after {
    bottom: -11px;
    background-color: #fff;
}

/* 名入れ説明画像 */
.naire-example {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 25px;
  margin: 25px 0 40px;
}

.naire-example img {
  display: block;
  width: auto;
  height: auto;
}


.naire-example img:first-child {
  max-width: 65%;
}

.naire-example img:last-child {
  max-width: 22%;
}


/* ==================================
オリジナルのぼり製作例
========================================*/
.wrap > div:has(img[src="img/ori_1.png"]) {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  margin: 30px auto;
  padding: 96px 45px 28px;
  background-color: #fff;
  border: 4px solid #009844;
  border-radius: 28px;
}

/* 左上の「製作例」 */
.wrap > div:has(img[src="img/ori_1.png"]) > span {
  position: absolute;
  top: 25px;
  left: 28px;
  display: inline-block;
  padding: 7px 22px 3px;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  background-color: #07954c;
  border-radius: 5px;
}

/* のぼり画像一覧 */
.wrap > div:has(img[src="img/ori_1.png"]) > ul {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 24px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrap > div:has(img[src="img/ori_1.png"]) > ul > li {
  min-width: 0;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* のぼり画像 */
.wrap > div:has(img[src="img/ori_1.png"]) > ul > li img {
  display: block;
  width: 100%;
  max-width: 120px;
  height: auto;
  margin: 0 auto;
}


/* 下部の案内文 */
.wrap > div:has(img[src="img/ori_1.png"]) > p {
  margin: 35px 0 0;
  color: #fff;
	background: #e50020;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  letter-spacing: 0.03em;
	border: 6px double #fff;
	padding: 9px 5px 5px;
}


/*===================================================
関連器具も充実
==================================================*/

#kigu img{
	border: 4px solid #009844;
	border-radius: 20px;
}

/* タブレット */
@media screen and (max-width: 900px) {
  .wrap > div:has(img[src="img/ori_1.png"]) {
    padding: 78px 28px 25px;
    border-width: 3px;
    border-radius: 22px;
  }

  .wrap > div:has(img[src="img/ori_1.png"]) > ul {
    gap: 14px;
  }
}

/* スマートフォン */
@media screen and (max-width: 680px) {
  .wrap > div:has(img[src="img/ori_1.png"]) {
    margin: 20px auto;
    padding: 82px 18px 22px;
    border-width: 3px;
    border-radius: 18px;
  }

  .wrap > div:has(img[src="img/ori_1.png"]) > span {
    top: 16px;
    left: 18px;
    padding: 6px 18px;
    font-size: 1.4rem;
  }

  .wrap > div:has(img[src="img/ori_1.png"]) > ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 12px;
  }

  .wrap > div:has(img[src="img/ori_1.png"]) > ul > li img {
    max-width: 100px;
  }

  .wrap > div:has(img[src="img/ori_1.png"]) > p {
    margin-top: 22px;
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 600px) {
	
	/*===============================
	名入れのぼり
	=================================*/
	#naire p{
		font-size: 1rem;
	}
	
	
  .naire-example {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .naire-example img:first-child {
    max-width: 100%;
  }

  .naire-example img:last-child {
    max-width: 45%;
  }
}

/* 小さいスマートフォン */
@media screen and (max-width: 400px) {
  .wrap > div:has(img[src="img/ori_1.png"]) > ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}