@charset "UTF-8";
/*変数*/
/*color*/
/*font-size*/
/*font-family*/
/*----------------------------------------
--font weight--
IBM Plex Sans JP   400,500,600,700
Noto Sans JP   400,500,600,700
Josefin Sans   600
Lato   400,700,900  italic 400,700,900
Zen Antique Soft   400
------------------------------------------*/
/*line-height*/
/*------------------------ここから------------------------------*/
.wrapper {
  font-family: "Noto Sans JP", "メイリオ", "Yu Gothic", sans-serif;
  vertical-align: bottom;
  color: #333333;
  line-height: 1.6;
  box-sizing: border-box;
  overflow: hidden;
  font-size: clamp(14px, 0.83vw, 16px);
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: #333333;
}

img {
  width: 100%;
  vertical-align: bottom;
}

input[type=checkbox] {
  display: none;
}

.slide_r {
  transform: translateX(100%);
  opacity: 0;
}

.slide_l {
  transform: translateX(-100%);
  opacity: 0;
}

.slide {
  transform: translateX(0);
  opacity: 1;
  transition-delay: 0.3s;
  transition: transform 0.4s ease-out, opacity 0.8s;
}

.fadeIn {
  opacity: 1;
  transition: 2s;
  transition-delay: 0.5s;
}

.fadeOut {
  opacity: 0;
}

.menu_hide {
  display: none;
}

.menu_show {
  display: block;
}

/*-----------------------写真用スライドアニメ-----------------------------*/
/* .imgSlideAnime {
    animation: slideAnime 0.8s ease;
}



@keyframes slideAnime {
    0% {
        transform: translateX(-100%);
    }

    80% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100%);
    }
} */
/*-----------------------Block Reveal Effects-----------------------------*/
.block-revealer__element {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  pointer-events: none;
  opacity: 0;
}

/*---------------------------スマホ用------------------------------------*/
@media screen and (max-width: 520px) {
  .wrapper {
    overflow: hidden;
  }
}
/*変数*/
/*color*/
/*font-size*/
/*font-family*/
/*----------------------------------------
--font weight--
IBM Plex Sans JP   400,500,600,700
Noto Sans JP   400,500,600,700
Josefin Sans   600
Lato   400,700,900  italic 400,700,900
Zen Antique Soft   400
------------------------------------------*/
/*line-height*/
/*------------------------ここから------------------------------*/
#header {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border-bottom: solid 2px #009143;
}
#header .logo {
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: flex-end;
  width: clamp(200px, 15.625vw, 350px);
  padding-left: 2%;
}
#header .logo a:hover {
  opacity: 0.8;
  transition: all 0.3s;
}
#header .nav {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(4, 200px);
  grid-template-rows: 1fr;
}
#header .nav span {
  display: block;
}
#header .nav .en {
  font-family: "Josefin Sans", "Noto Sans JP", sans-serif;
  font-size: clamp(15px, 0.93vw, 18px);
  padding: 3% 0;
}
#header .nav .jp {
  font-size: clamp(10px, 0.68vw, 13px);
}
#header .nav a {
  display: block;
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 5% 0;
}
#header .nav a::after {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  background-image: linear-gradient(90deg, rgb(14, 21, 75), rgb(103, 161, 172));
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.7;
  transform: scale(0, 1);
  transform-origin: left bottom;
  transition: transform 0.3s;
  z-index: -1;
  margin: auto;
}
#header .nav a:hover::after {
  transform: scale(1, 1);
  transition: transform 0.3s;
}
#header .nav a:hover {
  color: rgb(255, 255, 255);
}
#header .nav li {
  text-align: center;
  line-height: 1;
  width: 200px;
}
#header .drop_list {
  position: relative;
}
#header .drop_list:hover .has_child::after {
  transform: rotate(-135deg);
  transition: transform 0.3s;
}
#header .has_child {
  position: relative;
  background-color: rgb(255, 255, 255);
  z-index: 50;
}
#header .has_child::after {
  content: "";
  width: 5px;
  height: 5px;
  border-bottom: solid 2px #333333;
  border-right: solid 2px #333333;
  position: absolute;
  right: 5%;
  top: 40%;
  display: inline-block;
  transform: rotate(45deg);
  transition: transform 0.3s;
}
#header .inner {
  position: absolute;
  left: 0;
  top: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 1;
  display: none;
}
#header .inner li {
  overflow: hidden;
}

h1 {
  width: 100%;
  text-align: center;
  padding: 13% 0;
  color: rgb(255, 255, 255);
  line-height: 1;
}
h1 span {
  display: block;
}
h1 span:nth-child(1) {
  font-family: "Josefin Sans", "Noto Sans JP", sans-serif;
  font-size: clamp(24px, 3.1vw, 60px);
}
h1 span:nth-child(2) {
  font-size: clamp(14px, 1.042vw, 20px);
  font-weight: 500;
}

/*---------------------------PC(小)用------------------------------------*/
@media screen and (max-width: 1200px) {
  #header {
    display: block;
    height: 70px;
    padding-bottom: 0.5%;
    position: fixed;
    left: 0;
    top: 0;
    background-color: rgb(255, 255, 255);
    z-index: 30;
  }
  #header .logo {
    position: fixed;
    margin-top: 1%;
  }
  #header #menu_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 999;
    cursor: pointer;
    border: none;
  }
  #header #menu_icon.menu_active {
    border: solid 1px rgb(255, 255, 255);
  }
  #header #menu_icon.menu_active span {
    background-color: transparent;
  }
  #header #menu_icon.menu_active span::before {
    transform: rotate(40deg);
    background-color: rgb(255, 255, 255);
    bottom: 0;
    transition: transform 0.1s;
  }
  #header #menu_icon.menu_active span::after {
    transform: rotate(-40deg);
    background-color: rgb(255, 255, 255);
    top: 0;
    transition: transform 0.1s;
  }
  #header #menu_icon span,
  #header #menu_icon span::before,
  #header #menu_icon span::after {
    content: "";
    width: 25px;
    height: 3px;
    background-color: #333333;
    display: block;
    position: absolute;
    border-radius: 3px;
  }
  #header #menu_icon span::before {
    bottom: 8px;
    left: 0;
    transform: rotate(0deg);
    transition: transform 0.1s;
  }
  #header #menu_icon span::after {
    top: 8px;
    left: 0;
    transform: rotate(0deg);
    transition: transform 0.1s;
  }
  #header .nav {
    background-color: rgba(53, 73, 112, 0.9);
    color: rgb(255, 255, 255);
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 990;
    padding: 8% 0 5% 8%;
    width: 50%;
  }
  #header .nav .en {
    font-size: 16px;
    padding: initial;
  }
  #header .nav .jp {
    font-size: 12px;
  }
  #header .nav a {
    color: rgb(255, 255, 255);
    width: 100%;
    height: 100%;
    display: block;
    padding: 2% 0 2% 5%;
  }
  #header .nav a::after {
    visibility: hidden;
  }
  #header .nav a:hover {
    background-color: rgba(255, 255, 255, 0.5);
  }
  #header .nav a:active {
    background-color: rgba(255, 255, 255, 0.5);
  }
  #header .nav li {
    text-align: left;
    width: auto;
  }
  #header .nav span {
    display: inline-block;
    padding: 0 1%;
  }
  #header .has_child {
    background-color: transparent;
  }
  #header .has_child::after {
    display: none;
  }
  #header .inner {
    position: static;
    background-color: transparent;
    opacity: 1;
    color: rgb(255, 255, 255);
    visibility: visible;
    margin-left: 20%;
    border-left: solid 1px rgb(255, 255, 255);
  }
  #header .header_list::after {
    display: none;
  }
  h1 {
    margin-top: 70px;
  }
}
/*---------------------------タブレット用------------------------------------*/
@media screen and (max-width: 900px) {
  #header {
    height: 63px;
  }
  #header #menu_icon {
    top: 5px;
    width: 50px;
    height: 50px;
  }
  #header .nav {
    width: 100%;
  }
  #header .nav a {
    padding: 2% 0 2% 5%;
  }
  h1 {
    margin-top: 63px;
  }
}
/*---------------------------スマホ用------------------------------------*/
/*------------------------------------横向き----------------------*/
@media (orientation: landscape) and (max-width: 1000px) {
  #header .nav {
    width: 100%;
    padding: 0.5% 0;
  }
  #header .nav .en {
    padding: initial;
  }
  #header .nav a {
    padding: 0.6% 0 0.6% 5%;
  }
  #header .inner {
    margin-left: 10%;
  }
}
@media screen and (max-width: 520px) {
  #header {
    height: 56px;
  }
  #header .nav {
    width: 100%;
    padding-top: 30px;
  }
  h1 {
    padding: 30% 0;
    margin-top: 56px;
  }
  h1 span:nth-child(2) {
    font-weight: 400;
  }
}
/*変数*/
/*color*/
/*font-size*/
/*font-family*/
/*----------------------------------------
--font weight--
IBM Plex Sans JP   400,500,600,700
Noto Sans JP   400,500,600,700
Josefin Sans   600
Lato   400,700,900  italic 400,700,900
Zen Antique Soft   400
------------------------------------------*/
/*line-height*/
/*------------------------ここから------------------------------*/
footer {
  background-image: url(image/footer.jpg);
  background-color: transparent;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right top -10px;
  color: rgb(255, 255, 255);
  padding: 5% 0 2% 8%;
  margin: 0;
}
footer a {
  color: rgb(255, 255, 255);
}
footer .logo {
  width: clamp(300px, 20.833vw, 500px);
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: flex-end;
}
footer .logo a {
  display: block;
  width: 100%;
  height: 100%;
}
footer .logo a:hover {
  opacity: 0.8;
  transition: all 0.3s;
}
footer .logo p:nth-child(2) {
  padding-top: 1%;
}
footer nav {
  margin: 3% 0;
}
footer .toggle {
  display: flex;
  align-items: center;
  padding: 1% 0;
}
footer .label {
  font-family: "Josefin Sans", "Noto Sans JP", sans-serif;
  padding-right: 2%;
  font-size: clamp(16px, 1.15vw, 22px);
}
footer .inner {
  display: flex;
  flex-wrap: wrap;
}
footer .inner li {
  width: 150px;
  text-align: center;
  padding: 0 2%;
  font-size: clamp(14px, 0.94vw, 18px);
}
footer .inner li.sp {
  display: none;
}
footer .inner li:not(:last-child) {
  position: relative;
}
footer .inner li:not(:last-child)::after {
  content: "|";
  position: absolute;
  top: 0;
  right: 0;
}
footer .inner a {
  display: inline-block;
  position: relative;
}
footer .inner a::after {
  content: "";
  height: 1px;
  width: 100%;
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: rgb(255, 255, 255);
  transform: scale(0, 1);
  transform-origin: left bottom;
}
footer .inner a:hover::after {
  transform: scale(1, 1);
  transition: transform 0.3s;
}
footer .info_wrapper {
  display: flex;
}
footer .sns {
  display: grid;
  grid-template-columns: repeat(2, 180px);
  grid-template-rows: repeat(2, 1fr);
  align-items: center;
  -moz-column-gap: 2%;
       column-gap: 2%;
  text-align: center;
  padding-top: 5%;
  padding-right: 5%;
  border-right: solid 1px #555;
}
footer .sns p:nth-child(1) {
  grid-column: 2 span;
  font-size: clamp(16px, 1.15vw, 22px);
}
footer .sns p:not(:first-child) {
  width: 100%;
}
footer .sns a {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  padding: 3% 0;
  border: solid 1px rgb(255, 255, 255);
  border-radius: 6px;
}
footer .sns a:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transition: background-color 0.3s;
}
font-size footer .sns a:active {
  background-color: rgb(53, 73, 112);
}
footer .sns a .fa-brands,
footer .sns a .fa-solid {
  display: block;
  font-size: 1.5rem;
}
footer .sns a .fa-solid {
  font-size: 1rem;
  color: #C8C8C8;
}
footer .sns a span {
  padding-right: 6px;
  padding-left: 2px;
  display: inline-block;
}
footer .info {
  padding-left: 5%;
  margin-top: 2%;
}
footer .info li {
  padding: 3px 0;
}
footer .info li:nth-child(1) {
  font-size: clamp(14px, 0.94vw, 18px);
}
footer .copy {
  text-align: center;
  margin-top: 5%;
  font-size: clamp(10px, 0.73vw, 16px);
}

/*---------------------------PC(小)用------------------------------------*/
@media screen and (max-width: 1200px) {
  footer {
    padding: 5% 0 2% 5%;
  }
  footer .label {
    padding-right: 3%;
  }
  footer .inner li {
    padding: 0 1rem;
  }
}
/*---------------------------タブレット用------------------------------------*/
@media screen and (max-width: 900px) {
  footer {
    background-image: none;
    background-color: #000;
    padding: 5% 0 2% 0;
  }
  footer .logo {
    margin: auto;
  }
  footer nav {
    margin: 8% 2%;
  }
  footer .toggle {
    display: block;
  }
  footer .label {
    padding: 3% 0 2% 5%;
    border-bottom: solid 1px #333333;
    display: block;
    position: relative;
    cursor: pointer;
  }
  footer .label::before {
    content: "";
    display: inline-block;
    background-color: rgb(255, 255, 255);
    position: absolute;
    bottom: 50%;
    right: 5%;
    width: 15px;
    height: 3px;
    transform: rotate(0deg) scale(1);
    opacity: 1;
    transition: all 0.3s;
  }
  footer .label::after {
    content: "";
    display: inline-block;
    background-color: rgb(255, 255, 255);
    position: absolute;
    bottom: 50%;
    right: 5%;
    width: 15px;
    height: 3px;
    transform: rotate(90deg) scale(1);
    transition: all 0.3s;
  }
  footer .close_icon::before {
    transform: rotate(-90deg) scale(0);
    opacity: 0;
    transition: all 0.3s;
  }
  footer .close_icon::after {
    transform: rotate(180deg) scale(0.9);
    transition: all 0.3s;
  }
  footer .footer_inner {
    display: none;
  }
  footer .inner li.sp {
    display: block;
  }
  footer .inner li {
    margin: initial;
    padding: initial;
    width: auto;
    position: relative;
  }
  footer .inner li:not(:last-child)::after {
    content: "";
    display: block;
    width: 1.1vw;
    height: 1px;
    background-color: #8e8e8e;
    position: absolute;
    top: 55%;
    right: 20%;
    transform: rotate(45deg);
    transform-origin: bottom right;
  }
  footer .inner li::before {
    content: "";
    display: block;
    width: 6.67vw;
    height: 1px;
    background-color: #8e8e8e;
    position: absolute;
    top: 55%;
    right: 20%;
  }
  footer .inner li::after {
    content: "";
    display: block;
    width: 1.1vw;
    height: 1px;
    background-color: #8e8e8e;
    position: absolute;
    top: 55%;
    right: 20%;
    transform: rotate(45deg);
    transform-origin: bottom right;
  }
  footer .inner li:hover,
  footer .inner li:active {
    background-color: rgba(255, 255, 255, 0.3);
  }
  footer .inner a {
    padding: 2% 0 2% 15%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 85%;
  }
  footer .inner a::after {
    display: none;
  }
  footer .info_wrapper {
    display: grid;
    grid-template-columns: 50% 50%;
    margin-bottom: 10%;
  }
  footer .sns {
    display: flex;
    flex-flow: column;
    padding: initial;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  footer .sns p {
    margin: 2% 0;
  }
  footer .sns p:not(:first-child) {
    width: clamp(160px, 26vw, 220px);
  }
  footer .info {
    margin: 5%;
  }
}
/*---------------------------スマホ用------------------------------------*/
@media screen and (max-width: 520px) {
  footer .logo {
    width: 50%;
    margin: auto;
  }
  footer .sns {
    margin: auto;
  }
  footer .sns p:nth-child(1) {
    font-size: 14px;
  }
  footer .sns a {
    border: solid 1px #555;
  }
  footer .info {
    padding: initial;
  }
  footer .info li {
    padding: initial;
  }
  footer .info li:nth-child(1) {
    padding-bottom: 1%;
  }
}
/*変数*/
/*color*/
/*font-size*/
/*font-family*/
/*----------------------------------------
--font weight--
IBM Plex Sans JP   400,500,600,700
Noto Sans JP   400,500,600,700
Josefin Sans   600
Lato   400,700,900  italic 400,700,900
Zen Antique Soft   400
------------------------------------------*/
/*line-height*/
/*------------------------ここから------------------------------*/
* {
  box-sizing: border-box;
}

h1 {
  background-image: url(image/about/info.jpg);
  background-position: center;
  background-size: cover;
  width: 100%;
}

#top_message {
  font-family: "Zen Antique Soft", serif;
  position: relative;
}
#top_message h2 {
  text-align: center;
  line-height: 1.2;
  position: relative;
}
#top_message h2::before {
  content: "";
  display: block;
  width: 12%;
  height: 1px;
  background-color: #333333;
  position: absolute;
  top: 49%;
  left: 5%;
}
#top_message h2::after {
  content: "";
  display: block;
  width: 12%;
  height: 1px;
  background-color: #333333;
  position: absolute;
  top: 49%;
  right: 5%;
}
#top_message h2 span {
  display: block;
  font-weight: 400;
}
#top_message h2 span:nth-child(1) {
  font-family: "Lato", "IBM Plex Sans JP", sans-serif;
  font-size: clamp(38px, 3.1vw, 60px);
}
#top_message h2 span:nth-child(2) {
  font-size: 120%;
}
#top_message h3 {
  font-size: clamp(28px, 3.1vw, 60px);
  font-weight: 400;
  padding: 3% 0;
  line-height: 1.2;
}
#top_message h3 span {
  display: block;
}
#top_message .name {
  position: relative;
  bottom: 200px;
  left: 12vw;
  width: 30%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  align-items: center;
  line-height: 1;
}
#top_message .name p:nth-child(1) {
  grid-column: 2 span;
  text-align: center;
  font-size: clamp(14px, 1.3vw, 26px);
}
#top_message .name p:nth-child(2) {
  text-align: right;
  padding-right: 3%;
  font-size: clamp(10px, 1.15vw, 22px);
}
#top_message .name p:nth-child(3) {
  font-size: clamp(14px, 2.25vw, 36px);
  padding-bottom: 5%;
}
#top_message .message {
  width: 50%;
  padding: 5% 5% 0 5%;
  position: absolute;
  top: 0;
  right: 0;
}
#top_message .text p {
  margin: 3% 0;
}

.container h2 {
  width: 44vw;
  text-align: right;
  line-height: 1;
  position: relative;
  top: 100px;
}
.container h2 span {
  display: block;
}
.container h2 span:nth-child(1) {
  font-family: "Lato", "IBM Plex Sans JP", sans-serif;
  font-weight: 400;
  font-size: clamp(38px, 3.1vw, 60px);
  border-bottom: solid 1px #009143;
}
.container h2 span:nth-child(2) {
  font-size: clamp(15px, 1.25vw, 24px);
  font-weight: 500;
  padding: 0.5% 0 0 0;
}
.container a {
  color: #333333;
}

#company {
  margin-bottom: 10%;
}
#company p {
  display: none;
}
#company .table {
  width: 75%;
  margin: auto;
  display: flex;
  text-shadow: 0 0 1px rgb(255, 255, 255);
  background-image: url(image/about/company.jpg);
  background-size: cover;
  background-position: 80px 0;
  background-repeat: no-repeat;
  padding: 15% 0 10% 0;
}
#company .table ul:nth-child(1) {
  font-weight: 700;
  padding-right: 5%;
  color: #354970;
}

#history {
  width: 100%;
  background-image: url(image/about/history.jpg);
  background-size: cover;
  padding: 10% 0 10% 0;
  margin-bottom: initial;
}
#history h2 {
  color: rgb(255, 255, 255);
  top: -50px;
}
#history .table {
  display: grid;
  grid-template-columns: 100px 1fr;
  grid-template-rows: repeat(17, 1fr);
  text-shadow: 0 0 1px rgb(255, 255, 255);
  width: clamp(900px, 55vw, 1100px);
  background-color: rgba(255, 255, 255, 0.75);
  margin: auto;
  padding: 3%;
}
#history .table p {
  border-bottom: dotted 1px #777777;
}
#history .table p:nth-of-type(-n+2) {
  border-top: dotted 1px #777777;
}
#history .table .none {
  border-bottom: none;
}
#history .year {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: #354970;
}
#history .month {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-weight: 700;
  color: #354970;
}
#history .contents {
  padding: 0.2% 0 0.2% 5%;
}
#history .row2 {
  grid-row: 2 span;
  align-items: center;
}
#history .row4 {
  grid-row: 4 span;
  align-items: center;
}

#floor_map {
  background-color: #F9F9F9;
  margin: 0 auto;
}
#floor_map .inner {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 5% 0;
}

#access {
  margin: 5% auto 10% auto;
  background-image: url(image/about/info2.jpg);
  background-position: 30% 55%;
  background-size: 50%;
  background-repeat: no-repeat;
}
#access h2 {
  top: 50px;
}
#access > .inner {
  display: flex;
  flex-flow: column;
  width: 60%;
  margin: 0 5% 0 auto;
  padding: 12% 7% 5% 7%;
}
#access iframe {
  display: block;
  aspect-ratio: 16/9;
  width: 100%;
  height: 100%;
}
#access .info {
  text-align: left;
  margin: 3% 0;
}
#access .info p:nth-child(1) {
  font-size: 110%;
}
#access .parking {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  margin: 0 auto;
}
#access .parking .inner {
  padding: 0 3%;
}
#access .parking .inner h3 {
  font-size: clamp(15px, 1.25vw, 24px);
}
#access .map {
  width: 35%;
}
#access .map img {
  border: solid 1px #C8C8C8;
  border-radius: 50%;
}

/*----------------------------max-width:1500-----------------------------------
-----------------------------------------------------------------------*/
@media screen and (max-width: 1500px) {
  #top_message h2 {
    padding: 5% 0;
  }
  #top_message h2::before {
    left: 10%;
  }
  #top_message h2::after {
    right: 10%;
  }
  #top_message h3 {
    padding-left: 5%;
    font-size: 4vw;
  }
  #top_message .name {
    bottom: 180px;
  }
  #top_message .message {
    position: static;
    width: 100%;
    padding: initial;
  }
  #top_message .title {
    width: 50%;
    position: absolute;
    top: 10%;
    right: 0;
  }
  #top_message .text {
    position: static;
    padding: 0 5% 5% 8%;
    line-height: 1.6;
  }
  #top_message .text p {
    margin: 3% 0;
  }
}
/*----------------------------PC(小)用-----------------------------------
-----------------------------------------------------------------------*/
@media screen and (max-width: 1200px) {
  #top_message h2 span:nth-child(2) {
    font-size: 100%;
  }
  #top_message .name {
    bottom: 140px;
  }
  #company .table {
    width: 96%;
  }
  #access > .inner {
    width: 70%;
  }
  #access .info p:nth-child(1) {
    font-size: 100%;
  }
  #access .map {
    width: 45%;
  }
}
/*-----------------------------タブレット用----------------------------------
---------------------------------------------------------------------------*/
@media screen and (max-width: 900px) {
  #top_message h2 span:nth-child(1) {
    font-size: 3.3vw;
  }
  #top_message .name {
    bottom: 90px;
    left: 15vw;
  }
  #company .table {
    padding: 25% 0 10% 0;
  }
  #history {
    padding: 30% 0 0 0;
    position: static;
    background-size: contain;
    background-repeat: no-repeat;
  }
  #history h2 {
    top: -90px;
  }
  #history .table {
    width: 100%;
    grid-template-columns: 82px 1fr;
    background-color: rgb(255, 255, 255);
    padding: 8% 3%;
  }
  #history .year {
    background-color: #f0f0f0;
    padding: 0 2%;
  }
  #history .month {
    background-color: #f0f0f0;
    padding: 0 2%;
  }
  #history .contents {
    padding: 0.2% 0 0.2% 2%;
    display: flex;
    align-items: center;
  }
  #floor_map h2 {
    top: 150px;
  }
  #floor_map .inner {
    display: block;
    padding: 0 0 5% 0;
  }
  #access {
    background-image: none;
  }
  #access > .inner {
    width: 96%;
    margin: auto;
    padding: 20% 5% 5% 5%;
  }
  #access .parking {
    width: 96%;
  }
  #access .map {
    width: 70%;
  }
}
/*-----------------------------スマホ用----------------------------------
----------------------------------------------------------------------*/
@media screen and (max-width: 520px) {
  h1 {
    background-image: url(image/about/aboutUs_sp.jpg);
  }
  #top_message {
    background-color: #D5D5D5;
    padding-top: 45%;
  }
  #top_message h2::before {
    left: -40%;
    width: 30%;
  }
  #top_message h2::after {
    right: -40%;
    width: 30%;
  }
  #top_message h2 span:nth-child(1) {
    font-size: 4.6vw;
  }
  #top_message h3 {
    padding: initial;
    font-size: 5.5vw;
  }
  #top_message h3 span:not(:last-child) {
    display: inline-block;
  }
  #top_message .title {
    top: 4%;
    width: 100%;
    display: flex;
    flex-flow: column;
    align-items: center;
  }
  #top_message .name {
    top: 50%;
    left: 38vw;
    line-height: 1;
    width: 40%;
  }
  #top_message .text {
    background-color: rgb(255, 255, 255);
    margin-top: -10%;
    padding: 10% 5%;
  }
  #top_message .text p {
    margin: 5% 0;
  }
  .container {
    margin: initial;
  }
  .container h2 {
    position: static;
    width: 100%;
    text-shadow: 0 0 1px #C8C8C8;
    text-align: center;
    color: rgb(255, 255, 255);
    padding: 30% 0;
  }
  .container h2 span {
    padding: 1% 0;
  }
  .container h2 span:nth-child(1) {
    font-size: 225%;
    border-bottom: none;
  }
  .container h2 span:nth-child(2) {
    font-size: 14px;
    border-top: solid 1px rgb(255, 255, 255);
    display: inline-block;
    padding: 1% 0 0 0;
  }
  #company {
    width: 100%;
    padding: initial;
    background-image: none;
  }
  #company p {
    display: block;
    width: 70%;
    margin: 5% auto 0 auto;
    position: relative;
    overflow: hidden;
  }
  #company p span {
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgb(53, 73, 112);
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(-100%);
  }
  #company .table {
    width: 96%;
    margin: auto;
    justify-content: center;
    padding: 5% 0;
    background-image: none;
  }
  #company .table ul:nth-child(1) {
    text-align: center;
  }
  #company h2 {
    margin: 0 0 15% 0;
    background-image: url(image/about/company_sp.jpg);
    background-size: cover;
    top: 0;
  }
  #history {
    background-image: none;
    padding: initial;
  }
  #history h2 {
    width: 100%;
    background-image: url(image/about/history_sp.jpg);
    background-size: cover;
    top: 0;
  }
  #history .table {
    padding: 10% 3%;
    font-size: 12px;
  }
  #floor_map {
    margin-top: initial;
  }
  #floor_map h2 {
    padding: initial;
    color: #333333;
    position: relative;
    top: 100px;
    top: -35%;
    padding: 30% 0;
  }
  #floor_map h2 span:nth-child(2) {
    border-top: solid 1px #333333;
  }
  #floor_map .inner {
    margin-top: -30%;
  }
  #access {
    background-image: none;
    color: #333333;
    padding: initial;
    margin: 0 auto;
  }
  #access h2 {
    margin: initial;
    background-image: url(image/about/info2.jpg);
    background-size: cover;
    color: #333333;
    top: 0;
  }
  #access h2 span:nth-child(2) {
    border-top: solid 1px #333333;
  }
  #access > .inner {
    padding: 10% 3%;
  }
  #access iframe {
    height: 350px;
  }
  #access .info p:nth-child(1) {
    font-size: 14px;
  }
  #access .parking {
    flex-flow: column;
  }
  #access .map {
    padding: 10% 0;
  }
}/*# sourceMappingURL=about.css.map */