/* CSS Document */

@media screen and (max-width: 1024px) {}
@media screen and (max-width: 768px) {}
@media screen and (max-width: 480px) {}


#main-header h2 { margin-bottom: 120px; }
#main-header h2 span { border-bottom: 1px solid #ede600; }

.main-desc {
  color: #ffffff;
  padding: 120px;
  margin-bottom: 240px;
  background: url(../images/page-desc-bg.svg) no-repeat center center;
}
.main-desc h3 {
  font-size: 32px;
  margin-bottom: 40px;
}
.main-desc p {
  line-height: 1.5;
  letter-spacing: .1em;
  font-size: 18px;
}

.commit-main {
  width: 1280px;
  margin: 0 auto;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.commit-main h4 {
  float: right;
  font-size: 70px;
  margin-left: 32px;

  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  
}
.commit-area {
  float: right;
  position: relative;
  overflow: hidden;
  margin-bottom: 120px;
  border-bottom: 1px solid #ede600;
  width: 90%;
}
.commit-area .commit-box {
  position: relative;
  overflow: hidden;
  margin-bottom: 120px;
}
.commit-area .commit-title {
  font-size: 36px;
  float: right;
  margin-right: 48px;
  
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}
.commit-area .commit-pic {
  float: left;
  width: 88%;
  background: url("../commitment/images/commit-pic-bg.png");
}
.commit-area .commit-pic img {
  width: 100%;
  height: auto;
}
.uoyoshi-mark {
  width: auto;
  height: 95px;
  position: relative;
  top: 8px;
  left: 16px;
}

@media screen and (max-width: 1024px) {
  
  #main-header h2 { margin-bottom: 120px; }
  .main-desc {
    color: #ffffff;
    padding: 120px;
    margin-bottom: 240px;
    background: url(../images/page-desc-bg.svg) no-repeat center center;
  }
  .commit-main { width: 95%; }

  .commit-main h4 {
    float: none;
    -webkit-writing-mode: horizontal-tb;
    -ms-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
    
    margin-bottom: 120px;
  }
  .commit-area .commit-title {
    font-size: 36px;
    color: #ede600;
    float: none;
    width: 100%;
    margin-right: 0;
    margin-bottom: 32px;
    padding-top: 72px;
    position: relative;
    
    -webkit-writing-mode: horizontal-tb;
    -ms-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
    
  }
  .commit-area {
    float: none;
    width: 100%;
  }
  .commit-area .commit-pic {
    float: none;
    width: 70%;
    margin: 0 auto;
  }
  .uoyoshi-mark {
    width: auto;
    height: 180px;
    position: absolute;
    top: -32px;
    left: 100px;
    padding-top: 48px;
    transform: rotate(-10deg);
  }

  .commit-area .commit-box { margin-bottom: 100px; }
  
}
@media screen and (max-width: 768px) {

  .commit-area .commit-pic { width: 90%; }
  
  .uoyoshi-mark {
    width: auto;
    height: 120PX;
    position: absolute;
    top: 100px;
    left: 100px;
    padding-top: 48px;
    transform: rotate(-10deg);
  }
  
}
@media screen and (max-width: 480px) {
  
  #main-header h2 { margin-bottom: 100px; }
  
  .main-desc {
    padding: 12px;
    margin-bottom: 80px;
    background: none;
  }
  .main-desc h3 {
    font-size: 24px;
    margin-bottom: 40px;
  }
  .main-desc p { font-size: 12px; }
  .commit-main h4 {
    float: none;
    margin-bottom: 40px;
    margin-left: 0;
    font-size: 32px;
  }
  
  .commit-area .commit-title {
    font-size: 21px;
  }
  
}




.sougyou-wrap {
  width: 1280px;
  margin: 0 auto;
/*  border-bottom: 1px solid #ede600;*/
  background: url("../commitment/images/sougyou-bg.png") no-repeat left bottom;
  background-size: contain;
  position: relative;
  left: 38px;
}
.sougyou-area {
  position: relative;
  overflow: hidden;
  margin-right: 132px;
  margin-left: 80px;
}
.sougyou-area h4 {
  float: right;
  margin-left: 32px;
  margin-right: 16px;
}
.sougyou-area h4 img {
  width: auto;
  height: 360px;
}
.sougyou-area p {
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  
  color: #CFCFCF;
  font-size: 28px;
  text-align: left;
  line-height: 1.8;
  letter-spacing: .13em;
  
  width: 320px;
  margin: 24px auto;
  padding-right: 32px;
  float: right;
}




@media screen and (max-width: 1024px) {
  
  .sougyou-wrap {
    width: 100%;
    margin: 0 auto;
  /*  border-bottom: 1px solid #ede600;*/
    background: url("../commitment/images/sougyou-bg.png") no-repeat left bottom;
    background-size: contain;
    position: relative;
    left: 38px;
  }
  .sougyou-area h4 {
    float: right;
    margin-left: 16px;
    margin-right: 16px;
  }
  .sougyou-area {
    position: relative;
    overflow: hidden;
    margin-right: 40px;
  }
  .sougyou-area p { padding-right: 16px; }
  
}
@media screen and (max-width: 768px) {
  
  .sougyou-wrap {
    width: 100%;
    margin: 0 auto;
  /*  border-bottom: 1px solid #ede600;*/
    background: url("../commitment/images/sougyou-bg.png") no-repeat left bottom;
    background-size: contain;
    left: 38px;
  }
  .sougyou-area h4 {
    float: right;
    margin-left: 16px;
    margin-right: 16px;
  }
  .sougyou-area {
    position: relative;
    overflow: hidden;
    margin-right: 40px;
  }
  .sougyou-area p {
    padding-right: 16px;
    font-size: 14px;
    padding-bottom: 120px;
    padding-top: 40px;
  }
  
}
@media screen and (max-width: 480px) {
  
  .sougyou-wrap {
    background: none;
    left: 0;
    width: 98%;
  }
  .sougyou-area {
    margin-left: 12px;
    margin-right: 12px;
  }
  .sougyou-area h4 {
    float: right;
    margin: 18px 8px 0 8px;
    width: 20%;
  }
  .sougyou-area p {
    float: left;
    border-right: 1px solid #ede600;
    line-height: 30px;
    height: 480px;
    width: 62%;
    font-size: 18px;
    padding-bottom: 40px;
    padding-right: 32px;
  }
  
}


