@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  line-height: 1.7;
  margin: 0 auto;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.wrapper {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 5px;
}

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

.logo {
  width: 142px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo-cp {
  margin: 0 20px 0;
  padding-top: 5px;
  font-size: .8rem;
  font-weight: bold;
  color: #5578d3;
}

.btn-jpn {
  margin-left: auto;
}

.main-nav {
  display: flex;
  font-size: .8rem;
  text-transform: uppercase;
  margin-top: 10px;
  list-style: none;
  background-color: #ededed;
  justify-content: center;
  align-items: center;
  line-height: 1.2;
}

.main-nav li + li {
  border-left: 1px solid #fff;
}

.main-nav li a {
  display: block;
  padding: 18px 30px;
  color: #333;
  transition: background-color 0.3s ease;
}

.main-nav a:hover {
  background-color: #5578d3;
  color: #fff;
}

.p-copyright {
 text-align: center;
 padding: 20px 0;
}


.main-cp {
  text-align: center;
  margin: 30px 0;
}

.main-cp p {
  color: #222;
  margin: 20px;
}

.content-nav {
  display: flex;
  list-style: none;
  justify-content: center;
  align-items: center;
  column-gap: 0px;
  margin: 30px 0;
}

.content-nav li {
  border: 1px solid #ddd;
  margin: 0 5px;
}

/* PAGE */

.company-content,
.product-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

aside {
  width: 25%;
  margin-top: 20px;
  }

article {
  width: 71%;
}

.aside-title {
  position: relative;
  background-color: #5578d3;
  max-width: 300px;
  margin-bottom: 20px;
  text-align: center;
}

.aside-title::before {
  content: "";
  display: block;
  padding-top: 100%;
}

.aside-title p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  color: #fff;
  font-size: 1.6rem;
}

.sub-menu {
  margin-bottom: 60px;
  list-style: none;
}

.content-main-ph {
  margin-top: 20px;
}

.sub-title {
  font-size: 1.2rem;
  padding: 0 8px 8px;
  border-bottom: 2px #5578d3 solid;
  font-weight: bold;
  margin: 20px 0;
  color: #5578d3;
}

.comany-profile th,
.comany-group th {
  padding: 1em;
  background-color: #5578d3;;
  color: #fff;
  font-weight: bold;
  text-align: center;
  width: 20%;
  min-width: 4em;
}

.comany-profile td,
.comany-group td {
  padding: 10px;
}

.comany-profile-in th {
  background-color: #fff;
  color: #5578d3;
  font-size: .8rem;
}

.comany-profile-in th,
.comany-profile-in td {
  border: dotted 1px #ccc;
}

.history-line {
  max-width: 650px;
  margin: 0 auto;
}

.mb-5 {
  margin-bottom: 5rem;
}

.history-line .list {
  padding-left: 4rem;
  padding-bottom: 2rem;
  counter-increment: section;
  position: relative;
}

.history-line .list:last-child {
  padding-bottom: 0.5rem;
}

.history-line .list::before {
  content: "";
  width: 5px;
  height: 100%;
  background-color: #d3d4d7;
  position: absolute;
  top: 0;
  left: 0;
}

.history-line .list::after {
  font-size: 0.8rem;
  font-weight: bold;
  background-color: #5578d3;
  color: #fff;
  border-radius: 30px;
  text-align: center;
  width: 60px;
  padding: 5px 0;
  position: absolute;
  top: 0;
  left: -1.8rem;
}

.history-line .list:nth-child(1)::after {
  content: "1907";
}

.history-line .list:nth-child(2)::after {
  content: "1941";
}

.history-line .list:nth-child(3)::after {
  content: "1946";
}

.history-line .list:nth-child(4)::after {
  content: "1952";
}

.history-line .list:nth-child(5)::after {
  content: "1954";
}

.history-line .list:nth-child(6)::after {
  content: "1976";
}

.history-line .list:nth-child(7)::after {
  content: "1976";
}

.history-line .list:nth-child(8)::after {
  content: "1983";
}

.history-line .list:nth-child(9)::after {
  content: "1988";
}

.history-line .list:nth-child(10)::after {
  content: "1991";
}

.history-line .list:nth-child(11)::after {
  content: "1991";
}

.history-line .list:nth-child(12)::after {
  content: "1998";
}

.history-line .list:nth-child(13)::after {
  content: "2001";
}

.history-line .list:nth-child(14)::after {
  content: "2004";
}

.history-line .list:nth-child(15)::after {
  content: "2005";
}

.history-line .list:nth-child(16)::after {
  content: "2010";
}

.history-line .list:nth-child(17)::after {
  content: "2013";
}

.history-line .title {
  font-weight: bold;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  color: #5578d3;
}

h3.cat-title {
  margin: 30px 0 0 0;
  padding: 30px 0 10px 0;
  text-align: center;
  border-top: solid 3px #5578d3;
  font-size: 1.4rem;
  background: #f8f8f8;
}

.product-catlist ul {
  background: #f8f8f8;
  display: flex;
  flex-wrap: wrap;
  line-height: 1.2;
  list-style: none;
  justify-content: center;
  padding: 20px 0 10px 0;
}

.product-catlist li {
  margin: 20px 5px;
}

.cat-subtitle {
  font-weight: bold;
  margin-top: 10px;
  font-size: 1.2rem;
}

h3.cat-title2 {
  margin: 30px 0 0 0;
  padding: 30px 0;
  text-align: center;
  border-top: solid 3px #5578d3;
  border-bottom: solid 1px #ddd;
  font-size: 1.4rem;
  background: #fff;
}

.cat-title3 {
  margin: 0;
  padding: 30px 0;
  text-align: center;
  font-size: 1.4rem;
}

.img-center {
  margin: auto;
  display: block;
}

.grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  margin-top: 6%;
  margin-bottom: 50px;
}

.button {
    background: #f38a23;
    color: #fff;
    border-radius: 5px;
    padding: 9px 16px;
}

.button:hover {
    background: #fa9f49;
}

.product-name {
  border: 1px solid #ddd;
  padding: 10px 20px;
  background: #f8f8f8;
  margin: 20px 0;
  font-weight: normal;
}

ul.catalog-item-data {
  margin: 20px;
  list-style: circle;
}

iframe.youtube-16-9 {
width: 100%;
height: auto;
aspect-ratio: 16 / 9;
}

.item_box {
  width: 100%;
  max-width: 300px;
}

.item_link {
  display: block;
}

.item_content {
  position: relative;
  overflow: hidden;
}

.item_image img {
  width: 100%;
  height: auto;
  vertical-align: top;
}

.item_mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
}

.item_mask-text {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  padding: 0.5em;
  font-size: 0.8em;
  text-align: center;
  color: #fff;
  transform: translateY(-50%);
}

.item_text {
  margin-top: 10px;
  text-align: center;
}

.item_box .item_link:hover .item_mask {
  opacity: 1;
}

.item_box.-text-from-bottom .item_mask {
  transition: opacity 0.5s ease;
}

.item_box.-text-from-bottom .item_mask-text {
  top: 100%;
  transition: top 0.5s ease;
}

.item_box.-text-from-bottom .item_link:hover .item_mask-text {
  top: 50%;
  transform: translateY(-50%);
}

/* Mail Form */
.require {
  color: #ff0000;
}

.f-button {
  border: none;
  width: 160px;
}

.formtable {
  margin: 30px auto;
}

.formtable th {
  text-align: left;
  background: #b4c4ed;
  padding: 10px;
  font-weight: normal;
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

textarea {
  resize: vertical;
  height: 120px;
}

.form-conf {
  margin: 30px 0;
}


/* Media */
@media screen and (max-width: 768px) {
  .history-line {
    width: 80%;
  }

  .history-line .list {
    padding-left: 3rem;
  }
}

@media (max-width: 600px) {
  .company-content,
  .product-content,
  .content-nav {
    flex-direction: column;
  }
  
  .aside-title {
   display: none;
  }

  article {
   order: 2;
  }

  aside {
   order: 3;
  }

  article,
  aside {
    width: 100%;
  }

  aside {
    margin-top: 60px;
  }

  .main-nav li a {
    padding: 18px 15px;
  }
}

@media (max-width: 480px) {
  .contact-form {
    width: 100%;
  }

  .formtable {
    border: none;
  }

  .formtable th,
  .formtable td {
    display: block;
    width: auto!important;
    padding-bottom: 10px;
  }

  .content-nav li {
    margin-bottom: 10px;
  }
}