@charset "UTF-8";

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
html {
  font-size: 100%;
}
body {
  background-color: #FFFFFE;
  color: #454545;
  font-family: 'Josefin Sans', 'Noto Sans JP', 'Yu Gothic', 'Meiryo', 'Hiragino Kaku Gothic ProN', sans-serif;
  font-optical-sizing: auto;
}
a {
  color: #454545;
  text-decoration: none;
  display: block;
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
li {
  list-style: none;
}
.wrapper {
  max-width: 1030px;
  margin: 0 auto;
  padding: 0 135px;
}
.container {
  margin: 200px 0 100px;
}
p {
  font-weight: 400;
  line-height: 32px;
  color: #333;
}
#header ul li {
  font-weight: 350;
}
h2 {
  color: #454545;
  font-weight: 700;
  font-size: 45px;
  text-align: left;
}
#footer p {
  font-size: 11px;
}

/*-------------------------------------------
header
-------------------------------------------*/
#header {
  height: 72px;
  box-shadow: 0px 1px 4px 0px rgb(0 0 0 / 25%);
  display: flex;
  padding: 0px 64px 12px;
  align-items: flex-end;
  background-color: #FFFFFE;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 1;
  z-index: 2;
}
h1 {
  max-width: 120px;
  width: 100%;
  height: auto;
  line-height: 0;
}
.nav {
  display: flex;
  margin: 0 0 0 auto;
}
.nav-page {
  display: flex;
  width: 310px;
  justify-content: space-between;
  transform: translateY(+5px);
}
.nav-page li a:hover {
  text-decoration: underline;
}
.nav-sns {
  display: flex;
  width: 92px;
  justify-content: space-between;
  margin-left: 40px;
}
.nav-sns li {
  font-size: 20px;
  line-height: 0;
}
.nav-sns li a:hover {
  color: #aeaeae;
}

/*-------------------------------------------
about
-------------------------------------------*/
.introductions {
  display: flex;
  margin: 50px 0 100px;
  align-items: flex-end;
  position: relative;
}
th, td {
  font-family: 'Noto Sans JP', 'Yu Gothic', 'Meiryo', 'Hiragino Kaku Gothic ProN', sans-serif;
  text-align: left;
  font-size: 14px;
  color: #333;
  line-height: 24px;
  vertical-align: baseline;
}
th {
  width: 110px;
  font-weight: 500;
  color: #454545;
}
td {
  width: 405px;
  font-weight: 400;
  text-align: justify;
}
.introductions img {
  width: 200px;
  margin-left: 45px;
  border-radius: 50%; 
}
.intro-self td {
  width: 650px;
}
.introductions::after {
  content: "";
  width: 25px;
  height: 1px;
  background-color: #333;
  position: absolute;
  top: 310px;
}
.intro-com td a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
/*-------------------------------------------
footer
-------------------------------------------*/
#footer {
  width: 100%;
  min-height: 50px;
  box-shadow: 0px -1px 4px 0px rgb(0 0 0 / 25%);
  text-align: center;
  display: table;
  background-color: #FFFFFE;
}
#footer p {
  display: table-cell; 
  vertical-align: middle;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 767px) {
  .wrapper {
    padding: 0 25px;
  }
  .container {
    margin: 140px 0 50px;
 
  }
  p {
    font-size: 14px;
    line-height: 24px;
  }
  h2 {
    font-size: 38px;
    margin-bottom: 50px;
    margin-top: 140px;
    line-height: 1;
  }

/*------
header
------*/
#header {
  display: block;
  height: 90px;
  padding: 0px 25px;
}
h1 {
  width: 105px;
  margin-top: 13px;
}
.nav {
  flex-direction: column-reverse;
  transform: translateY(-7px);
}
.nav-page {
  width: 100%;
}
.nav-sns {
  width: 102px;
  margin: 0 0 0 auto;
  transform: translateY(-14px);
}
.nav-page li a:active,
.nav-sns li a:active {
  transform: scale(1.2);
}
.content {
  width: 100%;
  height: auto;
  margin-bottom: 50px;
}
.intro-com th {
  width: 90px;
}
.intro-com td {
    width: 100%;
  }
.intro-com table {
  width: 100%;
  table-layout: fixed;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.introductions {
  flex-direction: column-reverse;
}
.introductions img {
  margin: 0 auto 50px;
}
h2 {
  text-align: center;
}
.introductions::after {
  left: 0;
  top: 110%;
}
.intro-com {
  width: 100%;
}
.intro-self tr, 
.intro-self th, 
.intro-self td {
  display: block;
}
.intro-self td {
  width: 100%;
}
.intro-self tr {
  margin-bottom: 15px;
}
.intro-self tr:nth-child(5) {
  margin-bottom: 0px;
}
}