/* ベース */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:"Noto Sans", sans-serif; color:#333; line-height:1.6; background:#fff; }
.container { width:90%; max-width:1200px; margin:0 auto; }

/* ヘッダー */
#header { background:#fff; border-bottom:1px solid #ddd; padding:10px 0; }
.flex { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.logo { height:50px; }
.nav-list { list-style:none; display:flex; gap:10px; flex-wrap:wrap; }
.nav-list a { text-decoration:none; color:#333; font-weight:bold; font-size:0.9rem; }
.header-contact { text-align:right; font-size:0.8rem; margin-top:8px; }


/* ヒーロー */
#hero { position:relative; text-align:center; }
#hero img { width:100%; height:auto; display:block; object-fit: cover; }
.hero-body { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); background:rgba(0,0,0,0.6); padding:20px; border-radius:8px; color:#fff; width:90%; max-width:700px; }
.btn-primary { display:inline-block; background:#007acc; color:#fff; padding:10px 20px; border-radius:5px; text-decoration:none; font-size:1rem; }

/* セクション */
.section { padding:40px 0; }
.dho { margin-bottom: 20px; }
.bg-light { background:#f9f9f9; }
.bg-dark { background:#333; color:#fff; }

/* グリッド */
.grid-1 { display:grid; grid-template-columns:1fr; gap:20px; text-align:center; }
.grid-1 img { width:100%; margin:0 auto; }
.grid-3,.grid-2 { display:grid; grid-template-columns:1fr; gap:20px; text-align:center; }
.grid-3,.grid-2 img { width:100%; margin:0 auto 10px; }

/* ステップ */
.steps { display:flex; flex-direction:column; gap:20px; justify-content:center; margin:30px 0; text-align:center; }
.step img { width:100%; margin-bottom:10px; }

/* 商品リスト */
.product-list { list-style:none; display:flex; flex-direction:column; gap:15px; text-align:center; margin: 0 0 10px 0; }
.product-list li img { width:100%; height:auto; margin-bottom:6px; }
.product-list span { display:block; }

/* flow.html の H1 / H2 デザイン */
.flow-container h1,
.flow-container h2 {
  font-family: "Noto Sans JP", "Segoe UI", sans-serif;
  font-weight: 700;
  position: relative;
  line-height: 1.3;
  margin-bottom: 25px;
  padding: 10px 15px;
  border-radius: 8px;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

/* H1 の装飾 */
h1 {
  font-size: 2rem;
  background: linear-gradient(135deg, #007acc, #00c6ff);
  box-shadow: 0 4px 10px rgba(0, 122, 204, 0.4);
  color:#fff;
}
h1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  width: 6px;
  height: 60%;
  background-color: #007acc;
  border-radius: 3px;
}

/* H2 の装飾・フォントサイズ */
h2 {
  font-size: 1.5rem;
  background: linear-gradient(135deg, #005fa3, #0099cc);
  box-shadow: 0 3px 8px rgba(0, 95, 163, 0.3);
  color: #fff;
}
h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
}

.ue30 {margin-top: 30px;}

/* レスポンシブ調整 */
@media (min-width: 600px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.8rem; }
}
@media (min-width: 900px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
}

/* フッター */
#footer { padding:30px 0; }
#footer address { line-height:1.4; margin-bottom:15px; }

/* メディアクエリ：タブレット〜PC */
@media (min-width: 600px) {
  .hero-body { padding:30px; }
  .btn-primary { font-size:1.1rem; padding:12px 24px; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap:30px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap:30px; }
  .steps { flex-direction: row; }
  .product-list { flex-direction: row; flex-wrap: wrap; }
  .product-list li { flex: 1 1 calc(33.333% - 20px); }
}

/* メディアクエリ：デスクトップ */
@media (min-width: 900px) {
  .logo { height:60px; }
  .nav-list { gap:15px; }
  .btn-primary { font-size:1.2rem; padding:14px 28px; }
  .product-list img { width:120px; }
}
