:root {
  --main-font: 100%/1.6 'fot-tsukuardgothic-std', sans-serif;
  --main-text-color: #1d2088;
  
  --swiper-pagination-top: 100%;
}

*, *::before, *::after {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

body {
  color: var(--main-text-color);
  font: var(--main-font);
  margin: 0 auto;
  position: relative;
}

img {
  height: auto;
  max-width: 100%;
  vertical-align: top;
}

iframe {
  vertical-align: top;
}

h1 {
  font-size: 28px;
  margin: 0;
}

h2 {
  font-size: 30px;
  text-align: center;
}

h2 div:last-child {
  font-size: 12px;
}

h2 div:first-child {
  font-size: 30px;
  line-height: 1;
}

h3 {
  margin: 0;
}

h4 {
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: var(--main-text-color);
  text-decoration: none;
}

.m0 {
  margin: 0;
}

.left {
  text-align: left;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

.bold {
  font-weight: 700;
}

.wrap {
  margin: 0 auto;
  max-width: 960px;
}

.header {
  align-items: center;
  background: #fff;
  display: flex;
  height: 69px;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 99;
}

.header > div:nth-child(1) {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 0 90px;
}

.header > div:nth-child(2) {
  font-size: 12px;
  font-weight: 700;
  margin: 0 90px 0 30px;
  text-align: right;
}

.mega-menu-button {
  background: url(../images/menu-icon.png)0 0/cover no-repeat;
  background-size: cover;
  cursor: pointer;
  height: 69px;
  position: absolute;
  right: 0;
  top: 0;
  width: 69px;
  z-index: 299;
}

.tel::before {
  background: url(../images/tel-icon.png)0 0/contain no-repeat;
  content: "";
  display: inline-flex;
  height: 25px;
  margin: 0 .5em 0 0;
  vertical-align: middle;
  width: 25px;
}

.fax::before {
  background: url(../images/fax-icon.png)0 0/contain no-repeat;
  content: "";
  display: inline-flex;
  height: 25px;
  margin: 0 .5em 0 1em;
  vertical-align: middle;
  width: 25px;
}

.top-image {
  position: relative;	
}

.top-image-description {
  left: 0;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 72px;
}

.top-image-description div {
  height: 36px;
  font-size: 20px;
  font-weight: 700;
  position: relative;
  text-align: center;
  transform: translate(100%, 0);
  transition: 2.2s .2s;
  width: 100%;
}

.main {
  position: relative;
  background: url(../images/top-main-background.jpg)0 0/cover repeat-y;
}

.main > img:first-child {
  position: absolute;
  z-index: 0;
}

@keyframes loop-images-first {
  0% {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-100%, 0);
  }
}

@keyframes loop-images-second {
  0% {
    transform: translate(100%, 0);
  }
  to {
    transform: translate(0, 0);
  }
}

.main-inner {
  padding: 56px 100px 0 100px;
  position: relative;
  z-index: 1;
}

.loop-images {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.loop-images ul {
  display: flex;
  list-style: none;
  height: inherit;
  margin: 0 auto;
  padding: 0;
  position: absolute;
  top: 0;
  width: 200%;
}

.loop-images ul:first-child {
  animation: loop-images-first 20s linear infinite;
}

.loop-images ul + ul {
  animation: loop-images-second 20s linear infinite;
}

.loop-images li {
  margin: 0 11px;
}

.loop-images:hover ul {
  animation-play-state: paused;
}

.loop-images img {
  max-height: 100%;
  width: auto;
}

.loop-images img:hover {
  opacity: .7;
}

.news-buttons {
  display: flex;
  justify-content: center;
  margin: 32px 0;
}

.button-notice,
.button-topics {
  border-radius: 15px;
  color: var(--main-text-color);
  display: grid;
  font-size: 14px;
  font-weight: 700;
  height: 30px;
  place-items: center;
  width: 100px;
}

.button-notice,
.button-topics {
  color: var(--main-text-color);
  text-decoration: none;
  transition: .2s;
}

.button-notice {
  background: #84ccc9;
  margin: 0 10px 0 0;
}

.button-topics {
  background: #7ecef4;
  margin: 0 0 0 10px;
}

.button-notice:hover,
.button-topics:hover {
  opacity: .5;
  transition: .2s;
}

.news-list-notice,
.news-list-topics {
  background: #fff;
  border: 2px #1d2088 solid;
  border-radius: 25px;
  color: #000;
  font-size: 14px;
  line-height: 1.2;
  height: 480px;
  padding: 40px;
  position: relative;
  text-align: left;
}

.news-list-notice ul,
.news-list-topics ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-list-notice li::after,
.news-list-topics li::after {
  background: url(../images/line.png)0 0/contain no-repeat;
  content: "";
  display: inline-flex;
  height: 10px;
  width: 100%;
}

.news-list-notice-link,
.news-list-topics-link {
  margin: .5em 0 0 0;
  text-align: right;
}

.news-list-notice-link a,
.news-list-topics-link a {
  color: var(--main-text-color);
  text-decoration: none;
}

.news-list-notice-link a::after,
.news-list-topics-link a::after {
  background: url(../images/right.png)0 0/contain no-repeat;
  content: "";
  display: inline-flex;
  height: 25px;
  margin: 0 .5em 0 .5em;
  transition: .2s;
  vertical-align: middle;
  width: 25px;
}

.news-list-notice-link a:hover::after,
.news-list-topics-link a:hover::after {
  content: "";
  opacity: .5;
  transform: translate(5px, 0);
  transition: .2s;
}

.office-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin: 55px 0;
}

.office-list > div {
  background: #fff;
  border: 2px #1d2088 solid;
  border-radius: 25px;
  color: #000;
  flex: auto;
  min-height: 187px;
  padding: 12px;
  width: 368px;
}

.office-list-title {
  font-size: 26px;
  text-align: center;
}

.office-list-photo {
  display: flex;
  font-size: 14px;
  justify-content: space-between;
}

.office-list-genre {
  align-content: space-between;
  display: grid;
  margin: 5.5px 0;
  text-align: right;
}

.office-list-genre p {
  text-decoration-skip-ink: none;
  text-underline-offset: -5.5px;
}

.office-list-link a {
  background: url(../images/right.png)0 0/contain no-repeat;
  display: inline-flex;
  height: 50px;
  transition: .2s;
  vertical-align: middle;
  width: 50px;
}

.office-list-link a:hover {
  opacity: .5;
  transform: translate(5px, 0);
  transition: .2s;
}

.under-line-care {
  text-decoration: underline 11px #f29c9f;
}

.under-line-employment-b {
  text-decoration: underline 11px #fff799;
}

.under-line-admission {
  text-decoration: underline 11px #cce198;
}

.under-line-joint {
  text-decoration: underline 11px #f6b37f;
}

.under-line-consultation {
  text-decoration: underline 11px #7ecef4;
}

.office-character {
  margin: 50px 0;
  text-align: left;
}

.office-character-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin: 50px 0;
}

.office-character-soh {
  background: #fff;
  border: 2px #1d2088 solid;
  border-radius: 25px;
  color: #000;
  display: flex;
  flex: auto;
  justify-content: space-between;
  min-height: 200px;
  padding: 14px;
  text-align: right;
  width: 368px;
}

.office-character-sale {
  flex: auto;
  font-size: 13px;
  font-weight: 700;
  min-height: 200px;
  text-align: center;
}

.office-character-sale-link-top a:hover {
  opacity: .5;
}

.office-character-sale-link-bottom a {
  text-decoration: none;
}

.office-character-sale-link-bottom a:hover {
  opacity: .5;
  text-decoration: underline;
}

.main-inner-bottom {
  margin: 56px 0;
}

.main-inner-bottom > p:first-child {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 32px 0;
}

.main-inner-bottom .address {
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 700;
  gap: 30px;
}

.instagram-icon {
  margin: 38px 0 0 0;
  opacity: 1;
  position: relative;
  top: -33px;
  transition: .2s;
}

.instagram-icon:hover {
  opacity: .5;
  transition: .2s;
}

.under-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.under-menu-main {
  font-size: 22px;
}

.under-menu ul {
  font-size: 13px;
  list-style: none;
  margin: 19px 0 97px 0;
  padding: 0;
}

.under-menu.mega > div {
  margin: 0 25px 0 0;
}

.under-menu.mega > div:last-child {
  margin: 0;
}

.under-menu ul a {
  text-decoration: none;
}

.under-menu ul a:hover {
  opacity: .5;
  text-decoration: underline;
}

.under-menu-qa {
  font-size: 13px;
  margin: 0 0 61px 0;
  text-align: center;
}

.under-menu-qa a {
  text-decoration: none;
}

.under-menu-qa a:hover {
  opacity: .5;
  text-decoration: underline;
}

.under-menu-qa-mega {
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  padding: 0 100px;
}

.under-menu-qa-mega div {
  margin: 0 48px 0 0;
}

.under-menu-qa-mega div:last-child {
  margin: 0;
}

.under-menu-qa-mega a {
  text-decoration: none;
}

.under-menu-qa-mega a:hover {
  opacity: .5;
  text-decoration: underline;
}

.footer {
  align-items: center;
  background: rgba(255,255,255,.5);
  display: flex;
  flex-wrap: wrap;
  font-size: 11px;
  gap: 24px;
  min-height: 69px;
  padding: 0 100px;
}

.footer > div {
  flex: auto;
  text-align: left;
}

.page-top {
  bottom: 50px;
  cursor: pointer;
  opacity: 0;
  position: fixed;
  right: 50px;
  transition: 1s;
  z-index: 999;
}

.mega-menu {
  background: #000c;
  bottom: 0;
  max-width: 960px;
  position: fixed;
  top: 0;
  visibility: hidden;
  width: 100%;
  z-index: 299;
}

.under-menu.mega {
  padding: 0 100px;
}

.mega-menu-background {
  background: url(../images/hamburger-menu.jpg)0 0/cover;
}

.under-menu.mega >  div:first-child {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  margin: 20px 0;
  width: 100%;
}

.breadcrumb ul {
  display: flex;
  font-weight: 700;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb li::after {
  content: '>';
  display: inline-flex;
  padding: 0 10px;
}

.breadcrumb li:last-child::after {
  content: '';
}

.breadcrumb a {
  text-decoration: none;
}

.careers-table {
  min-height: 230px;
  width: 100%;
}

.careers-table td {
  color: var(--main-text-color);
  padding: 5px;
}

.careers-table td:first-child {
  background: #88abda;
  text-align: center;
}

.careers-table td:last-child {
  background: #ededed;
}

.rounded-square {
  background: #fff;
  border: 2px #1d2088 solid;
  border-radius: 25px;
  color: #000;
  font-size: 16px;
  line-height: 1.2;
  min-height: 760px;
  padding: 40px;
  position: relative;
  text-align: left;
}

.flex {
  display: flex;
  justify-content: space-between;
}

.line {
  background: url(../images/line.png)0 0/contain no-repeat;
  margin: 10px 0 0 0;
}

.corporation-history-table {
  font-size: 12px;
}

.corporation-history-table td:first-child {
  background: #88abda;
  text-align: center;
  width: 105px;
}

.corporation-history-table td:last-child {
  background: #eeeeee;
  width: 580px;
}

.wages {
  display: flex;
  justify-content: center;
  text-align: center;
}

.wages table {
  border-spacing: 1px;
  width: 100%;
}

.wages td,
.wages th {
  padding: 5px 20px;
}

.wages div {
  margin: 20px;
}

.wages table th {
  background: #84ccc9;
  color: var(--main-text-color);
  text-align: center;
}

.wages table th:first-child {
  background: #fff;
}

.wages table td:first-child {
  background: #88abda;
  color: var(--main-text-color);
  font-weight: 700;
}

.wages table td {
  background: #eee;
  color: #000;
  text-align: center;
}

.wages table tr:last-child td {
  background: #fff799;
  border: 3px solid #1d2088;
  color: #222;
  font-weight: 700;
}

.map {
  border: 1px solid #ccc;
}

.middle-center {
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.sale-buttons {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin: 32px 0;
}

.button-sale-madoka,
.button-sale-wing,
.button-sale-prop {
  border-radius: 15px;
  color: #1d2088;
  display: grid;
  font-size: 14px;
  font-weight: 700;
  height: 30px;
  place-items: center;
  width: 200px;
}

.button-sale-madoka,
.button-sale-wing,
.button-sale-prop {
  color: #1d2088;
  text-decoration: none;
  transition: .2s;
}

.button-sale-madoka {
  background: #84ccc9;
}

.button-sale-wing {
  background: #7ecef4;
}

.button-sale-prop {
  background: #89abd9;
}

.button-sale-madoka:hover,
.button-sale-wing:hover,
.button-sale-prop:hover {
  opacity: .5;
  transition: .2s;
}

.swiper-pickup,
.swiper-madoka,
.swiper-wing,
.swiper-prop {
  margin: auto;
  overflow: hidden;
  position: relative;
  text-align: center;
  width: 600px;
}

.swiper-button-prev {
  background: url(../images/right.png) 0 0/contain no-repeat;
  display: inline-flex;
  height: 25px;
  transform-origin: 50%;
  vertical-align: middle;
  width: 25px;
}

.swiper-button-next {
  background: url(../images/right.png)0 0/contain no-repeat;
  display: inline-flex;
  height: 25px;
  transform-origin: 50%;
  vertical-align: middle;
  width: 25px;
}

.swiper-button-prev-pickup {
  transform: translateX(0px) scaleX(-1);
}

.swiper-button-prev-madoka, 
.swiper-button-prev-wing,
.swiper-button-prev-prop {
  transform: scaleX(-1);
}

.swiper-button-next-pickup {
  transform: translateX(0px);
}

.swiper-navigation-icon {
  display: none;
}
.swiper-madoka .swiper-slide,
.swiper-wing .swiper-slide,
.swiper-prop .swiper-slide {
  border: 2px solid #000;
  margin: 20px 0;
  padding: 20px;
}

.swiper-madoka .swiper-slide p,
.swiper-wing .swiper-slide p,
.swiper-prop .swiper-slide p {
  margin: 10px 0;
}

.sale-list {
  height: 500px;
  position: relative;
}

.sale-list-madoka,
.sale-list-wing,
.sale-list-prop {
  background: #fff;
  border: 2px #1d2088 solid;
  border-radius: 25px;
  color: #000;
  left: 0;
  line-height: 1.2;
  height: inherit;
  padding: 40px;
  position: absolute;
  right: 0;
  text-align: left;
}

.sale-list-madoka-link,
.sale-list-wing-link,
.sale-list-prop-link {
  color: var(--main-text-color);
  font-weight: 700;
  margin: 2em 2em 0 0;
  position: relative;
  text-align: right;
}

.sale-list-madoka-link a,
.sale-list-wing-link a,
.sale-list-prop-link a {
  background: url(../images/right.png)0 0/contain no-repeat;
  color: #1d2088;
  display: inline-flex;
  height: 25px;
  position: absolute;
  text-decoration: none;
  transition: .2s;
  width: 25px;
}

.sale-list-madoka-link a:hover,
.sale-list-wing-link a:hover,
.sale-list-prop-link a:hover {
  transform: translateX(5px);
  transition: .2s;
}

.schedule td:first-child {
  padding: 0 1em 0 0;
  text-align: right;
}