@media screen and (min-width: 0px) {
  /* about
  **************************************************************************************************************************/
  main.about-index .lead {
    padding: 30px 15px;
  }

  main.about-index .lead p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 1.2em;
  }

  main.about-index .lead p:last-of-type {
    margin-bottom: 0;
  }

  main.about-index .page {
    margin-bottom: 3em;
  }

  main.about-index .page .txt p.descript {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 1.5em;
  }

  main.about-index .page-a {
    background: #F7F5EC;
    margin-right: 30px;
    padding: 30px;
  }

  main.about-index .page-a .img {
    margin-bottom: 15px;
  }

  main.about-index .page-a .img img {
    width: calc(100% + 60px);
  }

  main.about-index .page-b {
    background: #F7F5EC;
    margin-left: 30px;
    padding: 30px;
  }

  main.about-index .page-b .img {
    margin-bottom: 15px;
  }

  main.about-index .page-b .img img {
    width: calc(100% + 60px);
  }

  main.about-index .page-c {
    background: #F7F5EC;
    margin-right: 30px;
    padding: 30px;
  }

  main.about-index .page-c .img {
    margin-bottom: 15px;
  }

  main.about-index .page-c .img img {
    width: calc(100% + 60px);
  }

  /* detail
  **************************************************************************************************************************/
  main.about-detail .lead {
    padding: 30px 15px;
    margin-bottom: 3em;
  }

  main.about-detail .lead p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 1.2em;
  }

  main.about-detail .lead p:last-of-type {
    margin-bottom: 0;
  }

  main.about-detail .has-img {
    margin-top: 1em;
  }

  main.about-detail .has-img .img {
    text-align: center;
    margin-bottom: 2em;
  }

  main.about-detail .has-img .img img {
    max-width: 100%;
  }

  main.about-detail .has-img .img figcaption {
    font-size: 12px;
    margin-top: 1em;
  }

  main.about-detail .pagebody .block {
    margin-bottom: 3em;
  }

  main.about-detail .pagebody .imgtxt .img img {
    width: 100%;
  }
  main.about-detail .pagebody .imgtxt .img .caption {
    display: block;
    margin-top: 1em;
    font-size: 12px;
    text-align: center;
  }
  main.about-detail .pagebody .imgtxt .txt {
    padding: 15px;
  }
  main.about-detail .pagebody .imgtxt .txt p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 1.2em;
  }

  main.about-detail .pagelink .pages {
    display: flex;
    flex-wrap: wrap;
  }
  main.about-detail .pagelink .page {
    width: 49%;
    margin: 0 2% 5% 0;
  }
  main.about-detail .pagelink .page .img {
    margin-bottom: 0.6em;
  }
  main.about-detail .pagelink .page .img img {
    width: 100%;
    height: auto;
  }
  main.about-detail .pagelink .page .txt dt {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 0.5em;
  }
  main.about-detail .pagelink .page .txt dd {
    font-size: 12px;
    line-height: 1.6;
  }
  main.about-detail .pagelink .page:nth-of-type(2n) {
    margin-right: 0;
  }

  main.about-detail .steps .step {
    margin-bottom: 5em;
  }
  main.about-detail .steps .step-heading {
    margin-bottom: 60px;
  }
  main.about-detail .steps .step-heading .img {
    position: relative;
  }
  main.about-detail .steps .step-heading .img::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: #F7F5EC;
    position: absolute;
    bottom: -30px;
    left: 60px;
    z-index: -1;
  }
  main.about-detail .steps .step-heading .img img {
    width: 100vw;
    margin-left: -15px;
  }
  main.about-detail .steps .step-heading .txt {
    position: absolute;
    width: 100%;
    height: 100%;
    margin-top: 25px;
    padding: 0;
  }
  main.about-detail .steps .step-heading .txt h2 {
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    color: #D8C78A;
    font-family: 'Noto Serif JP';
    font-size: 30px;
    font-weight: normal;
    letter-spacing: 0.6em;
    position: absolute;
  }
  main.about-detail .steps .step-body {
    padding-left: 65px;
    overflow: hidden;
  }
  main.about-detail .steps .step-body .imgtxt {
    margin-bottom: 3em;
  }
  main.about-detail .steps .step-body .txt {
    padding: 0;
  }
  main.about-detail .steps .step-body .txt p {
    font-size: 14px;
    line-height: 2;
    margin-bottom: 1.2em;
  }
  main.about-detail .steps .step-body .img img {
    width: 100%;
    height: auto;
  }
}
@media screen and (min-width: 768px) {
  /* about
  **************************************************************************************************************************/
  main.about-index .lead {
    padding: 70px 0px 140px 0;
    position: relative;
  }

  main.about-index .lead::after {
    content: '';
    display: block;
    width: 50vw;
    height: 300%;
    position: absolute;
    top: 10vw;
    right: 0;
    background: #F7F5EC;
    z-index: -1;
  }

  main.about-index .lead p {
    font-size: 18px;
    line-height: 2;
    margin-bottom: 2em;
  }

  main.about-index .lead p:last-of-type {
    margin-bottom: 0;
  }

  main.about-index .pages {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
  }

  main.about-index .page {
    margin-bottom: 3em;
    position: relative;
  }

  main.about-index .page .imgtxt {
    position: relative;
  }

  main.about-index .page .ttl {
    position: relative;
    z-index: 2;
  }

  main.about-index .page .txt p.descript {
    font-size: 16px;
    line-height: 2.2;
    margin-bottom: 1.5em;
  }

  main.about-index .page-a {
    background: none;
    margin-right: 0px;
    padding: 0px;
    margin-bottom: 28vw;
  }

  main.about-index .page-a .img {
    margin-bottom: 0;
    position: absolute;
    width: 100%;
    right: -25vw;
    top: -2vw;
    z-index: -1;
  }

  main.about-index .page-a .img img {
    width: 100%;
  }

  main.about-index .page-a .txt {
    width: 80%;
  }

  main.about-index .page-b {
    background: none;
    margin-left: 0px;
    padding: 0px;
    margin-bottom: 10em;
  }

  main.about-index .page-b .ttl {
    padding-top: 190px;
  }

  main.about-index .page-b .img {
    margin-bottom: 0px;
    position: absolute;
    top: 0;
    left: -100px;
    width: 70vw;
    max-width: 750px;
  }

  main.about-index .page-b .img img {
    width: 100%;
  }

  main.about-index .page-b .txt {
    width: 100%;
    padding-top: 170px;
  }

  main.about-index .page-c {
    background: none;
    margin-right: 30px;
    padding: 30px;
  }

  main.about-index .page-c .ttl {
    padding-top: 12vw;
  }

  main.about-index .page-c .img {
    margin-bottom: 0px;
    position: absolute;
    top: 0;
    right: -120px;
    width: 70vw;
    max-width: 750px;
  }

  main.about-index .page-c .img img {
    width: 100%;
  }

  main.about-index .page-c .txt {
    width: 100%;
    padding-top: 170px;
  }

  /* detail
  **************************************************************************************************************************/
  main.about-detail {
    padding-bottom: 3em;
  }

  main.about-detail .lead {
    padding: 50px 0px;
    margin: 0 auto 3em auto;
    max-width: 980px;
  }

  main.about-detail .lead p {
    font-size: 18px;
    line-height: 2;
    margin-bottom: 2em;
  }

  main.about-detail .lead p:last-of-type {
    margin-bottom: 0;
  }

  main.about-detail .has-img .img {
    margin-bottom: 0;
  }

  main.about-detail .has-img.img-l {
    display: flex;
  }

  main.about-detail .has-img.img-l .img {
    width: 40%;
  }

  main.about-detail .has-img.img-l .img img {
    width: 100%;
    height: auto;
  }

  main.about-detail .has-img.img-l .txt {
    width: 60%;
    padding-left: 2em;
  }

  main.about-detail .has-img .img figcaption {
    font-size: 12px;
    margin-top: 1em;
  }

  main.about-detail .pagebody {
    margin: 0 auto;
    max-width: 980px;
  }

  main.about-detail .pagebody .block {
    margin-bottom: 5em;
  }

  main.about-detail .pagebody .imgtxt .img {
    margin-bottom: 1.5em;
  }
  main.about-detail .pagebody .imgtxt .txt {
    padding: 0;
    columns: 2;
  }
  main.about-detail .pagebody .imgtxt .txt p {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 1.2em;
  }

  main.about-detail .pagelink .pages {
    display: flex;
    flex-wrap: wrap;
  }
  main.about-detail .pagelink .page {
    width: 49%;
    margin: 0 2% 5% 0;
  }
  main.about-detail .pagelink .page .img {
    margin-bottom: 1em;
  }
  main.about-detail .pagelink .page .txt dt {
    font-size: 16px;
  }
  main.about-detail .pagelink .page .txt dd {
    font-size: 14px;
  }

  main.about-detail .steps {
    margin-top: 8em;
  }
  main.about-detail .steps .step {
    margin-bottom: 5em;
  }
  main.about-detail .steps .step-heading {
    margin-bottom: 60px;
  }
  main.about-detail .steps .step-heading .imgtxt {
    display: flex;
  }
  main.about-detail .steps .step-heading .img {
    width: 80vw;
    order: 2;
  }
  main.about-detail .steps .step-heading .img::after {
    display: none;
  }
  main.about-detail .steps .step-heading .img img {
    width: 130%;
    margin-left: 0;
  }
  main.about-detail .steps .step-heading .txt {
    position: relative;
    width: 30vw;
    margin-top: 0;
    padding: 0;
    order: 1;
    columns: 1;
  }
  main.about-detail .steps .step-heading .txt::after {
    content: '';
    display: block;
    width: 50vw;
    height: 130%;
    background: #F7F5EC;
    z-index: -1;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: -25vw;
  }
  main.about-detail .steps .step-heading .txt h2 {
    font-size: 46px;
    position: static;
    margin: 0 auto;
    margin-top: 15px;
  }
  main.about-detail .steps .step-body {
    padding-left: 65px;
    overflow: hidden;
  }
  main.about-detail .steps .step-body .imgtxt {
    margin-bottom: 3em;
    display: flex;
    justify-content: space-between;
  }
  main.about-detail .steps .step-body .txt {
    padding: 0;
    columns: 1;
    width: 48%;
  }
  main.about-detail .steps .step-body .txt p {
    font-size: 16px;
  }
  main.about-detail .steps .step-body .img {
    width: 48%;
  }
  main.about-detail .steps .step-body .imgtxt:nth-of-type(even) .img {
    order: 1;
  }
  main.about-detail .steps .step-body .imgtxt:nth-of-type(even) .txt {
    order: 2;
  }
  main.about-detail .steps .step-body .imgtxt:nth-of-type(odd) .img {
    order: 2;
  }
  main.about-detail .steps .step-body .imgtxt:nth-of-type(odd) .txt {
    order: 1;
  }
  main.about-detail .steps .step:nth-of-type(2) .step-body .txt,
  main.about-detail .steps .step:nth-of-type(3) .step-body .txt {
    width: 100%;
  }
}
