@charset "UTF-8";

.pcOnly {
  display: block;
}
.spOnly {
  display: none;
}
@media only screen and (max-width: 767px) {
  .pcOnly {
    display: none;
  }
  .spOnly {
    display: block;
  }
}



/* wrap
-----------------------------------------------*/
#wrap {
  background-color: #f8f5f1;
}



/* main
-----------------------------------------------*/
main {
  padding: 0;
}
@media only screen and (max-width: 1080px)  {
  main {
    padding: 0 40px;
  }
}
@media only screen and (max-width: 767px) {
  main {
    padding: 0 20px;
  }
}



/* breadcrumb
-----------------------------------------------*/
#breadcrumb {
  padding: 0 40px;
}
@media only screen and (max-width: 767px) {
  #breadcrumb {
    padding: 0;
  }
}



/* main-ttl
-----------------------------------------------*/
.main-ttl {
  max-width: 1160px;
  margin: 90px auto 0;
  padding: 0 40px;
}
@media only screen and (max-width: 767px) {
  .main-ttl {
    margin: 40px 0 0;
    padding: 0;
  }
}



/* contents
-----------------------------------------------*/
#contents {
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-bottom: 160px;
}
@media only screen and (max-width: 767px) {
  #contents {
    gap: 30px;
    margin-bottom: 80px;
  }
}



/* ttl
-----------------------------------------------*/
.ttl {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}
.ttl h2 {
  font-size: 40px;
  font-weight: 400;
  text-align: center;
  line-height: 1.8;
}
@media only screen and (max-width: 767px) {
  .ttl {
    margin: 0;
    padding: 0;
  }
  .ttl h2 {
    font-size: 24px;
  }
}



/* section
-----------------------------------------------*/
section {
  display: flex;
  flex-direction: column;
  gap: 120px;
}
section .box {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 80px;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding-left: 40px;
}
section .box.reverse {
  justify-content: flex-start;
  padding-left: 0;
  padding-right: 40px;
}
section .box .img-box {
  max-width: 800px;
}
section .box .txt-box {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: 600px;
}
section .box .txt-box p {
  font-size: 16px;
  line-height: 2.6;
}
section .box .txt-box p.name {
  font-size: 14px;
  text-align: right;
  line-height: 1.5;
}
section .box .txt-box p.name strong {
  margin-top: 7px;
  display: block;
  font-size: 24px;
}
@media only screen and (max-width: 1080px) {
  section .box {
    flex-direction: column-reverse;
    gap: 20px;
    margin: 0;
    padding: 0;
  }
  section .box.reverse {
    flex-direction: column;
    margin: 0;
    padding: 0;
  }
  section .box .img-box {
    width: 100%;
    max-width: none;
    height: 300px;
  }
  section .box .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  section .box:nth-child(2) .img-box img {
    object-position: center top;
  }
  section .box .txt-box {
    gap: 40px;
    max-width: none;
  }
}
@media only screen and (max-width: 767px) {
  section {
    gap: 60px;
  }
  section .box .img-box {
    height: 140px;
  }
  section .box .txt-box p {
    font-size: 14px;
  }
  section .box .txt-box p.name {
    font-size: 12px;
  }
  section .box .txt-box p.name strong {
    font-size: 18px;
  }
}