:root {
  --color-01: #96c72c;
  --leading-trim: calc((1em - 1lh) / 2);
}

@media screen and (max-width: 768px) {
  :root {
    --max: 100%;
    --gap: calc(20 / 16 * 1em);
  }
}

@media screen and (min-width: 769px) {
  :root {
    --max: 1200px;
    --gap: calc(30 / 16 * 1em);
  }
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: "Hiragino Maru Gothic W4 JIS2004", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

@media screen and (min-width: 769px) {
  .w860-md {
    inline-size: min(860 / 1200 * 100vw, 860px);
    margin-inline: auto;
  }
}

/* main contents
-------------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  main {
    font-size: clamp(13.6533px, calc(13.6533px + (32.768 - 13.6533) * ((100vw - 320px) / (768 - 320))), 32.768px);
  }
}

@media screen and (min-width: 769px) {
  main {
    font-size: clamp(10px, calc(10px + (16 - 10) * ((100vw - 769px) / (1200 - 769))), 16px);
  }
}

/* common
-------------------------------------------------------------------------------- */
.sec-inner {
  inline-size: min(100% - var(--gap) * 2, var(--max));
  margin-inline: auto;
}

.m-heading {
  font-size: calc(var(--m-header_fz) / 16 * 1em);
  text-align: center;
}

@media screen and (max-width: 768px) {
  .sec-inner {
    padding-block: max(48 / 16 * 1em, 40.96px);
  }

  .m-heading {
    --m-header_fz: 22;
    margin-block-end: 1em;
    line-height: 1.4;
  }
}

@media screen and (min-width: 769px) {
  .sec-inner {
    padding-block: min(80 / 16 * 1em, 80px) min(60 / 16 * 1em, 60px);
  }

  .m-heading {
    --m-header_fz: 48;
    margin-block-end: calc(60 / var(--m-header_fz) * 1em);
  }
}

/* float image */
.m-float-image-box {
  font-size: var(--m-float-image-box_font-size, 1em);
}
.m-float-image-box ._image {
  inline-size: 50%;
  margin-block-end: 1em;
}
.m-float-image-box ._image.\--right {
  float: right;
  margin-inline-start: var(--m-float-image-box_margin, 2em);
}
.m-float-image-box ._image.\--left {
  float: left;
  margin-inline-end: var(--m-float-image-box_margin, 2em);
}
.m-float-image-box ._text {
  margin-block-start: 1em;
  text-align: justify;
  line-height: 1.8;
}

@media screen and (max-width: 768px) {
  .m-float-image-box {
    --m-float-image-box_font-size: .875em;
    --m-float-image-box_margin: 1em;
  }

  .m-float-image-box ._text {
    line-height: 1.6;
  }
}





/* main contents [summary]
-------------------------------------------------------------------------------- */
.summary .logo {
  display: block;
  margin-inline: auto;
  margin-block-end: 1em;
}

.summary strong {
  color: #c92c2c;
}

@media screen and (max-width: 768px) {
  .summary .logo {
    inline-size: calc(200 / 16 * 1em);
  }

  .summary .text {
    text-align: justify;
  }
}

@media screen and (min-width: 769px) {
  .summary .logo {
    inline-size: calc(300 / 16 * 1em);
  }

  .summary .text {
    display: grid;
    justify-content: center;
    line-height: 1.8;
    font-size: calc(20 / 16 * 1em);
  }
}





/* main contents [section 5]
-------------------------------------------------------------------------------- */
.sec07 {
  background-color: #f8f3ee;
}

.sec07 .wrapper {
  display: grid;
}

.sec07 .image-box {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1em;
}

.sec07 .company {
  margin-block-end: 1em;
  line-height: 1;
  font-size: calc(24 / 16 * 1em);
}

@media screen and (max-width: 768px) {
  .sec07 .wrapper {
    row-gap: calc(var(--gap) * 2);
  }

  .sec07 .image-box {
    flex-direction: row-reverse;
  }

  .sec07 .body {
    flex: 1 1 calc(100% - (60 / 16 * 1em) - 1em);
  }

  .sec07 .image {
    flex: 1 1 calc(60 / 16 * 1em);
  }

  .sec07 .company {
    font-size: calc(18 / 16 * 1em);
  }

  .sec07 .text {
    font-size: calc(14 / 16 * 1em);
  }
}

@media screen and (min-width: 769px) {
  .sec07 .wrapper {
    row-gap: 1em;
  }

  .sec07 .image-box {
    column-gap: 1em;
  }

  .sec07 .body {
    flex: 1 1 calc(100% - (120 / 16 * 1em) - 1em);
  }

  .sec07 .image {
    flex: 1 1 calc(120 / 16 * 1em);
  }
}
