/**
* index
*/

/**
* main image
*/
.section-main-image {
  padding-bottom: 16px;
  background-color: var(--color-white);
  img {
    max-width: 100%;
  }
}

/**
* 企業理念
*/
.section-corporate-philosophy {
  margin-bottom: 110px;
  padding-top: 64px;
  @media screen and (min-width:769px) {
    margin-bottom: 110px;
    padding-top: 108px;
  }
  .philosophy {
    margin-bottom: 56px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    line-height: 1.9;
  }
  .rrcc {
    padding: 24px 24px;
    font-size: 20px;
    font-weight: bold;
    color: var(--color-orange);
    background-color: var(--color-white);
    border-radius: 32px;
    @media screen and (min-width:769px) {
      padding: 40px 72px;
    }
    dl {
      display: flex;
      flex-flow: row;
      justify-content: flex-start;
      align-items: baseline;
    }
    dt {
      margin-right: 16px;
      font-size: 34px;
      font-weight: 900;
    }
    dd {

    }
  }
}

/**
* セブンイレブン
*/
.section-seven-eleven {
  margin-bottom: 80px;
  h2 {
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 8px;
  }
  .contents-wrap {
    position: relative;
  }
  figcaption {
    position: relative;
    display: inline-block;
    padding-top: 64px;
    padding-bottom: 64px;
    font-size: 18px;
    line-height: 2.0;
    z-index: 10;
    @media screen and (max-width:961px) {
      margin-bottom: 16px;
    }
    &::before {
      content: '';
      display: block;
      position: absolute;
      top: 0;
      left: -20px;
      width: calc(100vw - 20px);
      height: 100%;
      background-color: var(--color-white);
      border-radius: 0 30px 30px 0;
      z-index: 0;
      @media screen and (min-width:961px) {
        left: calc(50% - 50vw);
        width: 82vw;
      }
    }
    .note {
      position: relative;
      width: 100%;
      z-index: 10;
      @media screen and (max-width:960px) {
        padding-right: 20px;
      }
      @media screen and (min-width:961px) {
        max-width: 720px;
      }
    }
  }
  figure {
    margin: 0 auto;
    line-height: 1.0;
    z-index: 50;
    @media screen and (min-width:961px) {
      position: absolute;
      bottom: 12%;
      right: 0;
    }
    img {
      width: 100%;
      height: auto;
      @media screen and (min-width:961px) {
        max-width: 502px;
      }
    }
  }
}

/**
* アサヒヒルズ
*/
.section-asahi-hills {
  margin-bottom: 80px;
  @media screen and (min-width:769px) {
    margin-bottom: 140px;
  }
  h2 {
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 8px;
    @media screen and (min-width:769px) {
      text-align: right;
    }
  }
  .contents-wrap {
    position: relative;
  }
  figcaption {
    display: block;
    padding-top: 64px;
    padding-bottom: 64px;
    width: 100%;
    font-size: 18px;
    line-height: 2.0;
    z-index: 10;
    @media screen and (max-width:960px) {
      position: relative;
      margin-bottom: 16px;
    }
    @media screen and (min-width:961px) {
      display: inline-block;
    }
    &::before {
      content: '';
      display: block;
      position: absolute;
      top: 0;
      left: auto;
      right: calc(50% - 50vw);
      width: calc(100vw - 20px);
      height: 100%;
      background-color: var(--color-white);
      border-radius: 30px 0 0 30px;
      z-index: 0;
      @media screen and (min-width:961px) {
        width: 72vw;
      }
    }
    .note {
      position: relative;
      max-width: 720px;
      z-index: 10;
      @media screen and (max-width:960px) {
        padding-left: 20px;
      }
      @media screen and (min-width:961px) {
        float: right;
      }
      .note-inner {
        @media screen and (min-width:961px) {
          float: right;
        }
      }
    }
  }
  figure {
    margin: 0 auto;
    width: auto;
    line-height: 1.0;
    z-index: 50;
    @media screen and (max-width:960px) {
      width: calc(100vw - 40px);
    }
    @media screen and (min-width:961px) {
      position: absolute;
      bottom: -21%;
      left: 0;
    }
    img {
      width: 100%;
      height: auto;
      @media screen and (min-width:961px) {
        max-width: 502px;
      }
    }
  }
}

