/* ================================================  
  エレメントモジュール
================================================ */

.el_heading {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.el_txtCenter {
  text-align: center;
}

.el_txtSmall {
  font-size: 14px;
  color: var(--text-secondary);
}

.el_btn,
.wpbc_button_light {
  max-width: 335px;
  height: 58px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  border: 1px solid var(--border-primary) !important;
  position: relative;
  margin-inline: auto;
  letter-spacing: 0.1em;
  color: var(--text-primary) !important;
  border-radius: 0 !important;
  height: 58px !important;
}

.el_btn::after,
.wpbc_button_light::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -8px;
  width: 38px;
  height: 0.5px;
  background: var(--text-primary);
  transition: all 0.3s;
}

.el_flexCol {
  display: flex;
  flex-direction: column;
}

.el_curSelect {
  font-weight: 500;
}

/* ================================================  
 ヘルパー
================================================ */
/* 余白の調整 */
.hp_mt20 {
  margin-top: 20px;
}

.hp_mt40 {
  margin-top: 40px;
}

.hp_pb20 {
  padding-bottom: 20px;
}

.hp_pt40 {
  padding-top: 40px;
}

.hp_padX40 {
  padding-inline: 40px;
}

.hp_padY20 {
  padding-block: 20px;
}

.hp_wMax {
  width: max-content;
  margin-inline: auto;
}

/* 色の変更 */
.hp_bgBlack {
  background: #333;
}

/* テキストの調整 */
.hp_txtCenter {
  text-align: center;
}

.hp_lh16 {
  line-height: 1.6;
}

.hp_lh18 {
  line-height: 1.8;
}

.el_imgLine {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin-block: 28px;
}

.el_imgLine div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hp_scaleOnHover {
  overflow: hidden;
}

.hp_scaleOnHover img {
  transition: transform 0.6s ease;
}

.hp_scaleOnHover:hover img {
  transform: scale(1.05);
}

/* ================================================  
  Article Headings
================================================ */

.bl_articleContent {
  line-height: 1.8;
}

.bl_articleContent h2 {
  margin-block: 40px;
  width: 100%;
  color: #fff;
  background: #ae202e;
  padding: 6px 16px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.01em;
  height: fit-content;
}

.bl_articleContent h3 {
  margin-block: 32px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.bl_articleContent h3::before {
  content: url('../img/icons/post-h3-before.svg');
  width: 14px;
  height: 14px;
}

.bl_articleContent h4 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding-bottom: 16px;
  border-bottom: 1px solid #d9d9d9;
  margin-block: 20px 16px;
}

.bl_articleContent h5 {
  font-size: 16px;
  font-weight: 600;
  color: #ae202e;
  margin-block: 20px 14px;
}

.bl_articleContent h6 {
  font-size: 18px;
  font-weight: 500;
  margin-block: 20px 14px;
}

.bl_articleContent .el_videoFrame {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin-top: 40px;
}

.bl_articleContent .main-content a:not(.el_productItem_ttl) {
	color: #ae202e;
	text-decoration: underline;
}

.bl_articleContent .main-content a:not(.el_productItem_ttl):hover {
	opacity: 0.7;
}

/* ================================================  
  法人の皆さまへ Corporate Page
================================================ */

.bl_articleContent .el_corpList {
  padding: 20px;
  margin-block: 20px;
  background: #e3e4df;
  width: fit-content;
  height: fit-content;
}

.bl_articleContent .el_txtGiant {
  font-size: 34px;
  display: block;
}

.bl_articleContent .el_txtLarge {
  font-size: 24px;
  display: block;
}

.bl_articleContent .el_txtGiant.el_tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.bl_articleContent .el_tel.el_txtGiant::before {
  content: url('../img/icons/icon-tel.svg');
  display: inline-block;
  font-size: 1px;
}

.bl_articleContent .el_imgFull {
  width: 100%;
}

.bl_articleContent .el_corpGrid {
  margin-block: 20px;
  font-size: 16px;
  justify-items: center;
}

.bl_articleContent .el_corpGrid .el_corpGrid_inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	margin-top: 20px;
}

.el_corpGrid h6 {
  margin-block: 12px !important;
}

.bl_articleContent .el_corpGrid img {
  aspect-ratio: 1/1;
  width: 100%;
}

.bl_articleContent .el_corpGrid > div {
  width: 100%;
}

.bl_articleContent .el_corpFlow {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, 180px);
  gap: 40px;
  overflow: hidden;
}

.bl_articleContent .el_corpFlow li {
  text-align: center;
  background-color: #e3e4df;
  padding: 12px;
  border: 1px solid #d9d9d9;
  position: relative;
  line-height: 1.6;
}

.bl_articleContent .el_corpFlow li p {
  font-size: 14px;
  line-height: 1.3;
}

.bl_articleContent .el_corpFlow li:not(:last-child):after {
  content: url('../img/icons/chevron-right.svg');
  display: block;
  width: fit-content;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(calc(50% + 20px), -50%);
}

@media screen and (max-width: 439px) {
  .bl_articleContent .el_corpFlow {
    grid-template-columns: 1fr;
  }

  .bl_articleContent .el_corpFlow li:not(:last-child):after {
    bottom: 0;
    top: unset;
    right: 50%;
    transform: translate(50%, calc(50% + 20px)) rotate(90deg);
  }
}

/* ================================================  
  Shopify 商品
================================================ */

.bl_productGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
  margin-block: 20px;
}

.el_productGrid_item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.5;
}

.el_productGrid_item img {
  width: 100%;
}

.el_productGrid_item a:has(img) {
  aspect-ratio: 1 / 1;
  line-height: 1;
  overflow: hidden;
}

.el_productItem_ttl {
  font-size: 15px;
  font-weight: 500;
}

.el_productItem_price {
  font-size: 13px;
  font-weight: 500;
}

.el_productItem_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
}

.el_productItem_tags li {
  background: #f5f5f5;
  padding: 6px 10px;
  border-radius: 20px;
}

/* ================================================  
  Crafts
================================================ */
.ly_crafts {
  margin-block: 100px;
}

.bl_crafts .el_heading {
  letter-spacing: 0.05em;
}

.bl_craftsList {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.bl_craftsList li {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bl_craftsImg {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.bl_craftsImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bl_craftsList h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.1em;
  display: flex;
  gap: 16px;
  align-items: center;
}

.bl_craftsList p {
  font-size: 15px;
}

.el_scrollHint {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  padding-inline: 20px;
}

.el_scrollHint > span {
  position: relative;
  display: block;
  width: 80px;
  height: 1px;
  background: #d9d9d9;
  overflow: hidden;
}

.el_scrollHint > span > span {
  display: block;
  height: 1px;
  width: 0;
  background: #000;
  animation: lineGrow 3s linear infinite;
}

@keyframes lineGrow {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

/* ================================================  
  TOC+
================================================ */

#toc_container {
  border-color: #d9d9d9;
  background: #e3e4df;
  padding: 40px;
  margin-bottom: 40px;
  width: 100%;
}

.toc_list {
  color: #000;
  font-size: 14px;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#toc_container a {
  text-decoration: underline;
}

.toc_title {
  font-size: 16px;
}

#toc_container p.toc_title + ul.toc_list {
  margin-block: 24px;
}

.bl_articleContent a:has(.el_imgFull),
.bl_articleContent .bl_mdGrid a,
.bl_articleContent .bl_mdGrid3 a {
	display: inline-block;
}

.bl_articleContent .bl_mdGrid {
    display: flex;
	flex-direction: column;
    gap: 10px;
	width: fit-content;
	margin-inline: auto;
	margin-bottom: 20px;
  }


.bl_articleContent .bl_mdGrid3 {
    display: flex;
	flex-direction: column;
    gap: 10px;
	width: fit-content;
	margin-inline: auto;
	margin-bottom: 20px;
  }

/* Letter Animation */

.el_bleedItem {
  letter-spacing: 0;
  line-height: 1.2;
}

.el_bleedItem .bleedLetter {
  display: inline-block;
  transition: all 1s ease-in-out;
  filter: blur(5px);
}

.el_bleedItem .bleedLetter1 {
  transform: scale(1.1, 1.1);
  transition: all 1000ms 1s ease-in-out;
}

.el_bleedItem .bleedLetter2 {
  transform: scale(1.3, 1.3);
}

.el_bleedItem .bleedLetter3 {
  transform: scale(1.6, 1.6);
}

.el_bleedItem .bleedLetter4 {
  transform: scale(0.9, 0.9);
}

.el_bleedItem .bleedLetter5 {
  transform: scale(0.7, 0.7);
}

.el_bleedItem .bleedLetter.mv {
  transition: all 2s ease-in-out;
  transform: scale(1, 1);
  filter: blur(0);
}

@media screen and (min-width: 768px) {
  .el_heading {
    font-size: 32px;
  }

  .el_md_txtVertical {
    writing-mode: vertical-rl;
  }

  .el_md_txtCenter {
    text-align: center;
  }

  .el_btn {
    max-width: 350px;
  }

  .bl_articleContent h2 {
    margin-block: 64px;
    font-size: 28px;
  }

  .bl_articleContent h4 {
    font-size: 24px;
    margin-block: 48px 32px;
    padding-bottom: 32px;
  }

  .bl_articleContent h5 {
    font-size: 20px;
    margin-block: 40px 24px;
  }

  .bl_articleContent h6 {
    margin-block: 32px 12px;
  }

  .bl_productGrid {
    margin-block: 32px;
    gap: 33px;
  }

  .bl_articleContent .bl_mdGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 20px;
  }
	
  .bl_articleContent .bl_mdGrid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 20px;
  }

  .bl_articleContent .el_imgSingle {
    width: 100%;
  }

  /* crafts */

  .bl_craftsList {
    max-width: 1200px;
    margin-inline: auto;
    flex-direction: row;
    gap: 5.5%;
    margin-top: 64px;
  }

  .bl_craftsList li {
    flex: 1;
    justify-content: space-between;
  }

  .el_imgLine {
    flex-direction: row;
    gap: 40px;
    align-items: center;
  }

  /* ================================================  
  法人の皆さまへ Corporate Page
================================================ */

  .bl_articleContent .el_corpCols2 {
    width: 100%;
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 60px;
    margin-bottom: 40px;
  }

  .bl_articleContent .el_corpList {
    margin-block: 0;
  }

  .bl_articleContent .el_txtGiant {
    font-size: 48px;
  }

  .bl_articleContent .el_corpGrid {
    margin-block: 40px;
  }
  
   .bl_articleContent .el_corpGrid .el_corpGrid_inner {
    grid-template-columns: 1fr 1fr;
  }

  .bl_articleContent .el_corpFlow {
    justify-content: start;
  }
}
