#main {
  padding-top: 65px;
  border-top: 1px solid #ddd;
}

#pagetitle h2, .h3set h3, .mediaset.img-small .title, .calloutset.col4 .title, .calloutset.col3 .title, .listlinkset a, .before-after .title, .before-after .block p, .service-linkset .title, .flowset .left, .flowset .title, .faqset .question, .miniSurveyView table.formBlockSurveyTable tr:last-child td input[type="submit"] {
  font-family: kozuka-gothic-pr6n, sans-serif;
  font-weight: 700;
  font-style: normal;
}

/* ----------------------------------------------
pagetitle
------------------------------------------------- */
#pagetitle {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 70px;
  padding-bottom: 25px;
}

#pagetitle::after {
  content: '';
  position: absolute;
  display: block;
  bottom: 0;
  left: 0;
  z-index: 0;
  width: calc(100% - 10px);
  max-width: 420px;
  height: 16px;
  border-radius: 0 8px 8px 0;
  background: #E21412;
}

#pagetitle h2 {
  padding: 0 10px;
  font-size: 32px;
  line-height: 1.2;
}

@media (max-width: 767px) {
  #pagetitle h2 {
    font-size: 24px;
  }
}

/* ----------------------------------------------
h3set
------------------------------------------------- */
.h3set {
  width: 100%;
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 60px;
}

.h3set h3 {
  color: #DF1311;
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.h3set.type-center {
  text-align: center;
}

.h3set.type-center h3 {
  display: inline-block;
  min-width: 336px;
  padding-bottom: 30px;
  background: url(../images/line.png) no-repeat center bottom;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 767px) {
  .h3set {
    background-size: contain;
  }
  .h3set h3 {
    font-size: 18px;
  }
  .h3set.type-center h3 {
    width: 100%;
    min-width: 0;
  }
}

/* ----------------------------------------------
txtset
------------------------------------------------- */
.txtset {
  width: 100%;
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 70px;
  line-height: 2;
}

/* ----------------------------------------------
fullimg
------------------------------------------------- */
.fullimg {
  width: 100%;
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 70px;
}

.fullimg img {
  width: 100%;
  height: auto;
}

/* ----------------------------------------------
tableset
------------------------------------------------- */
.tableset {
  width: 100%;
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 70px;
}

.tableset table {
  width: 100%;
  line-height: 2;
}

.tableset tr {
  border-top: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
}

.tableset th, .tableset td {
  padding: 12px 15px;
}

_:lang(x)::-ms-backdrop, .tableset th, .tableset td {
  padding: 13px 15px 11px;
}

.tableset th {
  font-weight: bold;
  background: #F6F6F6;
}

.tableset td {
  background: #fff;
}

.tableset thead td {
  background: #F6F6F6;
  text-align: center;
}

@media (max-width: 767px) {
  .tableset.type-normal th, .tableset.type-normal td {
    display: block;
  }
  .tableset.type-normal tr:not(:first-child) th,
  .tableset.type-normal td {
    border-top: 0;
  }
}

/* ----------------------------------------------
mediaset
------------------------------------------------- */
.mediaset {
  display: flex;
  width: 100%;
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 70px;
}

.mediaset.notLast {
  margin-bottom: 50px;
}

.mediaset:not(.img-small) .imgbox {
  width: 40%;
}

.mediaset:not(.img-small) .imgbox img {
  width: 100%;
  height: auto;
}

.mediaset:not(.img-small) .txtbox {
  flex: 1;
  letter-spacing: 0.06em;
}

.mediaset:not(.img-small) .text {
  line-height: 2;
}

.mediaset:not(.img-small).img-left .imgbox {
  margin-right: 1.8%;
}

.mediaset:not(.img-small).img-right .imgbox {
  order: 1;
  margin-left: 1.8%;
}

.mediaset.img-small .imgbox {
  width: 258px;
  margin-right: 16px;
}

.mediaset.img-small .imgbox img {
  width: 100%;
  height: auto;
}

.mediaset.img-small .txtbox {
  flex: 1;
  letter-spacing: 0.06em;
}

.mediaset.img-small .title {
  margin-bottom: 15px;
  font-size: 20px;
  line-height: 1.6;
}

.mediaset.img-small .text {
  line-height: 2;
}

@media (max-width: 767px) {
  .mediaset {
    flex-direction: column;
  }
  .mediaset:not(.img-small) .imgbox {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 20px;
  }
  .mediaset:not(.img-small) .title {
    margin-bottom: 15px;
    font-size: 20px;
  }
  .mediaset:not(.img-small).img-left .imgbox {
    margin-right: auto;
  }
  .mediaset:not(.img-small).img-right .imgbox {
    order: 0;
    margin-left: auto;
  }
  .mediaset.img-small .imgbox {
    width: 100%;
    max-width: 258px;
    margin: 0 auto 20px;
  }
}

/* ----------------------------------------------
calloutset
------------------------------------------------- */
.calloutset {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 70px;
}

.calloutset.notLast {
  margin-bottom: 70px;
}

.calloutset .image {
  margin-bottom: 20px;
}

.calloutset .image img {
  width: 100%;
  height: auto;
}

.calloutset .title {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.6;
}

.calloutset .text {
  line-height: 2;
}

.calloutset.col4 .block {
  width: 24%;
}

.calloutset.col4 .block:not(:nth-child(4n + 1)) {
  margin-left: 1.33333%;
}

.calloutset.col4 .block:nth-child(n + 5) {
  margin-top: 70px;
}

.calloutset.col4 .image {
  position: relative;
  width: 100%;
  padding-top: 75%;
}

.calloutset.col4 .image img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-family: "object-fit: cover;";
}

.calloutset.col4 .title {
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.calloutset.col3 .block {
  position: relative;
  width: 31.8%;
  padding-left: 10px;
}

.calloutset.col3 .block:not(:nth-child(3n + 1)) {
  margin-left: 2.3%;
}

.calloutset.col3 .block:nth-child(n + 4) {
  margin-top: 70px;
}

.calloutset.col3 .block a {
  display: block;
  color: #3E3E3E;
  font-weight: normal;
  text-decoration: none;
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -ms-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}

.calloutset.col3 .block a:hover {
  opacity: 0.6;
}

.calloutset.col3 .image {
  margin-bottom: 0;
}

.calloutset.col3 .title {
  position: absolute;
  left: 0;
  z-index: 1;
  transform: translateY(-50%);
  padding: 3px 15px 3px 36px;
  border-radius: 16px;
  background: url(../images/icon-arrow-white.png) no-repeat 10px 5px, #E21412;
  color: #fff;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

_:lang(x)::-ms-backdrop, .calloutset.col3 .title {
  padding: 15px 15px 0 36px;
  line-height: 1.2;
}

.calloutset.col3 .text {
  margin-top: 25px;
  line-height: 2;
  letter-spacing: 0.06em;
}

@media (max-width: 767px) {
  .calloutset.col4 {
    justify-content: space-between;
    max-width: 513.33333px;
    margin-left: auto;
    margin-right: auto;
  }
  .calloutset.col4 .block {
    width: 48.64865%;
  }
  .calloutset.col4 .block:not(:nth-child(4n + 1)) {
    margin-left: 0;
  }
  .calloutset.col4 .block:nth-child(n + 3) {
    margin-top: 70px;
  }
  .calloutset.col4 .title {
    font-size: 14px;
  }
  .calloutset.col3 {
    flex-direction: column;
    max-width: 338px;
    margin-left: auto;
    margin-right: auto;
  }
  .calloutset.col3 .block {
    width: 100%;
  }
  .calloutset.col3 .block:not(:nth-child(3n + 1)) {
    margin-left: 0;
  }
  .calloutset.col3 .block:nth-child(n + 2) {
    margin-top: 70px;
  }
}

/* ----------------------------------------------
listlinkset
------------------------------------------------- */
.listlinkset {
  width: 100%;
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 70px;
  overflow-x: hidden;
}

.listlinkset ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 0 -16px;
}

.listlinkset li {
  display: inline-block;
  margin: 0 0 20px 16px;
}

.listlinkset a {
  display: block;
  min-width: 140px;
  padding: 0 10px;
  border-radius: 18px;
  background: #E21412;
  color: #fff;
  font-size: 16px;
  line-height: 36px;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -ms-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}

.listlinkset a:hover {
  opacity: 0.6;
}

_:lang(x)::-ms-backdrop, .listlinkset a {
  padding-top: 16px;
  line-height: 20px;
}

@media (max-width: 767px) {
  .listlinkset ul {
    margin-left: -10px;
  }
  .listlinkset li {
    margin: 0 0 10px 10px;
  }
  .listlinkset a {
    min-width: 0;
    border-radius: 15px;
    font-size: 12px;
    line-height: 30px;
  }
}

/* ----------------------------------------------
before-after
------------------------------------------------- */
.before-after {
  width: calc(100% - 20px);
  max-width: 1000px;
  margin: 0 auto 70px;
  padding: 20px;
  background: #FFF7EE;
}

.before-after .title {
  margin-bottom: 20px;
  color: #df1311;
  font-size: 20px;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.before-after .images {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
}

.before-after .block {
  width: 48.42105%;
}

.before-after .block p {
  display: inline-block;
  margin-bottom: 10px;
  border-bottom: 6px solid #ddd;
  font-size: 20px;
  letter-spacing: 0.06em;
}

.before-after .block .image {
  position: relative;
  width: 100%;
  padding-top: 82.17391%;
}

.before-after .block .image a {
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -ms-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}

.before-after .block .image a:hover {
  opacity: 0.6;
}

.before-after .block .image img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-family: "object-fit: cover;";
}

.before-after .text {
  letter-spacing: 0.06em;
  line-height: 2;
}

@media (max-width: 767px) {
  .before-after {
    padding: 20px 10px;
  }
  .before-after .title {
    font-size: 18px;
  }
  .before-after .images p {
    font-size: 14px;
  }
}

/* ----------------------------------------------
service-linkset
------------------------------------------------- */
.service-linkset {
  width: 100%;
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
  display: flex;
  margin-bottom: 70px;
}

.service-linkset .block {
  width: 18%;
}

.service-linkset .block:not(:first-child) {
  margin-left: 2.5%;
}

.service-linkset .block a {
  display: block;
  color: #3E3E3E;
  text-decoration: none;
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -ms-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}

.service-linkset .block a:hover {
  opacity: 0.6;
}

.service-linkset .image {
  position: relative;
  width: 100%;
  margin-bottom: 15px;
  padding-top: 74.44444%;
}

.service-linkset .image img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-family: "object-fit: cover;";
}

.service-linkset .title {
  min-height: 23px;
  padding-left: 35px;
  background: url(../images/icon-arrow.jpg) no-repeat left top/26px;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

@media (max-width: 767px) {
  .service-linkset {
    flex-direction: column;
    max-width: 200px;
  }
  .service-linkset .block {
    width: 100%;
  }
  .service-linkset .block:not(:first-child) {
    margin-left: 0;
    margin-top: 30px;
  }
}

/* ----------------------------------------------
flowset
------------------------------------------------- */
.flowset {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 70px;
}

.flowset .left {
  width: 96px;
  margin-right: 4%;
  padding-right: 18px;
  border-right: 5px solid #E31311;
  color: #e31311;
  text-align: center;
}

.flowset .left .top {
  font-size: 20px;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.flowset .left .num {
  font-size: 40px;
  line-height: 1.2;
}

.flowset .right {
  flex: 1;
  display: flex;
}

.flowset .txtbox {
  flex: 1;
  padding-top: 5px;
}

.flowset .title {
  margin-bottom: 10px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  font-size: 20px;
}

.flowset .text {
  line-height: 2;
}

.flowset .imgbox {
  width: 180px;
  margin-left: 11.90476%;
}

@media (max-width: 767px) {
  .flowset .left {
    width: 50px;
    padding-right: 10px;
  }
  .flowset .left .top {
    font-size: 12px;
  }
  .flowset .left .num {
    font-size: 24px;
  }
  .flowset .right {
    flex-direction: column;
  }
  .flowset .txtbox {
    margin-bottom: 20px;
  }
  .flowset .title {
    font-size: 18px;
  }
  .flowset .imgbox {
    width: 100%;
    max-width: 180px;
    margin: 0 auto;
  }
}

/* ----------------------------------------------
faqset
------------------------------------------------- */
.faqset {
  width: calc(100% - 20px);
  max-width: 1000px;
  margin: 0 auto 70px;
  padding: 13px 20px 20px;
  background: #fff7ee;
}

.faqset.notLast {
  margin-bottom: 30px;
}

.faqset .question {
  margin-bottom: 20px;
  font-size: 20px;
  letter-spacing: 0.06em;
  line-height: 1.8;
}

.faqset .question::before {
  display: inline-block;
  margin-right: 30px;
  color: #e31311;
  font-size: 40px;
  line-height: 1;
  vertical-align: bottom;
  content: 'Q';
}

.faqset .answer {
  letter-spacing: 0.06em;
  line-height: 2;
}

@media (max-width: 767px) {
  .faqset {
    padding: 13px 10px 20px;
  }
  .faqset .question {
    font-size: 18px;
  }
  .faqset .question::before {
    margin-right: 10px;
    font-size: 32px;
  }
}

/* ----------------------------------------------
miniSurveyView
------------------------------------------------- */
.miniSurveyView {
  width: 100%;
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 70px;
}

.miniSurveyView table.formBlockSurveyTable {
  width: 100%;
  line-height: 2;
}

.miniSurveyView table.formBlockSurveyTable tr:not(:last-child) {
  border-top: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
}

.miniSurveyView table.formBlockSurveyTable tr:not(:last-child) td {
  padding: 12px 15px;
}

_:lang(x)::-ms-backdrop, .miniSurveyView table.formBlockSurveyTable tr:not(:last-child) td {
  padding: 13px 15px 11px;
}

.miniSurveyView table.formBlockSurveyTable tr:not(:last-child) td input[type="text"],
.miniSurveyView table.formBlockSurveyTable tr:not(:last-child) td input[type="tel"],
.miniSurveyView table.formBlockSurveyTable tr:not(:last-child) td input[type="email"],
.miniSurveyView table.formBlockSurveyTable tr:not(:last-child) td textarea {
  border: 1px solid #E4E4E4;
  padding: 5px;
  width: 100%;
}

.miniSurveyView table.formBlockSurveyTable tr:not(:last-child) td.question {
  background: #F6F6F6;
  font-weight: bold;
}

.miniSurveyView table.formBlockSurveyTable tr:not(:last-child) td:not(.question) {
  background: #fff;
}

.miniSurveyView table.formBlockSurveyTable tr:last-child td {
  padding-top: 20px;
  text-align: center;
}

.miniSurveyView table.formBlockSurveyTable tr:last-child td input[type="submit"] {
  width: 280px;
  margin: 0 auto;
  display: block;
  min-width: 140px;
  padding: 0 10px;
  border-radius: 18px;
  background: #E21412;
  color: #fff;
  font-size: 16px;
  line-height: 36px;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

_:lang(x)::-ms-backdrop, .miniSurveyView table.formBlockSurveyTable tr:last-child td input[type="submit"] {
  padding-top: 16px;
  line-height: 20px;
}

@media (max-width: 767px) {
  .miniSurveyView table.formBlockSurveyTable td {
    display: block;
  }
  .miniSurveyView table.formBlockSurveyTable tr:not(:last-child):not(:first-child) td.question,
  .miniSurveyView table.formBlockSurveyTable tr:not(:last-child) td:not(.question) {
    border-top: 0;
  }
  .miniSurveyView table.formBlockSurveyTable tr:last-child td:first-child {
    display: none;
  }
  .miniSurveyView table.formBlockSurveyTable tr:last-child td input[type="submit"] {
    width: 100%;
    max-width: 280px;
  }
}
