﻿@charset "utf-8";

/* 共通 */

body {
  color: #4d4d4d;
  box-sizing: border-box;
}

h2 {
  font-size: 28px;
  font-weight: normal;
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  position: relative;
  text-align: center;
}

h3 {
  font-weight: normal;
  font-size: 15px;
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}

h4 {
  font-size: 28px;
  font-weight: normal;
  line-height: 1.5em;
  margin: 0 0 30px;
  padding: 0;
}

h5 {
  color: #444;
  font-size: 17px;
  font-weight: normal;
  line-height: 1.75em;
  margin: 0 0 15px;
  padding: 7px 20px 5px;
  border-left: 5px solid #642a39;
  border-bottom: 1px solid #CCC;
  background: #f4f4f4;
}

h6 {
  color: #FFF;
  font-size: 17px;
  font-weight: normal;
  line-height: 1.75em;
  margin: 0 0 15px;
  padding: 7px 20px 5px;
  background: #642a39;
}

img {
  width: 100%;
}

a {
  text-decoration: none;
  color: #4d4d4d;
  cursor: pointer !important;
}

p {
  font-size: 17px;
  line-height: 1.8;
  margin-top: 0;
}

p b {
  color: #642a39;
}

.container {
  max-width: 1200px;
  width: 100%;
}

.container-for-lowerpage {
  /* width: 980px; */
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

aside,
#sidebar {
  width: 100%;
  max-width: 230px;
}

aside {
  margin-top: 20px;
}

main {
  width: 100%;
  max-width: 920px;
}

#main-column {
  width: 100%;
}

.flex {
  display: flex;
}

.j-between {
  justify-content: space-between;
}

.f-between {
  justify-content: space-between;
}

.around {
  justify-content: space-around;
}

.m-center {
  margin: 0 auto;
}

.t-center {
  text-align: center;
}

/* ヘッダー */

#hero-erea, #hero-erea1 {
  font-weight: bold;
  font-size: 60px;
  color: #642a39;
  text-shadow: 0 0 15px #fff, 0 0 15px #fff, 0 0 15px #fff, 0 0 15px #fff,
    0 0 10px #fff, 0 0 15px #fff, 0 0 15px #fff, 0 0 15px #fff, 0 0 15px #fff,
    0 0 15px #fff;
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN",
    "Yu Mincho", "MS PMincho", serif;
  line-height: 0.8;
}

#hero-erea1 p, #hero-erea p {
  font-weight: bold;
  font-size: 60px;
  position: absolute;
  bottom: 30px;
  left: 15%;
  color: #642a39;
}

#hero-erea1 span, #hero-erea span {
  font-size: 90px;
}

header#header {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

header#header #logo-wrap,
footer#footer #logo-wrap {
  max-width: 300px;
  margin-top: 25px;
}

header#header #logo-wrap img {
  width: 100%;
}

header#header nav>ul>li {
  margin-left: 35px;
  font-size: 14px;
  padding-top: 50px;
}

header#header nav.display-pc>ul {
  margin-top: 0;
}

p.nav-menu-icon {
  width: 9px;
  display: inline-block;
}

p.nav-menu-icon img {
  margin-top: -1px;
}


header#header nav>ul>li.careers {
  text-align: center;
  padding: 21px 18px 6px;
  background-color: #642a39;
  color: #fff;
  width: 170px;
  border-radius: 0 0 10px 10px;
  margin-left: 54px;
}

header#header nav.display-pc {
  display: block;
}

header#header nav.display-mobile {
  display: none;
}

header#header nav.display-mobile.open {
  display: block;
  position: fixed;
  height: 100%;
  width: 225px;
  background-color: #fff;
  right: 0;
  top: 0;
  z-index: 99999;
  overflow-y: scroll;
}

.careers-mobile img {
  width: 170px;
  border: 2px solid #642a39;
  padding: 15px 24px 12px 24px;
  border-radius: 21px;
}


.mobile-menu-erea {
  display: none;
}

header#header nav.display-mobile>ul.mobile-menu {
  padding: 0;
  margin: 0;

}

header#header nav.display-mobile>ul.mobile-menu>li {
  padding: 15px 0;
  margin: 0 auto;
  font-size: 12px;
  border-bottom: 1px solid #c4c4c4;
  text-align: center;
  background-color: #f6f4ec;
}

header#header nav.display-mobile>ul.mobile-menu>li::after {
  content: ">";
  position: absolute;
  right: 10px;
}

header#header nav.display-mobile>ul.mobile-menu>li:first-child::after {
  content: "";
  display: none;
}

header#header nav.display-mobile>ul.mobile-menu>li:last-child::after {
  border-bottom: none;
  content: "";
  display: none;
}

header#header nav.display-mobile>ul.mobile-menu>li.related-site {
  background-color: #e6e6e6;
  padding: 9px 0;
}

header#header nav.display-mobile>ul.mobile-menu>li.careers-mobile {
  background-color: #fff;
  margin-top: 45px;
  margin-bottom: 35px;
  border-bottom: none;
}

.mobile-menu-logo-wrap img {
  width: 180px;
}

header#header nav.display-mobile>ul.mobile-menu>li.mobile-menu-logo-wrap {
  background-color: #fff;
}

/* 
.mobile-menu-erea.open {
  display: none;
} */

span#daily {
  padding-bottom: 3px;
  display: block;
  border-bottom: 1px solid #fff;
  border-radius: 2px;
  color: #fff;
  font-size: 13px;
}

span#recruitment-information {
  color: #ffffb2;
  font-size: 14px;
  display: block;
  margin-top: -12px;
}

span#triangle {
  width: 12px;
  text-align: center;
  display: block;
  margin: -18px auto 0px auto;
}


#hero-erea1 p, #hero-erea p {
  line-height: 1.3em;
}

section#vision .card p,
section#department .card p,
section#other .content p {
  font-size: 14px !important;
  line-height: 1.5em;
  padding: 0 10px;
}

section#vision a.detail-link {
  font-size: 12px !important;
  padding: 5px 10px !important;
}

/* トップ画像 */
div.full {
  position: relative;
  
  background-size: cover;
  margin: 0 auto;
  
  
}
.slick-dotted.slick-slider {
  margin-bottom: 0!important;
}

div#hero-erea {
  /* position: relative; */
  background-image: url(../img/hero-no-title.png);
  background-position: bottom;
  height: calc(100vh - 123.5px);
  
}

div#hero-erea1 {
  background-image: url(../img/hero-no-title.png);
  background-size: cover;
  background-position: bottom;
  height: calc(100vh - 123.5px);
}

.full .slick-dots {
  bottom: 4%;
  z-index: +1;
}



body#top hr.belt {
  border-bottom: 11px solid #642a39;
  width: 100%;
  margin: 0;
  padding: 0;
  border-top: none;
  margin-top: -6px;
}

/* トップページ各セクション */

section#first {
  margin-top: 45px;
}

section#first .grid {
  display: grid;
  grid-template-columns: 43.5% 1fr;
  column-gap: 45px;
}

#first .text-area {
  /* padding: 18px 0; */
}

#first h2 {
  font-family: "メイリオ";
}

#first .text-area h2 {
  margin-top: 60px;
  text-align: left;
}

#first .text-area p {
  margin-top: 30px;
}

section#first .grid.image-only-colum {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 14px;
}

section#first .grid.reverse {
  display: grid;
  grid-template-columns: 1fr 43.5%;
  column-gap: 45px;
}

hr.divide {
  border: none;
  border-bottom: 0.25px solid #c1c1c1;
  width: 93%;
  margin: 70px auto;
}

section#department h3,
section#vision .card h3,
section#other h3 {
  color: #444;
  font-size: 20px !important;
  text-align: center;
  margin: 9px 0;
}

section#vision h2 span {
  position: relative;
  z-index: 2;
}

section#vision h2::after {
  content: attr(data-en);
  position: absolute;
  color: rgba(5, 62, 98, 0.2);
  font-size: 40px;
  text-transform: uppercase;
  z-index: 1;
  text-align: center;
  font-size: 12px;
  bottom: 0;
  display: block;
  top: 12px;
  left: 0;
  right: 0;
  margin-top: 24px;
}

section#vision p.description {
  margin-top: 52px;

  margin-bottom: 30px;
}

section#vision div.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 14px;
}

section#vision .card {
  padding: 7px 7px 0 7px;
  border: 0.25px solid #c1c1c1;
}

section#vision hr {
  border: none;
  border-bottom: 0.25px solid #c1c1c1;
}

section#vision .card p {
  font-size: 10px;
}

section#vision a.detail-link {
  display: block;
  color: #fff;
  text-align: right;
  background-color: #642a39;
  padding: 3px 7px;
  font-size: 10px;
}

section#department .grid {
  display: grid;
  grid-template-columns: 45.9% 1fr;
  column-gap: 45px;
}

section#department h2 {
  text-align: center;
  position: relative;
}

section#department h2 span {
  position: relative;
  z-index: 2;
}

section#department .card-wrap-grid {
  margin-top: 21px;
}

section#department h2::after {
  content: attr(data-en);
  position: absolute;
  color: rgba(5, 62, 98, 0.2);
  font-size: 40px;
  text-transform: uppercase;
  z-index: 1;
  text-align: center;
  font-size: 12px;
  bottom: 0;
  display: block;
  top: 12px;
  left: 0;
  right: 0;
  margin-top: 24px;
}

.btn-blue {
  background-color: #6dabd8;
  color: #fff;
  display: block;
  width: 125px;
  padding: 9px;
  border-radius: 5px;
  font-size: 11px;
  text-align: center;
  margin: 0 auto;
}

section#department p.description {
  line-height: 1.8;
  margin-top: 45px;
  margin-bottom: 35px;
}

section#department div.card-wrap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 14px;
}

section#department h3 {
  text-align: center;
  position: relative;
  font-size: 17px;
  margin-bottom: 20px;
}

/* section#department h3 span {
  position: relative;
  z-index: 2;
} */

section#department h3::after {
  content: attr(data-en);
  position: absolute;
  color: rgba(5, 62, 98, 0.2);
  font-size: 40px;
  text-transform: uppercase;
  z-index: 1;
  text-align: center;
  font-size: 12px;
  bottom: 0;
  display: block;
  top: 1%;
  left: 0;
  right: 0;
  margin-top: 24px;
}

section#department .card p {
  font-size: 10px;
}

section#department .card a.btn-yellow {
  display: block;
  width: 125px;
  color: #fff;
  background-color: #f2c21e;
  border-radius: 5px;
  padding: 5px;
  margin: 0 auto;
  text-align: center;
  font-size: 11px;
  margin-top: 15px;
}

section#news {
  width: 100%;
  max-width: 1200px;
}

section#news .insta-icon-wrap {
  margin: 0 0 0 47px;
}

section#news ul#gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 9px;
  margin: 0;
  list-style: none;
  padding-left: 12px;
}

section#news h2 {
  margin-bottom: 45px;
}

.instagram-erea, .tiktoc {
  width: 33%;

}

.insta_btn2 {
  /*ボタンの下地*/
  color: #fff;
  /*文字・アイコン色*/
  border-radius: 7px;
  /*角丸に*/
  position: relative;
  display: inline-block;
  height: 50px;
  /*高さ*/
  width: 100%;
  /*幅*/
  text-align: center;
  /*中身を中央寄せ*/
  font-size: 25px;
  /*文字のサイズ*/
  line-height: 50px;
  /*高さと合わせる*/
  background: -webkit-linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;
  background: linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;
  /*グラデーション①*/
  overflow: hidden;
  /*はみ出た部分を隠す*/
  text-decoration: none;
  /*下線は消す*/
}

.insta_btn2:before {
  /*グラデーション②*/
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /*全体を覆う*/
  height: 100%;
  /*全体を覆う*/
  background: -webkit-linear-gradient(15deg,
      #ffdb2c,
      rgb(249, 118, 76) 25%,
      rgba(255, 77, 64, 0) 50%) no-repeat;
  background: linear-gradient(15deg,
      #ffdb2c,
      rgb(249, 118, 76) 25%,
      rgba(255, 77, 64, 0) 50%) no-repeat;
}

.insta_btn2 .fa-instagram {
  /*アイコン*/
  font-size: 35px;
  /*アイコンサイズ*/
  position: relative;
  top: 4px;
  /*アイコン位置の微調整*/
}

.insta_btn2 span {
  /*テキスト*/
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.insta_btn2:hover span {
  /*ホバーで一周回転*/
  -webkit-transform: rotateX(360deg);
  -ms-transform: rotateX(360deg);
  transform: rotateX(360deg);
}

section#other h2 {
  position: relative;
}

section#other h2::after {
  content: attr(data-en);
  position: absolute;
  color: rgba(5, 62, 98, 0.2);
  font-size: 40px;
  text-transform: uppercase;
  z-index: 1;
  text-align: center;
  font-size: 12px;
  bottom: 0;
  display: block;
  top: 12px;
  left: 0;
  right: 0;
  margin-top: 24px;
}

section#other .wrap-text {
  margin-top: 45px;
}

section#other .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 45px;
  margin-top: 35px;
}

section#other hr {
  border: none;
  border-bottom: 0.25px solid #c1c1c1;
}

section#other .content p {
  font-size: 10px;
}

section#other .content a.btn {
  font-size: 10px;
  width: 124px;
  color: #fff;
  border-radius: 5px;
  padding: 7px;
  display: block;
  margin: 0 auto;
  text-align: center;
  background-color: #f2c21e;
}

section#recruit .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 45px;
}

section#recruit h2 {
  text-align: center;
  position: relative;
}

section#recruit h2::after {
  content: attr(data-en);
  position: absolute;
  color: rgba(5, 62, 98, 0.2);
  font-size: 40px;
  text-transform: uppercase;
  z-index: 1;
  text-align: center;
  font-size: 12px;
  bottom: 0;
  display: block;
  top: 12px;
  left: 0;
  right: 0;
  margin-top: 24px;
}

section#recruit p.description {
  margin-top: 45px;
  line-height: 1.8;
}

#top-background-img {
  background-image: url(../img/back_001.jpg);
  background-position: top;
  background-size: cover;
  padding-bottom: 45px;
}

div.back-white {
  background-color: #ffffffc2;
  padding: 45px 0;
  margin: 45px 0 0px 0;
}

.back-white .grid {
  display: grid;
  grid-template-columns: 40% 45%;
  grid-gap: 70px;
  justify-content: end;
}

div.back-white h2 {
  font-size: 24px;
  text-align: left;
  margin: 0 0 6px;
}

div.back-white hr {
  border-bottom: 3px solid #642a39;
  width: 100%;
  margin: 0;
  padding: 0;
}

div.back-white table {
  margin-top: 11px;
  font-size: 14px;
}

div.back-white table td.title {
  padding-right: 15px;
}

/* Footer */

footer#footer {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

footer#footer #logo-wrap {
  margin-top: 30px;
}

footer#footer nav>ul>li,
header#header nav>ul>li {
  margin-left: 35px;
  font-size: 12px;
  padding-top: 38px;
}

footer#footer nav>ul {
  margin-top: 15px;
  margin-bottom: 0;
}

p.nav-menu-icon {
  width: 9px;
  display: inline-block;
}

p.nav-menu-icon img {
  margin-top: -1px;
}

footer#footer nav>ul>li.careers {
  text-align: center;
  padding: 21px 18px 6px;
  background-color: #642a39;
  color: #fff;
  width: 157px;
  border-radius: 10px 10px 0 0;
  margin-left: 54px;
}

span#daily {
  padding-bottom: 3px;
  display: block;
  border-bottom: 2px solid #fff;
  border-radius: 2px;
  color: #fff;
  font-size: 13px;
}

span#recruitment-information {
  color: #ffffb2;
  font-size: 14px;
  display: block;
  margin-top: -12px;
}

span#triangle {
  width: 12px;
  text-align: center;
  display: block;
  margin: -18px auto 0px auto;
}

/* 下層ページ */
h2.sub_title {
  margin-bottom: 75px;
}

img.right {
  float: right;
  width: 100%;
  max-width: 500px;
  margin: 0 0 25px 30px;
}

img.left {
  float: left;
  width: 100%;
  max-width: 500px;
  margin: 0 30px 25px 0;
}

.signature {
  float: right;
  margin: 0 30px 30px 0;
}

.signature p {
  font-size: 1rem;
  line-height: 1.5em;
  text-align: left;
}

.info_box {
  width: 100%;
  font-size: 1.25rem;
  line-height: 2em;
  text-align: center;
  margin: 0 0 30px;
  padding: 30px 20px;
  border: 1px solid #CCC;
}

table.online {
  width: 100%;
  font-size: .85rem;
  margin: 0;
  padding: 0;
  border: 1px solid #CCC;
}

table.online th {
  font-weight: normal;
  text-align: center;
  vertical-align: top;
  margin: 0;
  padding: 10px 30px;
  background: #f4f4f4;
  border: 1px solid #CCC;
}

table.online td {
  font-weight: normal;
  text-align: left;
  margin: 0;
  padding: 10px 30px;
  border: 1px solid #CCC;
}

table.enkaku {
  margin: 0;
  padding: 0;
}

table.enkaku th {
  font-weight: normal;
  text-align: left;
  vertical-align: top;
  margin: 0;
  padding: 8px 30px 8px 0;
}

table.enkaku td {
  font-weight: normal;
  text-align: left;
  margin: 0;
  padding: 8px 0;
}

ul.list {
  margin: 0;
  padding: 0 0 0 30px;
}

ul.list li {
  line-height: 2em;
}

.po {
  white-space: normal;
  padding: 10px;
  height: 300px;
  width: 100%;
  max-width: 800px;
  overflow: auto;
  border: 1px solid #DDD;
  margin: 0 auto 50px;
}

.po p {
  font-size: .75rem;
  line-height: 1.8em;
  color: #333333;
  text-align: left;
  margin: 0 0 15px;
  padding: 0;
}

.po p span {
  color: #642a39;
  font-weight: bold;
}


.low-contents-container {
  width: 100%;
}

div#lower-page-hero-erea {
  position: relative;
  background-image: url(../img/lower-hero.png);
  height: 185px;
  background-size: cover;
  margin: 0 auto;
  background-position: center;
}



section.lower h2 {
  position: relative;
}

section.lower h2::after {
  content: attr(data-en);
  position: absolute;
  color: rgba(5, 62, 98, 0.2);
  font-size: 40px;
  text-transform: uppercase;
  z-index: 1;
  text-align: center;
  font-size: 12px;
  bottom: 0;
  display: block;
  top: 12px;
  left: 0;
  right: 0;
  margin-top: 24px;
}

h2.lower-main-title {
  margin-top: 80px;
}

table.company-info {
  font-size: 15px;
  width: 100%;
  border-collapse: collapse;
  margin-top: 45px;
}

table.company-info tr {
  border-bottom: 9px solid #fff;
}

table.company-info th {
  width: 180px;
  background-color: #642a39;
  color: #fff;
  font-weight: normal;
  position: relative;
}

table.company-info th::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  right: -24px;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent transparent transparent #642a39;
  border-width: 25px 0 25px 20px;
}

table.company-info th,
table.company-info td {
  padding: 21px 0;
}

table.company-info td {
  background-color: #f2f2f2;
  padding-left: 55px;
  line-height: 2.1;
  width: 530px;
}

.map-wrap iframe {
  width: 100%;
  height: auto;
  height: 375.14px;
}

.grid-map-content {
  display: grid;
  grid-template-columns: 0.76fr 2fr;
  margin-right: 30px;
  column-gap: 12px;
  margin-top: 27px;
}

.grid-office-img {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-right: 30px;
  column-gap: 25px;
  margin-top: 18px;
}

#lowpage-background-img {
  background-image: url(../img/background_3_11.png);
  background-position: top;
  background-size: cover;
  padding-bottom: 45px;
  margin-top: -60px;
  padding-top: 60px;
}


/* サイドバー */
aside #sidebar h3 {
  font-size: 16px;
  margin: 9px 0;
}

aside #sidebar .flex.j-between {
  align-items: center;
  border-bottom: 1px solid #a8a8a8;
  margin-bottom: 9px;
  height: 40px;
  margin-top: 5px;
}

aside #sidebar .department p>a {
  width: 30px;
  font-size: 9px;
  padding: 6px 12px;
  background-color: #f2c21e;
  color: #fff;
  font-size: 9px;
  border-radius: 5px;
}

aside ul {
  list-style: none;
  margin-top: 35px;
  padding-left: 0;
}

aside ul li img {
  width: 18px;
}

aside ul li {
  padding-top: 10px;
  border-top: 1px solid #a8a8a8;
}

aside ul li:last-child {
  border-bottom: 1px solid #a8a8a8;
}

aside ul li .menu-title {
  display: inline-block;
  margin-left: 4px;
  font-size: 12px;
}

.news-logo {
  width: 50px;
  margin: 0 auto;
}

img.news-logo {
  text-align: center;
  display: block;
}

/* レスポンシブ 1200px以下 */
@media screen and (max-width:1200px) {
  .container {
    padding: 0 12px;
  }


}

@media screen and (max-width:1170px) {
  .container-for-lowerpage.m-center.flex.j-between {
    justify-content: unset;
    padding: 0 12px;
  }

  #sidebar {
    padding-left: 12px;
  }

  
}

@media screen and (max-width:998px) {
  section#vision div.grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 14px;
    row-gap: 14px;
  }

  section#department .grid {
    margin-bottom: 60px;
  }

  section#department div.card-wrap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 14px;
    row-gap: 35px;
  }

  section#news ul#gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 9px;
    margin: 0;
    list-style: none;
    padding-left: 12px;
  }

  

  

}

@media screen and (max-width:980px) {
  .mobile-menu-erea {
    display: block;
  }

  header#header #logo-wrap {
    margin-top: 12px;
    margin-bottom: 12px;
    margin-left: 6px;
  }

  header#header #logo-wrap img {
    width: 70%;
    min-width: 210px;
  }

  header#header nav.display-pc {
    display: none;
  }

  header#header nav.display-mobile {
    display: none;

  }

  .wrap-btn-gnavi {
    width: 66px;
    background-color: #642a39;
    justify-content: end;
    /* margin: 0 0 auto 0; */
    height: 100%;
    margin-right: 0;
    margin-left: auto;
  }



  .btn-gnavi {
    position: relative;
    top: 12px;
    right: -12px;
    width: 36px;
    height: 4px;
    z-index: 3;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
    /* -webkit-transition: all 400ms; */
    /* transition: all 400ms; */
  }

  small.menu-text.display_mobile {
    position: absolute;
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    margin-top: 28px;
    margin-bottom: -22px;
    width: 40px;
  }

  .btn-gnavi span {
    position: absolute;
    width: 42px;
    height: 4px;
    background: #666;
    border-radius: 10px;
    -webkit-transition: all 400ms;
    transition: all 400ms;
  }

  .btn-gnavi span:nth-child(1) {
    top: 0;
    background-color: #fff;
  }

  .btn-gnavi span:nth-child(2) {
    top: 10px;
    background-color: #fff;
  }

  .btn-gnavi span:nth-child(3) {
    top: 20px;
    background-color: #fff;
  }

  .wrap-btn-gnavi.open .btn-gnavi span:nth-child(1) {
    top: 5px;
    transform: translateY(6px) rotate(-45deg);
  }

  .wrap-btn-gnavi.open .btn-gnavi span:nth-child(2) {
    opacity: 0;
  }

  .wrap-btn-gnavi.open .btn-gnavi span:nth-child(3) {
    top: 18px;
    transform: translateY(-6px) rotate(45deg);
  }

  .wrap-btn-gnavi.open {
    transition: 0.3s;
    right: 225px;
    position: fixed;
    height: 65.4px;
  }

  nav.header_nav.open>ul>li>a::after {
    content: '';
    width: 12px;
    height: 12px;
    border-top: solid 1px #a5a5a5;
    /* 好みで色を変えてください */
    border-right: solid 1px #a5a5a5;
    /* 好みで色を変えてください */
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    left: 210px;
    background-color: unset;
  }

  nav.header_nav.open>ul>li>ul>li>a::after {
    content: '';
    width: 12px;
    height: 12px;
    border-top: solid 1px #a5a5a5;
    /* 好みで色を変えてください */
    border-right: solid 1px #a5a5a5;
    /* 好みで色を変えてください */
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    left: 210px;
    background-color: unset;
  }

  nav.header_nav.open>ul>li>a.no-display:first-child:after {
    border: none;
  }

  .mobile-menu-erea>a {
    position: absolute;
    right: 80px;
    border-left: 1px solid #c4c4c4;
    padding-left: 12px;
    margin-top: 12px;
    display: inline-block;
  }

  .mobile-menu-erea>a>img {
    width: 60px;
    margin-top: 6px;
  }

  .instagram-erea, .tiktoc {
    width: 100%;
  }

  .instagram-erea, .tiktoc, .facebook-erea {
    margin-top: 18px;
    margin-bottom: 12px;
  }


}

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

  #hero-erea1 p, #hero-erea p {
    font-size: 40px;
  }

  section#first .grid {
    display: block;
  }

  section#first .grid .text-area h2 {
    text-align: center;
  }

  section#first .grid.image-only-colum {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 14px;
  }

  section#first .grid.reverse {
    display: flex;
    flex-flow: column-reverse;
    flex-wrap: wrap;
  }

  section#first .grid.reverse .text-area,
  section#first .grid.reverse>p>img {
    width: 100%;
  }

  section#department .grid {
    display: block;
  }

  section#department .grid>div {
    margin-bottom: 30px;
  }

  .fb-page.fb_iframe_widget.fb_iframe_widget_fluid {
    width: 350px !important;
  }

  .fb-page.fb_iframe_widget.fb_iframe_widget_fluid>span {
    width: 350px !important;
  }

  .fb-page.fb_iframe_widget.fb_iframe_widget_fluid>span>iframe {
    width: 350px !important;
  }
}

@media screen and (max-width:780px) {
.container-for-lowerpage.m-center.flex.j-between {
    flex-wrap: wrap;
  }

  main {
    max-width: 998px;
    width: 100%;
  }

  aside ,#sidebar{
    max-width: 998px;
    width: 100%;
  }

  .sidebar-mobile {
    display: flex; 
    flex-wrap: wrap;
    justify-content: space-between;
}

.department {
  max-width: 48%;
  width: 100%;
}
}

@media screen and (max-width:600px) {
  #hero-erea1 p, #hero-erea p {
    font-size: 28px;
    left: 3%;
    bottom: 20%;
  }

  #hero-erea span, #hero-erea1 span {
    font-size: 60px;
  }

  div#hero-erea, div#hero-erea1 {
    background-position: bottom 0px left 60%;
  }

  section#vision div.grid {
    grid-template-columns: repeat(1, 1fr);
    row-gap: 35px;
  }

  section#department div.card-wrap-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    column-gap: 14px;
    row-gap: 35px;
  }

  #news .flex {
    display: block;
    text-align: center;
  }

  .fb-page.fb_iframe_widget.fb_iframe_widget_fluid {
    max-width: 500px !important;
    width: 100% !important;
  }

  .fb-page.fb_iframe_widget.fb_iframe_widget_fluid>span {
    max-width: 500px !important;
    width: 100% !important;
  }

  .fb-page.fb_iframe_widget.fb_iframe_widget_fluid>span>iframe {
    max-width: 500px !important;
    width: 100% !important;
  }

  section#news ul#gallery {
    grid-template-columns: 1fr 1fr;
    padding-left: 0px;
    max-width: 500px;
    width: 100%;
    margin: 45px auto;
  }

  section#other .grid {
    grid-template-columns: 1fr;
    column-gap: 35px;
  }

  section#recruit .grid {
    display: flex;
    flex-flow: column-reverse;
    flex-wrap: wrap;
  }

  .back-white .grid {
    display: block;
  }

  section.lower #main-column img.right, section.lower #main-column img.left {
    float: unset;
    max-width: 100%!important;
    margin: 0 0 12px 0;
  }
  .department {
    max-width: 100%;
    
}

 .contact_form dd {
  margin-left: 0;
}

table.company-info {
  table-layout: fixed;
}

table.company-info th {
  width: 100%;
  display: block;
}

table.company-info td {
  width: 100%;
  display: block;
  text-align: center;
}

table.company-info th::after {
  display: none;
}

.grid-map-content {
  display: block;
}

.grid-office-img {
  column-gap: 0;
}
/*
.contact_form dd input {
  width: 100%;
} */





  #footer .flex.f-between {
    flex-wrap: wrap;
  }

  footer#footer #logo-wrap {
    width: 80%;
    padding: 0 12px;
    box-sizing: border-box;
    margin: 21px auto 0 auto;
  }

  footer#footer nav>ul {
    margin-top: 0px;
    margin-bottom: 0;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: -24px;
  }

  footer#footer nav>ul>li.careers {
    text-align: center;
    padding: 21px 18px 6px;
    background-color: #642a39;
    color: #fff;
    width: 100%;
    border-radius: 10px 10px 0 0;
    margin-left: 0px;
    width: 100%;
    margin-left: 24px;
  }

  footer#footer nav {
    width: 100%;

  }
}