:root {
  --main-width: 800px;
  --common-color: #96712c;
}

html,
body {
  height: 100%;
}

.wrapper {
  width: 100%;
  position: relative;
}

.wrapper::before,
.wrapper::after {
  content: "";
  display: inline-block;
  position: fixed;
  height: 100%;
  width: 5%;
  top: 0;
  z-index: -2;
}

.wrapper::before {
  left: 0;
  background: url("./side_l.png") center left / cover no-repeat;
}

.wrapper::after {
  right: 0;
  background: url("./side_r.png") center right / cover no-repeat;
}

.wrapper__bottom {
  background: url(./bottom.png) center / cover no-repeat;
  display: block;
  margin-top: -35vw;
  position: relative;
  width: 100vw;
  z-index: -1;
}

.header {
  width: 100%;
}

.header .header__ttl {
  font-size: 18px;
  background: #333;
}

.header .header__ttl span {
  color: #fff;
  display: block;
  font-size: 22px;
  font-weight: bold;
  padding: .5em 0;
  margin: auto;
  max-width: var(--main-width);
}

.content {
  max-width: var(--main-width);
  margin: auto;
  background: #fff;
}

.content__heading {
  margin: 1em 0 3em;
}

.content__heading--ttl {
  font-weight: 900;
  font-size: 44px;
}

.content__heading--ttl span {
  font-weight: 400;
}

.content__heading--txt {
  color: var(--common-color);
  font-size: 18px;
  padding-top: 16px;
  font-weight: bolder;
  line-height: 1.8;
}

.content__body {
  max-width: 100%;
  background: #fff;
}

.content__body--lead {
  background: url(./sub.png) center / cover no-repeat;
  color: #fff;
  padding: .5em 0;
  text-align: center;
}

.content__body--txt {
  font-size: 18px;
  line-height: 1.8;
  margin: 2em auto;
  text-indent: 1em;
}

.content__body--txt:last-of-type {
  margin-bottom: 0;
}

.content__body--float--items:first-of-type {
  float: left;
  max-width: 50%;
  margin-right: 3em;
}

.content__body--float--items .figure {
  background: url(./photo_back.png) center / cover no-repeat;
  padding: 2em 0 1em;
  margin: auto;
}

.content__body--float--items .figure img,
.content__body--float--items .figure p {
  max-width: 80%;
  margin: auto;
}

.content__body--float--items .figure p {
  color: #fff;
  text-align: center;
  padding-top: .5em;
}

.content__body--float--items .figure p span {
  font-size: 24px;
  margin-right: .25em;
}

.content__body--footer {
  position: relative;
}

.content__body--footer::before,
.content__body--footer::after{
  content:"";
  position: absolute;
  top: 0;
  bottom: 0;
  background: #fff;
  z-index: 0;
  width: 150px;
}

.content__body--footer::before{
  right: 100%;
}

.content__body--footer::after{
  left: 100%;
}

.content__body--footer hr {
  border: 1px solid #000;
  margin: 5em auto 0;
  max-width: var(--main-width);
}

.content__body--footer .logo img {
  margin: 3em auto 2em;
  max-width: 300px;
}

.content__body--footer .address {
  font-size: 18px;
  text-align: center;
}

.content__body--footer .link {
  color: var(--common-color);
  font-size: 18px;
  display: block;
  text-align: center;
  margin: 1.5em auto 0;
  text-decoration: underline;
  padding-bottom: 2em;
}

.content__body--footer .logo img:hover,
.content__body--footer .link:hover {
  opacity: 0.8;
  transition: all .5s;
}

.caption p {
  margin-bottom: 2em;
}

.footer {
  background: #fff;
}

/* ――――― media query ――――― */

@media screen and (min-width: 1700px) {
  .wrapper__bottom {
    margin-top: -27.5vw;
  }
}

@media screen and (max-width: 1300px) {
  .content__body--footer::before,
  .content__body--footer::after {
    display: none;
  }

  .content__body--footer {
    background: #fff;
    width: 90vw;
    margin-left:  calc(50% - 45vw);
    margin-right: calc(50% - 45vw);
  }
}

@media screen and (max-width: 1024px) {
  .content__heading {
    margin-top: 0;
  }

  .header .header__ttl span {
    margin: 0 10%;
  }

  .content__heading--ttl,
  .content__heading--txt {
    margin: 0 5%;
  }

  .content__body--lead {
    margin: 48px 5%;
  }

  .content__body--txt {
    margin: 24px 5%;
  }

  .content__heading--ttl {
    font-size: 35px;
    padding-top: 24px;
  }

  .content__heading--txt {
    font-size: 18px;
  }

  .content__body--float--items:first-of-type {
    margin-left: 5%;
  }

  .content__body--footer hr {
    max-width: 90%;
  }

  .caption {
    max-width: 90%;
    margin: auto;
  }
}

@media screen and (max-width: 970.9px) {
  .content {
    width: 90%;
  }

}

@media screen and (max-width: 767.9px) {
  .wrapper::before, .wrapper::after {
    width: 3%;
  }

  .wrapper__bottom {
    display: none;
  }

  .content {
    width: 95%;
  }

  .header .header__ttl span {
    margin: 0 7%;
  }

    .content__body--float--items .figure p {
    font-size: 14px;
  }

  .content__body--float--items .figure p span {
    font-size: 20px;
  }

}

@media screen and (max-width: 574.9px) {

  .header img {
    object-fit: cover;
    object-position: left;
    min-height: 60px;
  }

  .content__heading--ttl {
    font-size: 28px;
  }

  .content__body--lead {
    font-size: 20px;
    padding: .5em;
  }

  .content__body--float--items:first-of-type {
    float: none;
    margin: auto;
    max-width: 70%;
  }

  .content__body--footer .logo img {
    width: 80%;
    height: auto;
  }

  .content__body--footer .address {
    padding: 0 .5em 1em;
  }

  .content__body--footer .link {
    padding: 0 .5em 2em;
  }

}