@charset "UTF-8";

:root {
  --brandcolor: #4d2e39;
}

/* body
---------------------------------------------------------- */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  color: #000;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic","メイリオ", "Meiryo", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif !important;
  line-height: 1.5;
  text-align: left;
}

/* image
---------------------------------------------------------- */
img {
  height: auto;
  max-width: 100%;
  vertical-align: bottom;
}

/* text
----------------------------------------------- */
p {
  line-height: 1.7;
  margin: 0 0 1.5em;
}

.f-bold {
  font-weight: bold !important;
}

/* link
----------------------------------------------- */
a {
  color: #1565C0;
  text-decoration: underline;
  transition: all 0.5s;
}

a:hover,
a:hover strong {
  color: #f44336;
  text-decoration: none;
}

a:hover img {
  opacity: 0.8;
}


/* List
----------------------------------------------- */
/* Unordered List */
ul {
  margin: 0 0 20px 20px;
  padding: 0;
}

ul li {
  line-height: 1.6;
  margin: .5em 0;
  padding: 0;
}

ul li:last-child {
  margin-bottom: 0;
}

/* layout
----------------------------------------------- */
#over_wrapper {
  overflow: hidden;
}

#container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 60px;
}

#container:after {
  clear: both;
  content: "";
  display: block;
  height: 0;
}

@media screen and (max-width: 480px) {}

@media screen and (max-width: 768px) {

  #container {
    float: none;
    max-width: none;
    width: 100%;
  }

}

@media screen and (max-width: 1080px) {

  #over_wrapper{
    padding-left: 10px;
    padding-right: 10px;
  }

}

/* Header
----------------------------------------------- */
header{
  background: url('../image/bg_main.jpg') ;
  background-size: cover;
  background-position: center;
  width: 100%;
  max-width: 980px;
  height: 480px;
  margin:0 auto 40px;
  padding: 0;
}


/* Logo */
#site-title {
  border-bottom: 1px solid #ccc;
  font-size: 2em;
  font-weight: bold;
  line-height: 1.5;
  margin: 0 0 60px;
  padding: 0 0 20px;
  text-align: center;
}

@media screen and (max-width: 480px) {

  #site-title {
    font-size: 1.4em;
  }
  #site-title span{
    display: block;
  }

  header{
    background-size: contain;
    height: 210px;
    background-repeat: no-repeat;
  }
  
}

/* Main
----------------------------------------------- */
/* headding */
h2 {
  font-size: 1.75em;
  font-weight: bold;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.2em;
  font-weight: bold;
}

h2 + h3 { margin-top: 0;}

.warning {
  color: #d32f2f;
}

/* Catalog Box */
.cols {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 40px;
}

.col-4 {
  margin:0 1%;
  width: 23%;
}

.col *:last-child, .col-4 *:last-child {
  margin-bottom: 0;
}

/* Catalog List */
.cat_list{ margin:0 0 60px;}

.cat_list ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
}

.cat_list ul li {
  margin: 0 0 30px;
  padding: 0;
  width: 45%;
  display: flex;             /* 追加：中身をフレックスボックス化 */
  flex-direction: column;    /* 追加：要素を縦に並べる */
}

.cat_list ul li:nth-child(1) {
  margin-top: 0;             /* 変更：82pxのズレをなくして上を揃える */
}

.cat_list ul li .thumbnail {
  flex-grow: 1;              /* 追加：画像エリアで高さの違いを吸収する */
  display: flex;             /* 追加：画像エリアもフレックスボックス化 */
  flex-direction: column;    /* 追加：縦並び */
  justify-content: flex-end; /* 追加：画像を「下（テキストのすぐ上）」に揃える */
  margin-bottom: 20px;       /* 追加：画像とテキストの間の余白 */
}

.cat_list ul li img {
  margin: 0 auto;            /* 変更：元の余白を消し、画像を中央揃えにする */
}

.cat_list ul li p {
  font-size: 0.875rem;
  margin: 0;
}

.cat_list ul li .head_series {
  font-size: 1.2rem;
  font-weight: bold;
}

.cat_list ul li .cat_name,
.cat_list ul li .cat_price {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 20px;
}

.cat_list ul li:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  font-size: .01em;
  height: 0;
  overflow: hidden;
}


.caution{
  font-size:0.889em;
  text-indent: -1em;
  padding-left: 2em;
}

.btn_demo{
  background: var(--brandcolor);
  border-radius: 5px;
  color: #FFF;
  display: block;
  font-size: 1.2rem;
  padding: 15px 5px;
  margin: 0 auto 2rem;
  text-decoration: none;
  text-align: center;
}

.btn_demo:hover{
  color: yellow;
}

@media screen and (max-width: 480px) {

  .col-4 {
    margin: 1%;
    width: 48%;
  }
  
  .cat_list ul li a{
    display: block;
    text-align: center;
  }
  
  .cat_list ul li img {
    float: none;
    margin: 0 auto 10px;
    max-width: 220px;
    width: 100%;
  }
  
  .cat_list ul li p{
    text-align: center;
  }
  
  .cat_list ul li .cat_name,
  .cat_list ul li .cat_price {
    font-size: 0.875rem;
  }

  .cat_list ul li:nth-child(2) {
    margin-top: 0;
  }
}

@media screen and (max-width: 480px) {}

@media screen and (max-width: 768px) {

  h1,h2,h3,h4{
    font-size:1.2em;
  }
  
  .cat_list ul li {
    width: 100%;
  }
  
  .card_list ul li {
    margin-bottom: 40px;
    width: 100%;
  }
  
  .card_list ul li .thumbnail_box .thumbnail_card img{
    padding: 0;
  }

  .card_list ul li .catinfo .pricebox-right span{
    font-size: 0.7rem;
  }

}

/* Page Top Button
----------------------------------------------- */
#pageTopButton {
  position: fixed;
  bottom: 24px;
  right: 20px;
  font-size: 12px;
}

#pageTopButton a {
  background: #000;
  border-radius: 50%;
  color: #fff;
  display: block;
  padding: 30px 0;
  text-align: center;
  text-decoration: none;
  transition: 0.5s;
  height: 75px;
  width: 75px;
}

#pageTopButton a:hover {
  background: #666;
}

#pageTopButton a::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 auto;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
}

@media screen and (max-width: 480px) {

  /* pageTopButton */
  #pageTopButton a {
    background: #000;
    padding: 20px 0;
    height: 50px;
    width: 50px;
}

}

/* Clear / Clearfix
----------------------------------------------- */
.clear {
  clear: both;
}

.clearfix:after {
  clear: both;
  content: "";
  display: block;
}

/* Float
----------------------------------------------- */
.fleft {
  float: left !important;
}

.fcenter {
  display: block !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.fright {
  float: right !important;
}

/* Alignment  
----------------------------------------------- */
.aright {
  text-align: right !important;
}

.acenter {
  text-align: center !important;
}

.aleft {
  text-align: left !important;
}

.mb60{margin-bottom:60px;}