@charset "utf-8";

/************************************************************
 * ▼▼ PC
 * **********************************************************/
/*tabの形状*/
.tab{
  display: flex;
  flex-wrap: wrap;
}
.tab li a{
  display: block;
  background: #eee;
  margin:0 2px;
  padding:10px 20px;
  border-radius: 10px 10px 0 0; 
}
/*liにactiveクラスがついた時の形状*/
.tab li.active a{
  background: #faf9f5;
  border-radius: 10px 10px 0 0; 
  border-top: 2px solid #3b8eb1;
  border-left: 2px solid #3b8eb1;
  border-right: 2px solid #3b8eb1;
}


/*エリアの表示非表示と形状*/
.area {
  display: none;/*はじめは非表示*/
  opacity: 0;/*透過0*/
  background: #faf9f5;
  padding:50px 0;
}

/*areaにis-activeというクラスがついた時の形状*/
.area.is-active {
    display: block;/*表示*/
    animation-name: displayAnime;/*ふわっと表示させるためのアニメーション*/
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

@keyframes displayAnime{
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}



/*========= レイアウトのためのCSS ===============*/

body{
  background:#eee;
}

ul{
  list-style:none;
}

a{
  color: #3b8eb1;
  text-decoration: none;
}

.wrapper{
  width:100%;
  max-width: 960px;
  margin:30px auto;
  background:#faf9f5;
}

.area h2{
  font-size:1.3rem;
  margin:0 0 20px 10px;
}

.area li{
  padding: 10px; 
  /*border-bottom: 1px solid #ddd;*/
}
.tab li a p{
    font-size: 1rem !important;
}
.tab li{
  border-bottom: 2px solid #3b8eb1;
  width: 20%;
}
.tab li.active{
  border-bottom: 2px solid #faf9f5;
  /*margin: 0 -3.5px;*/
}
.tab li.active a{
  margin: 0 -1.5px;  
}
.product_box{
    margin: 25px 0 0 0;
}
.tab li.active a p:before{
    content: "✓";
}
/************************************************************
 * ▲▲ PC
 * **********************************************************/

  /************************************************************
 * ▼▼ Tablet
 * **********************************************************/
@media screen and (max-width: 780px) {

.tab li a {
    display: block;
    background: #eee;
    margin: 0 2px;
    padding: 10px 2px;
    border-radius: 10px;
    /* text-decoration: 1px dotted #000; */
}
.tab li a p{
    font-size: 14pt !important;
}
.tab li.active a p{
    color: #faf9f5 !important;
}
.tab li {
    width: 50%;
    margin: 0 0 10px 0;
    border-bottom: 2px solid #faf9f5;
}
.tab li a {
    border-radius: 30px;
}
.tab li.active a {
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 30px;
    background: #3b8eb1;
}
.tab li.active a {
    margin: 0 2px;
}


}/****************消さない****************/

  /************************************************************
 * ▲▲ Tablet
 * **********************************************************/

  /************************************************************
 * ▼▼ SP
 * **********************************************************/
@media screen and (max-width: 480px) {


}/****************消さない****************/

  /************************************************************
 * ▲▲ SP
 * **********************************************************/