@charset "UTF-8";

/***** 商品一覧ページ／各商品詳細ページ共通 *****/
.popup {
  display: none;
}
#content .tg-container {
  display: grid;
  grid-template-columns: 240px 1fr;
  column-gap: 36px;
}
#primary {
  margin-bottom: 30px;
  width: auto;
  min-height: 55vh;
  grid-area: 1 / 2 / 2 / 3;
  float: none;
}
#secondary {
  width: auto;
  grid-area: 1 / 1 / 2 / 2;
  float: none;
}
#secondary .item_search {
  display: flex;
}
#secondary .item_search button {
  padding: 0;
  margin-left: 6px;
  background-color: #000080;
  border-radius: 6px;
}
#secondary .item_search button i {
  width: 36px;
  color: #fff;
}
#secondary ul li {
  list-style: none;
}
#secondary dl {
  margin-top: 20px;
}
#secondary dt {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#secondary dt button{
  padding: 6px 10px;
  font-size: 12px;
  color: #fff;
  background: #000080;
  border-radius: 6px;
}
@media (hover: hover) and (pointer: fine) {
  #secondary dt button,
  #secondary .item_search button {
    opacity: 1;
    transition: all 300ms;
  }
  #secondary dt button:hover,
  #secondary .item_search button:hover {
    opacity: 0.7;
  }
}
#secondary dd {
  margin: 6px 0 0;
}
#secondary summary,
#secondary ul li {
  padding: 6px 0;
}
#secondary label input {
  margin-right: 3px;
}
@media screen and (max-width: 980px) {
  #content .tg-container {
    display: flex;
    gap: unset;
  }
  #primary {
    width: calc(640 / 980 * 100vw);
    margin-left: 5vw;
    order: 2;
  }
  #primary h2 {
    font-size: 24px !important;
  }
}
@media screen and (max-width: 768px) {
  nav#flash-breadcrumbs .tg-container,
  #content .tg-container {
    display: flex;
    flex-direction: column;
  }
  #primary,
  #secondary {
    width: 90vw;
    max-width: 640px;
  }
  #primary {
    margin: 0 auto 60px;
    order: 2;
  }
  #secondary {
    margin: 0 auto 5vw;
  }
  #secondary ul {
    margin: 0 0 10px 12px;
  }
  #secondary summary,
  #secondary ul li {
    padding: 3px 0;
  }
  #secondary dt {
    justify-content: flex-start;
  }
  #secondary dt button {
    margin-left: 15px;
  }
}

/***** 商品一覧 *****/
.card-wrapper h2,
.card-wrapper h3 {
  max-width: 940px;
  text-align: center;
}
.card-wrapper h2 {
  font-size: 60px;
}
.card-wrapper h3 {
  font-size: 25px;
}
.card_list {
  margin-top: 30px;
}
.card_list ul {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  grid-gap: calc(45 / 924 * 100%);
}
.card_list ul li {
  width: calc(278 / 924 * 100%);
  margin-bottom: calc(45 / 924 * 100%);
  list-style: none;
  outline: 1px solid #ccc;
}
.card_list figure {
  padding: 10px;
}
.card_list .card_pict {
  width: inherit;
  aspect-ratio: 1;
  overflow: hidden;
}
.card_list .card_pict img {
  padding: 0;
}
.card_list #no-result-message {
  text-align: center;
}
@media (hover: hover) and (pointer: fine) {
  .card_list .card_pict img,
  .card_list .card_name {
    opacity: 1;
    transition: all 300ms;
  }
  .card_list a:hover .card_pict img {
    opacity: 0.5;
    transform: scale(1.03);
  }
  .card_list a:hover .card_name {
    color: #30afb8;
  }
}
.card_list figcaption {
  margin-top: 10px;
  color: #333;
}
.card_list .card_tags {
  display: flex;
  align-items: center;
}
.card_list span[class$="category"] {
  font-size: 11px;
}
.card_list .card_tag-category {
  padding: 2px 6px;
  background-color: #000080;
  border-radius: 20px;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}
.card_list .card_tag-subcategory {
  margin-left: 6px;
}
.card_list .card_name {
  line-height: 1.2;
  margin-top: 6px;
}
.card_list .card_caption {
  margin: 6px 0 0;
}
@media screen and (max-width: 980px) {
  .card-wrapper h3 {
    font-size: 2.2rem;
  }
  .card_list ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .card_list ul li {
    width: calc(308 / 980 * 100vw);
    max-width: none;
    margin-bottom: calc(4 / 924 * 100%);
  }
  .card_list ul li:nth-child(n+4) {
    margin: 0;
  }
  .card_list .card_pict {
    width: 100%;
    max-width: none;
  }
  .card_list .card_pict img {
    width: inherit;
  }
  .entry-content h2 {
    padding: 0;
  }
  .card_list ul {
    grid-gap: calc(24 / 980 * 100vw);
  }
  .card_list .card_caption {
    margin: 6px -2rem 0;
  }
}
@media screen and (max-width: 768px) {
  .card_list ul {
    grid-gap: calc(24 / 375 * 100vw);
  }
  .card_list ul li {
    width: calc(156 / 375 * 100vw);
    max-width: 294px;
    margin: 0;
  }
  .card_list ul li h4 {
    font-size: calc(16 / 375 * 100vw);
  }
  .card_list .card_tags {
    flex-direction: column;
    align-items: flex-start;
  }
  .card_list .card_tag-subcategory {
    margin: 3px 0 0;
  }
  .card_list span[class$="category"] {
    font-size: 10px;
  }
  .card_list .card_caption {
    font-size: calc(13 / 375 * 100vw) !important;
  }
}

/***** 各商品詳細ページ *****/
body.single-products .entry-content-block .entry-header {
  position: relative;
  padding: 0 15px 15px;
  margin: 0 0 45px;
  border-left: 6px solid #000080;
}
body.single-products .entry-content-block .entry-header:before {
  position: absolute;
  bottom: 0;
  content: '';
  display: block;
  width: calc(100% - 15px);
  height: 1px;
  background: linear-gradient(to right,  #000080 0%,#0693e3 100%);

}
body.single-products .title_category-main {
  font-size: 16px;
}
body.single-products .title_category-sub {
  margin-left: 15px;
  font-size: 12px;
}
body.single-products .entry-content-block .entry-content {
  border: none;
}
body.single-products .entry-content-block .entry-title {
  margin-bottom: 7px;
  font-size: 28px;
}
body.single-products .wp-block-columns-is-layout-flex {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
}
body.single-products .wp-block-columns-is-layout-flex dl {
  margin-top: 15px;
}
body.single-products .wp-block-columns-is-layout-flex h3 {
  margin-bottom: 15px;
  font-size: 20px;
}
body.single-products .wp-block-columns-is-layout-flex ul,
body.single-products .wp-block-columns-is-layout-flex dd,
body.single-products .wp-block-columns-is-layout-flex p {
  margin: 0;
}
body.single-products .wp-block-columns-is-layout-flex li {
  list-style: none;
}
body.single-products .wp-block-columns-is-layout-flex th {
  background-color: #ededed;
}
body.single-products .wp-block-columns-is-layout-flex a:not([href]) {
  display: none;
}
body.single-products .linkgroup {
  margin: 15px 0 0;
  display: flex;
  justify-content: center;
}
body.single-products .linkgroup li {
  list-style: none;
}
body.single-products .linkgroup li:not(:first-child) {
  margin-left: 30px;
}
body.single-products .linkgroup li a {
  padding: 10px 25px;
  display: block;
  border: 1px solid #000080;
  border-radius: 30px;
  color: #000080;
  transition-duration: 300ms;
}
body.single-products .linkgroup li:has(a[href=""]) {
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  body.single-products .linkgroup li a:hover {
    background-color: #000080;
    color: #fff;
  }
}
body.single-products .linkgroup li a span {
  margin-left: 6px;
}
@media screen and (max-width: 980px) {
  body.single-products .wp-block-columns-is-layout-flex {
    display: flex;
    flex-direction: column;
  }
  body.single-products .wp-block-columns-is-layout-flex img {
    width: 100%;
  }
  body.single-products .wp-block-columns-is-layout-flex figcaption {
    order: 2;
  }
  body.single-products .entry-content table {
    margin-left: 0 !important;
    width: 100% !important;
  }
  body.single-products .linkgroup {
    flex-direction: column;
    align-items: center;
  }
  body.single-products .linkgroup li:not(:first-child) {
    margin: 20px 0 0;
  }
  body.single-products .entry-content p {
    padding: 0 !important;
  }
}

/***** 各施工詳細ページのタブ切り替え *****/
.ark-block-tab {
  grid-area: 1 / 1 / 2 / 2;
  display: flex;
  flex-direction: column-reverse;
}
.ark-block-tab .arkb-tabBody {
  padding: 0;
  margin-bottom: 10px;
}
.ark-block-tab .arkb-tabList {
  margin-top: 20px;
  gap: 10px;
}
.ark-block-tab .arkb-tabList__button {
  padding: 0;
  aspect-ratio: 1;
  border: none;
}
.ark-block-tab .arkb-tabList__button[aria-selected="true"] {
  outline: 2px solid #000080;
}
.ark-block-tab .arkb-tabList__item {
  flex-basis: unset;
  min-width: unset;
}