@charset "utf-8";
/* CSS Document */
.pagetitle4{
	background-color: #207F20;
}
/* 背景と余白 */
.machine-section {
width: 100%;
  padding: 24px;
}

/* 上の説明文 */
.machine-lead {
  margin: 0 0 16px;
  font-weight: 700;
}

/* グリッドレイアウト */
.machine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* カード全体をリンク化 */
.machine-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

/* サムネ：正方形、角丸、枠線 */
.thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f5f5f5;
  border: 2px solid #000;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* キャプション */
.caption {
  margin-top: 8px;
  font-weight: 700;
}


.print-types{
        align-items: stretch;
    gap:50px;
}

.ptype {
  background: #fff;
  border-radius: 16px;
  padding: 30px 20px;
  max-width: 340px;
    width: clamp(280px, 90vw, 340px);
  text-align: center;
}

/* メインタイトル */
.ptype__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0px;
  position: relative;
  padding-bottom: 8px;
}
.ptype__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: #000;
}

/* 黒い pill タグ（特徴 / 向いているデザイン / 適している枚数 / 注意点） */
.ptype__head {
  display: inline-block;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;   /* pill 形状 */
  margin: 20px 0 10px;
}

/* 本文 */
.ptype p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 10px;
}


/* ---------- IEのみ ---------- */
@media all and (-ms-high-contrast: none) {
}
/* ---------- 1280px ~ ---------- */
@media screen and (max-width: 1280px){
}
/* ---------- 1080px ~ ---------- */
@media screen and (max-width: 1080px){
.machine-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px; /* お好みで */
    }
}
/* ---------- 768px ~ ---------- */
@media screen and (max-width: 768px){
}
/* ---------- 576px ~ ---------- */
@media screen and (max-width: 576px){
.machine-grid{
        grid-template-columns: 1fr;
        gap: 18px; /* お好みで */
    }
}
/* ---------- 350px ~ ---------- */
@media screen and (max-width: 350px){
}

