@charset "UTF-8";

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 100%;
}
body {
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.7;
  color: #333;
}
a {
  text-decoration: none;
}
img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  align-self: flex-start;
}
h1 {
  font-size: calc(1.125vw + 1.5rem);
 }

h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.25rem;
}
p {
  font-size: 1rem;
}
@media screen and (max-width: 768px) {
  h2 {
    font-size: 1.75rem;
  }
}
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4%;
  overflow: hidden;
}

/* HEADER */
/* モバイルの指定 */
header {
  background-color: #fff;
  top: 0;
  left: 0;
  padding: .5rem 0;
  position: fixed;
  width: 100%;
  height: 70px;
  z-index: 10;
  border-bottom: 1px solid #e50019;
}
header a {
  font-size: 1rem;
}
.openbtn {
  position: absolute;
  background: #e50019;
  top: 12px;
  right: 12px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 3px;
}
/*ボタン内側*/
.openbtn span {
  display: inline-block;
  transition: 0.5s; /*アニメーションの設定*/
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background: #fff;
  width: 45%;
}
.openbtn span:nth-of-type(1) {
  top: 15px;
}
.openbtn span:nth-of-type(2) {
  top: 23px;
}
.openbtn span:nth-of-type(3) {
  top: 31px;
}
/*activeクラスが付与されると線が回転して×に*/
.openbtn.open span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}
.openbtn.open span:nth-of-type(2) {
  opacity: 0; /*真ん中の線は透過*/
}
.openbtn.open span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}
nav {
  overflow: hidden;
}
.main-nav {
  z-index: 1;
  width: 100%;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  height: 0;
  transition: 0.35s all linear;
}
.main-nav.active {
  visibility: visible;
  opacity: 1;
  padding: 9px 0;
  height: auto;
}
.main-nav li {
  text-align: center;
  cursor: pointer;
  padding: 1rem 0;
  transition: 0.5s;
  background-color: #fff;
  border-bottom: 1px dotted #e50019;
}
.main-nav li a {
  display: block;
}
.main-nav li:hover {
  background-color: #e50019;
  color: #fff;
}
.logo {
  margin: 0 10px;
 }
.main-nav li {
  list-style: none;
}
/* ナビゲーションが開いたときに画面を暗くする処理のためのCSS */
.bg-black {
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.4;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}

/* header デスクトップ指定 */
@media (min-width: 830px) {
  .openbtn {
    display: none;
  }
  .main-nav {
    visibility: visible;
    opacity: 1;
    height: auto;
  }
  .logo {
    width: 150px;
  }
  header {
    width: 100%;
    height: 70px;
    padding: 1rem 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  header li {
    text-align: left;
    display: inline-block;
    width: 100px;
    margin: 0;
  }
  .main-nav li {
    border: none;
  }
}
/* HEADER ここまで*/

.big-bg {
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-attachment: fixed;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
  content: "";
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  margin: 0;
  width: 100%;
  height: 80vh;
  z-index: -1;
}
.item1 {
  opacity: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: 0;
  top: 0;
  -webkit-animation: anime 15s 0s infinite;
  animation: anime 15s 0s infinite;
}
.item1:nth-of-type(2) {
  -webkit-animation-delay: 5s;
  animation-delay: 5s;
}
.item1:nth-of-type(3) {
  -webkit-animation-delay: 10s;
  animation-delay: 10s;
}
/* ふわっとアニメーション */
@keyframes anime {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  35% {
    opacity: 1;
  }
  50% {
    opacity: 0;
    z-index: 9;
  }
  100% {
    opacity: 0;
  }
}
@-webkit-keyframes anime {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  35% {
    opacity: 1;
  }
  50% {
    opacity: 0;
    z-index: 9;
  }
  100% {
    opacity: 0;
  }
}
.top-title {
  font-size: clamp(1.5rem, 0.167rem + 6.67vw, 3.5rem);
  color: #fff;
  position: absolute;
  /* top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); */
  z-index: 12;
  text-shadow: 10px 5px 10px #10332d;
 }
 
.top {
  margin-top: 80vh;
}
.top-business,
.top-contact,
.products {
  background-color: #f0f0f0;
}
.flex_inner {
  display: flex;
  width: 100%;
  margin-top: 80px;
  margin-bottom: 80px;
}
.flex_inner img {
  object-fit: cover;
}
.left {
  width: 48%;
  margin: 0 auto;
  height: 100%;
}
.right {
  width: 48%;
  height: 100%;
  margin: 0 auto;
}

.flex-title,
.title {
  color: #e50019;
}
.title,
.flex-title,
.top-title,
.sub-title {
  text-align: center;
  font-family: "Shippori Mincho", serif;
}
.flex_inner p {
  padding: 20px;
}
.news {
  background-color: #fff;
}
@media (max-width: 768px) {
  /* .top {
    margin-top: 600px;
  } */
  .flex_inner {
    flex-direction: column;
    align-items: center;
  }
  .left,
  .right {
    width: 100%;
  }
  .products {
    flex-direction: column-reverse;
  }
}


.news,
.profile {
  background-color: #fff;
}
.center_inner {
  display: block;
}

/* News container */
.info {
  -webkit-overflow-scrolling: touch;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  display: -webkit-box;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  max-width: 1000px;
  height: 13em;
  margin: 20px auto;
  overflow-y: scroll;
  border: 1px solid #333;
  margin-bottom: 100px;
}
@media (min-width: 768px) {
  .info {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    flex-wrap: wrap;
  }
}
.info dd,
.info dt {
  box-sizing: border-box;
  width: 100%;
  padding-bottom: 0.5em;
  padding-left: 0.5em;
}
.info dt {
  font-style: normal;
  font-weight: initial;
}
@media (min-width: 768px) {
  .info dt {
    width: 13.5em;
    margin-bottom: 0.5em;
    border-bottom: 1px dotted #343a40;
  }
}
.info dt:first-of-type {
  padding-top: 0.5em;
  border-top: 1px dotted #343a40;
}
.info dt time {
  margin-right: 0.5em;
}
.info dt span {
  box-sizing: border-box;
  display: inline-block;
  width: 7em;
  margin-right: 0.5em;
  padding: 0 0.5em;
  background-color: #e50019;
  color: #fff;
  font-size: 0.8em;
  line-height: 1.75;
  text-align: center;
}
.info time {
  color: #adb5bd;
}
.info dd {
  margin-left: 0;
  margin-bottom: 0.5em;
  border-bottom: 1px dotted #343a40;
}
@media (min-width: 768px) {
  .info dd {
    width: calc(100% - 13.5em);
  }
  .info dd:first-of-type {
    padding-top: 0.5em;
    border-top: 1px dotted #343a40;
  }
}
.info dd:nth-of-type(-n + 3) {
  position: relative;
}
/* News container ここまで */

.top-contact,
.contact {
  text-align: center;
  padding-bottom: 100px;
}
.button {
  font-size: 1rem;
  background-color: #fff;
  color: #e50019;
  border: 1px solid #e50019;
  border-radius: 5px;
  padding: 1rem 2rem;
  transition: 0.5s;
}
.button:hover {
  background-color: #e50019;
  color: #fff;
}

.top_img {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  margin: 0;
  width: 100%;
  height: 60vh;
  z-index: -1;
}
.business-bg {
  background-image: url(../images/top1.jpg);
}
.products-bg {
  background-image: url(../images/product-bg.jpg);
}
.profile-bg {
  background-image: url(../images/company2.jpg);
}
.contact-bg {
  background-image: url(../images/equipment-bg.jpg);
}

.welder,
.equipment,
.greeting,
.contact {
  margin-top: 60vh;
}
@media screen and (max-width: 768px) {
  .welder,
  .equipment,
  .greeting,
  .contact {
    margin-top: 60vh;
  }
}
.welder,
.another1,
.products,
.about_us,
.access {
  background-color: #f0f0f0;
}
.advantages,
.another2,
.equipment,
.greeting,
.history,
.contact {
  background-color: #fff;
}
.title {
  padding-top: 80px;
}
.grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 20px;
  padding-bottom: 80px;
}
.item h3,
.item-frame h3 {
  text-align: center;
}
.item-frame h3 {
  margin-top: 20px;
}
.item-frame {
  background-color: #fff;
  padding: 10px;
}
.item-frame p {
  margin: 10px;
}
.president p {
  font-family: "Shippori Mincho", serif;
  text-align: right;
  font-weight: bold;
  font-size: 1.125rem;
}
.greeting p:first-of-type {
  margin-top: 20px;
}
.president p:first-of-type {
  margin-top: 1rem;
}
.president p:last-of-type {
  margin-bottom: 80px;
}
table {
  margin: 0 auto;
  border-collapse: collapse;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 80px;
}
.products-table {
  margin: 0 auto;
  border-collapse: collapse;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
}
.office {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  padding: 60px 0 100px;
}
.office img {
  max-height: 500px;
  width: auto;
  padding: 10px;
  object-fit: contain;
}

th {
  border: 1px solid #b7b7b7;
  padding: 15px;
  background-color: #ffffff;
  width: 30%;
}
.products-table th {
  width: 70%;
}
td {
  border: 1px solid #b7b7b7;
  padding: 15px 15px 15px 40px;
  background-color: #ffffff;
  line-height: 1.5;
  width: 70%;
}
.products-table td {
  width: 30%;
  text-align: center;
}
th:nth-child(1) {
  text-align: center;
  background: #f0f0f0;
}
.products-table th:nth-child(1) {
  text-align: left;
  padding-left: 15%;
}
.v-middle {
  vertical-align: middle;
}
@media screen and (max-width: 768px) {
  th,
  td,
  .products-table th,
  .products-table td {
    padding-left: 20px;
    display: block;
    text-align: center;
    width: 100%;
  }
.products-table th:nth-child(1) {
  text-align: center;
  padding-left:0;
}
  table {
    width: 100%;
  }
  .advantages .flex_inner {
    flex-direction: column-reverse;
  }
}
.location {
  margin-top: 20px;
}
.location .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
}
.location-info {
  width: 24%;
}

.map {
  display: flex;
  margin: 0px auto 10px;
  gap: 10px;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .map {
    display: block;
    text-align: center;
}
}
.location img {
  max-width: 90%;
  height: 240px;
  object-fit: cover;
}
.location img:nth-child(3)
.location img 
.location-info p {
  padding: 12px 10px;
}

.location-map {
  width: 72%;
  margin-bottom: 80px;
}
.parking img {
  width: 300px;
  height: 100%;
  margin-top:10px;
  object-fit: cover;
}
iframe {
  width: 100%;
}

@media screen and (max-width: 768px) {
  .location .wrapper {
    flex-direction: column;
  }
  .location-info,
  .location-map {
    width: 100%;
  }
}
.order {
  padding: 10px 100px;
  font-weight: bold;
  text-align: center;
  font-size: 1.25rem;
  border: 1px solid #e50019;
  border-radius: 50px;
  margin: 20px auto;
}
.order ul {
  display: flex;
  justify-content: space-between;
}
.red {
  color: #e50019;
}
@media screen and (max-width: 768px) {
  .order {
    padding: 10px 30px;
    font-size: 1.125rem;
  }
}
#formWrap {
  width: 700px;
  margin: 0 auto;
  color: #555;
  line-height: 120%;
  font-size: 90%;
}
table.formTable {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
}
table.formTable td,
table.formTable th {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
}
table.formTable th {
  width: 30%;
  font-weight: normal;
  background: #efefef;
  text-align: left;
}
form input[type="text"],
form textarea {
  border: 1px solid #ccc;
}
form input[type="submit"],
form input[type="reset"],
form input[type="button"] {
  border: 1px solid #ccc;
  background-color: #f0f0f0;
  padding: 0 20px;
  border-radius: 5px;
  height: 40px;
}
/*　mail form　*/
@media screen and (max-width: 768px) {
  #formWrap {
    width: 95%;
    margin: 0 auto;
  }
  table.formTable th,
  table.formTable td {
    width: auto;
    display: block;
  }
  table.formTable th {
    margin-top: 5px;
    border-bottom: 0;
  }
  form input[type="text"],
  form textarea {
    width: 80%;
    padding: 5px;
    font-size: 110%;
    display: block;
  }
  form input[type="submit"],
  form input[type="reset"],
  form input[type="button"] {
    display: block;
    width: 100%;
    height: 40px;
  }
}

/* top_page mouse_hover 背景暗くしてテキスト表示 */
.show-text {
  position: relative; /* 相対位置指定 */
  cursor: pointer;
}
.show-text .caption {
  font-size: 200%;
  font-family: "Shippori Mincho", serif;
  text-align: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
}
.show-text .mask {
  width: 100%;
  height: 100%;
  position: absolute; /* 絶対位置指定 */
  top: 0;
  left: 0;
  opacity: 0; /* マスクを表示しない */
  background-color: rgba(0, 0, 0, 0.4); /* マスクは半透明 */
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.show-text:hover .mask {
  opacity: 1; /* マスクを表示する */
}
/* ページTOPに戻る */
.page-top {
  cursor: pointer;
  position: fixed;
  right: 20px;
  bottom: 20px;
  transition: 0.5s;
  z-index: 1;
  display: block;
  width: 50px;
  height: 50px;
  text-align: center;
  background: #e50019;
  border-radius: 50%;
  line-height: 50px;
  opacity: 0;
}
.page-top i {
  font-size: 20px;
  color: #fff;
  line-height: 50px;
}
.top_scroll {
  opacity: 1;
}

/* footer */
footer {
  background-color: #333;
  color: #fff;
}
.footer-nav {
  display: flex;
  text-transform: uppercase;
}
.footer-container {
  width: 100%;
  height: 70px;
  padding: 1.25rem 4% 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-nav li {
  margin-left: 2.25rem;
}
.footer-content-copy {
  text-align: center;
  padding-bottom: 20px;
}
@media screen and (max-width: 768px) {
  .footer-container {
    height: 100%;
  }
  .footer-container,
  .footer-nav {
    flex-direction: column;
    align-items: center;
  }
  .footer-nav li {
    text-align: center;
    margin: 0 auto;
  }
}
/* footer ここまで */
