@charset "UTF-8";

section:nth-of-type(1) .inner > div{
display: flex;
justify-content: space-between;
flex-wrap: wrap;
align-items: center;
max-width: 960px;
margin: auto;
}

.greeting-txt {
max-width: 600px;
width: 62.5%;
}



.greeting-txt > p {
  line-height: 2.4;
  text-align: justify;
}

.greeting-txt > p span{
color: #e58a16;
}

.greeting-txt > p:last-child{
text-align: right;
}

section:nth-of-type(1) .photo{
max-width: 300px;
width: 31.25%;
text-align: center;
}

section:nth-of-type(1) .photo img{
width: 100%;
}

.access iframe {
  width: 100%;
  height: 400px;
  margin-bottom: 10px;
}

.access__txt {
  margin-bottom: 0;
}

.company {
  max-width: 800px;
  margin: auto;
}

.company tr {
  background: #fff;
}

.company tr:nth-child(2n) {
  background: #f2f2f2;
}

.company th {
  width: 180px;
  color: #13465d;
  vertical-align: top;
  padding: 20px;
}

.company td {
  padding: 20px;
}

.company td p {
  font-weight: bold;
  margin-bottom: 0.4rem;
}

.history {
  position: relative;
  max-width: 800px;
  margin: auto;
  padding: 30px 0;
  margin-bottom: 30px;
}

.history::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: #ccc;
  margin: auto;
}

.history::after {
  content: '現在に至る';
  position: absolute;
  left: 50%;
  bottom: -30px;
  font-weight: bold;
  color: #e58a16;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.history li {
  position: relative;
  width: 100%;
  font-size: 16px;
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 20px;
  padding-right: 58%;
  z-index: 1;
}

.history li::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #e58a16;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.history li::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 50%;
  height: 1px;
  background: #13465d;
}

.history li:nth-child(2n) {
  padding-right: 0;
  padding-left: 58%;
}

.history li:nth-child(2n)::after {
  left: 50%;
}

.history li:last-child {
  margin-bottom: 0;
}

.history__box {
  position: relative;
  background: #fff;
  padding: 10px;
  border: 1px solid #13465d;
  z-index: 1;
}

.history__date {
  display: block;
  font-size: 14px;
  font-size: 1.4rem;
  font-weight: bold;
  color: #13465d;
  margin-bottom: 4px;
}

@media only screen and (max-width: 768px) {

section:nth-of-type(1) .inner > div{
display: block;
}

section:nth-of-type(1) .inner > div::after{
content: "";
display: block;
clear: both;
}

.greeting-txt {
max-width: initial;
width: auto;
}



.greeting-txt > p {
line-height: 1.87;
}

section:nth-of-type(1) .photo{
float: left;
max-width: initial;
width: 40%;
padding-right: 1.3em;
}


  .access iframe {
    height: 280px;
  }

  .company th {
    width: 90px;
    padding: 10px 14px;
  }

  .company td {
    padding: 10px 14px;
  }

  .history::before {
    right: auto;
    left: 10px;
  }

  .history::after {
    left: 0;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  .history li {
    padding-right: 0;
    padding-left: 20px;
  }

  .history li::before {
    left: 10px;
  }

  .history li::after {
    left: 10px;
  }

  .history li:nth-child(2n) {
    padding-left: 20px;
  }

  .history li:nth-child(2n)::after {
    left: 10px;
  }
}