@charset "utf-8";@charset "utf-8";

/* ==========================================================
   大人の体型カバー特集：Pattern 1 (モカグレージュ)
   スマホ表示（2カラム最適化・重なり解消完全版）
========================================================== */

/* ===================================
    全体レイアウト用（背景・文字色の統一）
==================================== */
body {
  background-color: #F5F4F0; /* サンドベージュ */
}

.inner {
  width: 100%;
}

#Area {
  font-family: 'Yu Gothic Medium','游ゴシック Medium','Franklin Gothic Medium','Osaka','Roboto', sans-serif;
  text-align: center;
  color: #4A4A4A;
  width: 100%;
  margin: 0 auto;
  display: block;
  overflow: hidden;
  padding: 0 15% 0 15%;
  background-color: #F5F4F0;
}

/* 既存の背景クラスも統一 */
.backcolor {
  background-color: #F5F4F0;
}

/* スマホの時だけ改行 */
.br-sp {
    display: none;
}

@media (max-width: 600px) {
    .br-sp {
        display: block;
    }
}

/* 余白 */
.spece {
  margin-bottom:3%;
}	

.spece2 {
    padding-top: 10%;
    text-align: center;
}	

.spece_bottom {
  margin-bottom:25%;
}	

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

p {
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
}

.border_1 {
  border-top: 1px solid #d1cbc2;
  width: 80%;
  margin: 10% auto 9% auto;
}

.image {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

/*===================================
TOPテキスト
===================================*/
.top {
  margin-bottom: 6%;
}

.text_title {
  line-height: 2.0;
  font-size: 15px;
  font-weight: 400;
  margin: 5% auto;
}

.top span{
  font-size: 15px;
  font-weight: 400;
  margin: 5% auto;
}

.span_2 {
  color: #8A7E72; /* モカグレージュ */
  font-size: 20px;
  font-weight: 700;
}

/*================================
注釈の記載
=================================*/
.mini {
  font-size: 14px;
  margin-bottom: 5%;	
  text-decoration: underline;
  margin-top: 3%;
}

/*===================================
リストボタン（PC・タブレットの基本設定）
===================================*/
.list_btn {
    display: grid;
    grid-template-columns: 23% 23% 23% 23%;
    gap: 2% 2.7%;
    grid-auto-flow: row;
    grid-template-areas: "top_btn-1 top_btn-2 top_btn-3 top_btn-4";
    max-width: 920px;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 2%;
}

.list_btn-1 { grid-area: top_btn-1; }
.list_btn-2 { grid-area: top_btn-2; }
.list_btn-3 { grid-area: top_btn-3; }
.list_btn-4 { grid-area: top_btn-4; }

.list_btn-1, .list_btn-2, .list_btn-3, .list_btn-4 {
  max-width: 220px;
  text-align: center;
  border-radius: 0px;
  padding: 0.5em;
  background: #8A7E72; /* モカグレージュ */
}

.list_btn span{
  font-size: 17px;
}	

.list_btn a {
  display: block; 
  text-decoration: none;
  color: #ffffff !important; 
  background: #8A7E72; /* モカグレージュ */
  border-radius: 0px;
  line-height: 2.5;
  padding: 0.5em;
  text-align: center;
  max-width: 220px;
  transition: all 0.3s ease; 
}

.list_btn a:hover {
  background: #8A7E72; 
  opacity: 0.7;
}

/*===================================
テキスト
===================================*/
.title {
  font-size: 18px;
  margin: 5% auto 1%;
  font-weight: 700;
}

.text {
    font-size: 16px;
    margin-bottom: 2%;
    text-align: left;
    margin: 0 auto 3%;
    width: 60%;
    max-width: 500px;
}

/*===================================
商品横並びのコンテナー（PCベース：4カラム固定）
===================================*/
.image_width {  
  display: grid;
  grid-template-columns: 24% 24% 24% 24%;
  grid-template-rows: 100%;
  gap: 12px 12px;
  grid-auto-flow: row;
  grid-template-areas: "img_wid1 img_wid2 img_wid3 img_wid4";
  max-width: 1100px;
  text-align: center;
  margin: 0 auto;	
}

.img_wid1 { grid-area: img_wid1; }
.img_wid2 { grid-area: img_wid2; }
.img_wid3 { grid-area: img_wid3; }
.img_wid4 { grid-area: img_wid4; }

.image_width_2 {  
  display: grid;
  grid-template-columns: 24% 24% 24% 24%;
  grid-template-rows: 100%;
  gap: 12px 12px;
  grid-auto-flow: row;
  grid-template-areas: "img_wid5 img_wid6 img_wid7 img_wid8";
  max-width: 1100px;
  text-align: center;
  margin: 1% auto 0 auto;
}

.img_wid5 { grid-area: img_wid5; }
.img_wid6 { grid-area: img_wid6; }
.img_wid7 { grid-area: img_wid7; }
.img_wid8 { grid-area: img_wid8; }

/*===================================
商品の小画像＆詳細
===================================*/
.details {
  font-size: 14px;
  text-align: left;
}

/*===================================
メインボタン・サブボタン
===================================*/
a.btn_01 {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #8A7E72; /* モカグレージュ */
  box-sizing: border-box;
  width: 450px;
  height: 55px;
  padding: 0 6%;
  color: #ffffff;	
  font-size: 16px;
  text-align: left;
  text-decoration: none;
  position: relative;
  transition-duration: 0.2s;
  margin: 6% auto;
}

a.btn_01:hover {
  background: #8A7E72;
  opacity: 0.7;
  color: #ffffff;        
}

a.btn_01:before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 8px;
  border-color: transparent transparent transparent #ffffff; 
  position: absolute;
  top: 50%;
  left: 6%;
  margin-top: -7px;
}

a.btn_01:hover:before {
  border-color: transparent transparent transparent #ffffff;
}

a.btn_02 {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  border: 1px solid #8A7E72; /* モカグレージュ */
  box-sizing: border-box;
  width: 400px;
  height: 55px;
  padding: 0 6% 0 6%;
  color: #8A7E72;
  font-size: 16px;
  text-align: left;
  text-decoration: none;
  position: relative;
  transition-duration: 0.2s;
  margin: 2% auto 4% auto;
}

a.btn_02:hover {
  background: #8A7E72;
  color: #ffffff;
}

a.btn_02:before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 8px;
  border-color: transparent transparent transparent #8A7E72;
  position: absolute;
  top: 50%;
  left: 6%;
  margin-top: -7px;
}

a.btn_02:hover:before {
  border-color: transparent transparent transparent #ffffff;
}

/*================================
その他の記事の記述
=================================*/
.other {
    display: grid;
    grid-template-columns: 23% 23% 23% 23%;
    gap: 2% 2.7%;
    grid-auto-flow: row;
    grid-template-areas: "other-1 other-2 other-3 other-4";
    text-align: center;
    margin: 0 auto;
    width: 90%;
}

.other-1 { grid-area: other-1; }
.other-2 { grid-area: other-2; }
.other-3 { grid-area: other-3; }
.other-4 { grid-area: other-4; }

.other_title {
  text-align: left;
  width: 90%;
  margin: 1% auto;
  font-size: 20px;
}

.other_details {
  font-size: 14px;
  text-align-last: left;
}

/*================================
tablet (タブレット表示用の調整)
=================================*/
@media(max-width: 834px){
  #Area .imageArea ul.row-fluid {
    width: 100%;
    text-align: center;
    margin: 5% auto 0;
    padding: 0 8% 0 8%;
  }	
	
  .text_title {
    line-height: 2.0;
    font-size: 15px;
    font-weight: 400;
    margin: 5% auto;
  }	
	
  .list_btn {
    display: grid;
    grid-template-columns: 23% 23% 23% 23%;
    grid-template-rows: 100%;
    gap: 3% 3%;
    grid-auto-flow: row;
    grid-template-areas: "top_btn-1 top_btn-2 top_btn-3 top_btn-4";
    max-width: 660px;
    text-align: center;
    margin: 9% auto;
  }

  .list_btn-1, .list_btn-2, .list_btn-3, .list_btn-4 {
    max-width: 155px;
    text-align: center;
    border-radius: 0px;
    padding: 0.2em;
    background: #8A7E72;
  }
	
  .list_btn a {
    line-height: 2.0;	
  }	

  .title {
    font-size: 16px;
    margin: 5% auto 1%;
    font-weight: 700;
  }
	
  .text {
    font-size: 15px;
    margin-bottom: 2%;
  }
	
  .span_2 {
    font-size: 18px;
    font-weight: 700;
  }	
	
  .mini {
    font-size: 12px;
    margin-bottom: 6%;
    margin-top: 3%;
  }	
	
  .image_width {
    max-width: 688px;
    text-align: center;
    margin: 0 auto;	
  }
	
  .image_width_2 {
    max-width: 688px;
    text-align: center;
    margin: 2% auto 2%;
  }
	
  .details {
    font-size: 13px;
    text-align: left;
  }
	
  .ex_1, .ex_2, .ex_3, .ex_4 {
    font-size: 9px;
  }	
}

/*===================================
SMP (スマホ表示用の調整：幅480px以下)
====================================*/
@media (max-width: 480px) {
  #Area  {
    width: 100% !important;
    text-align: center;
    margin: 0 auto;
    padding: 0 4% 0 4% !important; /* 左右の余白を少し広げて見やすく */
  }
	
  .border_1 {
    border-top: 1px solid #d1cbc2;
    width: 80%;
    margin: 15% auto 10% auto;
  }	

  /* 上部4つのカテゴリーボタンを2列×2行に最適化 */
  .list_btn {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important; /* 横2列に分割 */
    grid-template-rows: auto auto !important;
    grid-template-areas: 
      "top_btn-1 top_btn-2"
      "top_btn-3 top_btn-4" !important;
    gap: 10px 10px !important; 
    margin: 5% auto 12% auto !important; /* 下に余白を作り「TOPS」テキストとの重なりを完全解消 */
    max-width: 100% !important;
    height: auto !important;
  }

  .list_btn-1, .list_btn-2, .list_btn-3, .list_btn-4 {
    max-width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    background: transparent !important;
  }

  .list_btn a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 60px !important; /* 2行のテキストも綺麗に収まる高さ */
    font-size: 13px !important; 
    font-weight: 700 !important;
    letter-spacing: 0.05em;
    padding: 5px 8px !important;
    max-width: 100% !important;
    line-height: 1.3 !important; 
    background: #8A7E72 !important;
    border-radius: 0px !important;
    box-sizing: border-box !important;
  }

  /* 【修正】商品一覧をスマホで綺麗な「横2並び（2カラム）」にする設定 */
  .image_width, .image_width_2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important; /* 1列ではなく2列（50%ずつ）にする */
    grid-template-rows: auto !important;
    grid-template-areas: none !important; /* PC用の固定配置をクリア */
    gap: 25px 12px !important; /* 上下の商品の隙間をあける */
    margin: 5% auto 10% auto !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* グリッド内の各大枠をスマホ用にリセット */
  .image_width > div, .image_width_2 > div {
    grid-area: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
  }

  /* 商品画像下のテキスト調整 */
  .details {
    font-size: 12px !important;
    line-height: 1.4 !important;
    margin-top: 8px !important;
  }

  /* 下部の大きなボタンをスマホ幅にフィット */
  a.btn_01, a.btn_02 {
    width: 100% !important;
    max-width: 340px;
    height: 50px;
  }
}