@charset "UTF-8";
.tab1 {
  display: flex;
  flex-direction: row;
  text-align: center;
  background-color: #fff !important;
  margin: 0 !important;
  gap: 3px;
}
@media (max-width: 660px) {
  .tab1 {
    gap: 2px;
  }
}

.tab1__item {
  flex: 1;
}

.tab1__link {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #333;
  background-color: #ddd;
  /* デフォルトで水色 */
  cursor: pointer;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  height: 50px;
  font-size: 1em;
  line-height: 1.2em;
}
@media (max-width: 660px) {
  .tab1__link {
    writing-mode: vertical-rl;
    text-orientation: upright;
    width: 100%;
    height: 120px;
    justify-content: flex-start;
    padding-top: 1em;
    text-align: left;
  }
}

.tab1__link.on {
  background-color: #0047ab;
  /* クリック時に青色 */
  color: #fff;
}

.tab1-body {
  border: 1px solid #ddd;
  border-radius: 0 0 10px 10px;
  border-top: none;
  width: 100%;
  background-color: #fff;
  padding: 1.5em 1em 1em;
}
.tab1-body h4 {
  color: #0047ab;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 0.5em;
}
.tab1-body h4::before {
  content: "【";
}
.tab1-body h4::after {
  content: "】";
}

.tab1-body__item {
  display: none;
}

.tab1-body__item.on {
  display: block;
}

/* tab2 */
.tab2 {
  display: flex;
  flex-direction: row;
  text-align: center;
  background-color: #fff !important;
  margin: 0 !important;
  gap: 3px;
}
@media (max-width: 660px) {
  .tab2 {
    gap: 2px;
  }
}

.tab2__item {
  flex: 1;
}

.tab2__link {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #333;
  background-color: #ddd;
  /* デフォルトで水色 */
  cursor: pointer;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  height: 50px;
  font-size: 1em;
  line-height: 1.2em;
}
@media (max-width: 660px) {
  .tab2__link {
    writing-mode: vertical-rl;
    text-orientation: upright;
    width: 100%;
    height: 180px;
    justify-content: flex-start;
    padding-top: 1em;
    text-align: left;
  }
}

.tab2__link.on {
  background-color: #0047ab;
  /* クリック時に青色 */
  color: #fff;
}

.tab2-body {
  border: 1px solid #ddd;
  border-radius: 0 0 10px 10px;
  border-top: none;
  width: 100%;
  background-color: #fff;
  padding: 1em;
}

.tab2-body__item {
  display: none;
  text-align: center;
}

.tab2-body__item.on {
  display: block;
}

/* 共通 */
/* tab-variation */
.tab-variation {
  display: grid;
  -moz-column-gap: 20px;
       column-gap: 20px;
  row-gap: 10px;
  grid-template-areas: "photo lead" "photo lead";
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 2em;
}
@media (max-width: 980px) {
  .tab-variation {
    grid-template-areas: "photo" "lead";
    grid-template-rows: auto auto;
    grid-template-columns: 1fr;
  }
}
.tab-variation .photo {
  grid-area: photo;
  position: relative;
}
.tab-variation .photo img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  max-height: 500px;
  padding-left: 2em;
}
@media (max-width: 500px) {
  .tab-variation .photo img {
    padding-left: 0;
    padding-bottom: 1.5em;
  }
}
.tab-variation .lead {
  grid-area: lead;
  width: 100%;
  text-align: left;
  margin: 0;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.tab-variation .lead h4 {
  color: #0047ab;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 0.25em;
}
.tab-variation .lead h4:nth-child(2) {
  margin-top: 1.5em;
}
.tab-variation .lead .feature {
  margin-top: 1em;
}
.tab-variation .lead ul {
  align-items: center;
  margin-top: 0;
}
.tab-variation .lead ul li {
  list-style: disc;
  margin-top: 0.5em;
  font-size: 1em;
  text-align: justify;
}
.tab-variation .lead ul li:nth-child(1) {
  margin-top: 0;
}
.tab-variation .kome.remarks {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 0.9em;
  margin: 0;
  writing-mode: vertical-rl;
}
@media (max-width: 660px) {
  .tab-variation .kome.remarks {
    text-align: right;
    font-size: 0.9em;
  }
}
@media (max-width: 500px) {
  .tab-variation .kome.remarks {
    writing-mode: horizontal-tb;
    margin-left: 1em;
  }
}/*# sourceMappingURL=tab.css.map */