@charset "UTF-8";
* {
  margin: 0px;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-family: "Avenir", "Helvetica Neue", "Helvetica", "Arial", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "游ゴシック", "Yu Gothic", "ＭＳ Ｐゴシック", sans-serif;
  background: #fff;
  color: #333333;
  line-height: 1.6;
  font-size: 1.6rem;
}
@media screen and (max-width: 750px) {
  body {
    font-size: 1.4rem;
  }
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: #0000ee;
  text-decoration: none;
  transition: color 0.3s ease-in-out 0s;
}
a:hover {
  text-decoration: none;
}

@media screen and (max-width: 749px) {
  .sp_none {
    display: none !important;
  }
}
@media screen and (min-width: 750px) {
  .pc_none {
    display: none !important;
  }
}
header {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}
header .logo {
  width: 130px;
  padding: 0.2em 0.6em;
}
@media screen and (max-width: 750px) {
  header .logo {
    width: 100px;
  }
}

section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.about {
  position: relative;
  background: #e10000;
  padding: 80px 0;
  z-index: 1;
}
.about::before {
  content: "";
  position: absolute;
  width: 30%;
  aspect-ratio: 480/271;
  background: url(../img/about_bg1.png) 0/contain no-repeat;
  bottom: 0;
  left: 0;
}
.about::after {
  content: "";
  position: absolute;
  width: 32%;
  aspect-ratio: 482/161;
  background: url(../img/about_bg2.png) 0/contain no-repeat;
  bottom: 0;
  right: 0;
  z-index: -1;
}
.about .box {
  position: relative;
  width: 80%;
  background: rgba(225, 0, 0, 0.7);
  border: 1px solid #fff;
  margin: auto;
  padding: 40px;
}
.about .box .head {
  position: absolute;
  background: #e10000;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 2em;
  font-weight: 900;
  letter-spacing: 2px;
  padding-right: 0.4em;
  top: -28px;
  left: -10px;
}
.about .box .main_txt p {
  line-height: 2;
  color: #fff;
  text-align: center;
  margin: 0 0 1em;
}
@media screen and (max-width: 750px) {
  .about {
    padding: 40px 0;
  }
  .about::before {
    width: 49%;
  }
  .about::after {
    width: 43%;
  }
  .about .box {
    width: 90%;
    padding: 25px 14px 0;
  }
  .about .box .head {
    font-size: 1.7em;
    top: -22px;
  }
  .about .box .main_txt p {
    text-align: left;
  }
}

.service, .company {
  padding: 40px 0;
}
.service .title, .company .title {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  margin-bottom: 40px;
}
.service .title img, .company .title img {
  width: 70%;
  height: 230px;
  object-fit: cover;
}
.service .title h2, .company .title h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 30%;
  background: #e10000;
  color: #fff;
  font-size: 1.4em;
  font-weight: normal;
  text-align: center;
}
.service .title h2 span, .company .title h2 span {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.6em;
  font-weight: 900;
  letter-spacing: 2px;
}
@media screen and (max-width: 750px) {
  .service .title, .company .title {
    display: block;
  }
  .service .title img, .company .title img {
    width: 100%;
    height: 130px;
  }
  .service .title h2, .company .title h2 {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(225, 0, 0, 0.4);
  }
}

.content {
  position: relative;
  width: 80%;
  border: 2px solid #e10000;
  margin: 0 auto 60px;
  padding: 40px 20px 20px;
}
.content .head {
  position: absolute;
  color: #e10000;
  background: #fff;
  font-size: 1.6em;
  font-weight: bold;
  padding: 0 0.6em;
  top: -20px;
  left: 50%;
  white-space: nowrap;
  transform: translateX(-50%);
}
.content .main_txt {
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}
.content .sub_txt {
  text-align: center;
  margin-bottom: 20px;
}
.content .content_box {
  background: #faf5fb;
  border-radius: 10px;
  margin-bottom: 30px;
  padding: 10px 25px;
}
.content .content_box .txt {
  text-align: center;
  margin-bottom: 10px;
}
.content .content_box .block_wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.content .content_box .block_wrap p {
  width: 48%;
  background: #e10000;
  clip-path: polygon(6% 0%, 100% 0%, 94% 100%, 0% 100%);
  color: #fff;
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 20px;
  padding: 16px 0;
}
@media screen and (max-width: 750px) {
  .content {
    width: 94%;
    margin-bottom: 40px;
    padding: 20px 15px 0;
  }
  .content .head {
    font-size: 1.3em;
    top: -15px;
  }
  .content .main_txt, .content .sub_txt {
    text-align: left;
  }
  .content .content_box {
    padding: 10px;
  }
  .content .content_box .txt {
    text-align: left;
  }
  .content .content_box .block_wrap {
    flex-direction: column;
  }
  .content .content_box .block_wrap p {
    width: 100%;
    font-size: 1em;
    padding: 10px 0;
  }
}

.content .content_box .main_title {
  color: #e10000;
  font-size: 1.4em;
  font-weight: bold;
  text-align: center;
  margin-left: 20px;
}
.content .content_box .logo_wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 90%;
  margin: 0 auto 14px;
}
.content .content_box .logo_wrap img {
  width: auto;
  height: clamp(20px, 3.8vw, 46px);
  margin: 10px 8px;
}
.content .content_box .logo_wrap.card {
  width: 60%;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
}
.content .content_box .logo_wrap.card img {
  height: auto;
}
.content .content_box .logo_wrap.corner {
  width: 60%;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}
.content .content_box .logo_wrap.corner img {
  height: auto;
  max-height: 40px;
}
@media screen and (max-width: 750px) {
  .content .content_box .logo_wrap {
    justify-content: flex-start;
    margin-bottom: 0;
  }
  .content .content_box .logo_wrap img {
    height: 20px;
  }
  .content .content_box .logo_wrap.card {
    width: auto;
    flex-wrap: wrap;
  }
  .content .content_box .logo_wrap.card img {
    max-height: 25px;
  }
  .content .content_box .logo_wrap.corner {
    width: auto;
    flex-wrap: wrap;
  }
  .content .content_box .logo_wrap.corner img {
    max-height: 25px;
  }
}

.content .content_box .circle_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  --size: clamp(120px, 16vw, 200px);
  --gap: clamp(40px, 8vw, 120px);
  --bar: calc(var(--size) * 0.32);
  --th: max(2px, calc(var(--size) * 0.01));
  gap: var(--gap);
  width: 94%;
  margin: 1em auto 0;
}
.content .content_box .circle_wrap p {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 var(--size);
  width: var(--size);
  height: var(--size);
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: #e10000;
  color: #fff;
  font-size: clamp(1.2rem, var(--size) * 0.3, 3rem);
  line-height: 1.4;
}
.content .content_box .circle_wrap p:not(:last-of-type)::before, .content .content_box .circle_wrap p:not(:last-of-type)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + var(--gap) / 2);
  transform: translate(-50%, -50%);
  background: #e10000;
}
.content .content_box .circle_wrap p:not(:last-of-type)::before {
  width: var(--bar);
  height: var(--th);
}
.content .content_box .circle_wrap p:not(:last-of-type)::after {
  width: var(--th);
  height: var(--bar);
}
@media screen and (max-width: 750px) {
  .content .content_box .circle_wrap {
    flex-direction: column;
    gap: 60px;
    --gap: 60px;
  }
  .content .content_box .circle_wrap p {
    width: 120px;
    height: 120px;
    font-size: 1.8em;
  }
  .content .content_box .circle_wrap p:not(:last-of-type)::before, .content .content_box .circle_wrap p:not(:last-of-type)::after {
    left: 50%;
    top: calc(100% + var(--gap) / 2);
    transform: translate(-50%, -50%);
  }
  .content .content_box .circle_wrap p:not(:last-of-type)::before {
    width: 2px;
    height: 40px;
  }
  .content .content_box .circle_wrap p:not(:last-of-type)::after {
    width: 40px;
    height: 2px;
  }
}

.company table {
  width: 90%;
  border-collapse: collapse;
  border-spacing: 0;
  margin: auto;
}
.company table th, .company table td {
  border-top: 2px solid #e10000;
  border-bottom: 2px solid #e10000;
  padding: 0.6em 1em;
}
.company table th {
  color: #e10000;
  text-align: left;
  white-space: nowrap;
}

footer {
  background: #000;
}
footer .foot_wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
}
footer .txt {
  border-top: 1px solid #fff;
  margin-top: 10px;
  padding-top: 10px;
}
footer .txt p {
  color: #fff;
  margin-bottom: 0.4em;
}
@media screen and (max-width: 750px) {
  footer .foot_wrap {
    padding: 10px;
  }
  footer .foot_wrap img {
    max-width: 100px;
  }
}