@charset "UTF-8";

/* CSS Document */

.cf{
    width: 100%;
	zoom: 0;
}
.cf:before,.cf:after{
	content:""; display: table;
}
.cf:after{
	clear: both;
}
body {
	word-break: break-all;
}
#head_wrapper{
		height:45px;
}
h1, h2, h3,h4,p {
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box; /* 枠線やpaddingを含めて95%にする設定 */
}
p,ul{
	font-family:“メイリオ”,”Hiragino Kaku Gothic Pro”,Meiryo,”ヒラギノ角ゴ Pro W3″,”MS PGothic”,”MS UI Gothic”,Helvetica,Arial,sans-serif;
	padding:0;
	margin-bottom:1.1em;
	font-size:1em;
	line-height:160%;
	list-style:none;
	color:#363636;
}
img{
	max-width:100%;
	height:auto;
	display:block;
	margin:0 auto;
}
main{
	padding-top:60px;
}
h1{
	font-size: 1.1rem;
}
.umou-guide h2{
	font-size: 1.12em;
    color: #333;
    line-height: 1.5em;
	border-left:solid 10px rgb(224, 85, 51);
	padding-left:10px;
	margin:1.5em auto;
}
.cotton-guide h2{
	font-size: 1.12em;
    color: #333;
    line-height: 1.5em;
	border-left:solid 10px rgb(65, 32, 24);
	padding-left:10px;
	margin:1.5em auto;
}
h3{
    font-size: 1.12em;
    color: #333;
}
h4{
	font-size:1em;
	margin:0;
}
h5{
}
.center{
	text-align:center;
}
section{
	margin-bottom: 60px;
}
/* =====================
   common
   =================== */
.btn{
 width: 80%;
 margin:1.5rem auto;
display: block;
  padding: 12px 24px;
  background: #ffffff;
  color: #333333;
  border: 2px solid #302929;
  border-radius: 30px; /* 角丸 */
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
}
.btn:hover {
  background: #f5f5f5;
  border-color: #cccccc;
}
.green{
	color: #19b114;
}
.red{
	color: #cf0404;
}
/* =====================
   目次
   =================== */
.toc{
	border:1px solid #acacac;
	border-radius:5px;
	width: 95%;
	margin:1.5rem auto;
	padding:4% 2%;
	background-color: #fdfdfd;
}
/* --- リストリセット --- */
.umou-guide .nav-midashi{
	font-size: 1rem;
	border-bottom: 1px solid;
	border-left: 0;
	margin-top: 0;
}
.toc ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.toc li {
  counter-increment: toc-number;
  margin-bottom: 8px;
  
}
.toc li a::before {
  content: counter(toc-number);
  display: inline-block;
  min-width: 24px; /* ←これが超重要 */
  height: 24px;
  line-height: 24px;
  text-align: center;
  border-radius: 50%;
  background: #333;
  color: #fff;
  margin-right: 8px;
  font-size: 12px;
}
/* --- 第一階層 --- */
.toc > ul > li {
	padding-left: 5px;
}
/* --- 第二階層 --- */
.toc ul ul {
  padding-left: 25px;
  border-left: 2px solid #eee;
}
/* --- リンク共通 --- */
.toc a {
  color: #333;
  display: inline-block;
  transition: 0.3s;
  margin-bottom: 10px;
}
.toc li a {
    display: grid;
  grid-template-columns: 32px 1fr; /* ←固定 */
}
.toc a:hover {
  opacity: 0.6;
}
.toc ul ul li {
  counter-increment: toc-sub;
}
.toc ul ul li a::before {
  content: counter(toc-number) "-" counter(toc-sub) " ";
}
/* =====================
   index/design
   =================== */
/* ベース（モバイル） */
.section-index-title {
  color: #363636;
  font-size: 20px;
  margin-bottom: 15px;
  border-bottom: 1px solid #cccccc;
}
/* 1カラム */
.card-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}
.card {
  display: block;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: #333;
  background: #fff;
  transition: 0.3s;
}
.card:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
/* 画像サイズ */
.card img {
  width: 100%;
  max-height: 100%;
  aspect-ratio: 360 / 200;
  object-fit: cover;
}
.card-body p{
  margin:0;
  padding-left:5px;
}
/* テキスト */
.card-title {
  font-size: 16px;
  margin-bottom: 5px;
}
.card-text {
  color: #666;
  width: 100%;
}
.row-2,
.row-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}
.row-3 .card {
  display: grid;
  grid-template-columns: 50% 1fr; /* ← ここ変更 */
  gap: 10px;
}

/* ここ追加 */
.row-3 .card-body {
  display: contents;
}
/* 画像 */
.row-3 .card img {
  width: 100%;
  aspect-ratio: 360 / 200;
  object-fit: cover;
  border-radius: 6px;
  padding-bottom: 0;
}
/* タイトル（右上） */
.row-3 .card-title {
  margin: 0;
  font-size: 14px;
}
.row-3 .card-text {
  grid-column: 1 / -1; /* ← これで1カラム化 */
  font-size: 0.9rem;
  color: #292929;
  padding:0 0 5px 5px;
  margin:0;
}
/* =====================
   2カラム・div/class
   =================== */
.section-2col{
  grid-template-columns:1fr;
}
.section-2col img{
  width:100%;
  height:auto;
}
/* =====================
   table 2列
   =================== */
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
}
.simple-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.simple-table td {
  padding: 10px;
  border: 1px solid #e0e0e0;
}
.simple-table .name{
	color: rgb(221, 99, 0);
	font-weight: bold;
}
/* 列ごとの色分け */
.simple-table td:nth-child(1) {
  background: #ffffff;
}
.simple-table td:nth-child(2) {
  background: #f5f5f5;
}
.simple-table td:nth-child(3) {
  background: #e9e9e9;
}
/* =====================
   table 3列
   =================== */
.simple-table .three-col{
  width: 25%;
  background-color: #4b4ee2;
  color: #fff;
    border: 1px solid #e0e0e0;
}
/* =====================
   2カラム・li
   =================== */
.umou-guide .check-list{
	margin-bottom: 1rem;
	width: 90%;
	margin:0 auto;
	  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.umou-guide .check-list li{
	margin-left:1rem;
	line-height:160%;
	font-size: 1rem;
}
table{
    margin-bottom: 1rem;
}
.button_mokuji{
	text-decoration:none;
	font-weight:bold;
	letter-spacing:0.2em;
	text-align:center;
	border-radius:10px;
	width:90%;
	display:block;
	margin:10px auto;
	color:#FFF;
	padding:10px;
	background-color:#333;
	box-shadow: 2px 2px 4px #333;
}
.marker{
    background: linear-gradient(transparent 70%, #b2ccf3 30%);
}
.mark_r{
 background:linear-gradient(transparent 70%, rgb(245, 185, 175) 30%);
 font-weight:bold;
}
/* =====================
   talbe 1カラム
   =================== */
.quilt-table{
width:100%;
border-collapse:collapse;
}

.quilt-table th,
.quilt-table td{
vertical-align:top;
}

.quilt-table img{
max-width:100%;
height:auto;
display:block;
margin-top:10px;
}
.quilt-table,
.quilt-table tbody,
.quilt-table tr,
.quilt-table th,
.quilt-table td{
display:block;
width:100%;
}

.quilt-table tr{
margin-bottom:30px;
border-bottom:1px solid #ddd;
padding-bottom:20px;
}
.quilt-table th{
text-align:center;
}
/* =====================
   ol 工程
   =================== */
.process{
list-style:none;
counter-reset:step;
padding:0;
margin:2rem 0;
}
.process li{
counter-increment:step;
position:relative;
padding:14px 16px 14px 55px;
margin-bottom:10px;
background:#f7f7f7;
border-radius:6px;
}
.process li::before{
content:counter(step);
position:absolute;
left:12px;
top:50%;
transform:translateY(-50%);
width:30px;
height:30px;
line-height:30px;
text-align:center;
background:#2f7adf;
color:#fff;
border-radius:50%;
font-weight:bold;
}
/* qtec/dt dt */
.down-test{
margin:40px 0;
}
.test-list{
display:grid;
grid-template-columns:1fr;
padding:0;
margin:20px 0;
}
.test-item{
border:1px solid #e5e5e5;
border-left:6px solid #2f7adf;
padding:16px;
margin-bottom:16px;
background:#fafafa;
border-radius:4px;
}
.test-item dt{
font-weight:bold;
font-size:1.05rem;
margin-bottom:6px;
}
.test-item dd{
margin:0;
line-height:1.7;
color:#444;
}
/* =====================
   タグ・デザイン・記号
   =================== */
   .is-ng::before {
  content: "× ";
  color: #d00;
  font-weight: bold;
}
   .is-gd::before {
  content: "〇 ";
  color: rgb(32, 68, 189);
  font-weight: bold;
}
.check::before{
  content: "✔";
  color: #2e7d32;
  font-weight: bold;
  margin-right: 8px;
}
/* =====================
   関連リンク
   =================== */
.related{
    margin-bottom: 30px;
}
.related h2{
  border-left: 0;
  border-bottom:solid 10px #4884c9;
}
.related__grid {
    grid-template-columns: 1fr;
    gap:20px;
  }
  .related__card a {
    display: flex;
    align-items: center;
	text-decoration: none;
  }
  .related__thumb {
    width: 40%;
    flex-shrink: 0;
  }
  .related__content {
    width: 60%;
    padding: 10px;
  }
  .related__content h3 {
    font-size: 15px;
  }
  .related__content p {
    font-size: 13px;
  }
/* =====================
   min-width:600px
===================== */
@media only screen and (min-width: 600px) {

	#head_wrapper{
		height:50px;
}
.container{
	max-width: 950px;
	margin:0 auto;
}
h1{
	text-align:center;
}
h2{
}
h3{
	margin-left:5%;
}
.lef_cen{
	text-align: center;
}
.umou-guide h2{
    font-size: 1.3rem;
   	padding-left:10px;
  	margin:2rem 0;
    width: 100%
    
}
/* =====================
   目次
   =================== */
.toc{
	 max-width: 700px;
	 margin-bottom: 3rem;
	 padding:1rem;
}
.btn {
    padding: 14px 0;
    font-size: 15px;
    max-width: 500px;
    text-align: center;
}

article img{
  max-width: 700px;
  height: auto;
}
.button_mokuji{
	margin-top:40px;
	width:50%;
}
/* =====================
   2カラム・div/class
   =================== */
.section-2col{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
}
.col-right{
  align-self:start;
}
/* チェックリスト */
.umou-guide .check-list{
  grid-template-columns: repeat(3, 1fr);
  display: grid;
  gap:10;
}
.umou-guide .check-list img{
width: 70%;
}
/* キルティング・テーブル２カラム */
.quilt-table{
display:table;
}
.quilt-table tbody{
display:table-row-group;
}
.quilt-table tr{
display:table-row;
}
.quilt-table th{
display:table-cell;
width:40%;
}
.quilt-table td{
display:table-cell;
width:60%;
}
/* 工程　ol */
.process{
	max-width: 700px;
	margin:1rem auto;
}
.test-list{
grid-template-columns:1fr 1fr;
gap:16px;

}
/* 関連リンク */
.related {
  background: #f8f8f8;
  padding-bottom: 30px;
  	margin-bottom: 0;
}
.related h2{
  padding-top: 1rem;
  border-bottom:0;
}
.related__inner {
  max-width: 1000px;
  margin: 0 auto;
}
.related__title {
  font-size: 22px;
  margin-bottom: 30px;
  text-align: center;
}
/* グリッド（PC3カラム） */
.related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
/* カード共通 */
.related__card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: 0.3s;
  padding:10px;
}
.related__card a {
  display: block;
  color: inherit;
  text-decoration: none;
}
/* 画像 */
.related__thumb img {
  width: 100%;
  display: block;
}
  .related__thumb {
	width: 100%;
  }
/* テキスト */
.related__content {
  padding: 0px;
  width: 100%;
}
.related__content p {
  font-size: 16px;
  margin:0;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* PC（3カラム） */
  /* 2カラム幅 */
.card-list .card{
    margin-bottom: 1rem;
    border:0;
  }
  .row-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .row-3 {
    grid-template-columns: repeat(3, 1fr);
  }
    .row-3 .card {
    display: block;
  }

  .row-3 .card img {
    width: 100%;
    padding:0;
  }

  .row-3 .card-text {
    grid-column: auto;
  }
}
