@charset "utf-8";
/* CSS Document */

#contents section h5 {
text-align: center;
}

#contents.about ul.policy_box {
display: grid; 
grid-template-columns: repeat(3,1fr);
column-gap: 3%;
margin-top: 5.2%;
}

#contents.about ul.policy_box li {
border: solid 1px #0E1E4F;
}

#contents.about ul.policy_box li dt {
height: 90px;
padding: 0 15px;
background: #0093E7;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
color: #FFFFFF;
font-size: clamp(1.25rem, 1.205rem + 0.23vw, 1.375rem);
line-height: 140%;
font-weight: bold;
}

#contents.about ul.policy_box li dd {
height: 140px;
text-align: center;
padding: 20px 10px;
display: flex;
align-items: center;
justify-content: center;
line-height: 160%;
}

#contents.about section.overview .inside {
display: flex;
justify-content: space-between;
}

#contents.about section.overview dl.table {
width: 60%;
}

#contents.about section.overview ul.overview_box {
width: 40%;
padding-left: 5.2%;
box-sizing: border-box;
}

#contents.about section.overview ul.overview_box li img {
width: 100%;
height: 300px;
object-fit: cover;
margin-bottom: 30px;
}

#contents.about section.overview ul.overview_box li iframe {
width: 100%;
height: 300px;
}

#contents.about section.history .inside {
display: flex;
justify-content: space-between;
}

#contents.about section.history dl.table {
width: 70%;
}

#contents.about section.history ul.history_box {
width: 30%;
padding-left: 5.2%;
box-sizing: border-box;
}

#contents.about section.history ul.history_box li {
font-size: clamp(0.75rem, 0.5rem + 0.42vw, 1rem);
line-height: 160%;
margin-bottom: 30px;
text-align: center;
}

#contents.about section.history ul.history_box li img {
margin-bottom: 5px;
width: 100%;
}

#contents.about .client_box {
display: flex;
align-items: flex-start;
}

#contents.about .client_box ul {
flex: 1;
border-bottom: solid 1px #ccc;
}

#contents.about .client_box ul:nth-child(odd) {
background: #F0F0F0;
}

#contents.about .client_box li {
height: 70px;
padding: 15px 20px;
box-sizing: border-box;
border-top: solid 1px #ccc;
line-height: 160%;
display: flex;
align-items: center;
font-size: 90%;
}

#contents section table {
width: 100%;
border-top: solid 1px #ccc;
}

#contents section .table_box {
display: flex;
justify-content: space-between;
align-items: flex-start;
}

#contents section .table_box table {
width: 48%;
}

#contents section table td {
padding: 10px;
border-bottom: solid 1px #ccc;
border-right: solid 1px #ccc;
font-weight: bold;
text-align: center;
line-height: 160%;
}

#contents section table td:last-child {
border-right: none;
width: 20%;
}

#contents section table tr:nth-child(odd) {
background: #f0f0f0;
}

#contents section.office .inside {
position: relative;
}

#contents section.office .lead {
text-align: center;
margin-bottom: 30px;
}

#contents section.office .base_logo3 {
position: absolute;
top: 25px;
right: 5.2%;
width: 14%;
}

#contents section.office ul {
display: flex;
justify-content: space-between;
}

#contents section.office ul li:first-child {
width: 40%;
}

#contents section.office ul li:first-child img {
width: 100%;
height: 300px;
object-fit: cover;
}

#contents section.office ul li:last-child {
width: 56%;
}

#contents section.office ul li:last-child iframe {
width: 100%;
height: 300px;
}

#contents section.office .inbox {
margin-top: 80px;
}

#contents section.factory ul {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}

#contents section.factory ul li:first-child {
width: 15%;
text-align: center;
}

#contents section.factory ul li:first-child img {
width: auto;
}

#contents section.factory ul li:nth-child(2) {
width: 35%;
}

#contents section.factory ul li:nth-child(3) {
width: 40%;
}

#contents section.factory ul li:nth-child(3) iframe {
width: 100%;
height: 300px;
}

#contents section.factory ul li:nth-child(4),
#contents section.factory ul li:nth-child(5),
#contents section.factory ul li:nth-child(6) {
width: 30%;
margin-top: 20px;
}

#contents section.factory .inbox {
margin-top: 80px;
}

#contents section.factory dl,
#contents section.factory dt,
#contents section.factory dd {
  box-sizing: border-box;
}
#contents section.factory dl {
width: 100%;
margin-bottom: 20px;
}
#contents section.factory dt,
#contents section.factory dd {
}
#contents section.factory dt {
  width: 5.5em;
  float: left;
  text-align-last: justify;
  text-justify: inter-ideograph;
}
#contents section.factory dd {
  margin-left: 6em;
  word-break: break-all;
}
#contents section.factory dd:after {
  content: '';
  display: block;
  clear: both;
}





/* タブレットレイアウト : 768 px ～ 959 px*/
@media screen and (max-width:959px)
{
.pt{display: block;}
.pc{display: none;}
.ps{display: none;}
.tb{display: block;}
.ts{display: block;}
.sp{display: none;}



}


/* スマホ設定  768 以下*/
@media screen and (max-width:767px)
{
.pt{display: none;}
.pc{display: none;}
.ps{display: block;}
.tb{display: none;}
.ts{display: block;}
.sp{display: block;}

#contents.about ul.policy_box {
display: block; 
}

#contents.about ul.policy_box li {
margin-top: 20px;
}

#contents.about ul.policy_box li dt {
height: 50px;
font-size: 110%;
}

#contents.about ul.policy_box li dd {
height: auto;
padding: 15px;
}


#contents.about section.overview .inside {
display: block;
}

#contents.about section.overview dl.table {
width: 100%;
margin-bottom: 30px;
}

#contents.about section.overview ul.overview_box {
width: 100%;
padding-left: 0;
}

#contents.about section.overview ul.overview_box li img {
height: 200px;
}

#contents.about section.overview ul.overview_box li iframe {
height: 200px;
}

#contents.about section.history .inside {
display: block;
}

#contents.about section.history dl.table {
width: 100%;
margin-bottom: 30px;
}

#contents.about section.history ul.history_box {
width: 100%;
padding-left: 0;
}

#contents.about section.history ul.history_box li:last-child {
margin-bottom: 0;
}

#contents.about .client_box {
display: block;
}

#contents.about .client_box ul {
border-bottom: none;
}

#contents.about .client_box ul:last-child {
border-bottom: solid 1px #ccc;
}

#contents.about .client_box ul:nth-child(odd) {
background: #FFFFFF;
}

#contents.about .client_box li {
height: 50px;
}

#contents section table {
font-size: 80%;
}

#contents section .table_box {
display: block;
}

#contents section .table_box table {
width: 100%;
}

#contents section .table_box table:last-child {
border-top: none;
}

#contents section table.even tr {
background: #FFFFFF;
}

#contents section table.even tr:nth-child(even) {
background: #f0f0f0;
}

#contents section.office .lead {
text-align: left;
}

#contents section.office .base_logo3 {
width: 20%;
}

#contents section.office ul {
display: block;
}

#contents section.office ul li:first-child {
width: 100%;
margin-bottom: 20px;
}

#contents section.office ul li:first-child img {
height: 200px;
}

#contents section.office ul li:last-child {
width: 100%;
}

#contents section.office ul li:last-child iframe {
height: 200px;
}

#contents section.office .inbox {
margin-top: 40px;
}

#contents section.factory dl {
font-size: 90%;
line-height: 180%;
}

#contents section.factory ul {
/*display: block;*/
}

#contents section.factory ul li:first-child {
width: 100%;
margin-bottom: 20px;
}

#contents section.factory ul li:first-child img {
margin: 0 auto;
}

#contents section.factory ul li:nth-child(2) {
width: 100%;
margin-bottom: 20px;
}

#contents section.factory ul li:nth-child(3) {
width: 100%;
}

#contents section.factory ul li:nth-child(3) iframe {
height: 200px;
}

#contents section.factory ul li:nth-child(4),
#contents section.factory ul li:nth-child(5),
#contents section.factory ul li:nth-child(6) {
width: 32%;
margin-top: 5px;
}


#contents section.factory .inbox {
margin-top: 40px;
}

}



