
/***************************************************

          2022 ぺージ作成時 class 追加

 ***************************************************/

section .container {
  padding: 0 12px;
  width: 100%;
  max-width: 1000px;
  margin: 30px auto;
}
section .container figure {
  margin: 30px 0;
}
section .container figure img {
  width: 100%;
  margin-bottom: 12px;
}
section .container figure img:last-child {
  margin-bottom: 0px;
}
/* オーナーグッズ */
.owner-goods {
  max-width: 1400px;
  margin: auto;
}
.owner-goods > section:not(:last-child) {
  margin-bottom: 30px;
}
.owner-goods .unit-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.owner-goods .unit-wrapper2 {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.owner-goods h3 {
  position: relative;
  text-align: center;
  padding: 16px 0;
  font-size: 18px;
  border-bottom: 1px solid #000052;
  font-weight: bold;
}
.owner-goods h3.long-txt {
  text-align: right;
  padding-right: 8px;
}
.owner-goods h3::before {
  content: attr(date-num);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  padding: 16px 32px;
  background: #c00;
  color: #fff;
}
.owner-goods h3 ~ p:not(.goods-detail) {
  padding: 32px 0;
  text-align: center;
}
.goods-title {
  text-align: center;
  
  color: #caa20c;
}
.goods-title span {
  display: block;
  padding: 10px 5px;
  font-weight: 800;
}
/* .goods-title span:first-of-type {
  border-bottom: 1px solid #000;
} */
.goods-detail {
  padding: 8px;
}
/* tab */
.tab-area {
  display: flex;
  justify-content: space-around;
  background-color: #44546a;
  cursor: pointer;
  font-weight: bold;
  font-size: 20px;
}
.tab-area .tab {
  width: 50%;
  padding: 16px;
  text-align: center;
  color: white;
  border-right: 1px solid #50637b;
  border-left: 1px solid #222e3e;
}
.tab-area .tab.active {
  background-color: #ccc;
  color: #222e3e;
  border: none;
}
.content-area {
  font-size: 30px;
  text-align: center;
  max-width: 1000px;
  font-size: 24px;
  margin: auto;
}
.content-area .content {
  display: none;
}
.content-area .content.show {
  margin-top: 50px;
  display: block;
}
.row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.row > p {
  width: 50%;
  padding: 16px;
}
.bg-gray {
  background-color: #ccc;
}

/* 768px 以上のデバイスで適応 */
@media (min-width: 768px) {
  section .container {
    padding: 0;
    margin: 50px auto;
  }
  /* オーナーグッズ */
  .owner-goods .unit-wrapper > .unit {
    width: calc(100% / 4 - 12px)
  }
  .owner-goods .unit-wrapper2 > .unit {
    width: calc(100% / 3 - 11px)
  }
  .owner-goods h3 {
    font-size: 22px;
  }
  .owner-goods h3.long-txt {
    padding-right: 16px;
  }
}
