@charset "utf-8";
/* CSS Document */
@media print {
  header, footer, nav { display: none; }
/**  a::after { content: " (" attr(href) ")"; font-size: 10px; }**/
  table { page-break-inside: avoid; }
  a::after {
    content: none !important;
  }
}
/* セクション全体をカード風に */
details.accordion {
  background: #f9f9f9;          /* 薄いグレーで上品 */
  border: 1px solid #e3e3e3;    /* 薄い枠線 */
  border-radius: 10px;          /* 角丸で柔らかく */
  padding: 1.2rem;              /* 内側余白 */
  margin: 2rem 0;               /* セクション間の余白 */
  box-shadow: 0 2px 6px rgba(0,0,0,0.06); /* ほんのり影 */
}

/* summary部分の背景は白で浮かせる */
details.accordion > summary {
  background: #fff;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 開閉ボタン（赤背景＋白文字） */
details.accordion > summary::after {
  content: "詳しく見る";
  background: #c40000;
  color: #fff;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap; /* ← 改行防止 */
}

/* 開いている時は「たたむ」 */
details.accordion[open] > summary::after {
  content: "たたむ";
}

/* 本文部分の背景も白で読みやすく */
details.accordion .flexbox {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

/* 最後の画像リンクも中央寄せ */
details.accordion a {
  display: block;
  text-align: center;
  margin: 1.5rem auto;
}

.inner_flex {
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
  align-items:flex-start;
}

.inner_flex .box1,
.inner_flex .box2 {
  flex:1 1 300px;
  min-width:0;
}

.inner_flex img {
  max-width:100%;
  height:auto;
  display:block;
}

/**ul.flex_ul{
	display:flex;
	justify-content:flex-start;
	flex-wrap:wrap;
	width:100%;
	gap:3%;
	margin:10px auto;
}
ul.flex_ul li{
	width:16.5%;
	border:none;
}
ul.flex_ul li a img{
	width:100%;
	margin:0;padding:0;
}**/
ul.flex_ul{
  display:grid;
  grid-template-columns: repeat(4, 3fr);
  gap:3%;
  width:100%;
  margin:10px auto;
}

ul.flex_ul li{
  width:100%; /* grid では不要だが念のため */
  border:none;
}

ul.flex_ul li a img{
  width:100%;
  height:auto;
}

.shirt-table {
  width: 80%;
  border-collapse: collapse;
  margin:0 auto;
}

.shirt-table th,
.shirt-table td {
  padding: 6px 0;
  margin:12px 0;
  border-bottom: 1px solid #ccc;
}

.shirt-table th {
  width: 40%;
  font-weight: bold;
  text-align:center;
}
.shirt-table td a {
	margin:12px 0;
}
@media (max-width: 768px) {
summary h3{font-size:18px;}

.shirt-table {
  width: 100%;
}
}
@media (max-width: 600px) {
	summary h3{font-size:16px;}
	ul.flex_ul{
  grid-template-columns: repeat(2, 5fr);
  gap:1%;
}
}