/* ==================================================
   style260501.css
   【共通CSS・完成版】

   ・br → 使わない（marginで管理）
   ・font → 使わない（classで管理）
   ・table → 使わない（flex / grid）
   ・特集ページ専用デザインは別CSSで管理
================================================== */


/* ==================================================
   ① 基本設定
================================================== */
body{
  margin:0;
  font-family:"Meiryo","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
  color:#555;
  line-height:1.9;
  background:#fff;
}

img{
  max-width:100%;
  height:auto;
}

*{
  box-sizing:border-box;
}


/* ==================================================
   ② 全体レイアウト
================================================== */
.container{
  max-width:1100px;
  margin:0 auto;
  padding:20px;
}

.section{
  margin:40px auto 0;
}

.text-center{
  text-align:center;
}

.text-left{
  text-align:left;
}


/* ==================================================
   ③ 見出し
================================================== */
h1{
  font-size:26px;
  line-height:1.6;
  margin:0 0 24px;
  color:#555;
  text-align:center;
}

h2{
  font-size:22px;
  line-height:1.6;
  margin:44px 0 18px;
  padding-left:12px;
  border-left:5px solid #e6b7bd;
  color:#555;
}

h3{
  font-size:18px;
  line-height:1.6;
  margin:28px 0 12px;
  color:#555;
}


/* ==================================================
   ④ 段落
================================================== */
p{
  margin:0 0 20px;
}


/* ==================================================
   ⑤ 余白
================================================== */
.mt10{ margin-top:10px; }
.mt20{ margin-top:20px; }
.mt40{ margin-top:40px; }
.mt60{ margin-top:60px; }

.mb10{ margin-bottom:10px; }
.mb20{ margin-bottom:20px; }
.mb40{ margin-bottom:40px; }
.mb60{ margin-bottom:60px; }


/* ==================================================
   ⑥ 色・文字装飾
================================================== */
.red{ color:#d33; }
.green{ color:#2e9b57; }
.bold{ font-weight:bold; }
.small{ font-size:0.9em; }

.note{
  font-size:0.9em;
  color:#888;
}

.price{
  color:#d33;
  font-weight:bold;
  font-size:1.2em;
}

.highlight{
  background:linear-gradient(transparent 60%, #fff3a0 60%);
}


/* ==================================================
   ⑦ リンク
================================================== */
a{
  color:#d16a7a;
  text-decoration:none;
}

a:hover{
  text-decoration:underline;
}

.link-strong{
  color:#c44;
  font-weight:bold;
}


/* ==================================================
   ⑧ ボタン
================================================== */
.btn{
  display:inline-block;
  padding:16px 30px;
  background:#e74c3c;
  color:#fff;
  font-size:17px;
  font-weight:bold;
  line-height:1.5;
  border-radius:8px;
  text-decoration:none;
  box-shadow:0 4px 10px rgba(0,0,0,0.15);
  transition:0.2s;
}

.btn:hover{
  background:#c0392b;
  color:#fff;
  text-decoration:none;
  transform:translateY(-2px);
}

.btn-soft{
  display:inline-block;
  padding:14px 26px;
  background:#d16a7a;
  color:#fff;
  font-weight:bold;
  border-radius:999px;
  text-decoration:none;
}

.btn-soft:hover{
  color:#fff;
  text-decoration:none;
  opacity:0.85;
}


/* ==================================================
   ⑨ 画像
================================================== */
.img{
  width:100%;
  height:auto;
  border-radius:8px;
}

.img-small{
  width:100%;
  max-width:250px;
  height:auto;
  display:block;
  margin:0 auto;
}

.img-product{
  width:100%;
  max-width:260px;
  height:180px;
  object-fit:contain;
  background:#fff;
  display:block;
  margin:0 auto;
}

.img-logo{
  width:100%;
  max-width:220px;
  height:60px;
  object-fit:contain;
  display:block;
  margin:0 auto;
}


/* ==================================================
   ⑩ 2列レイアウト
================================================== */
.two-column{
  display:flex;
  gap:20px;
  align-items:flex-start;
}

.col{
  flex:1;
}

.col img{
  width:100%;
  height:auto;
  border-radius:8px;
}


/* ==================================================
   ⑪ グリッド・カード
================================================== */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
  gap:20px;
}

.card{
  border:1px solid #ead5d8;
  border-radius:10px;
  padding:18px;
  background:#fff;
  text-align:center;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}


/* ==================================================
   ⑫ ボックス
================================================== */
.box{
  border:1px solid #ead5d8;
  padding:22px;
  border-radius:10px;
  background:#fffaf5;
}

.box-point{
  border-left:5px solid #e6b7bd;
  padding:18px;
  background:#fff5f7;
}


/* ==================================================
   ⑬ 区切り線
================================================== */
.line{
  border-top:1px solid #ddd;
  margin:40px 0;
}


/* ==================================================
   ⑭ リスト
================================================== */
.list{
  padding-left:20px;
}

.list li{
  margin-bottom:10px;
}


/* ==================================================
   ⑮ 横並び
================================================== */
.flex{
  display:flex;
  gap:15px;
  align-items:center;
}

.flex-center{
  justify-content:center;
}

.flex-wrap{
  flex-wrap:wrap;
}


/* ==================================================
   ⑯ スマホ対応
================================================== */
@media (max-width:768px){

  .container{
    padding:16px;
  }

  h1{
    font-size:22px;
  }

  h2{
    font-size:20px;
  }

  .two-column,
  .flex{
    flex-direction:column;
  }

  .btn{
    width:100%;
    max-width:360px;
    text-align:center;
  }

  .img-product{
    height:160px;
  }

}