@charset "UTF-8";
/* CSS Document */

header.service-ttl {
  background-color: #fff;
  border-left: 10px #0081cc solid;
  padding: 1em;
}

.service-lead {
  background-color: #fff;
}

.service-lead>div {
  padding: 1em;
}

.service-ttl p {
  margin: 0;
}

.tx-center {
  text-align: center;
}
.tx-right {
  text-align: right;
}

.service-ttl h2.mt-5p {
  font-size: clamp(24px, 2.5vw, 2.4em);
  font-weight: bold;
  /* margin-top: 5px; */
  transform: translateY(10px);
}
.service-ttl h2.var-size {
  font-weight: 700;
  font-size: clamp(20px, 1.5vw, 30px);
}

.banner_box .factory_top_banner {
  display: block;
  margin: 0 auto 2em;
}

.service-lead h3 {
  padding: 0.5em 1em;
  color: #fff;
  background-color: #0081cc;
}

.blue-txt {
  color: #0081cc;
  font-weight: bold;
}

.orange-txt {
  color: #ff5757;
  font-weight: bold;
}

.fw400 {
  font-weight: 400;
}
.fw500 {
  font-weight: 500;
}
.fw600 {
  font-weight: 600;
}
.fw700 {
  font-weight: 700;
}

.orange_contact_btn {
  display: block;
  text-align: center;
  color: #fff;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 500;
  background-color: #F29601;
  padding: 10px 20px;
  border-radius: 5px;
  letter-spacing: 3px;
}

.service-lead div div {
  display: flex;
}

.service-lead h4 {
  padding: 0.5em 1em;
  color: #fff;
  background-color: #0081cc;
  font-size: 0.8em;
}

.service-lead h5 {
  font-size: 1em;
}

.service-lead .emphasize {
  border-top: #f39e34 solid 1px;
  border-bottom: #f39e34 solid 1px;
}

.service-lead div div .maru {
  display: inline-grid;
  height: 70px;
  width: 80px;
  min-width: 80px;
  border-radius: 50%;
  line-height: 1.3em;
  text-align: center;
  align-content: center;
  background-color: #f39e34;
  font-size: 0.8em;
  color: #fff;
  display: inline-grid;
  margin: 10px 0;
}

.service-lead div div p {
  margin: auto 0;
  margin-left: 10px;
  font-weight: bold;
}

.ase-sub h5 {
  text-decoration: underline;
  margin-top: 10px;
  margin-bottom: 0px;
  font-size: 0.8em;
  font-weight: bold;
}

.ase-sub h4 p.h5-p {
  line-height: 1em;
  margin-top: 0;
}

.ase-sub .btn-pad p {
  margin: 1em 0;
}

.expo-main .expo-flex {
  display: flex;
  justify-content: space-between;
}

.expo-main .expo-flex p.f-s {
  width: 50%;
}

.expo-main .expo-flex img {
  width: 50%;
  object-fit: cover;
  padding-left: 20px;
}

.shitauke-law.expo-page dl {
  display: flex;
  flex-wrap: wrap;
}

.shitauke-law.expo-page dl dt {
  width: 13%;
  min-width: 90px;
}

.shitauke-law.expo-page dl dd {
  width: 87%;
}

.expo-main .tx-center {
  margin: 2em auto;
  text-align: center;
}

@media screen and (max-width: 640px) {
  .expo-main .expo-flex {
    flex-direction: column;
  }

  .expo-main .expo-flex p.f-s {
    width: 100%;
  }

  .expo-main .expo-flex img {
    width: 100%;
    margin: 0 auto;
    padding-left: 0;
  }
}

.service-lead div.skillup-flex {
  display: flex;
  justify-content: space-between;
  width: auto;
  padding: 20px;
}

.service-lead div.skillup-flex img {
  width: 30%;
  object-fit: cover;
  padding: 0px;
}

@media screen and (max-width: 640px) {
  .service-lead div.skillup-flex {
    flex-direction: column;
  }

  .service-lead div.skillup-flex img {
    width: 100%;
    object-fit: cover;
    padding: 10px;
  }
}

.shitauke ul {
  padding-left: 0;
}

.shitauke li {
  list-style: none;
}

.shitauke-law {
  /* background-color: #ccc; */
  border: solid 1px #999;
  background-color: #fff;
  padding: 5px;
  margin: 5px auto 2em;
}

.shitauke-law ul {
  margin-left: 5px;
}

.shitauke h5 {
  text-decoration: none;
}

.shitauke .semi-ex {
  margin-top: 0;
}

.shitauke-semi ul {
  padding-left: 0;
}

.shitauke-semi li {
  list-style: none;
}

.shitauke-semi p a {
  text-decoration: none;
  font-size: 16px;
}

.shitauke-semi dl {
  display: flex;
  flex-wrap: wrap;
}

.shitauke-semi dl dt {
  width: 13%;
  min-width: 90px;
}

.shitauke-semi dl dd {
  width: 87%;
}

.shitauke-semi .tx-center {
  margin: 2em auto;
  text-align: center;
}

.btn_orange {
  padding: .5em 1em;
  color: #fff;
  border: none;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
  background-color: #f5a200;
  background-image: -moz-linear-gradient(top, #f8b217, #f5a200);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f8b217), to(#f5a200));
  background-image: -webkit-linear-gradient(top, #f8b217, #f5a200);
  background-image: -o-linear-gradient(top, #f8b217, #f5a200);
  background-image: linear-gradient(to bottom, #f8b217, #f5a200);
  text-shadow: none;
}

.btn_orange:hover {
  color: #fff;
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  transition: none;
  background-color: #f8b217;
  background-image: -moz-linear-gradient(top, #f5a200, #f8b217);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5a200), to(#f8b217));
  background-image: -webkit-linear-gradient(top, #f5a200, #f8b217);
  background-image: -o-linear-gradient(top, #f5a200, #f8b217);
  background-image: linear-gradient(to bottom, #f5a200, #f8b217);
}

.btn_orange.circle {
  text-align: center;
  margin-top: 10px;
  display: inline-block;
  border-radius: 40px;
}

@media screen and (max-width: 767px) {
  .btn_orange.circle {
    display: block;
    width: fit-content;
    /* margin: 10px auto 0; */
    white-space: nowrap;
  }
}


.btn_blue {
  padding: .5em 1em;
  color: #fff;
  border: none;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
  background-color: #0081cc;
  background-image: -moz-linear-gradient(top, #3fb4fc, #0081cc);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#3fb4fc), to(#0081cc));
  background-image: -webkit-linear-gradient(top, #3fb4fc, #0081cc);
  background-image: -o-linear-gradient(top, #3fb4fc, #0081cc);
  background-image: linear-gradient(to bottom, #3fb4fc, #0081cc);
  text-shadow: none;
}

.btn_blue:hover {
  color: #fff;
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  transition: none;
  background-color: #3fb4fc;
  background-image: -moz-linear-gradient(top, #0081cc, #3fb4fc);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0081cc), to(#3fb4fc));
  background-image: -webkit-linear-gradient(top, #0081cc, #3fb4fc);
  background-image: -o-linear-gradient(top, #0081cc, #3fb4fc);
  background-image: linear-gradient(to bottom, #0081cc, #3fb4fc);
}

.btn_blue.circle {
  text-align: center;
  margin-top: 10px;
  display: inline-block;
  border-radius: 40px;
}

@media screen and (max-width: 767px) {
  .btn_blue.circle {
    display: block;
    width: fit-content;
    /* margin: 10px auto 0; */
  }
}

.shitauke-semi .movie-wrapper {
  display: flex;
  justify-content: space-between;
  margin: 20px auto;
  padding: 0 30px;
}

.shitauke-semi .movie-wrapper div iframe {
  width: 100%;
  max-width: 560px;
  max-height: 315px;
}

.shitauke-semi .movie-wrapper .youtube {
  width: 100%;
  aspect-ratio: 16/9;
}

.shitauke-semi ul {
  margin: 40px 0;
}

@media screen and (max-width: 767px) {
  .shitauke-semi .movie-wrapper {
    flex-direction: column;
  }
}


.menu-list {
  padding: 1em;
}

.menu-list ul {
  letter-spacing: -0.36em;
  width: 100%;
}

.menu-list ul li {
  letter-spacing: normal;
  display: inline-block;
}

.menu-list ul li {
  margin-bottom: 1em;
}

.menu-list ul li img {
  width: 2em;
  height: auto;
}

.menu-list ul li img,
.menu-list ul li p {
  margin: 0.1em;
  display: inline-block;
  vertical-align: middle;
}

.menu-list ul li:nth-child(1),
.menu-list ul li:nth-child(2),
.menu-list ul li:nth-child(3),
.menu-list ul li:nth-child(4) {
  width: 15%;
}

.menu-list ul li:nth-child(5),
.menu-list ul li:nth-child(6) {
  width: 20%;
}

@media screen and (max-width: 640px) {
  .menu-list ul li {
    width: 50% !important;
  }
}

.madoguchi-list>li {
  letter-spacing: -0.36em;
  border-bottom: 2px dotted #666;
  padding-bottom: 1em;
  margin-bottom: 1em;
}

.madoguchi-list>li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

.madoguchi-list>li h5 {
  font-size: 110%;
}

.madoguchi-list>li>div.name,
.madoguchi-list>li>div.icons {
  letter-spacing: normal;
  display: inline-block;
}

.madoguchi-list>li>div.name {
  width: 80%;
}

.madoguchi-list>li>div.icons {
  width: 20%;
}

.madoguchi-list>li>div.icons ul {
  width: 100%;
  text-align: right;
  letter-spacing: -0.36em;
}

.madoguchi-list>li>div.icons ul li {
  display: inline-block;
  letter-spacing: normal;
  width: 22%;
  margin-right: 4%;
}

.madoguchi-list>li>div.icons ul li img {
  width: 100%;
  height: auto;
}

.madoguchi-list>li>div.icons ul li:last-child {
  margin-right: 0 !important;
}

.madoguchi-list .info {
  letter-spacing: normal;
  text-align: right;
  margin-top: 0.5em;
}

ul.list-ico {
  margin-left: 2em;
}

ul.list-ico li {
  position: relative;
}

ul.list-ico.circle li::before {
  content: "\f111";
  font-family: FontAwesome;
  position: absolute;
  left: -1.5em;
  font-size: 0.6em;
  top: 0.6em;
}

ul.list-ico.asterisk li::before {
  content: "\f069";
  font-family: FontAwesome;
  position: absolute;
  left: -1.5em;
  font-size: 0.6em;
  top: 0.6em;
}

/* .magazine {
  border: 2px #fff solid;
} */
.magazine form {
  width: 100%;
}

.magazine table,
.magazine table th,
.magazine table td {
  display: block;
  width: 100%;
  border: 2px #fff solid;
}

.magazine table th {
  background-color: #f1f1f1;
  text-align: left;
  vertical-align: middle;
  padding: 1em;
}

.magazine table th .sp-only {
  display: none;
}

.magazine table td {
  padding: 1em;
  background-color: #fff;
  border-bottom: 2px #fff solid;
}

.magazine table td input[type="text"] {
  width: 70%;
  border: 1px #000 solid;
  display: inline-block;
}

.magazine-ttl h2 {
  display: flex;
  width: 100%;
}

.magazine-ttl img {
  width: 60%;
  object-fit: contain;
  max-width: 275px;
}

.magazine-ttl .muryo {
  padding: 0 .5em;
  display: block;
  width: 72px;
  font-size: 0.5em;
  margin-left: 20px;
}

span.in-block {
  display: inline-block;
}

@media screen and (max-width: 640px) {

  .magazine table th,
  .magazine table td {
    display: block;
    width: 100%;
  }

  .magazine table th .sp-only {
    display: block;
  }
}

ol.list-num {
  list-style-type: decimal;
  margin-left: 2em;
}

ol.list-num>li {
  margin-bottom: 1em;
}

ol.list-parentheses {
  list-style-type: none;
}

ol.list-parentheses>li {
  counter-increment: cnt;
}

ol.list-parentheses>li::before {
  display: marker;
  content: "(" counter(cnt) ") ";
}

ol.list-parentheses>li ul {
  list-style: disc;
  margin-left: 2em;
  line-height: 1.6;
}

ol.list-parentheses>li ul li {
  margin-bottom: 0.5em;
}

.kakekomi-wrap {
  background-color: #fff;
  border: 1px #f39e34 solid;
  padding: 1em;
}

.kakekomi-ttl {
  color: #fff;
  background-color: #f39e34;
  padding: 0.5em;
  font-size: 100%;
}

.advice {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.advice ol {
  padding: 1em;
  padding-left: 2.4em;
  border: 1px #ff0000 solid;
  list-style-type: decimal;
  position: relative;
  margin-bottom: 5em;
}

.advice ol::after {
  position: absolute;
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 30px 40px 0 40px;
  border-color: #ff0000 transparent transparent transparent;
  bottom: -50px;
  left: 50%;
  margin-left: -50px;
}

ol.list-example {
  list-style-type: decimal;
  margin-left: 2em;
}

ol.list-example>li {
  margin-bottom: 2em;
}

ol.list-example>li table {
  width: 100%;
  border: 1px #333 solid;
}

ol.list-example>li table thead th {
  background-color: #e4e4e4;
  vertical-align: middle;
  padding: 1em;
  text-align: center;
  border-right: 1px #333 solid;
}

ol.list-example>li table tbody th,
ol.list-example>li table tbody td {
  line-height: 1.6;
  padding: 1em;
  background-color: #fff;
  border-right: 1px #333 solid;
  border-bottom: 1px #333 solid;
}

ol.list-example>li table tbody th {
  width: 40%;
}

ol.list-example>li table tbody td {
  width: 60%;
}

@media screen and (max-width: 640px) {
  ol.list-example>li table thead {
    display: none;
  }

  ol.list-example>li table tbody th,
  ol.list-example>li table tbody td {
    display: block;
    width: 100%;
  }
}

/*=============== demae ===============*/

.demae .renkei .grade-btn {
  background: rgb(0, 129, 204);
  background: linear-gradient(0deg, rgba(0, 129, 204, 1) 0%, rgba(63, 180, 252, 1) 100%);
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  color: #000000;
  font-size: 18px;
  border-radius: 3px;
  width: auto;
  max-width: 500px;
  height: auto;
  border: 1px solid #bbbbbb;
  transition: 0.3s;
  margin: 0 20%;
  padding: 20px;
  text-align: center;
}

@media screen and (max-width: 640px) {
  .demae .renkei .grade-btn {
    margin: 0 auto;
  }
}

.demae .renkei .grade-btn:hover {
  background: linear-gradient(180deg, #0081cc 0%, rgb(27, 168, 255) 100%);
}

.demae .renkei a .grade-btn {
  font-size: 2rem;
  color: #fff;
}

.demae .renkei a .grade-btn .mybr {
  display: inline-block;
}

/*=====================================*/

ul.list-university {
  letter-spacing: -1em;
  margin-left: 2em;
}

ul.list-university li {
  letter-spacing: normal;
  display: inline-block;
  width: 50%;
  position: relative;
}

ul.list-university li::before {
  content: "\f111";
  font-family: FontAwesome;
  position: absolute;
  left: -1.5em;
  font-size: 0.6em;
  line-height: 3;
}

@media screen and (max-width: 640px) {
  ul.list-university li {
    display: block;
    width: 100%;
  }
}

/*=============== zisseki ===============*/

.zisseki .zirei .inner {
  background-color: #fff;
  padding: 3% 3% 7% 3%;
}

.zisseki .mybr {
  display: inline-block;
}

.zisseki .zirei .indent-1 {
  display: inline-block;
  transform: translateX(-2px);
  padding-left: 0.5em;
  text-indent: -1em;
}

.zisseki .zirei span {
  padding-left: 0em;
  text-indent: 0em;
}

.zisseki .zirei a {
  color: #0081cc;
  text-decoration: underline;
}

.zisseki .zirei .flex {
  display: flex;
  justify-content: space-between;
}

.zisseki .zirei h5 {
  font-size: 0.8rem;
  font-weight: bold;
  line-height: 1.6;
  margin-top: 20px;
}

.zisseki .zirei .flex .flex-box p {
  width: auto;
}

.zisseki .zirei p {
  margin-left: 50px;
  margin-top: 3px;
}

.zisseki .zirei img {
  width: 280px;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  margin-top: 20px;
}

.zisseki .zirei .flex img {
  right: 5%
}

.zisseki .zirei dl {
  margin-left: 50px;
  display: flex;
  flex-wrap: wrap;
}

.zisseki .zirei dt {
  padding-left: 0.5em;
  text-indent: -1em;
  width: 12%;
}

.zisseki .zirei dd {
  width: 88%;
}

.zisseki .zirei .kekka img {
  position: static;
  width: 300px;
  margin: 10px auto;
}

.zisseki .zirei .indent-2 {
  display: inline-block;
  padding-left: 2em;
  text-indent: -2em;
}

@media screen and (max-width: 640px) {
  .zisseki .zirei .flex {
    flex-direction: column;
  }

  .zisseki .zirei p {
    margin-left: 20px;
  }

  .zisseki .zirei .flex img {
    position: static;
    width: 280px;
    margin: 10px auto;
  }

  .zisseki .zirei .kekka img {
    width: 300px;
    margin: 10px auto;
  }

  .zisseki .zirei dl {
    margin-left: 20px;
  }

  .zisseki .zirei dt {
    width: 100%;
  }

  .zisseki .zirei dd {
    width: 100%;
  }
}

/*=============== open-factory ===============*/

.event_map {
  position: relative;
  padding-bottom: 100px;
}

.event_map.event_map2 {
  padding-bottom: 160px;
}

.event_map img {
  width: 600px;
  margin: 0 auto;
  padding-right: 5%;
}


.event_map.event_map2 img {
  width: 680px;
}

.event_map p {
  position: absolute;
  font-size: 10px;
  font-weight: normal !important;
  border: 1px solid #0066cc;
  background-color: #fff;
  padding: 5px;
  word-wrap: break-word;
  margin-left: 0 !important;
  display: block;
  min-width: 215px;
}

.event_map a {
  color: #0086c9;
  font-size: 12px;
}

.event_map p.ibaraki {
  width: 32%;
  top: 0;
  left: 18%;
}
.event_map p.daitou {
  width: 32%;
  top: 325px;
  right: 0;
}
.event_map p.toyonaka {
  width: 32%;
  top: 100px;
  left: 0px;
}

.event_map p.taisho {
  width: 32%;
  top: 285px;
  left: 0px;
}

.event_map p.ko-ba {
  width: 32%;
  top: 75px;
  right: 0px;
}

.event_map p.workwaku {
  width: 32%;
  top: 320px;
  right: 0px;
}

.event_map p.others {
  width: 32%;
  top: 420px;
  right: 0px;
  border: none;
  background: none;
  text-align: center;
  font-size: 12px;
  font-weight: bold !important;
}

.event_map p.factorism {
  width: 32%;
  top: 450px;
  right: 0px;
}

.event_map p.senshu {
  width: 32%;
  top: 610px;
  right: 0px;
}

.event_map .number {
  display: none;
}

.event_map p.bukiyo {
  width: 32%;
  top: 10px;
  left: 57%;
}

.event_map p.settu {
  width: 32%;
  top: 130px;
  right: 0px;
}

.event_map p.open_factory {
  width: 32%;
  top: 310px;
  left: 0;
}

.event_map p.ko-ba2 {
  width: 32%;
  top: 450px;
  right: 0px;
}

.event_map p.o-round {
  width: 32%;
  top: 490px;
  left: 0;
}

.event_map p.workwaku2 {
  width: 32%;
  top: 610px;
  right: 0px;
}

.event_map p.others2 {
  width: 100%;
  bottom: 150px;
  left: 0;
  border: none;
  background: none;
  text-align: center;
  font-size: 12px;
  font-weight: bold !important;
}

.event_map p.factorism2 {
  width: 45%;
  right: 0;
  bottom: 140px;
  transform: translateY(100%);
}

.event_map p.senshu2 {
  width: 45%;
  left: 0;
  bottom: 140px;
  transform: translateY(100%);
}


.eventList {
  margin-bottom: 40px;
  background: #fff;
  border-left: 1px solid #0066cc;
  border-right: 1px solid #0066cc;
  border-bottom: 1px solid #0066cc;
}

.eventBlock {
  position: relative;
  padding: 10px 20px;
  border-top: 1px solid #0066cc;
}

.eventBlock img {
  width: 300px;
  margin: 10px;
}

.eventBlock .flex {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.eventBlock .flex div {
  width: 320px;
}

.eventBlock dl {
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  width: 60%;
  align-content: flex-start;
}

.eventBlock dd {
  width: 25%;
  max-width: 125px;
  padding: .3em 0 .3em 15px;
}

.eventBlock dt {
  width: 75%;
  padding: .3em 0 .3em 15px;
  text-align: justify;
}

.eventBlock p.date,
.eventBlock p.place {
  font-size: 13px;
}

.eventBlock p.eventLink {
  font-size: 15px;
}

.eventBlock a {
  color: #0086c9;
}

.eventBlock span.inquiry {
  color: #0086c9;
}

.factory_banner .flex {
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width: 767px) {

  .factory .event_about {
    z-index: 1;
    position: relative;
  }

  .event_map {
    flex-direction: column;
    padding-bottom: 30px;
  }

  .event_map.event_map2 {
    padding-bottom: 30px;
  }

  .event_map img {
    width: auto;
    padding-right: 0;
  }

  .event_map.event_map2 img {
    width: auto;
  }

  /* .event_map img.factory_map_2024 {
    margin: -13vw 0 -15vw;
  } */

  .event_map p {
    font-size: 12px;
    position: static;
    border-bottom: none;
    min-width: 0;
  }

  /* .event_map p:nth-child(4) {
    border-bottom: 1px solid #0066cc;
  }

  .event_map p:nth-child(7) {
    border-bottom: 1px solid #0066cc;
  } */

  .event_map p .url {
    color: #0086c9;
  }

  .event_map p.taisho {
    width: auto;
  }

  .event_map p.ko-ba {
    width: auto;
  }

  .event_map p.workwaku {
    width: auto;
    border-bottom: 1px solid #0066cc;
  }

  .event_map p.others,
  .event_map p.others2 {
    margin-top: 10px;
    width: auto;
  }

  .event_map p.factorism {
    width: auto;
  }

  .event_map p.factorism br.pc {
    display: none;
  }

  .event_map p.factorism .mybr {
    display: inline-block;
  }

  .event_map p.senshu {
    width: auto;
    border-bottom: 1px solid #0066cc;
  }

  .event_map .number {
    display: block;
    color: #333;
    font-weight: normal;
  }

  .event_map .number.inline {
    display: inline;
  }

  .event_map p.ibaraki,
  .event_map p.settu,
  .event_map p.toyonaka,
  .event_map p.bukiyo,
  .event_map p.daitou,
  .event_map p.open_factory,
  .event_map p.ko-ba2,
  .event_map p.o-round,
  .event_map p.workwaku2,
  .event_map p.others2,
  .event_map p.factorism2,
  .event_map p.senshu2 {
    width: auto;
    transform: translateY(0);
  }

  .event_map p.workwaku2 {
    border-bottom: 1px solid #0066cc;
  }

  .event_map p.senshu2 {
    border-bottom: 1px solid #0066cc;
  }

  .eventBlock div {
    width: 100%;
  }

  .eventBlock .flex {
    flex-direction: column;
  }

  .eventBlock .flex div {
    width: auto;
  }

  .eventBlock dl {
    width: 100%;
  }

  .eventBlock img {
    display: block;
    margin: 10px auto;
    width: 100%;
  }

  .factory_banner .flex {
    flex-direction: column;
    width: 98%;
    margin: 0 auto;
  }

  .factory_banner .flex li {
    margin: 0 auto;
  }
}

@media screen and (max-width: 640px) {
  .eventBlock {
    padding: 10px;
  }

  .eventBlock dl {
    flex-direction: column;
    width: 100%;
  }

  .eventBlock dd {
    width: auto;
    padding: .3em 0 0 15px;
  }

  .eventBlock dt {
    width: 95%;
    padding: 0 0 .3em 30px;
  }

  .eventBlock .mybr {
    display: inline-block;
  }
}

/*==============================*/



.pdf_search_btns {
  padding: 15px 15px;
  background: #fff;
  border: 2px solid #0041a3;
  border-radius: 10px;
  text-align: center;
  margin-right: -25px;
}

.pdf_search_btns>p {
  font-size: 17px;
  font-weight: bold;
  margin-bottom: 15px;
}

.pdf_search_btns .listpdf {
  display: flex;
  justify-content: space-between;
}

.pdf_search_btns .listpdf>li {
  width: 32%;
}

.pdf_search_btns .listpdf>li a {
  display: block;
  position: relative;
  background: #0081cc;
  padding: 8px 6px 5px;
  padding-left: 17px;
  color: #fff;
  font-size: 15px;
  border-radius: 6px;
  line-height: 1.5;
  text-decoration: none;
  transition: opacity 0.5s ease-in-out;
}

.pdf_search_btns .listpdf>li a:hover {
  opacity: 0.7;
}

.pdf_search_btns .listpdf>li a::before {
  content: "";
  display: block;
  position: absolute;
  left: 17px;
  top: 12px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 10px;
  border-color: transparent transparent transparent #0081cc;
  z-index: 9;
}

.pdf_search_btns .listpdf>li a::after {
  content: "";
  display: block;
  position: absolute;
  left: 10px;
  width: 20px;
  height: 20px;
  top: 7px;
  border-radius: 50%;
  background: #fff;
}

@media screen and (max-width: 767px) {
  .pdf_search_btns {
    margin-right: 0;
  }

  .pdf_search_btns>p {
    font-size: 15px;
    margin-bottom: 7px;
  }

}


/*=============== company_nav ===============*/

.border_blue {
  /* border: #0081cc 1px solid; */
  padding: 1em;
}

/*=============== company_recruit ===============*/

.company_recruit_top {
  background-color: #fff;
  border: #0081cc 1px solid;
  padding: 1em;
}

.company_recruit_top strong {
  display: block;
  text-align: center;
}

.company_recruit .btn_orange {
  display: inline-block;
}

.company_recruit .btn_wrap {
  text-align: end;
}

/*=============== takumi ===============*/
#takumi .float-left {
  float: left;
  width: 40%;
  text-align: center;
}

#takumi .float-right {
  float: right;
  width: 55%;
}

@media screen and (max-width: 767px) {
  #takumi .service-lead div div {
    flex-wrap: wrap;
  }

  #takumi .service-lead div div img {
    margin: 1em auto !important;
  }

  #takumi .service-lead div div p {
    margin: auto 0 1em;
  }

  #takumi .float-left {
    text-align: center;
  }

  #takumi .award h4 {
    width: 100%;
  }

  #takumi .booklet_wrap {
    text-align: center;
    margin-bottom: 1em;
  }

  #takumi ul.archive li {
    width: 48%;
  }

  #takumi ul.archive li:nth-child(2n) {
    margin-right: 0;
  }

  #takumi ul.archive li:nth-child(3n) {
    margin-right: 2% !important;
  }
}


/*=============== kinzoku ===============*/
.kinzoku .kinzoku_table {
  border: 1px solid #000;
  background: #fff;
}

.kinzoku .kinzoku_table thead {
  border-bottom: 1px solid #000;
}

.kinzoku .kinzoku_table thead th {
  border-right: 1px solid #000;
  padding: 5px 10px;
}

.kinzoku .kinzoku_table thead th:last-of-type {
  border-right: none;
}

.kinzoku .kinzoku_table tbody td {
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  padding: 5px 10px;
}

.kinzoku .kinzoku_table tbody tr:nth-of-type(2n-1) td:nth-of-type(2) {
  background: #eee;
}

.kinzoku .kinzoku_table tbody td:last-of-type {
  border-right: none;
}

.kinzoku .flow li {
  padding-left: 1em;
  text-indent: -1em;
}

.kinzoku .adviser_img {
  max-width: 200px;
}

@media screen and (max-width: 767px) {
  .adviser_img {
    margin: 0 auto;
  }
}

.innovation_shien_law {
	background-color: #fff;
    border: 1px #f39e34 solid;
    padding: 1em;
}
.innovation_shien_law ol.list-num>li {
	margin-bottom: 0;
}

#pavilion .workshop_imgblock {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}
#pavilion .workshop_imgblock .flex_col {
  display: flex;
  flex-direction: column;
  width: 47%;
}
#pavilion .workshop_imgblock .flex_col p {
  width: 100%;
}
#pavilion .workshop_imgblock p {
  width: calc(53% - 1em);
}
@media screen and (max-width: 767px) {
  #pavilion .workshop_imgblock .flex_col {
    width: 100%;
  }
  #pavilion .workshop_imgblock p {
    width: 100%;
  }
}

/* インキュベート支援ページ */
#incubate_support .pc-only {
  display: block;
}
#incubate_support .sp-only {
  display: none;
}
@media screen and (max-width: 767px)  {
  #incubate_support .pc-only {
    display: none;
  }
  #incubate_support .sp-only {
    display: block;
  }
}

#incubate_support .flex {
  display: flex;
}
#incubate_support .white_container {
  background: #fff;
  padding: 20px;
}
#incubate_support .buttons {
  display: flex;
  justify-content: space-around;
}
#incubate_support .buttons .btn_blue {
  min-width: 250px;
  text-align: center;
}
@media screen and (max-width: 767px) {
  #incubate_support .buttons {
    flex-direction: column;
    gap: 20px;
  }
}
.incubate_support_list_wrapper .list_01 {
  padding-left: 15px;
}
.incubate_support_list_wrapper .list_01 > p {
  margin-bottom: 10px;
}
.incubate_support_list_wrapper .list_01 ul li {
  margin-bottom: 10px;
}

#incubate_support .flex {
  align-items: flex-start;
  gap: 20px;
}
#incubate_support .flex .room_table table {
  border: 1px solid #000;
  background: #fff;
}
#incubate_support .flex .room_table table th {
  vertical-align: middle;
  border-bottom: 1px solid #000;
  border-left: 1px solid #000;
  padding: 10px;
  font-size: 0.8em;
}
#incubate_support .flex .room_table table td {
  border-bottom: 1px solid #000;
  border-left: 1px solid #000;
  padding: 5px 10px;
  text-align: right;
  font-size: 0.8em;
}
#incubate_support .flex .img_container {
  width: 60%;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}
#incubate_support .flex .img_container img {
  width: calc((100% - 20px) / 2);
  aspect-ratio: 4/3;
  object-fit: cover;
}
@media screen and (max-width: 767px) {
  #incubate_support .flex {
    flex-direction: column;
  }
  #incubate_support .flex .img_container {
    width: 100%;
  }
  #incubate_support .flex .img_container img {
    width: 100%;
  }
}

#incubate_support .room_num_02 {
  max-width: 450px;
}
#incubate_support .tenant_company_table {
  background: #fff;
  border: 1px solid #000;
}
#incubate_support .tenant_company_table th {
  border-bottom: 1px solid #000;
  border-left: 1px dotted #000;
  padding: 10px;
  text-align: left;
  font-size: 0.8em;
}
#incubate_support .tenant_company_table td {
  border-bottom: 1px dotted #000;
  border-left: 1px dotted #000;
  padding: 5px 10px;
  font-size: 0.8em;
}

#incubate_support .shared_space ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}
#incubate_support .shared_space ul li {
  display: flex;
  flex-direction: column;
  width: calc((100% - 4px) / 3);
}
#incubate_support .shared_space ul li figure {
  padding: 10px 40px;
  background: #fff;
}
#incubate_support .shared_space ul li figure.bg_blue {
  background: #428bca;
}
#incubate_support .shared_space ul li figure img {
  aspect-ratio: 4/3;
  object-fit: cover;
}
#incubate_support .shared_space ul li p {
  flex-grow: 1;
  background: #ddd;
  padding: 10px;
}
@media screen and (max-width: 767px) {
  #incubate_support .shared_space ul li {
    width: 100%;
  }
}