@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@100;200;300;400;500;600;700&family=Noto+Sans+JP:wght@100;300;400;500;700;900&display=swap");

* {
  margin: 0;
  padding: 0;
}

body {
  font-size: 62.5%;
  background-color: #8686ff;
}

#wrapper {
  width: 97%;
  margin: 1.5% auto 0;
  background-color: #fff;
  padding: 3.5% 0 12%;
}

header {
  padding-left: 12.5%;
}

.fv {
  display: block;
  width: 100%;
  margin: 3.5% 0 8%;
}

.inner {
  width: 75%;
  margin: 8% auto;
  position: relative;
}

h1 {
  padding: 13px 45px;
  color: #5c5cc3;
  border: 1px solid #5c5cc3;
  display: inline;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.7vw;
  font-weight: 500;
  letter-spacing: 0.1rem;
}

p {
  font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI",
    "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic Medium", "Yu Gothic",
    Verdana, Meiryo, sans-serif;
  font-weight: 300;
  color: #333;
  font-size: 1rem;
  line-height: 1.8;
}

.tri_01 {
  position: absolute;
  top: -13px;
  right: 0;
  width: 7vw;
  max-width: 100px;
}

h2 {
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  color: #333;
  font-size: 1.85vw;
  margin: 10% auto 8%;
  position: relative;
  letter-spacing: 0.2rem;
}

h2::before,
h2::after {
  content: "";
  width: 12%;
  height: 1px;
  position: absolute;
  top: calc(50% - 1px);
  background-color: #333;
}

h2::before {
  left: 18%;
}

h2::after {
  right: 18%;
}

h2>span {
  color: #5c5cc3;
}

.lead {
  letter-spacing: 0.1rem;
  font-size: 1.1rem;
  padding: 0 5%;
  line-height: 2;
}

.mid {
  display: none;
}

.content_main,
.content_sub {
  padding: 8%;
  position: relative;
  background-color: #fff;
  border: 2px solid #5c5cc3;
  box-shadow: 15px 15px 0 #ccccff;
}

.content_main {
  margin: 10% auto 7%;
}

.content_sub {
  margin: 8% auto 7%;
}

.tri_02 {
  position: absolute;
  top: 0;
  left: 0;
  width: 15%;
  max-width: 200px;
}

h3 {
  text-align: center;
  font-size: 1.3rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
}

.tri_02+h3 {
  color: #5c5cc3;
}

.main_flex,
.sub_flex,
.content_sub_flex {
  display: flex;
  justify-content: space-between;
}

.main_flex {
  align-items: center;
  margin: 7% auto 9%;
}

.main_flex>img {
  width: 40%;
}

.main_flex>div {
  width: 55%;
}

.main_flex>div>p:nth-child(2) {
  font-size: 0.9rem;
  display: block;
  margin: 3% auto;
}

.main_flex>div>p>span {
  display: inline-block;
  width: 30px;
  height: 1px;
  background-color: #666;
  margin: 0 10px 0 20px;
  vertical-align: middle;
}

.sub_flex {
  margin: 5% auto;
}

.sub_flex+.sub_flex {
  margin: 3% auto 0;
}

h3+.sub_flex {
  align-items: center;
}

.sub_flex>a,
.sub_flex>p {
  display: block;
  width: 48%;
  text-align: justify;
}

.sub_flex>a {
  text-align: center;
}

.sub_flex>a img {
  width: 100%;
  max-height: 50px;
  object-fit: contain;
}

.content_sub {
  width: 48%;
  box-sizing: border-box;
  padding: 5%;
  margin: 0;
}

.content_sub>h3+img {
  width: 100%;
  margin: 10% auto;
}

.content_sub_flex {
  margin-bottom: 7%;
}

div .content_sub_flex2 {
  margin-bottom: 22%;
}

.ec_flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 5%;
}

.ec_flex img {
  display: block;
  width: 40%;
}

.ec_flex>p {
  display: block;
  width: 55%;
}

.sp {
  display: none;
}

.company_profile {
  margin: 10% auto;
  padding-left: 5%;
  position: relative;
}

.tri_03 {
  position: absolute;
  right: 0;
  bottom: 115%;
  width: 7%;
}

.tri_04 {
  position: absolute;
  top: 97%;
  left: 0;
  width: 13%;
}

.profile_table {
  margin: 6% auto;
}

.profile_table>p {
  display: inline-block;
  vertical-align: top;
}

.profile_table>p:first-child {
  width: 20%;
  font-weight: bold;
  font-size: 1.2rem;
}

.profile_table>p:last-child {
  width: 75%;
}

.profile_table>p:first-child>span {
  display: inline-block;
  width: 45px;
  height: 1px;
  background-color: #333;
  margin-right: 20px;
  vertical-align: middle;
}

.profile_table>p>iframe {
  width: 100%;
  height: 30vw;
  max-height: 350px;
  margin-top: 3%;
}

footer {
  margin: 1% auto;
  padding: 15px 0;
  text-align: center;
  color: #fff;
  font-size: 1.3rem;
  letter-spacing: 1;
}

footer p {
  display: block;
  margin: 10px auto;
  font-size: 1rem;
  color: #fff;
}

footer a {
  color: #fff;
  margin-left: 10px;
}

footer span {
  font-family: "Barlow Condensed", sans-serif;
}

@media screen and (max-width: 1200px) and (min-width: 761px) {
  .lead {
    font-size: 1.6vw;
    text-align: center;
  }

  p {
    font-size: 1.6vw;
  }

  .content_main,
  .content_sub {
    box-shadow: 10px 10px 0 #ccccff;
  }

  .profile_table>p:first-child {
    font-size: 1.7vw;
  }

  .mid {
    display: block;
  }

  h2::before {
    left: 10%;
  }

  h2::after {
    right: 10%;
  }

  .profile_table>p:first-child {
    width: 25%;
  }

  .profile_table>p:last-child {
    width: 70%;
  }

  .tri_03 {
    bottom: 110%;
  }

  .profile_table>p:last-child {
    top: 100%;
  }

  .sub_flex>a,
  .sub_flex>p {
    width: 30%;
  }
}

@media screen and (min-width: 761px) {
  .sp {
    display: none;
  }

  .line {
    display: none;
  }

  .pc_n {
    display: none !important;
  }

  .main_flex>div>p>span.col_w {
    display: none;
  }

  .logo {
    width: 160px;
  }
}

@media screen and (max-width: 760px) {
  .pc {
    display: none;
  }

  header {
    padding: 0;
    text-align: center;
  }

  #wrapper {
    width: 94%;
    margin: 3% auto 0;
    padding: 8% 0;
  }

  .logo {
    display: block;
    width: 28%;
    object-fit: contain;
    margin: 0 auto;
  }

  .fv {
    margin: 8% 0;
  }

  .line {
    width: 1px;
    height: 90px;
    position: absolute;
    bottom: 100%;
    left: calc(50% - 1px);
    background-color: #666;
  }

  .inner {
    width: 90%;
    padding-top: 25%;
  }

  .tri_01 {
    width: 15%;
  }

  h1 {
    display: block;
    font-size: 1.2rem;
    padding: 13px 0;
    width: 53%;
    text-align: center;
    font-weight: 600;
  }

  h2 {
    font-size: 1.3rem;
    margin: 14% auto 10%;
  }

  h2::before,
  h2::after {
    display: none;
  }

  .lead {
    padding: 0;
    font-size: 0.95rem;
    letter-spacing: 0.05rem;
  }

  .main_flex p,
  .sub_flex>p,
  .ec_flex>p {
    font-size: 0.95rem;
  }

  .content_main,
  .content_sub {
    border: none;
    box-shadow: none;
    padding: 10% 0;
    width: 100%;
  }

  .content_main {
    margin: 30% auto 21%;
  }

  .content_sub {
    margin: 0 auto 21%;
  }

  .content_sub_flex,
  .main_flex,
  .sub_flex,
  .ec_flex {
    display: block;
  }

  .main_flex {
    margin: 0 auto 20%;
  }

  .main_flex>img,
  .main_flex>div,
  .sub_flex>p,
  .ec_flex>p {
    width: 100%;
  }

  .main_flex>div {
    margin: 10% auto;
  }

  .main_flex>div>p>span {
    margin: 0 5px 0 10px;
  }

  .main_flex>div>p>span.col_w {
    background-color: #fff;
  }

  .sp {
    display: block;
  }

  .sp_n {
    display: none !important;
  }

  .sub_flex>a,
  .ec_flex>a {
    width: 80%;
    margin: 15% auto 10%;
  }

  .ec_flex>a {
    margin-top: 10%;
  }

  .sub_flex p+img {
    margin-top: 17%;
  }

  h3 {
    font-size: 1rem;
  }

  .tri_02 {
    width: 20%;
  }

  .content_sub>h3 {
    margin-bottom: 5%;
  }

  .content_sub_flex+h1 {
    margin-top: 15%;
    display: inline-block;
  }

  .tri_03 {
    bottom: 112%;
    width: 15%;
  }

  .company_profile {
    padding: 0;
    margin-bottom: 20%;
  }

  .profile_table {
    border-bottom: 1px solid #ddd;
    margin-bottom: 12%;
  }

  .profile_table>p:first-child,
  .profile_table>p:last-child {
    display: block;
    width: 100%;
    margin: 3% auto;
  }

  .profile_table>p:first-child>span {
    width: 25px;
  }

  .profile_table>p:last-child {
    padding-left: 11%;
    font-size: 0.9rem;
    box-sizing: border-box;
    margin-bottom: 7%;
  }

  .bd_n {
    border: none;
    margin-bottom: 8%;
  }

  .company_profile>iframe {
    width: 100%;
    margin: 0 auto 25%;
    height: 50vw;
  }

  .tri_04 {
    top: 100%;
    width: 23%;
  }

  footer {
    margin: 3% auto;
  }

  footer span {
    font-size: 1.1rem;
  }
}

/* privacy */
.privacy-policy {
  width: 75%;
  margin: 8% auto;
}

.policy_inner {
  margin: 10% auto;
}

.privacy-policy h2 {
  text-align: center;
  font-size: 30px;
  margin-bottom: 50px;
}

.privacy-policy h2::before,
.privacy-policy h2::after {
  display: none;
}

.privacy-policy h3 {
  text-align: left;
  font-size: 20px;
}

.privacy-policy div {
  margin-bottom: 30px;
}

.table_first,
.table_second {
  width: 100%;
  border-collapse: collapse;
  margin: 15px auto;
  font-size: 1rem;
}

.table_first th,
.table_first td,
.table_second th,
.table_second td {
  border: 1px solid #000;
}

.table_first th,
.table_second th {
  padding: 8px 0;
}

.table_first td,
.table_second td {
  padding: 8px;
  font-weight: 400;
}

.table_first .ttl {
  text-align: center;
}

@media screen and (max-width: 760px) {
  .privacy-policy {
    width: 90%;
    padding-top: 25%;
  }

  .table_first td,
  .table_second td {
    padding: 7px;
  }
}