@charset "UTF-8";


/* ====================
  ブロック内共通デザイン
==================== */
#TopicPath{
  position: absolute;
  background: no-repeat;
  width: 100%;
}

#TopicPath ul{
    margin: 0 auto;
    color: #fff;
}

#TopicPath ul a{
    color: #fff;
}

#Contents section{
  padding-bottom: 100px;
  margin: 0 auto;
  background: none;
}

#Contents section:nth-child(2n) {
  background: none;
}

#Contents .ContentInner{
    max-width: 1100px;
    margin: 0 auto;
    width: 90%;
}

#Contents h2.bar{
    position: relative;
    display: flex;
    color: #fff;
    font-size: 24px;
    align-items: center;
    background: #333;
    padding: 0;
    min-height: 60px;
    margin: 0 0 60px 0;
}

#Contents h2.bar::before {
  content: "　";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  display: block;
  height: 100%;
  width: 100vw;
  background: #333;
}

#Contents h2.bar > span{
    border-left: 8px solid #CC0000;
    color: #fff;
    font-size: 24px;
    padding: 0;
    font-weight: 400;
    background: none;
    line-height: 60px;
    padding-left: 30px;
}

#Contents h2.bar span{
    z-index: 1;
}

#Contents .bgLayerBlock{
    background: #f4f4f4;
    padding: 30px 35px 50px;
}

#Contents h3.bar{
    margin: 0 0 40px -5px;
    font-size: 20px;
    font-weight: 500;
}

#Contents h3.bar > span:before{
    content: "";
    width: 3px;
    height: 26px;
    background:#cc0000;
    display: inline-block;
    margin-right: 15px;
    vertical-align: middle;
}

#Contents .caseItem{
    margin: 40px auto;
    gap:0 25px;
    display: flex;
    justify-content: space-between;
}

#Contents .caseItem .thumb{
    max-width: 280px;
}

#Contents .caseItem .txt{
    flex:1;
    display: flex;
    flex-direction: column;
}

#Contents .caseItem .txt .heading{
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 500;
}

.pageBackBtn{
    text-align: center;
    margin: 0 auto 30px;
}

.pageBackBtn a{
    text-decoration: none;
    border: 1px solid #333333;
    color: #333;
    line-height: 40px;
    text-align: center;
    display: inline-block;
    transition: color 0.5s ease;
    overflow: hidden;
    position: relative;
    padding: 0 30px;
}

.pageBackBtn a span{
	position: relative;
	z-index: 3;    
}

.pageBackBtn a::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #333333;
  transform: scaleX(0);
  transform-origin: right;
  transition: all 0.5s ease;
  transition-property: transform;
}

.pageBackBtn a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.pageBackBtn a:hover{
    color: #fff;
}

@media screen and (max-width: 767px) {
  #Contents section{
    padding-bottom: 50px;
    overflow: hidden;
  }

  #Contents section:nth-child(2n) {
    background: none;
  }

  #Contents h2.bar{
      font-size: 24px;
      margin: 0 0 30px 0;
      min-height: inherit;
  }

  #Contents h2.bar > span{
      border-left: 4px solid #CC0000;
      font-size: 20px;
      line-height: 32px;
      padding-left: 20px;
      height: 100%;
      padding: 8px 0 8px 20px;
  }

  #Contents h2.bar span{
      z-index: 1;
      position: relative;
  }

  #Contents .bgLayerBlock{
      padding: 20px 20px 30px;
  }

  #Contents h3.bar{
      margin: 0 0 20px 0;
      font-size: 18px;
  }

  #Contents h3.bar > span:before{
      height: 22px;
      margin-right: 10px;
  }

  #Contents .caseItem{
      margin: 20px auto;
      gap:20px;
      flex-wrap: wrap;
      flex-direction: column;
  }

  #Contents .caseItem .thumb{
      max-width: inherit;
      width: 100%;
      margin: 0 auto;
      text-align: center;
  }

  #Contents .caseItem .txt .heading{
      font-size: 20px;
      margin-bottom: 5px;
  }    
}
/* ====================
  #Kv
==================== */
#Kv{
  background: url("../case/images/kv.jpg") no-repeat center center!important;
  background-size: cover !important;
  height: 350px;
  margin: 0 !important;
  padding-bottom: 0 !important;
}

#Kv .ContentInner{
  height: 100%;
  position: relative;
}

#Kv h1{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: 700;
  font-size: 30px;
  line-height: calc(45/30);
  text-align: center;
  width: max-content;
}

@media screen and (max-width: 767px) {
    #Kv h1{
      font-size: 24px;
      width: 90%;
    }
}


/* ====================
  #PageNav
==================== */
#PageNav{
    background: #d9d9d9;
    padding: 8px;
}

#PageNav ul{
    display: flex;
    justify-content: center;
    gap:33px;
    margin: 0 auto;
}

#PageNav ul li a{
    background: #f4f4f4;
    padding: 10px 30px;
    text-decoration: none;
    color: #333;
    display: inline-block;
    transition: color 0.5s ease;
    line-height: calc(24/16);
}

#PageNav ul li.active a,
#PageNav ul li:hover a{
    background: #333333;
    color: #fff;
}

.leadTxtBlock{
    max-width: 900px;
    padding-top: 40px;
    margin-left: auto;
    margin-right: auto;
}

.leadTxtBlock .note{
    text-align: right;
    margin-top: 1em;
}


@media screen and (max-width: 767px) {
    #PageNav ul{
      flex-wrap: wrap;
      flex-direction: column;
      gap:15px;
      margin: 8px 15px;
    }
    
    #PageNav ul li{
      width: 100%;
    }

    #PageNav ul li a{
        padding: 10px 20px;
        display: block;
        text-align: center;
        font-size: 14px;
    }

    .leadTxtBlock{
        max-width: 900px;
        padding-top: 20px;
    }
}


/* ====================
  .case01
==================== */
#case01{
    margin-top: 100px;
    display: flex;
    justify-content: space-between;
    gap:0 20px;
}

#case01 .bgLayerBlock + .note{
    text-align: right;
    margin: 5px 0 40px;
}

#case01 .voiceGroup{
    display: flex;
    justify-content: space-between;
    gap:0 20px;
}

#case01 .voiceGroup .voiceItem{
    background: #fff;
    flex: 1;
    padding: 25px 0 170px;
    background: url("../case/images/case01_voice_illust01.svg") no-repeat center 170px #fff;
}

#case01 .voiceGroup .voiceItem:nth-child(2){
    background: url("../case/images/case01_voice_illust02.svg") no-repeat center 170px #fff;
}

#case01 .voiceGroup .voiceItem:nth-child(3){
    background: url("../case/images/case01_voice_illust03.svg") no-repeat center 170px #fff;
}

#case01 .voiceGroup .voiceItem p{
    text-align: center;
    font-weight: 500;
    font-size: 18px;
    line-height: calc(26/18);
}

@media screen and (max-width: 1040px) {
  #case01 .voiceGroup .voiceItem{
      padding: 25px 10px 150px;
      background-position: center bottom 20px !important;
  }
}

@media screen and (max-width: 767px) {
    #case01{
        margin-top: 50px;
        display: flex;
        justify-content: space-between;
        gap:0 20px;
    }

    #case01 .bgLayerBlock + .note{
        text-align: right;
        margin: 5px 0 40px;
    }

    #case01 .voiceGroup{
        flex-direction: column;
        gap:10px;
    }

    #case01 .voiceGroup .voiceItem{
        padding: 15px;
        display: flex;
        min-height: 90px;
        align-items: center;
        background: url("../case/images/case01_voice_illust01.svg") no-repeat 20px center #fff !important;
        background-size: auto 70px !important;
    }

    #case01 .voiceGroup .voiceItem:nth-child(2){
        background: url("../case/images/case01_voice_illust02.svg") no-repeat 20px center #fff !important;
        background-size: auto 70px !important;
    }

    #case01 .voiceGroup .voiceItem:nth-child(3){
        background: url("../case/images/case01_voice_illust03.svg") no-repeat 20px center #fff !important;
        background-size: auto 70px !important;
    }

    #case01 .voiceGroup .voiceItem p{
        font-size: 14px;
        line-height: calc(26/18);
        text-align: left;
        padding-left: 90px;
    }
    
}    
/* ====================
  #case02
==================== */
#case02 .flowGroup {
    max-width: 980px;
    margin: 0 auto;
}

#case02 .flowStep {
    position: relative;
    border: 1px solid #cc0000;
    padding: 25px;
    position: relative;
    margin-bottom: 20px;
}

#case02 .flowStep .heading {
    position: absolute;
    left: 50%;
    top: -15px;
    font-size: 20px;
    color: #cc0000;
    font-weight: 700;
    text-align: center;
    background: #fff;
    padding: 0 20px;
    transform: translateX(-50%);
}

#case02 .flowStep .flowBlock {
    display: flex;
    gap: 25px;
    justify-content: space-between;
    align-items: stretch; 
}

#case02 .flowStep .flowBlock .otData,
#case02 .flowStep .flowBlock .otSkill{
    max-width: 450px;
    flex: 1;
    display: flex;
    flex-direction: column;    
}

#case02 .flowStep .flowBlock .otData > p,
#case02 .flowStep .flowBlock .otSkill > p{
    margin-bottom: 15px;
    display: flex;
    gap:0 10px;
    align-items: center;
    font-size: 20px;
    font-weight: 500;
}

#case02 .flowStep .flowBlock .label{
    color: #fff;
    text-align: center;
    width: 105px;
    padding: 4px 0 6px;
    background: #333333;
    display: inline-block;
    font-size: 15px;
}

#case02 .flowStep .flowBlock .otSkill .bgLayer {
    background: #F7DDDD;
    padding: 20px;
    flex-grow: 1;
    position: relative;
}

#case02 .flowStep .flowBlock .otSkill .bgLayer::after {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 8px 16px 8px 0;
  border-style: solid;
  border-color: transparent #F7DDDD transparent transparent;
}

#case02 .flowStep .flowBlock .otSkill .bgLayer p{
    font-weight: 500;
}

#case02 .flowStep.step04{
    width: 512px;
    margin: 0 auto;    
}

#case02 .flowStep.step04 .flowBlock .otSkill .bgLayer::after{
    display: none;
}

#case02 .flowGroup .arrow {
  width: 29px;
  height: 28px;
  margin: 0 auto 20px;
  border-left: 29px solid transparent;
  border-right: 29px solid transparent;
  border-top: 28px solid #333333;
  vertical-align: middle;
  flex-shrink: 0;
  flex: 0 0 auto;
}

@media screen and (max-width: 767px) {
    #case02 .flowGroup {
        max-width: 980px;
        margin: 0 auto;
    }

    #case02 .flowStep {
        padding: 30px 20px 20px 20px;
        margin-bottom: 10px;
    }

    #case02 .flowStep .heading {
        font-size: 20px;
        padding: 0 15px;
    }

    #case02 .flowStep .flowBlock {
        gap: 20px;
        flex-direction: column;
        flex-wrap: wrap;
    }

    #case02 .flowStep .flowBlock .otData,
    #case02 .flowStep .flowBlock .otSkill{
        width: 100%;
        max-width: inherit;
    }

    #case02 .flowStep .flowBlock .otData > p,
    #case02 .flowStep .flowBlock .otSkill > p{
        margin-bottom: 10px;
        gap:0 10px;
        font-size: 16px;
    }

    #case02 .flowStep .flowBlock .label{
        width: 70px;
        font-size: 12px;
    }

    #case02 .flowStep .flowBlock .otSkill .bgLayer {
        padding: 15px;
    }

    #case02 .flowStep .flowBlock .otSkill .bgLayer::after {
        display: none;
    }

    #case02 .flowStep.step04{
        width: 100%;
    }

    #case02 .flowStep.step04 .flowBlock .otSkill .bgLayer::after{
        display: none;
    }

    #case02 .flowGroup .arrow {
      width: 20px;
      height: 25px;
      margin: 0 auto 15px;
      border-left: 20px solid transparent;
      border-right: 20px solid transparent;
      border-top: 20px solid #333333;
    }
    
}


.pageBackBtn + .note{
    max-width: 1100px;
    width: 90%;
    margin: 0 auto 120px auto;
}

@media screen and (max-width: 767px) {
  .pageBackBtn + .note{
      margin: 0 auto 60px auto;
  }
}