@charset "UTF-8";

/*---------------------------
/* ページコンテンツ設定
---------------------------*/
.content__box {
  margin: 0 auto;
  padding: 0 20px;
}

.content__wrapper,
.content__inner {
  margin: 60px auto;
}

.mian-visual {
  text-align: center;
}

.flex {
  display: block;
  flex-direction: row;
  align-items: center;
}

.flex.-turn {
  display: flex;
  flex-direction: column;
}

.flex .tmb,
.flex.-turn .tmb {
  margin: 16px auto 0 auto;
  padding: 0;
}

/* タイトル */
.l-title {
  position: relative;
  text-align: center;
}

.l-title.-qa {
  margin: 0 auto 32px auto;
  padding: 16px;
  border: solid 4px var(--color-red);
  border-radius: 14px;
  background: var(--color-white);
  color: var(--color-red);
}

.l-title.-qa:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  border: 9px solid transparent;
  border-top: 18px solid var(--color-white);
  transform: translateX(-50%);
  z-index: 2;
}

.l-title.-qa:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  border: 13px solid transparent;
  border-top: 26px solid var(--color-red);
  transform: translateX(-50%);
  z-index: 1;
}

.l-title h2.-character::before {
  position: absolute;
  content: "";
  display: block;
  width: 130px;
  height: 121px;
  top: -40px;
  left: -8px;
  background-image: url(../images/product/temaki/illust_title.png);
  background-repeat: no-repeat;
  background-size: 60%;
}

.l-title.-flame-bar h2 {
  display: inline-block;
  padding: 8px;
  text-align: center;
  border: solid 4px var(--color-red);
  border-radius: 10px;
  background-color: var(--color-white);
  color: var(--color-red);
}

.l-title.-flame-bar::before {
  position: absolute;
  display: block;
  content: "";
  width: 100%;
  left: 0;
  top: 50%;
  border-top: solid 4px var(--color-red);
  transform: translateY(-50%);
  z-index: -1;
}

.l-title.-stripe {
  margin: 0 0 16px 0;
  text-align: center;
}

.l-title.-stripe::after {
  display: block;
  content: "";
  padding: 16px 0.280px 0.280px;
  background-image: repeating-linear-gradient(
    -45deg,
    var(--color-red),
    var(--color-red) 4px,
    transparent 4px,
    transparent 8px
  );
  background-position: center bottom;
  background-repeat: repeat-x;
  background-size: auto 4px;
}

.l-title.-flame-dot {
  position: relative;
  display: block;
  margin: 16px auto;
  font-size: var(--f32-size);
}

.l-title.-flame-dot::before,
.l-title.-flame-dot::after {
  position: absolute;
  display: block;
  content: "";
  top: 50%;
  width: 50px;
  padding-bottom: 8px;
  background-image: radial-gradient(
    circle at 3px center,
    var(--color-darkgray),
    var(--color-darkgray) 3px,
    transparent 3px,
    transparent 100%
  );
  background-position: center bottom;
  background-repeat: repeat-x;
  background-size: 10px 6px;
}

.l-title.-flame-dot::before {
  left: -8px;
  transform: translateY(-50%) rotate(60deg);
}

.l-title.-flame-dot::after {
  right: -8px;
  transform: translateY(-50%) rotate(-60deg);
}

.l-title.-line-double {
  display: block;
  margin: 0 auto 32px auto;
  padding: 16px 0;
  text-align: center;
  border-top: var(--color-red) 1px solid;
  border-bottom: var(--color-red) 1px solid;
  color: var(--color-gray);
}

.l-title.-flame-round {
  display: inline-block;
  position: relative;
  left: 50%;
  margin: 0 auto;
  padding: 2px 32px;
  text-align: center;
  border-radius: 100vh;
  border: var(--color-red) 4px solid;
  color: var(--color-red);
  transform: translateX(-50%);
}

.l-title.-flame-bar.-round h2 {
  border-radius: 100vh;
  padding: 8px 32px;
}

.m-title {
  margin-bottom: 10px;
}

.s-title {
  margin-bottom: 8px;
}

.m-title.-indent,
.s-title.-indent {
  text-indent: -1em;
  margin-left: 1em;
}

.m-title.num span,
.s-title.num span {
  margin-right: 1em;
}

.m-title.num.-indent,
.s-title.num.-indent {
  text-indent: -2em;
  margin-left: 2em;
}

.m-title.num span::after,
.s-title.num span::after {
  content: "\002E";
  text-align: right;
}

/* キャッチコピー */

.m-catchcopy {
  font-size: var(--f18-size);
  font-weight: bold;
}

/* テキスト */
.l-text {
  font-size: var(--f18-size);
  font-weight: bold;
  text-align: center;
}

.text-red {
  color: var(--color-red);
}

.marker {
  display: inline;
  padding: 4px;
  line-height: 1.7;
  background: var(--color-yellow);
}

.f-big01 {
	margin-bottom: 40px;
	font-size: var(--f32-size);
  font-weight: bold;
}

/* テキストブロック */
.p-detail__text {
  margin: 0 auto;
}

.p-block__text {
  width: 100%;
}

.p-block__text .num.-indent {
  text-indent: -1em;
  margin-left: 1em;
}

.p-block__text.-half {
  margin-bottom: 20px;
}

.p-block__text ul li::before {
  display: inline-block;
  content: "\30FB";
  text-indent: -1em;
  margin-left: 1em;
}

.p-block__text ul li {
  text-indent: -1em;
  margin-left: 1em;
}

/* キャプション */
.caption {
  display: block;
  margin-top: 8px;
  font-size: 80%;
}

/* 注釈 */
.annot {
  margin-top: 32px;
  padding: 16px;
  text-align: center;
  background-color: var(--color-whitesmoke);
}

.annot.-color-red {
  color: var(--color-red);
}

/* テキストリンク */
.text-link {
  margin-top: 16px;
  text-align: right;
}

.text-link a::before {
  display: inline-block;
  margin-right: 8px;
  content: "\003E";
}

.text-link a {
  font-weight: bold;
  text-decoration: underline;
  color: var(--color-red);
}

/* フレームデザイン */
.p-flame__block {
  padding: 16px;
  border-top: var(--color-lightgray) 1px solid;
  border-left: var(--color-lightgray) 1px solid;
  border-right: var(--color-lightgray) 1px solid;
  font-size: var(--f20-size);
  font-weight: bold;
  text-align: center;
  color: var(--color-gray);
}

.line-flame__box {
  margin: 32px 0 0 0;
  padding: 32px;
  border-radius: 16px;
  border: var(--color-red) 2px solid;
}

.line-flame__box.-glay {
  border: var(--color-lightgray) 2px solid;
}

/* 番号ありリスト */
.line-flame__box ol li {
  margin: 16px 0;
  text-indent: -2.5em;
  margin-left: 2.5em;
}

.line-flame__box ol li .num {
  margin-right: 10px;
  padding: 6px 8px;
  border: var(--color-red) 1px solid;
  color: var(--color-red);
}

/* ラインナップ */
.lineup__box {
  margin: 64px 0 0 0;
}

.lineup__item {
  padding: 32px;
  border-bottom: var(--color-red) 1px solid;
}

.lineup__item:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.lineup__item h4 {
  margin-bottom: 16px;
}

.line-top__box .line-top__item:first-of-type {
  border-top: none;
}

.line-top__box.-dot {
	border-top: dotted 2px var(--color-darkgray);
	margin-top: 32px;
	padding-top: 32px;
	text-align: center;
}

/* 扉ページ（index） */
.dot-flame__box {
  margin-top: 96px;
  position: relative;
  background: var(--color-skin);
  background-image: radial-gradient(var(--color-white) 15%, transparent 15%),
    radial-gradient(var(--color-white) 15%, transparent 15%);
  background-size: 15px 15px;
  background-position: 0 0, 8px 8px;
  border-top: var(--color-red) 4px solid;
  z-index: 0;
}

.l-title.-flame h2 {
  position: absolute;
  display: inline-block;
  width: 80%;
  top: -24px;
  left: 50%;
  padding: 8px 16px;
  text-align: center;
  border: solid 4px var(--color-red);
  border-radius: 10px;
  background-color: var(--color-white);
  color: var(--color-red);
  z-index: 1;
  transform: translateX(-50%);
}

.dot-flame__box ul {
  margin-top: 32px;
  padding: 32px;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 24px 0;
}

.card-list li {
  position: relative;
  width: 100%;
  margin-bottom: 16px;
  padding: 16px;
  text-align: center;
  clip-path: polygon(0% 30px, 30px 0%, 100% 0%, 100% 100%, 0% 100%);
  background-color: var(--color-white);
}

.card-list li img {
    width: 50%;
    margin: 0 auto;
  }

.card-list li:last-of-type {
  margin-bottom: 0;
}

.card-list li a:hover {
  color: var(--color-pink);
  transition: all 0.4s ease;
}

.card-list li a:hover p {
  color: var(--color-darkgray);
}

.card-list li::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -6px;
  left: 15px;
  width: 1px;
  height: 42px;
  background-color: var(--color-red);
  transform: rotate(45deg);
}

.card-list li p {
  margin-top: 8px;
  font-size: var(--f14-size);
}

/* 仕事内容 */
.line-top__box {
  margin-top: 64px;
  border-top: var(--color-red) 1px solid;
}

.line-top__item {
  padding: 32px 16px;
  border-top: var(--color-lightgray) 1px solid;
}

.line-top__item.-double {
  align-items: start;
}

.line-top__item.-double .p-block__text:nth-child(even) {
  margin-top: 32px;
}

.line-top__item .tmb.-double {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.line-top__item .tmb.-double li {
  width: 45%;
  margin-top: 16px;
}

.line-top__item .tmb img {
  border-radius: 16px;
}

.line-top__item .tmb .caption {
  text-align: center;
}

.line-top__item .tmb.-double li {
  width: 48%;
  margin: 0;
}

/*  */
.no-border {
  border: none;
}

.line-top__box.-gray,
.line-flame__box.-gray,
.lineup__item.-gray {
  border-color: var(--color-lightgray);
}

/*  */
.flow-wrapper.flex {
  display: flex;
  flex-wrap: wrap;
  margin: 30px auto 0;
  align-items: flex-start;
  justify-content: space-between;
}

.flow-wrapper li {
  margin-bottom: 20px;
}

.flow-wrapper li,
.flow-wrapper.-cvs li,
.flow-wrapper.-factory li {
  width: calc(100% / 2 - 10px);
}

.flow-wrapper li img {
  width: 100%;
  overflow: hidden;
}

.flow-wrapper li img.round {
  border-radius: 10px;
}

.flow-wrapper li h4 {
  position: relative;
  font-size: var(--f18-size);
  text-align: center;
  margin: 15px 0 5px;
}

.flow-wrapper.-factory li h4 {
  border: solid 1px var(--color-gray);
  font-size: var(--f17-size);
  border-radius: 5px;
  padding: 8px;
}

.flow-wrapper li h4 span {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
  font-size: 130%;
  color: var(--color-red);
  font-weight: normal;
}

/* 〜767px（スマホ＆タブレット用）
---------------------------*/
@media (max-width: 767px) {
  /* テキスト */
  .sp__text-left {
    text-align: left!important;
  }
  /* 非表示 */
  .sp__text-left br.sp {
		display: none;
	}
}

/* 768px〜（スマホ＆タブレット用）
---------------------------*/
@media (min-width: 768px) {
  /* ページコンテンツ */
  .content__box {
    margin: 0 auto 96px auto;
    padding: 0 32px;
  }

  .annot {
    padding: 0;
    background-color: transparent;
  }

  .flex {
    display: flex;
  }

  .flex .tmb {
    padding: 0 0 0 32px;
  }

  .flex.-turn {
    flex-direction: row-reverse;
  }

  .flex.-turn .tmb {
    padding: 0 32px 0 0;
  }

  /* フレームデザイン */
  .line-flame__box {
    margin: 64px 0 0 0;
  }

  /* タイトル */
  .l-title.-qa {
    max-width: 580px;
    padding: 8px 16px;
  }

  .l-title h2.-character::before {
    top: 50%;
    left: -48px;
    background-size: contain;
    transform: translateY(-50%);
  }

  .l-title.-flame-bar h2 {
    padding: 6px 32px;
  }

  .l-title.-flame-bar.-round h2 {
    padding: 4px 32px;
    font-size: var(--f24-size);
  }

  /* テキストブロック */
  .p-block__text.-half {
    margin-bottom: 0;
  }

  /* ラインナップ */
  .lineup__box {
    margin: 96px 0 0 0;
  }

  /* スラッシュ表示用 */
  .after_line {
    position: relative;
    padding-right: 16px;
  }
  
  .after_line:after {
    position: absolute;
    display: block;
    content: "/";
    top: 55%;
    right: -2px;
    width: 16px;
    /* height: 16px; */
    transform: translate(0, -50%);
  }

  /*  */
  .flow-wrapper li {
    margin-bottom: 0;
  }

  .flow-wrapper li,
  .flow-wrapper.-factory li {
    width: calc(100% / 4 - 16px);
  }

  .flow-wrapper.-cvs {
    padding: 0 50px;
  }

  .flow-wrapper.-cvs li {
    width: calc(100% / 3 - 20px);
  }

  .flow-wrapper li img.round {
    border-radius: 15px;
  }

  .flow-wrapper li h4 span {
    font-weight: bold;
  }
}

/* 960px〜（タブレット＆PC用）
---------------------------*/
@media (min-width: 960px) {
  /* ページコンテンツ */
  .content__box {
    max-width: 960px;
    padding: 0;
  }

  .content__wrapper {
    width: 860px;
    margin: 64px auto 96px auto;
  }

  .flex .tmb,
  .flex.-turn .tmb {
    margin: 0;
  }

  .p-detail__text {
    width: 520px;
    margin-top: 64px;
  }

  /* 番号ありリスト */
  .line-flame__box ol {
    margin: 64px;
  }

  /* タイトル */
  .l-title.-flame-dot {
    max-width: 680px;
    margin: 32px auto 0 auto;
  }

  .l-title.-flame-dot::before,
  .l-title.-flame-dot::after {
    width: 60px;
    background-size: 12px 6px;
  }

  .l-title.-flame-dot::before {
    left: 0;
    transform: translateY(-50%) rotate(45deg);
  }

  .l-title.-flame-dot::after {
    right: 0;
    transform: translateY(-50%) rotate(-45deg);
  }

  /* ラインナップ */
  .lineup__item {
    padding: 16px;
  }

  /* 扉ページ（index） */
  .l-title.-flame h2 {
    width: 480px;
  }

  .dot-flame__box ul {
    margin-top: 32px;
    padding: 32px;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 24px 0;
  }

  .card-list li {
    width: calc(100% / 3 - 16px);
    margin-bottom: 0;
  }

  .card-list li img {
    width: auto;
    margin: 0 0 0 16px;
  }

  .card-list.col2 li {
    width: calc(100% / 2 - 16px);
    margin-bottom: 0;
  }

  .card-list.col3-1::after {
    content: "";
    height: 0;
    width: calc(100% / 3 - 16px);
  }

  /* 仕事内容 */
  .line-top__box {
    margin-top: 96px;
  }

  .line-top__item {
    padding: 48px 16px;
  }

  .line-top__item.-double {
    justify-content: space-between;
  }

  .line-top__item.-double .p-block__text {
    width: 45%;
  }

  .line-top__item.-double .p-block__text:nth-child(even) {
    margin-top: 0;
  }

  .line-top__item .tmb.-double {
    width: 480px;
  }

  .line-top__item .tmb.-double li img {
    width: 100%;
  }
}