@charset "UTF-8";

/*====================================================*/
/* 商品一覧 */
/*====================================================*/
header {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 50;
}

.item_page .UnderMv {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: calc(20rem + var(--header-height));
  background: url(/wp-content/themes/hailu/assets/img/item/bkg.jpg);
  background-size: cover;
  background-position: center;
}

.UnderTitle {
  color: #fff;
  font-size: 3rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  text-align: center;
}

.UnderTitle span {
  display: block;
  font-size: 1rem;
}

.item_list {
  width: 90%;
  max-width: 330px;
  margin: 3rem auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.item_card {
  width: calc(96% / 2);
  min-width: 160px;
  margin-bottom: 2rem;
}

.item_card iframe {
  width: 100%;
}

.tab_ItemCard,
.pc_ItemCard {
  display: none;
}

@media print,
screen and (min-width: 501px) {
  .item_list {
    width: 91.8%;
    max-width: 460px;
    margin: 4rem auto;
  }

  .item_card {
    min-width: 220px;
  }

  .sp_ItemCard {
    display: none;
  }

  .tab_ItemCard {
    display: block;
  }
}

@media print,
screen and (min-width: 800px) {
  .item_list {
    width: 87.5%;
    max-width: 700px;
    margin: 6rem auto;
  }

  .item_card {
    width: calc(96% / 3);
  }

  .item_list::after {
    content: "";
    display: block;
    width: calc(96% / 3);
    min-width: 220px;
  }
}

@media print,
screen and (min-width: 1100px) {
  .UnderMv {
    height: calc(30rem + var(--header-height));
  }

  .UnderTitle {
    font-size: 10rem;
  }

  .UnderTitle span {
    font-size: 1.4rem;
  }

  .item_list {
    width: 90.9%;
    max-width: 1000px;
    margin: 10rem auto 15rem;
  }

  .item_card {
    min-width: 220px;
    margin-bottom: 3rem;
  }

  .tab_ItemCard {
    display: none;
  }

  .pc_ItemCard {
    display: block;
    min-width: 320px;
  }

}

/*====================================================*/
/* お役立ちコンテンツ一覧 */
/*====================================================*/
.column_page .UnderMv {
  margin-top: var(--header-height);
  position: relative;
}

.column_page .UnderTitle {
  color: #002D40;
  text-align: left;
  position: absolute;
  left: 0;
  bottom: 1rem;
}

.column_page .intro {
  font-weight: 300;
  line-height: 2.3;
  text-align: center;
}

.column_card {
  font-weight: 300;
}

.column_empty {
  margin: 3rem 0;
  text-align: center;
}

.column_list:has(.column_card) .column_empty {
  display: none;
}

.column_card_title {
  margin: 0.5em 0;
}

.column_card p.category {
  color: #4C6C79;
}

@media print,
screen and (min-width: 1025px) {
  .column_page {
    max-width: 1440px;
    margin: auto;
  }

  .column_con {
    margin-bottom: 20rem;
  }

  .column_page .UnderMv {
    padding-left: 9%;
    margin-left: 11.5%;
    margin-bottom: 4rem;
  }

  .column_page .UnderTitle {
    font-size: 8rem;
  }

  .column_page .UnderTitle span {
    font-size: 2.5rem;
  }

  .column_page .intro {
    margin: 10rem 0 12rem;
  }

  .column_list {
    width: 77%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 74px;
    grid-row-gap: 96px;
  }

  .column_card img {
    margin-bottom: 4.5rem;
  }

  .column_card_title {
    font-size: 2rem;
  }
}

/*====================================================*/
/* お役立ちコンテンツ詳細 */
/*====================================================*/
.single_attribute .category {
  color: #4C6C79;
  font-weight: 300;
}

.single_attribute h1 {
  margin: 1em 0;
}

.single_attribute .time {
  font-weight: 300;
}

aside {
  background-color: #fff;
}

aside li {
  border-bottom: 1px dashed #4C6C79;
}

aside li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

aside li a::after {
  content: "";
  display: block;
  width: 0.8em;
  height: 0.8em;
  background: url(/wp-content/themes/hailu/assets/img/common/arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 2em;
}

aside li a:hover {
  opacity: 0.6;
}

/* 記事中身デザイン */
.wp-block-heading {
  font-weight: 500;
}

.single_content p {
  font-weight: 300;
  line-height: 2;
}

.single_column_sec .big_title {
  line-height: 1;
}

.single_column_sec .big_title span {
  display: block;
  font-weight: 400;
}

@media print,
screen and (min-width: 1025px) {
  .column_text {
    width: 77%;
    margin: 12rem auto 16rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }

  .single_attribute {
    margin-bottom: 5.5rem;
  }

  .single_attribute h1 {
    font-size: 2rem;
  }

  aside {
    padding: 4rem 3.5rem;
    width: 33%;
    max-width: 350px;
  }

  aside li {
    padding-bottom: 2rem;
  }

  aside li:not(:last-of-type) {
    margin-bottom: 4.5rem;
  }

  aside li a {
    margin-bottom: 1.5em;
    font-size: 1.6rem;
  }

  /* 記事中身デザイン */
  .single_content {
    margin-top: 7.5rem;
    margin-bottom: 10rem;
  }

  .wp-block-heading {
    margin-bottom: 1em;
    font-size: 1.6rem;
  }

  /* ページ下部 */
  .single_column_sec {
    width: 77%;
    margin-right: auto;
    margin-left: auto;
  }

  .single_column_sec:first-of-type {
    margin-bottom: 14.5rem;
  }

  .single_column_sec .big_title {
    font-size: 8rem;
    line-height: 1;
  }

  .single_column_sec .big_title span {
    font-size: 1.6rem;
  }

  .single_column_sec .Connection_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 70px;
    grid-row-gap: 98px;
    margin-top: 7rem;
  }

  .single_column_sec .Category_list {
    width: 45%;
    max-width: 504px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    margin-top: 5.5rem;
  }

  .single_column_sec .Category_list li {
    max-width: 148px;
  }

  .single_column_sec .Category_list li a {
    padding: 0.5em 0;
    background-color: #fff;
    font-size: 1.6rem;
    text-align: center;
  }
}

/*====================================================*/
/* 新着情報一覧 */
/*====================================================*/
.info_list article {
  border-bottom: 1px solid #fff;
}

.info_list article:first-of-type {
  border-top: 1px solid #fff;
}

.info_list article a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem;
}

.info_list article a>div {
  display: flex;
  align-items: center;
}

.info_list article a img {
  display: block;
  width: 1.3em;
}

.info_list article a time {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
}

.info_list article a .news_category {
  display: inline-block;
  margin-left: 2em;
  color: var(--sub-color);
  font-size: 1.2rem;
  font-weight: 200;
}

.info_list article a h2 {
  margin-left: 2em;
  font-size: 1.4rem;
}

@media print,
screen and (min-width: 1025px) {
  .info_list {
    width: 77%;
    margin: 12rem auto 16rem;
  }

  .info_list article a h2 {
    font-size: 1.6rem;
  }
}

/*====================================================*/
/* 新着情報詳細 */
/*====================================================*/
.single_page .UnderMv {
  margin-top: var(--header-height);
  position: relative;
}

.single_page .UnderTitle {
  color: #000;
  text-align: left;
  position: absolute;
  left: 0;
  bottom: 1rem;
}

@media print,
screen and (min-width: 1025px) {
  .single_page {
    max-width: 1440px;
    margin: auto;
  }

  .single_page .UnderMv {
    padding-left: 9%;
    margin-left: 11.5%;
    margin-bottom: 4rem;
  }

  .single_page .UnderTitle {
    font-size: 8rem;
  }

  .single_page .UnderTitle span {
    font-size: 2.5rem;
  }

  .info_text {
    width: 77%;
    margin: 12rem auto 16rem;
  }
}
