@charset "UTF-8";

/* ===============================
	変数定義
=============================== */
:root {
  --bg-color: #f4f2f0;
  --color-red: #C83C2D;
  --margin-large: 6rem;
  --margin-medium: 4rem;
  --margin-small: 2rem;

  /* フォント */

  --accent-font: "copperplate", serif;
  --gothic: "Zen Kaku Gothic New", sans-serif;
}

/* ===============================
	共通スタイル
=============================== */

.global-section {
  padding-block: 10rem;
}

/* アイコン */
.chevron-right {
  inline-size: 1.5rem;
  block-size: 1.5rem;
}

/* ユーティリティクラス */
.base-red-text {
  color: #C83C2D;
}


/* その他のコンテンツ */

.contents {
  position: relative;
  inline-size: 100%;
  background-color: #FDE6E6;
  padding-block: 10rem;
  z-index: 3;
}

.contents::after {
  content: "";
  position: absolute;
  top: -5rem;
  left: 0;
  width: 100%;
  block-size: 5rem;
  background: url(../images/pink-bg.png) no-repeat top left / cover;
}

.contents-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 4rem;

}

.contents-box {
  inline-size: calc((100% - 100px) / 3);
  pointer-events: none;
}

.contents-img {
  pointer-events: auto;
  transition: .5s;
}

.link-none {
  pointer-events: none;
}

.contents-text {
  margin-top: .5em;
  font-size: 1.6rem;
  font-weight: bold;
  font-family: var(--gothic);
}

.contents-btn {
  margin-top: .5em;
  inline-size: fit-content;
}

.contents-btn p {
  display: grid;
  grid-template-columns: 1fr auto;
  place-content: center;
  align-items: center;
  grid-column-gap: .4em;
  inline-size: 100%;
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 500;
  transition: .3s;
  pointer-events: auto;
}


/* その他のコンテンツ（タイトル） */
.contents-title {
  position: relative;
  display: grid;
  grid-template-columns: auto auto auto;
  grid-template-rows: auto;
  align-items: center;
  justify-content: center;
  column-gap: 2rem;
  z-index: 3;
}

.contents-title-text-area {
  display: contents;
}

.contents-title-text-area p {
  font-family: var(--gothic);
  font-size: 2.6rem;
  font-weight: bold;
}

.contents-left-text {
  grid-column: 1;
  grid-row: 1;
  inline-size: fit-content;
}

.contents-title-logo {
  inline-size: 120px;
  grid-column: 2;
  grid-row: 1;
}

.contents-right-text {
  grid-column: 3;
  grid-row: 1;
  inline-size: fit-content;
}


/* 製品紹介 */
.product {
  position: relative;
  background-color: #fff;
  font-family: var(--gothic);
}

.product-intro-title {
  position: relative;
  inline-size: fit-content;
  margin-inline: auto;
  padding-bottom: 1rem;
  text-align: center;
  font-size: 2.6rem;
  font-weight: bold;
}

.product-intro-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  inline-size: 100%;
  block-size: 3px;
  background-image: repeating-linear-gradient(90deg, #ff7979, #ff7979 6px, transparent 6px, transparent 10px);
  background-position: left bottom;
  background-repeat: repeat-x;
  background-size: 100% 2px;
}

.product-intro-title em {
  font-size: 3.5rem;
}

.product-list {
  margin-top: 5rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5rem 3rem;
}

.product-item {
  inline-size: 22%;
  text-align: center;
  min-inline-size: 25rem;
}

.product-series {
  font-size: 1.8rem;
  font-weight: 500;
}

.product-title {
  font-size: 2.4rem;
  font-weight: bold;
}

/* ボタン */

.product-btn {
  display: inline-block;
  inline-size: fit-content;
  margin-top: 1em;

}

.product-btn a {
  display: grid;
  grid-template-columns: auto 1fr;
  place-content: center;
  align-items: center;
  grid-column-gap: .8em;
  inline-size: 100%;
  padding: 1.5rem 2rem;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 500;
  border: 2px solid #C83C2D;
  border-radius: 10px;
  background-color: #C83C2D;
  transition: .3s;
}





/* ====================================
	スマートフォン専用スタイル（～768px）
===================================== */
@media screen and (width <768px) {

  .global-section {
    padding-block: 5rem;
  }


  /* その他のコンテンツ */

  .contents {
    padding-block: 7rem 10rem;
  }

  .contents::after {
    top: -3vw;
    block-size: 3rem;
  }

  .contents-text {
    font-size: 1.5rem;
    line-height: 1.6;
    font-weight: 500;
  }

  .contents-container {
    row-gap: 4rem;
  }

  .contents-box {
    inline-size: 47%;
  }


  /* その他のコンテンツ（タイトル） */

  .contents-title {
    grid-template-columns: min(25%,100px) auto;
    column-gap: 1rem;
  }

  .contents-title-text-area {
    display: block;
    grid-column: 2;
  }

  .contents-title-text-area p {
    font-size: 1.8rem;
  }

  .contents-title-logo {
    inline-size: auto;
    grid-column: 1;
  }

  /* 製品紹介 */


  .product-intro-title {
    font-size: 1.6rem;
    text-underline-offset: 7px;
    line-height: 2;
  }


  .product-intro-title em {
    font-size: 2.4rem;
  }

  .product-list {
    margin-top: 3rem;
    gap: 3rem 1rem;
  }


  .product-item {
    inline-size: 48%;
    min-inline-size: 0;
  }

  .product-series {
    font-size: 1.4rem;
  }

  .product-title {
    font-size: 1.6rem;
  }


  .product-btn a {
    padding: 1rem;
    font-size: 1.2rem;
    line-height: 1.6;
  }


}


/* ====================================
	タブレット専用スタイル（768px～1079px）
===================================== */
@media screen and (768px <=width < 1080px) {

  /* その他のコンテンツ */

  /* 製品紹介 */
  .product-series {
    font-size: 1.5rem;
  }


  /* その他のコンテンツ（タイトル） */
  .contents-title-text-area p {
    font-size: 2rem;
  }

  .contents-title-logo {
    inline-size: 100px;
  }

}

/* ====================================
	ホバーが有効な環境のみ
===================================== */
@media (hover:hover) and (pointer: fine) {

  .product-btn a:hover {
    color: var(--color-red);
    background-color: #fff;
    text-decoration: none;
  }

}