@charset "utf-8";

/* max-width: 850px; --------------------------
------------------------------------- */
@media (max-width: 850px) {
  h2 {
    font-size: 2em;
  }
  h3 {
    display: inline-block;
    font-size: 1.75em;
    font-family: "Lato", serif;
    border-bottom: 1px solid var(--colorText);
    padding: 0 .5em 0.3px;
    margin-bottom: 30px;
  }
  .fv {
    flex-flow: column;
    align-items: center;
    justify-content: center;
  }
  .fv>div {
    width: 100%;
    height: auto;
  }
  .fv>div>div {
    position: static;
    margin-bottom: 30px;
  }
  .fv figure img {
    min-width: 130px;
  }
  .fv>div>div img {
    height: 80px;
  }
  .fv>div>div h1 {
    font-size: 2.5em;
  }
  .fv>div>div h1 span {
    display: block;
  }
  .fv>div>nav {
    margin-top: 3em;
    font-size: 1.5em;
  }
  .fv>div>nav {
    margin-top: 1em;
  }
  .fv>div>nav ul {
    display: flex;
    flex-flow: column;
  }
  .fv>div>nav span {
    margin-top: .5em;
  }
  .fv>div>nav ul li:nth-of-type(1) {
    width: 200px;
  }
  .fv>div>nav ul li:nth-of-type(2) {
    width: 174px;
  }
  .fv figure {
    width: 100%;
    margin-top: 100px;
  }
  
  .products {
    margin-top: 80px;
  }
  /* .results>div>.result>a:first-of-type {
    width: calc(250px + 4em);
    height: calc(220px + 2em);
  } */
  .results>div>.result>a img {
    width: 100%;
    max-width: 250px;
    max-height: 220px;
  }
  .content {
    display: block;
    margin-bottom: 80px;
  }
  .profile figure {
    width: 40%;
    padding: 0 1em 1em 0;
    float: left;
  }
  /* .results>div>.result>div>p:first-of-type {
    font-size: 1.125em;
  } */
  .content>div {
    width: auto;
    display: block;
    max-width: none;
  }
  .content>div>div {
    flex-flow: column;
    align-items: flex-start;
  }
  .content>div>div p:first-of-type {
    font-size: 1.5em;
    margin-bottom: .5em;
  }
  .content>div>div p:last-of-type span {
    display: inline;
    padding-left: 1em;
  }
  .career table tr th {
    width: 30%;
    font-size: 1.125em;
  }
  .career table tr td {
    width: 70%;
    font-size: 1em;
  }
}

@media (max-width: 730px) {
  .result {
    font-size: 1.6rem;
  }
  .result>div {
    font-size: .875em;
    max-width: calc(200px + 25%);
    width: 100%;
  }
  .results>div>.result>div>a:first-of-type {
    /* display: inline-block; */
    width: 100%;
    /* height: calc(200px + 3em); */
    /* background: var(--colorSub2);
    position: relative; */
  }
  .results>div>.result>div>p:first-of-type {
    font-size: 1.6rem;
  }
  .results>div>.result>div>a:first-of-type>img {
    width: 100%;
    max-width: 400px;
  }
}



@media (max-width: 670px) {
  h2 {
    font-size: 1.5em;
    /* margin-top: 100px;
    margin-bottom: 30px; */
  }
  h3 {
    font-size: 1.25em;
    /* margin-bottom: 30px; */
  }
  section::before {
    content:'';
    display: block;
    padding-top: 10px;
    margin-top: -10px;
  }
  .fv {
    justify-content: space-evenly;
  }
  .fv>div>div h1 {
    font-size: 1.75em;
  }
  .fv>div>nav {
    margin-top: 3em;
    font-size: 1.25em;
  }
  .fv>div>nav {
    margin-top: 1em;
  }
  .fv>div>nav span {
    width: 40px;
    height: 2px;
  }
  .fv>div>nav span:before {
    content: "";
    width: 15px;
    height: 2px;
  }
  .fv>div>nav ul li:nth-of-type(1) {
    width: 140px;
  }
  .fv>div>nav ul li:nth-of-type(2) {
    width: 119px;
  }
  .fv>figure {
    margin-top: 60px;
  }
  .fv figure img {
    width: 80px;
    min-height: 400px;
  }
  .top_nav {
    height: 50px;
  }
  .top_nav>nav>a>figure img {
    height: 28px;
  }
  .top_nav>nav>a>figure figcaption {
    font-size: 1.125em;
  }
  .top_nav>nav>a>figure figcaption span {
    padding-left: 0em;
    display: block;
  }
  .top_nav>nav>ul {
    display: flex;
    gap: 30px;
    font-size: 1.125em;
  }
  .lb-outerContainer {
    width: 300px !important;
  }
  .lb-image {
    width: 300px !important;
    height: auto !important;
  }
  .results>ul {
    grid-template-columns: repeat(1, 1fr);
  }
  .results>ul li dl dt,
  .results>ul li dl dd {
    font-size: .875em;
  }
  .profile figure {
    width: auto;
    height: 100%;
    max-height: 300px;
    padding: 0 0 0 0;
    float: initial;
    margin-bottom: 30px;
  }
  .profile figure img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-position: center;
  }
  .content>div>div p:first-of-type {
    font-size: 1.25em;
  }
  .content>div>div p:first-of-type span {
    font-size: 1.6rem;
  }
  .content>div>div p:last-of-type span {
    display: inline;
  }
  .content>div>p {
    line-height: 1.5;
    font-size: .875em;
  }
  .career table {
    display: flex;
    align-items: center;
    flex-flow: column;
  }
  .career table tr th {
    width: 100%;
    font-size: 1em;
    border-bottom: none;
    text-wrap: nowrap;
    text-align: left;
  }
  .career table tr td {
    width: 100%;
    font-size: .875em;
  }
  .career table tr th {
    border-bottom: none;
    padding: 30px 0 5px;
  }
  .career table tr:not(:first-of-type) th {
    padding-top: 30px;
  }
  .career table tr th,
  .career table tr td {
    display: block;
    padding: 0 1em 10px ;
  }
}

@media (max-width: 550px) {
  .fv>div {
    padding-top: 1em;
  }
  .fv>div>div {
    margin-bottom: 10px;
  }
  .fv>figure {
    margin-top: 30px;
  }
  .fv figure img {
    min-width: auto;
    width: 90px;
    /* min-height: 250px; */
    max-height: 500px;
    height: 100%;
  }
  .top_nav>nav>ul {
    gap: 20px;
    font-size: 1em;
  }
  .top_nav>nav>a>figure img {
    margin-right: .5em;
  }
  .top_nav>nav>a>figure figcaption {
    font-size: .875em;
  }
  .results>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-flow: column;
    flex-wrap: wrap;
    row-gap: 4em;
  }
  .result {
     width: calc(100% - .5em);
     display: flex;
     justify-content: center;
  }
  .result>div {
    max-width: calc(85% + 10%);
    width: 100%;
  }
  .results>div>.result>div>a:first-of-type>img {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 500px;
    /* max-height: 200px; */
  }
  .content>div>div p:first-of-type {
    font-size: 1em;
  }
  .content>div>div p:first-of-type span {
    font-size: 1.4rem;
  }
  .content>div>p {
    line-height: 1.5;
  }
  .career {
    padding-bottom: 100px;
  }
  .contact p {
    text-align: center;
    font-size: .875em;
    line-height: 1.5em;
  }
  .btn a {
    margin: 30px auto 120px;
    position: relative;
    width: 250px;
    height: 60px;
    color: #333;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
  }
  .btn02 a {
    font-size: 1.0em;
  }
}