/*
*   main
*/

/* 事業内容 */
.main_heading {
  font-size: 4.5rem;
  font-weight: bold;
  line-height: 8rem;
  margin: 7.9rem 0;
  text-align: center;
}
.content_wrap {
  overflow: hidden;
  padding: 0 5rem 4rem;
}
.content_box {
  display: flex;
  justify-content: center;
}

.content_box:not(:last-of-type) {
  margin-bottom: 10rem;
}

.text_right {
  padding-left: 2.4rem;
  width: 65.6rem;
}
.text_left {
  padding-right: 2.4rem;
  width: 65.6rem;
}

.content_heading {
  color: #044591;
  border-bottom: 0.1rem solid #333333;
  display: block;
  font-size: 3.5rem;
  font-weight: bold;
  padding-bottom: 1.8rem;
}

.heading_left {
  text-align: end;
}

.content_text {
  font-size: 2rem;
  letter-spacing: -0.05rem;
  line-height: 4rem;
  padding-top: 2rem;
}

.content_img {
  border-radius: 2rem;
  height: 40rem;
  width: 50rem;
}

.sp_only {
  display: none;
}
@media screen and (max-width: 680px) {
  .main_heading {
    font-size: 2.5rem;
    line-height: 4rem;
    margin: 2.6rem 0 10rem;
  }
  .content_wrap {
    padding: 0 1.5rem 3.5rem;
  }
  .content_box {
    flex-flow: column;
    justify-content: center;
  }

  .content_box:not(:last-of-type) {
    margin-bottom: 10rem;
  }

  .text_right {
    padding-left: 0;
    width: 100%;
  }
  .text_left {
    padding-right: 0;
    width: 100%;
  }

  .content_heading {
    font-size: 2.5rem;
    padding: 1.9rem 0 1rem;
  }

  .heading_left {
    text-align: start;
  }

  .content_text {
    font-size: 1.8rem;
    letter-spacing: 0rem;
    line-height: 3rem;
    padding-top: 1rem;
  }

  .content_img {
    height: 32.8rem;
    width: 34.5rem;
    order: -1;
  }

  .sp_only {
    display: block;
  }
}

/* 会社概要 */

body {
  font-family: "Noto Sans JP", "メイリオ", Meiryo, serif;
}

.philosophy_container {
  margin-top: 5rem;
}

.philosophy_title {
  color: #044591;
  font-size: 4rem;
  font-weight: Bold;
  margin: 0 auto;
  width: 16rem;
}

.philosophy_text {
  font-size: 7rem;
  font-weight: Bold;
  margin: 0 auto;
  padding-top: 6.1rem;
  width: 77rem;
}

.philosophy_description {
  font-size: 3rem;
  margin: 0 auto;
  padding-top: 6.1rem;
  text-align: center;
  width: 118rem;
}

.overview_container {
  margin: 0 auto;
  padding-top: 6.1rem;
  width: 85rem;
}

.overview_title {
  color: #044591;
  font-size: 4rem;
  font-weight: Bold;
  margin: 0 auto;
  width: 16rem;
}

.overview_table {
  border-collapse: separate;
  border-spacing: 0.3rem;
  font-size: 3rem;
  height: 21.6rem;
  margin: 5.1rem auto 13rem auto;
  width: 85rem;
}

.overview_table th {
  background: #044591;
  color: #fff;
  height: 7rem;
  text-align: center;
  vertical-align: middle;
  width: 21.2rem;
}

.overview_table td {
  background: #e6faff;
  color: #333;
  padding-left: 2.5rem;
  vertical-align: middle;
}

.sp_only {
  display: none;
}

@media screen and (max-width: 37.5rem) {
  .philosophy_container {
    margin-top: 4.4rem;
  }

  .philosophy_title {
    font-size: 2rem;
    width: 8rem;
  }

  .philosophy_text {
    font-size: 3rem;
    padding-top: 2rem;
    text-align: center;
    width: 34.5rem;
  }

  .philosophy_description {
    font-size: 1.8rem;
    line-height: 3rem;
    padding-top: 2rem;
    text-align: left;
    width: 34.5rem;
    word-break: break-all;
  }

  .overview_title {
    font-size: 2rem;
    width: 8rem;
  }

  .philosophy_description br {
    display: none;
  }

  .overview_container {
    margin: 2rem auto 7.5rem auto;
    padding-top: 0;
    width: auto;
  }

  .overview_table {
    border-spacing: 0.2rem;
    font-size: 2rem;
    height: auto;
    margin: 0 auto;
    padding-top: 2rem;
    text-align: center;
    vertical-align: middle;
    width: 34.5rem;
  }

  .overview_table th {
    display: block;
    height: 4rem;
    margin: 0 auto;
    padding: 0.6rem 0 0.5rem 0;
    width: 34.5rem;
  }

  .overview_table td {
    display: block;
    padding: 0.6rem 0 0.5rem 0;
    width: 34.5rem;
    word-break: break-word;
  }

  .overview_table td :nth-child(2) {
    height: 7rem;
  }

  .sp_only {
    display: inline-block;
  }
}

/* topページ */
/* 以下PC版 */
/* 最初に表示されてフェードアウトされる画面の下地 */
.front_start {
  background-color: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999990;
}
/* ロゴとテキストを纏めて配置 */
.front_start div {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56.6rem;
  height: 29.8rem;
}
/* ロゴ部分 */
.front_start div .front_logo {
  display: none;
  z-index: 99999999;
  width: 39.3rem;
  height: 22.5rem;
}
/* テキスト部分 */
.front_start div .front_text {
  display: none;
  z-index: 99999999;
  width: 56.6rem;
  height: 4.5rem;
}
/* スライドショー箇所 */
.main_visual .swiper {
  width: 100%;
  margin-top: 10rem;
  position: relative;
}
/* スライドショー画像設定 */
.main_visual .swiper .swiper-slide .front_img {
  display: block;
  background-image: unset;
  width: 100%;
  height: 57.3rem;
}
/* スライドショー上のキャッチコピー */
.main_visual h2 {
  position: absolute;
  top: 16.8rem;
  left: 5rem;
  z-index: 999;
  width: 48.8rem;
  font-family: "Noto Sans JP", "メイリオ", Meiryo, serif;
  font-weight: bold;
  font-size: 5rem;
  color: #f37c77;
  text-shadow: 0.3rem 0.3rem 0.3rem #ffffff80;
  letter-spacing: 0.89rem;
}
/* スライドショーの一枚目用のキャッチコピーアニメーション設定 */
.base_shadow {
  color: #f37c77;
  text-shadow: 0.3rem 0.3rem 0.3rem #ffffff80;
}
.remove_shadow {
  color: #f37c77;
  text-shadow: 0.3rem 0.3rem 0.3rem #ffffff80;
  animation: remove_shadow 1s linear forwards;
}
@keyframes remove_shadow {
  from {
    color: #ffffff;
    text-shadow: 0.3rem 0.3rem 0.3rem #333333;
  }
  to {
    color: #f37c77;
    text-shadow: 0.3rem 0.3rem 0.3rem #ffffff80;
  }
}
/* スライドショーの一枚目以外のキャッチコピーアニメーション設定 */
.add_shadow {
  color: #ffffff;
  text-shadow: 0.3rem 0.3rem 0.3rem #ffffff80;
  animation: add_shadow 1s linear forwards;
}
@keyframes add_shadow {
  from {
    color: #f37c77;
    text-shadow: 0.3rem 0.3rem 0.3rem #ffffff80;
  }
  to {
    color: #ffffff;
    text-shadow: 0.3rem 0.3rem 0.3rem #333333;
  }
}
/* AOSではみ出る部分を隠す */
.front_wrapper {
  overflow: hidden;
}
/* セクション共通設定 */
.front_wrapper .front_box {
  display: flex;
  flex-wrap: nowrap;
}
/* セクション画像 */
.front_wrapper .front_box img {
  width: 50rem;
  height: 40rem;
}
/* セクション見出し */
.front_wrapper .front_box div h3 {
  width: 66.8rem;
  color: #044591;
  font-family: "Noto Sans JP", "メイリオ", Meiryo, serif;
  font-weight: bold;
  font-size: 7rem;
  margin: 3rem 0 2rem 0;
  padding: 0 0 1rem 0;
  border-bottom: solid 0.1rem #333333;
}
/* セクション見出し日本語箇所 */
.front_wrapper .front_box div h3::after {
  font-size: 3rem;
  font-weight: normal;
  color: #333333;
}
/* セクションリンク箇所 */
.front_wrapper .front_box div a p {
  width: 30rem;
  height: 5rem;
  font-family: "Noto Sans JP", "メイリオ", Meiryo, serif;
  font-size: 2rem;
  color: #333333;
  display: flex;
  align-items: center;
  padding: 0 0 0 8rem;
  border: solid 0.1rem #333333;
  border-radius: 1rem;
}
/* リンク内▶矢印箇所 */
.front_wrapper .front_box a p::after {
  content: "▶";
  color: #333333;
  font-size: 1.85rem;
  margin-left: 5.35rem;
}
.front_wrapper .front_box div a p:hover {
  background-color: #044591;
  color: #ffffff;
}
.front_wrapper .front_box a p:hover::after {
  color: #ffffff;
}
/* 会社概要個別設定 */
.front_wrapper .front_company {
  margin: 10.5rem 5rem 0 5rem;
}
.front_wrapper .front_company div h3 {
  padding-left: 4.5rem;
}
.front_wrapper .front_company div h3::after {
  content: "［会社概要］";
}
.front_wrapper .front_company div a p {
  margin-left: 2.4rem;
}
/* 事業内容個別設定 */
.front_wrapper .front_service {
  margin: 9.2rem 5rem 19.8rem 5rem;
  flex-direction: row-reverse;
}
.front_wrapper .front_service div h3 {
  padding-left: 21.5rem;
  padding-right: 1rem;
}
.front_wrapper .front_service div h3::after {
  content: "［事業内容］";
}
.front_wrapper .front_service div a p {
  margin-left: 34.8rem;
  margin-right: 0.8rem;
}
/* 以下SP版 */
@media screen and (max-width: 699.98px) {
  /* ロゴとテキストを纏めて配置 */
  .front_start div {
    width: 24.5rem;
    height: 13.9rem;
  }
  /* ロゴ部分 */
  .front_start div .front_logo {
    width: 17rem;
    height: 9.6rem;
  }
  /* テキスト部分 */
  .front_start div .front_text {
    width: 24.5rem;
    height: 2.9rem;
    object-fit: contain;
  }
  /* トップページ */
  /* .main_visual {
    margin: 7.5rem 0 0 0;
  } */
  /* スライドショー箇所 */
  .main_visual .swiper {
    margin-top: 7.5rem;
  }
  /* SPスライドショー画像設定 一枚目*/
  .main_visual .swiper .swiper-slide .front_slide01 {
    background-image: url("../img/mainvisual01_sp.png");
    background-size: cover;
    width: 100%;
    height: 50rem;
    background-repeat: no-repeat;
  }
  /* SPスライドショー画像設定 二枚目*/
  .main_visual .swiper .swiper-slide .front_slide02 {
    background-image: url("../img/mainvisual02_sp.png");
    background-size: cover;
    width: 100%;
    height: 50rem;
    background-repeat: no-repeat;
  }
  /* SPスライドショー画像設定 三枚目*/
  .main_visual .swiper .swiper-slide .front_slide03 {
    background-image: url("../img/mainvisual03_sp.png");
    background-size: cover;
    width: 100%;
    height: 50rem;
    background-repeat: no-repeat;
  }
  /* SPスライドショー画像設定 四枚目*/
  .main_visual .swiper .swiper-slide .front_slide04 {
    background-image: url("../img/mainvisual04_sp.png");
    background-size: cover;
    width: 100%;
    height: 50rem;
    background-repeat: no-repeat;
  }
  /* SPスライドショー画像設定 五枚目*/
  .main_visual .swiper .swiper-slide .front_slide05 {
    background-image: url("../img/mainvisual05_sp.png");
    background-size: cover;
    width: 100%;
    height: 50rem;
    background-repeat: no-repeat;
  }
  /* PC版スライダー非表示 */
  .main_visual .swiper .swiper-slide .front_img {
    display: none;
  }
  /* スライドショー上のキャッチコピー */
  .main_visual h2 {
    top: 20.8rem;
    left: 4.7rem;
    width: 28.2rem;
    font-size: 2.9rem;
    text-align: center;
    letter-spacing: 0.5rem;
    color: #f37c77;
    text-shadow: 0.3rem 0.3rem 0.3rem #ffffff80;
    transition: all 1s;
  }
  /* スライドショーの一枚目用のキャッチコピーアニメーション設定 */
  @keyframes remove_shadow {
    from {
      color: #ffffff;
      text-shadow: 0.3rem 0.3rem 0.3rem #333333;
    }
    to {
      color: #f37c77;
      text-shadow: 0.3rem 0.3rem 0.3rem #ffffff80;
    }
  }
  /* スライドショーの一枚目以外のキャッチコピーアニメーション設定 */
  @keyframes add_shadow {
    from {
      color: #f37c77;
      text-shadow: 0.3rem 0.3rem 0.3rem #ffffff80;
    }
    to {
      color: #ffffff;
      text-shadow: 0.3rem 0.3rem 0.3rem #333333;
    }
  }
  .front_wrapper .front_box {
    flex-wrap: wrap;
  }
  /* セクション画像 */
  .front_wrapper .front_box img {
    width: 34.5rem;
    height: 32.8rem;
    object-fit: cover;
    border-radius: 2rem;
  }
  /* セクション見出し */
  .front_wrapper .front_box div h3 {
    font-size: 4rem;
    margin-top: 4rem;
    padding-bottom: 1.8rem;
  }
  /* セクション見出し日本語箇所 */
  .front_wrapper .front_box div h3::after {
    font-size: 2rem;
  }
  /* セクションリンク箇所 */
  .front_wrapper .front_box div a p {
    width: 34.5rem;
    padding: 0 0 0 10.3rem;
  }
  /* リンク内▶矢印箇所 */
  .front_wrapper .front_box a p::after {
    font-size: 1.8rem;
    margin-left: 7.5rem;
  }
  /* 会社概要個別設定 */
  .front_wrapper .front_company {
    margin: 10.5rem 1.5rem 0 1.5rem;
  }
  /* 会社概要見出し */
  .front_wrapper .front_company div h3 {
    padding-left: 1rem;
    width: 34.5rem;
  }
  /* 会社概要見出し日本語箇所 */
  .front_wrapper .front_company div a p {
    margin-left: 0;
  }
  /* 事業内容個別設定 */
  .front_wrapper .front_service {
    margin: 10rem 1.5rem 19.7rem 1.5rem;
    flex-direction: unset;
  }
  /* 事業内容見出し */
  .front_wrapper .front_service div h3 {
    padding-left: 0;
    width: 34.5rem;
  }
  /* 事業内容見出し日本語箇所 */
  .front_wrapper .front_service div a p {
    margin-left: 0;
  }
}

/* お問い合わせ */
/* お問い合わせ */
.contact_visual {
  margin-top: 10rem;
}
.contact_visual img {
  position: relative;
  width: 100%;
  height: 30rem;
}
.contact_visual h2 {
  position: absolute;
  top: 9.1rem;
  left: 5rem;
  font-family: "Noto Sans JP", "メイリオ", Meiryo, serif;
  font-size: 5rem;
  font-weight: bold;
  color: #ffffff;
}
.contact_visual h2::after {
  position: absolute;
  top: 7rem;
  left: 0rem;
  content: "[Contact]";
  font-size: 3rem;
  font-weight: 500;
}
@media screen and (max-width: 699.98px) {
  .contact_visual {
    margin-top: 7rem;
  }
  .contact_visual img {
    height: 15rem;
  }
  .contact_visual h2 {
    top: 3.8rem;
    left: 1.5rem;
    font-size: 3rem;
  }
  .contact_visual h2::after {
    top: 4rem;
    left: 0rem;
    font-size: 2rem;
    font-weight: 400;
  }
}
.contact_wrapper h3 {
  font-family: "Noto Sans JP", "メイリオ", Meiryo, serif;
  font-weight: 400;
  font-size: 3rem;
  color: #333333;
}
.contact_wrapper .contact_submit {
  width: 107.3rem;
  height: 5.5rem;
  border: solid 0.1rem #707070;
  background-color: #ffffff;
  border-radius: 1rem;
  display: block;
  margin: 4rem auto 12.6rem auto;
  font-size: 3rem;
  font-family: "Noto Sans JP", "メイリオ", Meiryo, serif;
  color: #333333;
}
.contact_wrapper .contact_submit:hover {
  background-color: #044591;
  color: #ffffff;
}
@media screen and (max-width: 699.98px) {
  .contact_wrapper h3 {
    font-size: 2.5rem;
  }
  .contact_wrapper .contact_submit {
    width: 34.5rem;
    height: 5.5rem;
    margin: 2rem auto 7.4rem auto;
    font-size: 2rem;
  }
}
.contact_wrapper .contact_form {
  width: 107.3rem;
  margin: 3.3rem auto 0 auto;
}
.contact_wrapper .contact_form h3 {
  margin: 0 0 2.2rem 0;
}
.contact_wrapper .contact_form .contact_input {
  width: 107.3rem;
}
@media screen and (max-width: 699.98px) {
  .contact_wrapper .contact_form {
    width: 34.5rem;
    margin: 3.6rem auto 0 auto;
  }
  .contact_wrapper .contact_form .contact_input {
    width: 34.5rem;
  }
}
.contact_wrapper .contact_form .contact_input th {
  border-bottom: 0.1rem solid #ffffff;
  width: 27.3rem;
  min-height: 8rem;
  font-family: "Noto Sans JP", "メイリオ", Meiryo, serif;
  font-size: 3rem;
  color: #ffffff;
  background-color: #044591;
  margin-bottom: 0.2rem;
  text-align: center;
  vertical-align: top;
  padding: 1.8rem 0;
}
.contact_wrapper .contact_form .contact_input th:last-of-type {
  border-bottom: 0.1rem solid #ffffff;
  min-height: 20rem;
  margin-bottom: unset;
}
.contact_wrapper .contact_form .contact_input td {
  border-bottom: 0.1rem solid #ffffff;
  width: 80rem;
  min-height: 8rem;
  background-color: #e6faff;
  margin-bottom: 0.2rem;
  vertical-align: top;
}
.contact_wrapper .contact_form .contact_input td:last-of-type {
  border-bottom: 0.1rem solid #ffffff;
  min-height: 20rem;
  margin-bottom: unset;
}
@media screen and (max-width: 699.98px) {
  .contact_wrapper .contact_form .contact_input,
  .contact_wrapper .contact_form .contact_input tr,
  .contact_wrapper .contact_form .contact_input th,
  .contact_wrapper .contact_form .contact_input td {
    display: block;
  }
  .contact_wrapper .contact_form .contact_input th {
    border-bottom: 0.1rem solid #ffffff;
    width: 34.5rem;
    min-height: 3.5rem;
    font-size: 2rem;
    padding: 0.3rem 0;
  }
  .contact_wrapper .contact_form .contact_input th:last-of-type {
    border-bottom: 0.1rem solid #ffffff;
    width: 34.5rem;
    min-height: 3.5rem;
    font-size: 2rem;
    padding: 0.3rem 0;
  }
  .contact_wrapper .contact_form .contact_input td {
    border-bottom: 0.1rem solid #ffffff;
    width: 34.5rem;
    min-height: 4rem;
  }
  .contact_wrapper .contact_form .contact_input td:last-of-type {
    border-bottom: 0.1rem solid #ffffff;
    width: 34.5rem;
    min-height: auto;
  }
}
.contact_wrapper .contact_form .contact_input td .input_normal {
  width: 78rem;
  height: 6rem;
  margin: 1rem;
  border-radius: 0.5rem;
  font-family: "Noto Sans JP", "メイリオ", Meiryo, serif;
  font-size: 3rem;
}
.contact_wrapper .contact_form .contact_input td .input_long {
  width: 78rem;
  height: 18rem;
  margin: 1rem;
  border-radius: 0.5rem;
  font-family: "Noto Sans JP", "メイリオ", Meiryo, serif;
  font-size: 3rem;
}
.contact_wrapper .contact_privacy {
  width: 107.3rem;
  margin: 8.1rem auto 0 auto;
}
.contact_wrapper .wpcf7-not-valid-tip{
  font-size: 1.6rem;
  padding: 0.5rem 1rem 1rem 1rem;
}
@media screen and (max-width: 699.98px) {
  .contact_wrapper .contact_form .contact_input td .input_normal {
    width: 33.5rem;
    height: 3rem;
    margin: 0.5rem;
    font-size: 2rem;
  }
  .contact_wrapper .contact_form .contact_input td .input_long {
    width: 33.5rem;
    height: 29rem;
    margin: 0.5rem;
    font-size: 2rem;
  }
  .contact_wrapper .contact_privacy {
    width: 34.5rem;
    margin: 1.9rem auto 0 auto;
  }
  .contact_wrapper .wpcf7-not-valid-tip{
    font-size: 1.4rem;
    padding: 0.5rem 1rem 1rem 1rem;
  }
}
.contact_wrapper .contact_privacy .scroll_box {
  width: 107.3rem;
  height: 18.9rem;
  border: solid 0.1rem #707070;
  overflow-y: scroll;
  margin: 1rem 0 0 0;
  padding: 1rem;
}
.contact_wrapper .contact_privacy .scroll_box h6 {
  font-family: "Noto Sans JP", "メイリオ", Meiryo, serif;
  font-size: 2rem;
  font-weight: bold;
  color: #333333;
}
.contact_wrapper .contact_privacy .privacy_checkbox {
  display: block;
  text-align: end;
  margin: 2rem 0 0 0;
  font-family: "Noto Sans JP", "メイリオ", Meiryo, serif;
  font-size: 1.5rem;
}
@media screen and (max-width: 699.98px) {
  .contact_wrapper .contact_privacy .scroll_box {
    width: 34.5rem;
    height: 19rem;
  }
  .contact_wrapper .contact_privacy .scroll_box h6 {
    font-family: "Noto Sans JP", "メイリオ", Meiryo, serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333333;
  }
  .contact_wrapper .contact_privacy .scroll_box p {
    font-family: "Noto Sans JP", "メイリオ", Meiryo, serif;
    font-size: 1.5rem;
    color: #333333;
  }
  .contact_wrapper .contact_privacy .privacy_checkbox {
    margin: 1rem 0 0 0;
    font-family: "Noto Sans JP", "メイリオ", Meiryo, serif;
    font-size: 1.5rem;
  }
}
