@charset "shift_jis";

table.company {
  width: 100%;
}
table.company tr:not(:last-child) {
  border-bottom: 1px dotted #999;
}
table.company tr th,
table.company tr td {
/*  font-size: 3.4vw;*/
  padding: 1em;
  vertical-align: top;
}
table.company tr th {
  font-weight: bold;
}
ul.business {
  padding-top: 0.5em;
}
ul.business li {
  text-indent: -1em;
  padding-left: 1em;
  padding-bottom: 0.5em;
}
ul.business li::before {
  content: ''; 
}

ul.fb {
  padding-top: 0.5em;
}
ul.fb li {
  padding-bottom: 0.1em;
}
ul.fb li::before {
  content: ''; 
}

#greeting {
  justify-content: space-between;
  margin-bottom: 1em;
}
#greeting .photo {
  
}
#greeting .message {
  width: 475px;
}
#greeting h3 {
  font-size: 1.6em;
  line-height: 1.4;
  font-family: "Sawarabi Mincho";
  padding-bottom: 0.2em;
  margin-bottom: 1em;
}

#greeting h3 span {
  display: block;
}

.external_btn,
.external_bnr {
  justify-content: space-between;
  padding: 1em 0;
}
.external_bnr > div {
  
}
.external_bnr > div img {
  width: auto;
  height: 175px;
}

.profile h3,
.product h3 {
  border-bottom: 1px solid #aaa;
  font-size: 1.2em;
  font-weight: bold;
  padding: 0.5em 0.2em;
  margin: 0.5em 0;
}

.product ul {
  
}
.product ul li {
  text-indent: -1em;
  padding-left: 1em;
  padding-bottom: 0.5em;
}
.product ul li::before {
  content: ''; 
}

.bookimage {
  text-align: center;
  max-width: 95%;
  margin: 1em auto;
}
.media {
  margin: 1em 0;
}
.media h3 {
  background-color: #009999;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 0.4em 0.6em;
}
.media h3 span {
  font-size: 1.2em;
}
.media h3 span.sub {
  font-size: 1em;
}

.media .item {
  padding: 1em 0;
  margin: 1em 0;
}
.media .item h4 {
  background-color: #F0F0E1;
  display: flex;
  padding: 0.4em 0.6em;
  margin-bottom: 0.5em;
  font-weight: bold;
}
.media .item h4 span {
  padding-right: 1em;
}
.media .item h4 span.date {
  font-weight: normal;
}
.media .media_content {
  justify-content: center;
  flex-wrap: wrap;
}
.media .media_content div {
  padding: 1em 0.5em;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.media .media_content div img {
  width: auto;
  max-height: 300px;
}

.workshop {
  
}
.workshop h3 {
  background-color: #009999;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 0.4em 0.6em;
}
.workshop h3 span {
  font-size: 1.2rem;
}

.workshop ul {
  margin: 1em 0;
}
.workshop ul li {
  padding-bottom: 1em;
}
@media (max-width: 768px) {
  table.company {
    width: 95%;
    margin: 0 auto;
  }
  table.company tr th,
  table.company tr td {
    font-size: 3.4vw;
    padding: 0.5em;
    display :block;
  }
  table.company tr th {
    background-color: #f4f4f4;
  }
  table.company tr:not(:last-child) {
    border-bottom: none;
  }
  #greeting {
    width: 95%;
    margin: 0 auto;
    flex-direction: column;
  }
  #greeting .photo {
    text-align: center;
    padding-bottom: 1em;
  }
  #greeting .message {
    width: 100%;
  }
  .external_bnr,
  .external_btn {
    width: 95%;
    margin: 1em auto;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .external_btn div {
    padding-bottom: 1em; 
  }
  
  .profile,
  .product,
  .media,
  .workshop {
    width: 95%;
    margin: 1em auto;
  }
}