body.top {
  background: #fff;
}

.top .header {
  opacity: 0;
  animation: fadeIn 0.8s ease-in forwards;
  animation-delay: 1.6s;
  background: none;
  color: #fff;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.top .header:hover,
.top .header.is-fixed {
  background: #fff;
  color: var(--text-main);
}

.top .logo-alt {
  display: none;
}

.top .header:hover .logo-default,
.top .header.is-fixed .logo-default {
  display: none;
}
.top .header:hover .logo-alt,
.top .header.is-fixed .logo-alt {
  display: block;
}

.top .mypage-btn {
  background: none;
  border: 1px solid #fff;
}

.top .header:hover .mypage-btn,
.top .header.is-fixed .mypage-btn {
  background: linear-gradient(to right, var(--primary) 0%, #4e87d8 100%);
  border: none;
  color: #fff;
}

.top .header:hover .mypage-btn:hover,
.top .header.is-fixed .mypage-btn:hover {
  border: 2px solid var(--primary);
  background: #fff;
  color: var(--primary);
}

.top .header:hover .arrow-down,
.top .header.is-fixed .arrow-down {
  border-color: var(--text-main);
}

.top .header__burger span {
  background: #fff;
}

.top-mv {
  height: 100vh;
  min-height: 824px;
  box-sizing: content-box;
  margin: -87px 0 0;
  display: grid;
  place-items: center;
}

.top-mv__movie {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  -o-object-fit: cover;
  object-fit: cover;
}

.top-mv__inner {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-left: 7%;
}

.top-mv__catch {
  transition: 0.3s;
  font-family: var(--font-family-en);
  font-weight: 500;
  height: auto;
  color: #fff;
  font-size: max(72px, 4.5vw);
  line-height: 1.2;
  letter-spacing: 0.3rem;
}

.top-mv__catch.japanese {
  height: auto;
  color: #fff;
  font-size: max(26px, 1.5vw);
  letter-spacing: 1.5px;
  margin-top: max(23px, 1.5vw);
  opacity: 0;
  animation: fadeIn 0.8s ease-in forwards;
  animation-delay: 1.6s;
}

.reveal-letters {
  display: block;
  position: relative;
  white-space: pre-wrap;
}

.reveal-letters span {
  position: relative;
  display: inline-block;
  opacity: 0;
  animation: reveal 0.8s forwards ease;
}

@keyframes reveal {
  0% {
    opacity: 0;
    transform: translateX(8px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.top-mv__scroll {
  position: absolute;
  color: #fff;
  z-index: 2;
  right: 50px;
  bottom: 180px;
  opacity: 0;
  animation: fadeIn 0.8s ease-in forwards;
  animation-delay: 1.6s;
}

.scroll {
  position: relative;
}

.scroll span {
  writing-mode: unset;
  transform: rotate(90deg);
  display: inline-block;
}

.scroll::before {
  animation: scroll 2s infinite;
  background-color: #fff;
  bottom: -115px;
  content: "";
  height: 100px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 1px;
  z-index: 2;
}

.scroll::after {
  background-color: #5f80c8;
  bottom: -115px;
  content: "";
  height: 100px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 1px;
}

@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

.top-topics {
  background: var(--bg-default);
  padding: 40px 0 40px;
  margin-bottom: 120px;
}

.top-topics__inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 80%;
}

.top-topics .slick-list {
  padding: 20px 0px 35px;
}

.top-topics .multiple-items li.slick-slide {
  width: 360px;
  height: auto;
  max-height: 120px;
  margin: 0 8px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  box-shadow: 0 5px 15px rgba(150, 158, 165, 0.12);
  outline: 1px solid var();
  transition: 0.3s;
}

.top-topics .multiple-items li.slick-slide:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 5px 25px rgba(136, 146, 155, 0.2);
}

.top-topics .multiple-items li.slick-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
}

.top-topics .slick-next:before,
.top-topics .slick-prev:before {
  content: none;
}

.top-topics .slick-prev,
.top-topics .slick-next {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 50%;
  border: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-topics .slick-prev {
  left: -5%;
}

.top-topics .slick-next {
  right: -5%;
}

.top-topics .slick-prev i,
.top-topics .slick-next i {
  font-size: 18px;
  color: #fff;
}

.top-topics .slick-prev:hover,
.top-topics .slick-prev:focus,
.top-topics .slick-next:hover,
.top-topics .slick-next:focus {
  background: var(--primary);
}

.top-topics .slick-dots li button:before {
  font-size: 10px;
}

.top-topics .slick-dots li.slick-active button:before {
  opacity: 1;
  color: var(--primary);
}

.top-service,
.top-others {
  margin: 0 auto;
  margin-bottom: 120px;
}

.section-title {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}

.section-title__heading {
  color: var(--primary);
  font-size: 7.2rem;
  letter-spacing: 0.5rem;
  font-weight: 500;
  margin-bottom: 8px;
  font-family: var(--font-family-en);
  line-height: 1;
}

.section-title__subheading {
  color: #73809d;
  font-size: 1.6rem;
}

.section-title__topline {
  display: block;
  width: 16px;
  height: 3px;
  background: var(--sub-color);
  margin: 0px auto 20px;
}

.top-service__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 100px;
  gap: 40px;
}

.top-service__image {
  width: 80vw;
  margin: auto;
  left: 0;
  margin-right: 20vw;
  transition: 0.3s;
}

.top-service__item--reverse .top-service__image {
  margin-right: 0;
  margin-left: 20vw;
}

.top-service__image img {
  width: 100%;
  object-fit: cover;
  display: block;
  min-height: 360px;
}

.top-service__content {
  position: absolute;
  width: 45%;
  max-width: 770px;
  border-radius: 10px;
  right: 0;
  margin-right: 9%;
  background: #fff;
  box-shadow: 0px 5px 40px rgba(169, 169, 170, 0.2);
}

.top-service__content:hover {
  background: var(--primary);
  transition: 0.3s;
}

.top-service__content:hover .top-service__content-title {
  color: #fff;
  border-bottom: 1px solid #5374c3;
  transition: 0.3s;
}

.top-service__content:hover .top-service__content-text,
.top-service__content:hover .top-service__content-lead {
  color: #fff;
  transition: 0.3s;
}

.top-service__item--reverse .top-service__content {
  left: 0;
  margin-right: 0;
  margin-left: 9%;
}

.top-service__content-link {
  position: relative;
  display: flex;
  padding-right: min(175px, 12vw);
  padding-top: min(90px, 5vw);
  padding-bottom: min(90px, 5vw);
  padding-left: min(80px, 5vw);
  flex-flow: column;
  margin-right: 0;
}

.top-service__content-title {
  font-size: 2.8rem;
  color: #73809d;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
  font-weight: 500;
}

.top-service__content-text {
  color: #333;
  font-size: 1.4rem;
  line-height: 1.8;
}

.top-service__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(55px, 7.5vw);
  height: min(55px, 7.5vw);
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 16px;
  position: absolute;
  right: min(60px, 3vw);
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transition: 0.3s;
}

.top-service__content:hover .top-service__arrow {
  background-color: #fff;
  color: var(--primary);
  transition: 0.3s;
}

.top-service__content-lead {
  font-size: 1.5rem;
  color: #73809d;
  font-weight: 500;
  margin-bottom: 10px;
}

.top-support {
  text-align: center;
  background: var(--bg-default);
  padding-bottom: 120px;
}

.top-support__header {
  color: #fff;
  position: relative;
  width: 100%;
  height: 471px;
}

.top-support__text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  z-index: 1;
  top: 80px;
}

.top-support__image {
  object-fit: cover;
  height: 471px;
  object-position: right center;
}

.top-support__title {
  font-family: var(--font-family-en);
  font-size: 7.2rem;
  letter-spacing: 0.5rem;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1;
}

.top-support__subtitle {
  font-size: 1.6rem;
}

.top-support__mypage {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 30px rgba(169, 169, 170, 0.2);
  width: 90%;
  max-width: 1280px;
  margin: -220px auto 60px;
  padding: 60px;
}

.top-support__mypage-title {
  font-family: var(--font-family-en);
  font-weight: 500;
  font-size: 3.8rem;
  color: #2954a2;
  letter-spacing: 2px;
}

.top-support__mypage-subtitle {
  font-size: 1.6rem;
  color: #73809d;
  margin-bottom: 30px;
}

.top-support__mypage-desc {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

.top-support__features {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto 60px;
  max-width: 800px;
  gap: 20px;
}

.top-support__feature {
  flex: 1 1 30%;
  max-width: 200px;
  text-align: center;
}

.top-support__feature-icon {
  width: 210px;
  height: 210px;
  background-color: var(--bg-default);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.top-support__feature-icon img {
  width: 64px;
  height: auto;
}

.top-support__feature-label {
  font-size: 14px;
}

.top-support__links {
  display: flex;
  flex-wrap: wrap;
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.top-support__link {
  flex: 1;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.top-support__link-bg {
  background-size: cover;
  background-position: center;
  height: 295px;
  transition: transform 0.6s ease;
  width: 100%;
}

.top-support__link:hover .top-support__link-bg {
  transform: scale(1.1);
}

.top-support__link-label {
  font-family: var(--font-family-en);
  font-weight: 500;
  font-size: 3.8rem;
  margin-bottom: 8px;
  text-align: left;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
}

.top-support__link-label small {
  display: block;
  font-size: 1.4rem;
}

.top-support__link-icon {
  position: absolute;
  right: 30px;
  bottom: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 49px;
  height: 49px;
  background-color: #ffffffbf;
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--primary);
}

.top-support__link-bg--faq {
  background-image: url("/wp/wp-content/themes/japan/assets/img/top/faq.png");
}

.top-support__link-bg--contact {
  background-image: url("/wp/wp-content/themes/japan/assets/img/top/contact.png");
}

.top-column{
	    padding: 120px 0;
    background-color: var(--bg-default);
}

.top-column-inner{
	 width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    gap: max(60px, 6.5vw);
    padding: 0 20px;
	text-align:center;
}

.top-column-contents-area{
	display:flex;
	align-items:stretch;
	justify-content:space-between;
}

.top-column-contents{
	width:28%;
	padding:20px;
	border-radius: 10px;
    right: 0;
    background: #fff;
    box-shadow: 0px 5px 40px rgba(169, 169, 170, 0.2);
}

.top-column-contents:hover {
  background: var(--primary);
  transition: 0.3s;
}

.top-column-contents p{
	text-align:left;
	font-weight:bold;
	margin-top:5px;
}

.top-column-contents:hover p{
	color:#fff;
}

@media (max-width: 1024px) {
  body.menu-open .header:hover,
  body.menu-open .header.is-fixed {
    color: #fff;
  }

  body.menu-open .header:hover .arrow-down,
  body.menu-open .header.is-fixed .arrow-down {
    border-color: #fff;
  }

  .header.is-fixed .header__burger span,
  .header:hover .header__burger span {
    background: var(--text-main);
  }

  body.menu-open .mypage-btn,
  body.menu-open .header:hover .mypage-btn,
  body.menu-open .header.is-fixed .mypage-btn {
    color: var(--primary);
    width: 100%;
    padding: 17px 20px;
    background: #fff;
    margin-top: 40px;
    height: 55px;
  }

  .header:hover {
    background: none;
    color: #fff;
  }

  .header.is-fixed {
    background: #fff;
    color: var(--text-main);
  }

  .header.is-fixed .header__burger span {
    background: var(--text-main);
  }

  .header:hover .logo-default {
    display: block;
  }

  .header:hover .logo-alt {
    display: none;
  }

  .header.is-fixed .logo-default {
    display: none;
  }

  .header.is-fixed .logo-alt {
    display: block;
  }

  body.menu-open .header.is-fixed .header__burger span,
  body.menu-open .header:hover .header__burger span {
    background: #fff;
  }

  .top-mv {
    margin: -68px 0 0 0;
  }

  .top-topics .slick-prev {
    left: -7%;
  }

  .top-topics .slick-next {
    right: -7%;
  }

  .top-service__content {
    margin-right: 4%;
  }

  .top-service__item--reverse .top-service__content {
    margin-left: 4%;
  }

  .top-service__image {
    width: 100%;
    margin-right: 0;
  }

  .top-service__item--reverse .top-service__image {
    margin-left: 0;
  }

  .top-service__content {
    width: 54%;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .top-service__image {
    margin: auto;
    left: 0;
    margin-left: 0;
    margin-right: 20vw;
  }

  .top-service__item--reverse .top-service__image {
    margin-left: 20vw;
  }
}

@media (max-width: 768px) {
  .top-mv {
    min-height: auto;
  }

  .top-mv__inner {
    padding-left: 5%;
  }

  .top-mv__catch {
    font-size: min(60px, 11vw);
    letter-spacing: 0.2rem;
  }

  .top-mv__catch.japanese {
    font-size: min(18px, 6vw);
    margin-top: max(20px, 4.5vw);
  }

  .top-mv__scroll {
    right: 5px;
    bottom: 150px;
  }

  .top-topics {
    padding: 20px 0 15px;
    margin-bottom: 80px;
  }

  .top-topics .slick-list {
    padding: 15px 0px 15px;
  }

  .top-topics .slick-dots li {
    margin: 0 3px;
  }

  .top-topics .slick-next,
  .top-topics .slick-prev {
    width: min(56px, 10vw);
    height: min(56px, 10vw);
  }

  .top-topics .slick-prev i,
  .top-topics .slick-next i {
    font-size: 1.4rem;
  }

  .top-service,
  .top-others {
    margin-bottom: 230px;
  }

  .section-title__topline {
    margin-bottom: 15px;
  }

  .section-title__heading {
    font-size: 4.8rem;
  }

  .section-title__subheading {
    font-size: 1.5rem;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .top-service__item {
    margin-bottom: max(193px, 26vw);
  }

  .top-service__content {
    width: calc(100% - 30px);
    margin: auto;
    bottom: -140px;
    left: 0;
  }

  .top-service__item--reverse .top-service__content {
    margin: 0 auto;
  }

  .top-service__image img {
    min-height: 298px;
  }

  .top-service__content-title {
    font-size: 1.8rem;
    padding-bottom: 15px;
    text-align: center;
  }

  .top-service__content-link {
    padding-right: min(90px, 5vw);
  }

  .top-service__arrow {
    width: min(55px, 8.5vw);
    height: min(55px, 8.5vw);
    position: inherit;
    transform: inherit;
    -webkit-transform: inherit;
    -ms-transform: inherit;
    margin-top: 5px;
    align-self: flex-end;
    font-size: 2.6vw;
    right: 0;
  }

  .top-service__content-lead {
    margin: 0 auto 5px;
    font-size: 1.4rem;
  }

  .top-support {
    padding-bottom: 60px;
  }

  .top-support__header {
    min-height: 354px;
    height: 78vw;
  }

  .top-support__text {
    top: 60px;
  }

  .top-support__title {
    font-size: 4.9rem;
  }

  .top-support__subtitle {
    font: 1.5rem;
  }

  .top-support__mypage {
    border-radius: 10px;
    width: 92%;
    margin: -42vw auto 40px;
    padding: 30px 15px;
  }

  .top-support__mypage-title {
    font-size: 3.8rem;
  }

  .top-support__mypage-desc {
    font-size: 1.5rem;
    width: 92%;
    margin: 0 auto 30px;
    text-align: left;
  }

  .top-support__features {
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
  }

  .top-support__feature {
    max-width: 100%;
    margin-bottom: 24px;
  }

  .top-support__links {
    flex-direction: column;
    gap: 0;
    width: 92%;
  }

  .top-support__link {
    flex: 1;
    min-height: 248px;
    padding: 0;
  }

  .top-support__link-label {
    left: 20px;
  }

  .top-support__link-icon {
    right: 15px;
  }

  .news {
    padding: 60px 16px 80px;
    text-align: center;
  }

  .news__inner {
    width: 100%;
    margin: 0 auto;
    gap: 0;
    padding: 0;
  }
  .news__head {
    flex: 0;
    margin: 0 auto;
  }

  .news .section-title {
    text-align: center;
    margin: 0;
  }

  .news .section-title__topline {
    margin: 0 auto 10px;
  }

  .news__inner {
    flex-flow: column;
  }

  .news__subtitle {
    font-size: 14px;
    color: #73809d;
    margin-top: 4px;
  }

  .news__list {
    width: 100%;
    margin-top: 40px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .news__link {
    display: block;
    position: relative;
    padding-right: 32px;
    font-size: 1.5rem;
    text-align: left;
    text-decoration: none;
    color: inherit;
    line-height: 1.6;
  }

  .date {
    display: inline-block;
    font-size: 1.4rem;
    margin-right: 8px;
  }

  .label {
    display: inline-block;
    font-size: 1.2rem;
    vertical-align: middle;
  }

  .news__icon {
    font-size: 1.6rem;
  }
	
	.top-column{
		padding: 60px 16px 80px;
    background-color: var(--bg-default);
}
	
	.top-column-inner{
		width: 100%;
        margin: 0 auto;
        gap: 0;
        padding: 0;
	}
.top-column-contents-area{
	display:block;
}

.top-column-contents{
	width:100%;
	margin:20px auto;
	padding:20px 10px;
}

}
