
body {
  font-family: 'Meiryo', 'Yu Gothic', sans-serif;
  background: #fff;
  color: #000;
  line-height: 1.4;
  font-size: 14px;
  margin-top: 110px;
}
main {
  max-width: 100%;
}
section {
  padding: 100px 47px;
  background-color: #fff;
}
h2 {
  color: #333;
  font-size: 2.1rem;
  font-weight: bold;
  margin-bottom: 20px;
  padding: 0;
  position: static;
  display: inline;
  line-height: 1.5;
}
h2::before {
  display: none;
}
h2 span {
  font-size: 1.8rem;
  color: #1A005D;
  display: block;
  margin-bottom: 15px;
}
h2 + p {
  margin-top: 20px;
}
p {
  line-height: 2.3;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.fadeIn {
  opacity: 0;
  transition: 2s;
}
.fadeIn.is-show {
  opacity: 1;
}

@media (max-width: 900px) {
  body {
    margin-top: 50px;
  }
  section {
  padding: 100px 15px;
  }
}

/* 共有パーツ */
/* グリッドボタン */
.list-grid-btn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  margin-top: 50px;
  list-style: none;
  text-align: center;
  color: #fff;
}
.list-grid-btn li a {
  display: block;
  background: #1A005D;
  font-weight: bold;
  padding: 30px 10px;
  text-align: center;
  position: relative;
}
.list-grid-btn li a::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  height: 0;
  margin: auto;
  border-top: 6px solid transparent;
  border-right: 0 solid transparent;
  border-left: 9px solid #fff;
  border-bottom: 6px solid transparent;
  box-sizing: border-box;
}
.list-grid-btn li:hover {
  opacity: 0.7;
}
.list-grid-btn li span {
  padding-left: 15px;
  font-size: 1.05rem;
}
.list-grid-btn li:hover {
  background: #5E4C8D;
}

@media (max-width: 900px) {
  .list-grid-btn {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 12px 0;
  }
}

/* グリーンボタン */
.link-btn {
  max-width: 1210px;
  margin: 40px auto 0;
  display: block;
  width: 100%;
  background: #8EC300;
  text-align: center;
  padding: 24px 10px;
  font-weight: bold;
  color: #fff;
  transition: background 0.2s;
  position: relative;
  font-size: 1.05rem;
}
.link-btn::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  height: 0;
  margin: auto;
  box-sizing: border-box;
  border-top: 6px solid transparent;
  border-right: 0 solid transparent;
  border-left: 9px solid #fff;
  border-bottom: 6px solid transparent;
}
.link-btn:hover {
  opacity: 0.7;
}
.link-btn span {
  padding-left: 15px;
}
/* ネイビーボタン */
.link-btn.-navy {
  background: #1A005D;
}
/* 左要素 */ 
.left-contents {
  width: 540px;
  margin: 0 auto;
}

/* MV */
.visual {
  position: relative;
  overflow: hidden;
}
.visual img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0.8);
}
.slick-dots {
  display: flex;
  justify-content: center;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 35px;
  margin: 0 auto;
  z-index: 2;
}
.slick-dotted.slick-slider {
  margin-bottom: 0;
}
.slick-dots li {
  margin: 0 1px;
}
.slick-dots li button:before {
  color: #F2F2F2;
  opacity: 1;
  font-size: 2rem;
}
@media (max-width: 900px) {
  .visual img {
    width: 140vw;
    max-width: none;
    object-fit: cover;
    margin-left: -34vw;
  }
  .slick-list {
    padding-bottom: 50px;
  }
  .slick-dots {
    bottom: 22px;
  }
}

/* ローディング要素 */
.loading-bg,
.white-swipe,
.green-swipe {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100vh;
}
.loading-bg {
  z-index: 9997;
  background: #fff;
  transition: background 0.7s cubic-bezier(.77,0,.175,1);
}
.white-swipe {
  background: #fff;
  z-index: 9998;
  left: -100%;
  transition: left 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.green-swipe {
  background: #8EC300;
  z-index: 9999;
  left: -100%;
  transition: left 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.loading-logo {
  position: fixed;
  left: 50%;
  top: 38%;
  transform: translate(-50%, -50%);
  z-index: 9998;
  width: 220px;
  height: auto;
  text-align: center;
  pointer-events: none;
}
.loading-logo img {
  width: 100%;
  height: auto;
  display: block;
}
 .loading-bar {
  position: fixed;
  height: 3px;
  left: 0;
  top: 45%;
  width: 100vw;
  z-index: 10000;
}
/* ====== am-off の場合はローディング要素を非表示 ====== */
.am-off .loading-bg,
.am-off .white-swipe,
.am-off .green-swipe,
.am-off .loading-logo,
.am-off .loading-bar {
  display: none !important;
}

/* 新着情報 */
.topics-section {
  background-color: #1a005d;
  margin-bottom: 0;
  color: #fff;
}
.topics-container {
  max-width: 1210px;
  margin: 0 auto;
}
.topics-wrap {
  display: flex;
  gap: 80px;
}
.topics-title {
  width: 200px;
  text-align: center;
}
.topics-title-contents {
  border-right: 3px solid #8ec400;
  padding: 0 40px 0 20px;
}
.topics-en {
  font-size: 3rem;
  font-weight: bold;
  display: block;
}
.topics-list {
  width: 100%;
}
.topics-list li {
  display: flex;
  align-items: center;
  padding: 30px 0;
}
.topics-list li:first-child {
  padding: 0 0 20px 0;
}
.topics-list li:not(:last-child) {
  border-bottom: 1px solid rgba(51,51,51,0.5);
}
.topics-list-date {
  padding: 0 20px;
  position: relative;
}
.topics-list-date::before {
  content: '';
  width: 15px;
  height: 15px;
  background: #ffffff8e;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
}
.topics-list-date::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 0 4px 6px;
  border-color: transparent transparent transparent #1A005D;
  position: absolute;
  top: 0;
  left: 5px;
  bottom: 0;
  margin: auto;
}
.topics-list a {
  text-decoration: underline;
}
.topics-list-text {
  padding-right: 20px;
}
.topics-list-text a {
  position: relative;
  display: block;
}
.topics-list-text a::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 7px;
  height: 7px;
  margin: auto;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg);
  box-sizing: border-box;
}
.topics-list-text a::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: -11px;
  width: 7px;
  height: 7px;
  margin: auto;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg);
  box-sizing: border-box;
}
.topics-list-category {
  background: #ff8000;
  border: 1px solid #fff;
  padding: 2px 14px;
  font-size: 0.8rem;
  height: 21px;
}
.topics-list-category.-tip {
  background: #00A3D9;
}

@media (max-width: 900px) {
  .topics-wrap {
  flex-direction: column;
  }
  .topics-title {
  margin: auto;
  width: 100%;
  border-bottom: 1px solid #8EC300;
  }
  .topics-title-contents {
  border-right: none;
  margin-bottom: 30px;
  padding: 0;
  }
  .topics-list {
  width: 100%;
  }
  .topics-list li:not(:last-child) {
  flex-wrap: wrap;
  }
  .topics-list-date {
  order: 1;
  padding-right: 10px;
  }
  .topics-list-category {
  order: 2;
  }
  .topics-list li:not(:last-child) .topics-list-text,
  .topics-list a {
  order: 3;
  width: 100%;
  }
  .topics-list li:last-child .topics-list-text {
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  padding: 5px;
  text-align: center;
  }
  .topics-list li:last-child .topics-list-text a::before {
  display: none;
  }
  .topics-list li:last-child .topics-list-text a::after {
  transform: rotate(135deg);
  content: '';
  position: absolute;
  top: 0;
  bottom: 7px;
  width: 10px;
  height: 10px;
  margin: auto;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  box-sizing: border-box;
  }
  .topics-list-date {
  padding: 0 20px 0 0;
  }
  .topics-list-date::before,
  .topics-list-date::after {
  display: none;
  }
  .topics-list li:not(:last-child) {
  position: relative;
  row-gap: 8px;
  }
  .topics-list li:not(:last-child)::after {
  content: '';
  width: 9px;
  height: 9px;
  border: 0;
  border-top: solid 2px #5F4D8E;
  border-right: solid 2px #5F4D8E;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  }
}

/* ABOUT US */
.aboutus-section {
  padding: 0;
  margin-bottom: 0;
}
.aboutus-container {
  display: flex;
  width: 100%;
}
.aboutus-left {
  flex: 1 1 0;
  max-width: 50%;
  padding: 100px 47px;
  background-image: url(/assets/img/aboutus_img01.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}
.aboutus-right {
  flex: 1 1 0;
  max-width: 50%;
  background-image: url(/assets/img/aboutus_img02.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 900px) {
  .aboutus-container {
    flex-direction: column;
  }
  .aboutus-left {
    max-width: 100%;
    flex: 0 0 auto;
    padding: 100px 15px;
  }
  .aboutus-right {
    max-width: 100%;
    min-height: 250px;
  }
}

/* BUSINESS */
.business-section {
  background: #8ec400;
  padding: 100px 0 0;
  margin-bottom: 0;
  color: #fff;
  font-weight: bold;
  text-align: center;
}
.business-section h2 span {
  color: #fff;
}
.business-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: space-between;
  width: 100%;
  justify-content: center;
  margin: 30px auto 0;
}
.business-item {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
}
.business-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}
.business-content {
  position: relative;
  z-index: 2;
  padding: 80px 16px;
}
.business-number {
  font-size: 3rem;
}
.business-title {
  font-size: 1.1rem;
}
@media (max-width: 900px) {
  .business-section {
  padding: 40px 0 0;
  }
  .business-container {
    flex-direction: column;
  }
  .business-content {
    padding: 55px 16px;
  }
  .business-item {
    max-width: 100%;
  }
  .business-title {
    font-size: 1.2rem;
  }
}

/* ACCESS MAP */
.access-map-section {
  position: relative;
  margin-bottom: 0;
  background-image: url('/assets/img/accessmap_img.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 200px 47px 300px;
}
.access-map-container {
  max-width: 1210px;
  margin: 0 auto;
}
.access-map-container .list-grid-btn {
  width: 50%;
}
.access-map-container .list-grid-btn li {
  border: 3px solid #1A005D;
  color: #1A005D;
}
.access-map-container .list-grid-btn li a {
  background: #fff;
}
.access-map-container .list-grid-btn li a::before {
  border-left: 9px solid #1A005D;
}
@media (max-width: 900px) {
  .access-map-section {
    background-size: 150vw;
    background-position: top;
  }
  .access-map-container .list-grid-btn {
    width: 100%;
  }
  .access-map-section {
    padding: 100px 15px;
  }
}

/* リンク集 */
.link-section {
  position: relative;
  margin-bottom: 0;
  background-image: url('/assets/img/link_img.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.link-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}
.link-container {
  position: relative;
  max-width: 1210px;
  margin: 0 auto;
  z-index: 2;
}
.link-list-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 32px;
}
.link-list-grid li {
  display: block;
  color: #fff;
  font-weight: bold;
  text-align: center;
}
.link-list-grid li img {
  width: 100%;
}
.link-list-grid li p {
  padding-top: 10px;
  font-size: 1.2rem;
  line-height: 1.4;
}
.link-list-grid li p span {
  font-size: 0.8rem;
}
.link-list-grid li:hover {
  opacity: 0.5;
}
@media (max-width: 900px) {
  .link-list-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    gap: 20px;
  }
}

/* RECRUITMENT */
.recruitment-section {
  margin-top: 160px;
  margin-bottom: 0;
  padding: 0;
  background-image: url('/assets/img/recruitment_img01.png');
}
.recruitment-container {
  display: flex;
}
.recruitment-left {
  flex: 1 1 0;
  max-width: 50%;
  z-index: 1;
  padding: 100px 47px 250px;

}
.recruitment-right {
  flex: 1 1 0;
  max-width: 50%;
  min-width: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 900px) {
  .recruitment-section {
    padding: 0;
    margin-top: 0;
    background-image: none;
  }
  .recruitment-container {
    flex-direction: column-reverse;
  }
  .recruitment-left {
    max-width: 100%;
    flex: 0 0 auto;
    padding: 24px 15px;
  }
  .left-contents {
    width: 100%;
  }
  .recruitment-right {
    max-width: 100%;
    min-height: 230px;
    background-image: url(/assets/img/recruitment_img02.png);
  }
}
