@charset "UTF-8";
/* //////////////////////////////////////////////////

Title         : news_template.css

Created       : 2024-03-28

////////////////////////////////////////////////// */

/* パンくず */
@media screen and (max-width: 767px) {
  #breadcrumbs{
    width: calc(710*(100vw / 750));
    margin: 0 auto;
    padding-bottom: calc(40*(100vw / 750));
  }
}

@media screen and (min-width: 768px) {
  #breadcrumbs{
    max-width: 1200px;
    width: 95%;
    margin: auto;
    padding: 0 50px;
    margin-top: 5rem;
  }
}


.p-news {
  --color-text-red: #fe0002;
  --color-text-gray: #808080;

  width: var(--news-container-size);
  margin: 0 auto;
  padding-left: var(--news-padding-horizontal);
  padding-right: var(--news-padding-horizontal);
  font-size: 15px;
  text-align: left;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.025em;
  word-break: break-all;
}
.p-news__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.p-news__header-category {
  color: var(--color-news-category, #808080);
}
.p-news__header-publishedAt {
  color: var(--color-news-publishedAt, #595757);
}
.p-news__header-thumbnail {
  width: 100%;
  margin: 0 auto;
}
.p-news__body[data-text-align=center] {
  text-align: center;
}
.p-news__body[data-text-align=right] {
  text-align: right;
}
.p-news__body > * + * {
  margin-top: 3em;
}
.p-news__section > * + * {
  margin-top: 1em;
}
.p-news__body h2 {
  text-align: left;
  border-bottom: 1px solid currentColor;
}
.p-news__body .p-news_heading {
  font-size: 1.2em;
  text-align: center;
  font-weight: 600;
  border-bottom: none;
}
.p-news__body .p-news_sub-heading {
  margin-top: 2em;
  text-align: center;
  font-weight: 600;
}
.p-news__body-product > * + * {
  margin-top: 1em;
}
.p-news__image-grid {
  display: grid;
  grid-template-columns: repeat(var(--column-count, 1), minmax(0, 1fr));
}
.p-news__image-with-text {
  display: flex;
  align-items: flex-start;
  text-align: left;
}
.p-news__image-with-text.--reverse {
  flex-direction: row-reverse;
}
.p-news__image-with-text > figure {
  flex-shrink: 0;
}
.p-news__image-with-text > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1;
}
.p-news__button {
  display: grid;
  place-items: center;
  width: fit-content;
  min-width: 210px;
  min-height: 33px;
  margin-left: auto;
  margin-right: auto;
  padding: 5px 10px;
  text-align: center;
  transition: opacity var(--transition-default, 0.3s ease);
}
.p-news__button--primary {
  color: #fff;
  background-color: #000;
}
.p-news__button--secondary {
  color: #000;
  border: 1px solid currentColor;
}
.p-news__footer-list-link {
  text-align: right;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.p-news__footer-list-link a {
  display: inline-block;
}
.u-text-left {
  text-align: left;
}
.u-text-center {
  text-align: center;
}
.u-text-right {
  text-align: right;
}
.u-text-regular {
  font-weight: 400;
}
.u-text-bold {
  font-weight: 600;
}
.u-text-underline {
  text-decoration: underline;
}
.u-text-strike {
  text-decoration: line-through;
}
.u-text-italic {
  font-style: italic;
}
.u-text-red {
  color: var(--color-text-red);
}
.u-text-gray {
  color: var(--color-text-gray);
}
.u-text-link {
  display: inline;
  text-decoration: underline;
  transition: opacity var(--transition-default, 0.3s ease);
}
/* --- for small viewport --- */
@media screen and (max-width: 767px) {
  .p-news {
    --news-container-size: 100%;
    --news-padding-horizontal: calc(15 *(100vw / 375));
    padding-top: calc(40 *(100vw / 375));
    padding-bottom: calc(20 *(100vw / 375));
  }
  .p-news .pc_hidden{
    display: none;
  }
  .p-news__header {
    row-gap: calc(10 *(100vw / 375));
    font-size: calc(11 *(100vw / 375));
  }
  .p-news__header-category {
  }
  .p-news__header-title {
    font-size: calc(20 *(100vw / 375));
  }
  .p-news__body {
    margin-top: calc(30 *(100vw / 375));
    margin-bottom: calc(40 *(100vw / 375));
  }
  .p-news__body h2 {
    font-size: calc(18 *(100vw / 375));
  }
  .p-news__image-grid {
    gap: calc(10 *(100vw / 375));
  }
  .p-news__image-grid[data-sp-column="2"] {
    --column-count: 2;
  }
  .p-news__image-grid[data-sp-column="3"] {
    --column-count: 3;
  }
  .p-news__image-grid[data-sp-column="4"] {
    --column-count: 4;
  }
  .p-news__image-with-text {
    gap: calc(10 *(100vw / 375));
  }
  .p-news__image-with-text > figure {
    width: 30%;
  }
  .p-news__image-with-text > div {
    margin-top: calc(10 *(100vw / 375));
    gap: calc(5 *(100vw / 375));
  }
  .p-news__footer-list-link {
    font-size: calc(11 *(100vw / 375));
  }
  .u-text-sm {
    font-size: calc(12 *(100vw / 375));
  }
  .u-text-lg {
    font-size: calc(20 *(100vw / 375));
  }
}
/* --- for large viewport --- */
@media screen and (min-width: 768px) {
  .p-news {
    --news-container-size: min(100%, 84rem);
    --news-padding-horizontal: 2rem;
    padding-top: 6rem;
    padding-bottom: 10rem;
  }
  .p-news .mobile_hidden{
    display: none;
  }
  .p-news__header {
    row-gap: 1rem;
    font-size: 1.1rem;
  }
  .p-news__header-title {
    font-size: 2.2rem;
  }
  .p-news__header-thumbnail:is(:has([src*="information_img.jpg"]), .--small) {
    width: 40rem;
  }
  .p-news__body {
    margin-top: 5rem;
    margin-bottom: 11rem;
  }
  .p-news__body h2 {
    font-size: 1.8rem;
  }
  .p-news__image-grid {
    gap: 1rem;
  }
  .p-news__image-grid[data-pc-column="2"] {
    --column-count: 2;
  }
  .p-news__image-grid[data-pc-column="3"] {
    --column-count: 3;
  }
  .p-news__image-grid[data-pc-column="4"] {
    --column-count: 4;
  }
  .p-news__image-with-text {
    gap: 2rem;
  }
  .p-news__image-with-text > figure {
    width: 25rem;
  }
  .p-news__image-with-text > div {
    margin-top: 1rem;
    gap: 0.5rem;
  }
  .p-news__footer-list-link {
    font-size: 1.4rem;
  }
  .u-text-sm {
    font-size: 1.2rem;
  }
  .u-text-lg {
    font-size: 2rem;
  }
}
/* for hoverable device */
@media (hover: hover) {
  .p-news__button:hover,
  .u-text-link:hover {
    opacity: var(--hover-opacity, 0.7);
  }
}
