@charset "utf-8";
/* font-family: "Noto Sans JP", sans-serif; */
/* font-family: "Kosugi Maru", sans-serif; */

.list_item.flowchart {
  pointer-events: none;
  background-color: #765649;
  color: #fff !important;
  opacity: 1;
}
.list_item.flowchart::after {
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
}

.kv {
  aspect-ratio: 1440 / 390;
  overflow: hidden;
  background: url(/common/addition/brand/tube-diet/flowchart/img/kv_pc.jpg) no-repeat center center / cover;
}
.kv .inner {
  position: relative;
  width: calc(100% - 40px);
  max-width: 1000px;
  margin-inline: auto;
  height: 100%;
}
.tubediet_logo {
  position: absolute;
  width: 100%;
  max-width: 225px;
  top: 30px;
}
.kv_title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 50px;
  letter-spacing: 0.12em;
  line-height: 1;
  color: #6fc6cd;
  font-family: "Kosugi Maru", sans-serif;
  font-weight: bold;
}

@media only screen and (max-width: 768px) {
  .kv {
    margin-top: 61px;
    aspect-ratio: 750 / 400;
    background: url(/common/addition/brand/tube-diet/flowchart/img/kv_sp.jpg) no-repeat center center / cover;
  }
  .kv .inner {
    position: relative;
    width: calc(100% - 40px);
    max-width: 1000px;
    margin-inline: auto;
    height: 100%;
  }
  .tubediet_logo {
    max-width: 120px;
    top: 10px;
  }
  .kv_title {
  width: 100%;
  top: 38%;
  transform: translate(-50%, -50%);
}
  .kv_title img {
    margin-inline: auto;
    width: auto;
    height: 40px;
  }
}

/* main_contents
=============================== */
.main_contents {
  padding-top: 80px;
  padding-bottom: 120px;
  overflow: hidden;
}
.main_contents .inner {
  max-width: 1000px;
}
.main_title {
  text-align: center;
  font-size: 30px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: #765649;
  font-family: "Kosugi Maru", sans-serif;
  font-weight: bold;
}
.main_text {
  margin-top: 12px;
  text-align: center;
  font-size: 23px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: #765649;
  font-weight: bold;
}

@media only screen and (max-width: 768px) {
  .main_contents {
    padding-top: 50px;
    padding-bottom: 80px;
  }
  .main_title {
    font-size: 18px;
    letter-spacing: 0.05em;
  }
  .main_text {
    margin-top: 10px;
    font-size: 14px;
  }
}

/* flowSwitch
================================== */
.flowSwitch {
  margin-top: 24px;
}
.flowTabs {
  width: 100%;
  max-width: 712px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 12px;
  row-gap: 16px;
}
.flowTab {
  appearance: none;
  border: 2px solid #6fc6cd;
  background: #fff;
  color: #6fc6cd;
  padding: 12px;
  border-radius: 999px;
  font-size: 20px;
  letter-spacing: 0.12em;
  line-height: 1;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.1s ease;
}
.flowTab:hover {
  background: #6fc6cd;
  color: #fff;
}
.flowTab.is-active {
  background: #6fc6cd;
  color: #fff;
  border-color: #6fc6cd;
}
.flowStage {
  width: 100%;
  margin-top: 60px;
}
.flowScroll {
  width: 100%;
}
.flowInner{
  display:inline-block;
}
.flowImg {
  width: 100%;
  height: auto;
  display: block;
}
.flowImg.is-fade {
  opacity: 0;
  transition: opacity 0.18s ease;
}
.flowImg.is-show {
  opacity: 1;
}
.flowLead {
  margin-top: 40px;
  text-align: center;
  font-size: 20px;
  letter-spacing: .05em;
  line-height: 1.5;
  color: #765649;
  font-weight: 600;
}
.flowCap {
  margin-top: 10px;
  text-align: right;
  font-size: 14px;
  letter-spacing: .08em;
  line-height: 2;
}

@media (max-width: 768px) {
  .flowSwitch {
    margin-top: 24px;
  }
  .flowTabs {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 10px;
    row-gap: 12px;
  }
  .flowTab {
    padding: 8px;
    font-size: 16px;
    letter-spacing: 0.1em;
  }
  .flowStage {
    margin-top: 32px;
  }
  .flowScroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
  }
  .flowImg {
    min-width: 760px;
  }
  .flowLead {
    margin-top: 20px;
    font-size: 14px;
  }
  .flowCap {
    min-width: 760px;
    margin-top: 10px;
    font-size: 10px;
  }
}
