@charset "UTF-8";

/* ファーストビュー */
.fv {
  background-image: url(../img/top/img_fv.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 120px 0;
}
.fv .title {
  font-size: 65px;
  line-height: 1.3;
  color: #fff;
  filter: drop-shadow(2px 2px 1px rgba(0, 0, 0, .5));
}
.fv .title span {
  color: var(--color6);
}
.fv .sub {
  font-size: 38px;
  color: #fff;
  filter: drop-shadow(2px 2px 1px rgba(0, 0, 0, .5));
  margin-top: 5rem;
}
.fv .sub span {
  color: var(--color6);
}
.fv .list {
  gap: 20px;
  margin-top: 6rem;
}
.fv .item {
  width: 100%;
  max-width: 250px;
  filter: drop-shadow(2px 2px 1px rgba(0, 0, 0, .5));
  box-sizing: border-box;
}
.fv .item a {
  border-radius: 50vh;
  background-color: #fff;
  padding: 10px;
  display: block;
  transition: all .3s;
  position: relative;
}
.fv .item a:hover {
  background-color: var(--color6);
}
.fv .item a i {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transition: all .3s;
}
.fv .item a:hover i {
  right: 15px;
}
@media screen and (max-width:960px) {
  .fv .title {
    font-size: 50px;
  }
  .fv .sub {
    font-size: 30px;
  }
  .fv .item a {
    padding: 15px 10px;
  }
}
@media screen and (max-width:768px) {
  .fv .title {
    font-size: 40px;
  }
  .fv .sub {
    font-size: 25px;
  }
  .fv .list {
    flex-wrap: wrap;
    gap: 15px;
  }
  .fv .item {
    max-width: none;
  }
}
@media screen and (max-width:480px) {
  .fv .title {
    font-size: 30px;
  }
  .fv .sub {
    font-size: 20px;
    line-height: 1.6;
    margin-top: 3rem;
  }
}

/* こんな悩みありませんか */
.problems .flex_inn {
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.problems .pict {
  width: 35%;
  box-sizing: border-box;
}
.problems .box {
  width: 60%;
  box-sizing: border-box;
}
.problems .list {
  flex-wrap: wrap;
  gap: 15px;
}
.problems .item {
  width: 100%;
  font-size: 18px;
  text-align: justify;
  box-sizing: border-box;
}
.problems .item i {
  margin-right: .5em;
}
.problems .item span {
  color: var(--color2);
}
.problems .comment {
  line-height: 1.75;
  text-align: justify;
  color: #fff;
  border-radius: 2rem 0 2rem 0;
  background-color: var(--color2);
  padding: 10px 15px;
  margin-top: 30px;
}
.problems .subtitle {
  font-size: 35px;
}
.problems .subtitle span {
  color: var(--color5);
}
@media screen and (max-width:768px) {
  .problems .pict,
  .problems .box {
    width: 100%;
  }
  .problems .pict {
    text-align: center;
    padding: 0 20%;
    margin-bottom: 20px;
  }
  .problems .item {
    font-size: 16px;
  }
  .problems .comment {
    font-size: 14px;
  }
  .problems .subtitle {
    font-size: 25px;
  }
}

/* 私たちの強み */
.specializes {
  background-color: var(--color4);
}
.specializes .flex_inn {
  gap: 60px;
}
.specializes .box {
  width: calc((100% - 120px)/3);
  box-sizing: border-box;
  position: relative;
}
.specializes .box .pict {
  border-radius: 2rem 0 2rem 0;
  margin-bottom: 20px;
  overflow: hidden;
}
.specializes .box .title {
  font-size: 18px;
}
.specializes .box .title::after {
  content: "";
  width: 30px;
  height: 1px;
  background-color: var(--color1);
  margin: 15px auto;
  display: block;
}
.specializes .box .title span {
  color: var(--color5);
}
.specializes .box .txt {
  text-align: justify;
  line-height: 1.75;
}
.specializes .comment {
  color: var(--color2);
  text-decoration: underline;
  margin: 30px 0;
}
.specializes .childbox {
  border-radius: 2rem 0 2rem 0;
  background-color: #fff;
  padding: 20px;
}
.specializes .child_title {
  font-size: 20px;
  color: var(--color5);
  margin-bottom: 10px;
}
.specializes .child_txt {
  text-align: center;
  line-height: 1.75;
}
@media screen and (max-width:960px) {
  .specializes .flex_inn {
    flex-wrap: wrap;
  }
  .specializes .box {
    width: 100%;
  }
  .specializes .box:nth-child(1)::after,
  .specializes .box:nth-child(2)::after {
    content: "";
    width: 100%;
    height: 1px;
    background-color: var(--hr-color);
    position: absolute;
    bottom: -30px;
    left: 0;
  }
}
@media screen and (max-width:768px) {
  .specializes .box .txt {
    font-size: 14px;
  }
  .specializes .comment {
    font-size: 14px;
    text-align: justify;
    line-height: 1.75;
    padding-left:1em;
		text-indent:-1em;
  }
  .specializes .child_title {
    font-size: 16px;
  }
  .specializes .child_txt {
    font-size: 14px;
    text-align: justify;
  }
}
@media screen and (min-width:961px) {
  .specializes .box:nth-child(1)::after,
  .specializes .box:nth-child(2)::after {
    content: "";
    width: 1px;
    height: 100%;
    background-color: var(--hr-color);
    position: absolute;
    top: 0;
    right: -30px;
  }
}

/* その他サービス */
.service .list {
  flex-wrap: wrap;
  gap: 60px;
}
.service .item {
  width: 100%;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}
.service .item .pict {
  width: 42%;
  box-sizing: border-box;
}
.service .item .box {
  width: 55%;
  box-sizing: border-box;
}
.service .item .title {
  font-size: 25px;
  margin-bottom: .5em;
}
.service .item .title span {
  color: var(--color5);
}
.service .item .sub {
  font-size: 18px;
  margin-bottom: 1em;
}
.service .item .sub span {
  padding: 10px 15px;
  display: inline-block;
  position: relative;
}
.service .item .sub span::before,
.service .item .sub span::after {
  content: "";
  width: 15px;
  height: 20px;
  position: absolute;
  display: inline-block;
}
.service .item .sub span::before {
  border-left: solid 2px var(--color1);
  border-top: solid 2px var(--color1);
  top: 0;
  left: 0;
}
.service .item .sub span::after {
  border-right: solid 2px var(--color1);
  border-bottom: solid 2px var(--color1);
  bottom: 0;
  right: 0;
}
.service .item .txt {
  text-align: justify;
  line-height: 1.75;
}
@media screen and (max-width:768px) {
  .service .item {
    flex-wrap: wrap;
    gap: 20px;
  }
  .service .item .pict,
  .service .item .box {
    width: 100%;
  }
  .service .item .title {
    font-size: 20px;
    text-align: center;
  }
  .service .item .sub {
    font-size: 16px;
    text-align: center;
  }
  .service .item .sub span {
    padding: 10px 30px;
  }
  .service .item .txt {
    font-size: 14px;
  }
}

/* M&Aの流れ */
.flow .section {
  padding-bottom: 0;
}
.flow .pictbox {
  max-width: 800px;
  margin: 0 auto;
}

/* 会社概要 */
.company .table {
  width: 100%;
  max-width: 800px;
  border-top: solid 1px var(--color1);
  margin: 0 auto;
  box-sizing: border-box;
}
.company .table tr td {
  vertical-align: middle;
  border-bottom: solid 1px var(--color1);
  padding: 15px 20px;
}
.company .table tr td.left {
  white-space: nowrap;
  border-right: solid 1px var(--color1);
}
@media screen and (max-width:768px) {
  .company .table tr td {
    font-size: 14px;
    padding: 10px;
  }
  .company .table tr td span {
    display: block;
  }
}
@media screen and (min-width:769px) {
  .company .table tr td span {
    margin-right: .5em;
  }
}