@charset "UTF-8";

:root {
  --color_dark-blue: #153351;
  --color_light-blue: #225B86;
  --color_white: #ffffff;
  --drop-shadow: 4px 4px 26px 0px rgba(158, 183, 208, 0.30);
  --font-weight_bold: 700;
  --font-weight_medium: 500;
  --font-weight_regular: 400;
  --font-size_extra-small: 1.2rem;
  --font-size_small: 1.4rem;
  --font-size_regular: 1.6rem;
  --font-size_medium: 2.0rem;
  --font-size_semi-large: 2.4rem;
  --font-size_large: 3.2rem;
  --font-size_extra-large: 6.4rem;
}

.header__title.content-fade {
    animation-delay: 1700ms;
}

.navigation-wrapper {
  height: calc(100% - 429px);
}

.first-view {
  width: 100%;
  height: 90vh;
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
}

.first-view__wrapper {
  padding: 112px 0 16px 173px;
  word-break: keep-all;
  @media (max-width:1088px) {
    padding:56px 0 16px 42px;
  };
  @media (max-width:768px) {
    padding: 29px 42px 48px 42px;
  };
}

.first-view__h1-wrapper {
  margin-bottom: 56px;
  height: auto;
  overflow: hidden;
  @media (max-width:768px) {
    margin-bottom: 40px;
  }
}

.first-view__h1 {
  font-size: 7.2rem;
  font-weight: var(--font-weight_medium);
  @media (max-width:768px) {
    font-size: 4.8rem;
    line-height: 150%;
  };
}

.first-view__site-title-wrapper {
  height: auto;
  overflow: hidden;
  @media (max-width:768px) {
    margin-bottom: 16px;
  }
}

.first-view__site-title .ja {
  font-size: var(--font-size_semi-large);
  font-weight: var(--font-weight_medium);
  line-height: 120%;
  @media (max-width:768px) {
    font-size: var(--font-size_regular);
  }
}

.first-view__site-title .en {
  font-size: var(--font-size_medium);
  font-weight: var(--font-weight_medium);
  line-height: 120%;
  @media (max-width:768px) {
    font-size: var(--font-size_small);    
  }
}

.first-view__img-wrapper {
  width: 100%;
  height: 50vh;
  overflow: hidden;
}

.first-view__img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transform: scale(1.05);
}
/* スクロール */
.arrowWrap {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 50vh;
  width: 171px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content:end;
  @media (max-width:440px) {
    width: 60px;
  }
}

.arrowInner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.arrowInner p {
  height: auto;
  font-size: var(--font-size_regular);
  font-weight: var(--font-weight_regular);
  color: var(--color_white);
  text-wrap: nowrap;
  text-align: end;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}

.arrow {
  width: 2px;
  height: 96px;
  margin: 48px auto 0;
  position: relative;
  overflow: hidden;
}

.arrow::before {
  content: '';
  width: 2px;
  height: 96px;
  margin: 0 auto 0;
  background-color: var(--color_white);
  position: absolute;
  top: -96px;
  left: 0;
  -webkit-animation: arrow 3s ease 0s infinite normal;
  animation: arrow 3s ease 0s infinite normal;
}

@keyframes arrow {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  60% {
    -webkit-transform: translateY(96px);
    transform: translateY(96px);
  }

  100% {
    -webkit-transform: translateY(96px);
    transform: translateY(96px);
  }
}
/* ここまで */

.general-wrapper {
  width: 100%;
}

.message {
  padding-top: 208px;
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: stretch;
  margin-bottom: 240px;
  @media (max-width:1088px) {
    flex-direction: column;
    padding-top: 120px;
  }
  @media (max-width:768px) {
    padding-top: 80px;
  }
}

.message__h2 {
  margin-left: 90px;
  @media (max-width:1088px) {
    margin-left: 42px;
  }
}

.message__image {
  min-width: 450px;
  max-width: 35vw;
  @media (max-width:1088px) {
    min-width: 100%;
    max-width: 100%;
    margin: 0 0 80px;
  }
  @media (max-width:768px) {
    margin: 0 0 80px;  
  }
}

.message__image-content {
  max-height: 80vh;
  max-width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  position: sticky;
  border-radius: 0 5px 5px 0;
  @media (max-width:1088px) {
    position: static;
    width: 100%;
    aspect-ratio: 4/3;
    max-height: none;
    height: auto;
  }
  @media (max-width:768px) {
    aspect-ratio: 1/1; 
  }
}

.message__wrapper {
  margin-right: 171px;
  @media (max-width:1280px) {
    margin-right: 42px;
  }
}

.message__text {
  @media (max-width:1088px) {
    margin-left: 42px;
  }
}

.message__main-message {
  border-left: none;
  @media (max-width:1088px) {
    border-left: solid 2px var(--color_dark-blue);
  }
}

.message__description-group {
  padding-left: 92px;
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin-bottom: 128px;
  @media (max-width:1088px) {
    padding-left: 42px;
  }
  @media (max-width:768px) {
    padding-left: 8px;
    gap: 40px;
    margin-bottom: 64px;
  }
}

.message__text > .nav-button {
  margin-left: 101px;
  @media (max-width:1088px) {
    margin-left: 42px;
  }
  @media (max-width:768px) {
    margin-left: 0;
  }
}

.message__name {
  font-size: var(--font-size_semi-large);
  font-weight: var(--font-weight_medium)
}

.mycareer {
  margin-bottom: 240px;
  @media (max-width:768px) {
    margin-bottom: 0;
  };
}

.mycareer__title {
  max-width: 1440px;
  margin: 0 auto ;
  padding: 48px 0 0 173px;
  position: sticky;
  top: 0;
  @media (max-width:1088px) {
    padding: 48px 0 0 42px;
  }
  @media (max-width:768px) {
    padding: 48px 0 0 42px;
  };
}

.mycareer__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  padding-top: 15vh;
}

.mycareer__history-item {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mycareer__location {
  width: 100%;
  height: 87px;
  margin: 40.5px 0;
  background-size: auto 100%;
  background-position:center;
  background-repeat: no-repeat;
  position: relative;
  @media (max-width:768px) {
    margin: 20px 0;
    height: 55px;
  };
}

.mycareer__location > span {
  position: absolute;
  left: -9999rem;
}

.mycareer__year {
  width: 100%;
  height: 168px;
  background-size: auto 100%;
  background-position:center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  z-index: -999;
  @media (max-width:768px) {
    height: 84px;
  };
}

.mycareer__year > span {
  position: absolute;
  left: -9999rem;
}

.hachinohe > .mycareer__location {
  height: 87px;
  background-image: url(../img/location_hachinohe@2x.png);
  @media (max-width:768px) {
    height: 55px;
  };
}

.hachinohe > .mycareer__year {
  background-image: url(../img/year_1976@2x.png);
}

.resorthotel > .mycareer__location{
  background-image: url(../img/location_resorthotel@2x.png);
}

.resorthotel > .mycareer__year {
  background-image: url(../img/year_2004@2x.png);
}

.businesshotel > .mycareer__location{
  background-image: url(../img/location_businesshotel@2x.png);
}

.businesshotel > .mycareer__year {
  background-image: url(../img/year_2005@2x.png);
}

.hostel > .mycareer__location{
  background-image: url(../img/location_hostel@2x.png);
}

.hostel > .mycareer__year {
  background-image: url(../img/year_2019@2x.png);
}

.nexthotel > .mycareer__location{
  background-image: url(../img/location_nexthotel@2x.png);
}

.nexthotel > .mycareer__year {
  background-image: url(../img/year_2023@2x.png);
}

.mycareer__dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--color_dark-blue);
  margin: 0 auto;
  position: relative;
}

.mycareer__dot::after {
  content: '';
  position: absolute;
  content:"";
  display:block;
  width:100vw;
  height:2px;
  background-color:var(--color_dark-blue);
  left: -50vw;
  bottom:12px;
}

.hachinohe .mycareer__dot::after {
  transform: translateX(50%);
}

.mycareer__description {
  margin-top: 88px;
}

/* ハイブリッドスクロールを実現するためのcss */
.scroll_container {
  height: calc(500vh);
}

.horizontal_scroll {
  position: absolute;
  top: 0;
  height: 100%;
  width: 500vw;
  will-change: transform;
  display: flex;
  justify-content: space-between;
}

.scroll_contents {
  height: 100%;
  width: 100vw;
}

.sticky_wrap {
  overflow: hidden;
  position: sticky;
  top: 0;
  height: 100vh;
}

.img-between-content {
  position: relative;
  z-index: 10;
  height: 600px;
  clip-path: polygon(0 0,0 100%,100% 100%,100% 0);
  background-color: transparent;
  margin-bottom: 104px;
  @media (max-width:768px) {
    height: 560px;
    margin-bottom: 80px;
  }
}

.img-between-content::before {
  content: '';
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

@media (max-width:768px) {
  .img-between-content::before {
    z-index: 20;
    position: absolute;
    background-attachment: scroll
  }
}

.img-between-content.vision-image::before {
  background-image: url(../img/vision_image@2x.png);
}

.vision__value-content {
  max-width: 1004px;
  padding: 72px 90px 120px;
  background-color: var(--color_white);
  box-shadow: var(--drop-shadow);
  @media (max-width:768px) {
    padding: 32px 25px 80px;
  }
}

.vision__value-list {
  display: flex;
  flex-direction: column;
  gap: 104px;
  @media (max-width:768px) {
    gap: 80px; 
    padding-left: 0;
  }
}

.vision__value-item {
  display: grid;
  grid-template-columns: 324px auto;
  column-gap: 48px;
  align-items: center;
  justify-items: center;
  @media (max-width:1088px) {
    grid-template-columns: 258px auto;
  }
  @media (max-width:670px) {
    display: flex;
    flex-direction: column;
    gap: 48px; 
  }
}

.vision__value-item-main-message {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--font-size_semi-large);
  font-weight: var(--font-weight_medium);
  line-height: 200%;
  width: 100%;
  max-width: 324px;
  aspect-ratio: 105 / 100;
  @media (max-width:1088px) {
    font-size: var(--font-size_medium);
    max-width: 258px;
  }
  @media (max-width:768px) {
    font-size: var(--font-size_medium);
    /* max-width: 258px;   */
  }
}

.vision__value-item-main-message::before,
.vision__value-item-main-message::after {
    position: absolute;
    width: 48px;
    height: 48px;
    border-color: var(--color_dark-blue);
    content: '';
}

.vision__value-item-main-message::before {
    border-left: solid 2px;
    border-top: solid 2px;
    top: 0;
    left: 0;
}

.vision__value-item-main-message::after {
    border-right: solid 2px;
    border-bottom: solid 2px;
    bottom: 0;
    right: 0;
}

.vision__value-item-descripton {
  max-width: 424px;
  @media (max-width:768px) {
    max-width: 258px;  
  }
}

.img-between-content.service-image::before {
  background-image: url(../img/service_image@2x.png);
}

.service__list {
  padding-left: 45px;
  display: flex;
  flex-direction: column;
  gap: 34px;
  @media (max-width:768px) {
    padding-left: 0;
  }
}

.service__item {
  max-width: 959px;
  background-color: var(--color_white);
  box-shadow: var(--drop-shadow);
  width: 100%;
}

.service__item-summary {
  display: block;
  position: relative;
  padding: 48px 56px 48px;
  cursor: pointer;
  @media (max-width:768px) {
    padding: 32px;
  }
}

.service__item-summary::-webkit-details-marker {
  display: none;
}

.service__item-summary-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.service__item-summary-icon {
  display: block;
  position: relative;
  width: 24px;
  margin-left: 6px;
  flex-shrink: 0;
  transform-origin: center 43%;
  transition: transform 0.4s;
}

/* アコーディオンが開いた時のスタイル */
details[open] .service__item-summary-icon {
  transform: rotate(180deg);
}

/* アイコンのバーのスタイル */
.service__item-summary-icon::before,
.service__item-summary-icon::after {
  content: "";
  position: absolute;
  display: block;
  width: 15px;
  height: 3px;
  background-color: var(--color_dark-blue);
}

.service__item-summary-icon::before {
  left: 0;
  transform: rotate(45deg);
}

.service__item-summary-icon::after {
  right: 0;
  transform: rotate(-45deg);
}

.service__item-summary-text > .number {
  position: relative;
  font-size: var(--font-size_medium);
  font-weight: var(--font-weight_bold);
  padding-left: 16px;
  vertical-align: middle;
}

.service__item-summary-text > .number::before {
  content: '';
  width: 9px;
  height: 9px;
  background-color: var(--color_white);
  border: solid 2px var(--color_dark-blue);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
}

.service__item-summary-text > .title {
  font-size: var(--font-size_large);
  font-weight: var(--font-weight_medium);
  word-break: keep-all;
  @media (max-width:768px) {
    font-size: var(--font-size_medium);
  }
}

.service__item-description {
  padding: 0 56px 48px;
  @media (max-width:768px) {
    padding: 0 32px 56px;
  }
}

.service__item-description > .description-text {
  margin-bottom: 64px;
  @media (max-width:768px) {
    margin-bottom: 40px;
    line-height: 150%;
  }
}

.service__item-small {
  font-size: var(--font-size_regular);
  font-weight: var(--font-weight_medium);
  @media (max-width:768px) {
    font-size: var(--font-size_extra-small);
  }
}

.work__content {
  display: flex;
  flex-direction: row;
  gap: 44px;
  align-items: stretch;
  justify-content: space-between;
  max-width: 1004px;
  @media (max-width:545px) {
    flex-direction: column;
    width: 100%;  
  }
}

.work__image {
  width: 50%;
  max-width: 461px;
  aspect-ratio: 3/4;
  object-fit: cover;
  @media (max-width:768px) {
    width: 50%;
  }
  @media (max-width:545px) {
    width: 100%;
    margin-bottom: 48px;    
  }
}

.work__wrapper {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content:center;
  align-items: flex-start;
  padding: 0 72px;
  max-width: 758px;
  @media (max-width:1088px) {
    padding: 0 42px 0 0;
  }
  @media (max-width:768px) {
    width: 309px;
    padding: 0;
  }
}

.work__wrapper::before,
.work__wrapper::after {
    position: absolute;
    width: 81px;
    height: 81px;
    border-color: var(--color_dark-blue);
    content: '';
}

.work__wrapper::before {
    border-left: solid 2px;
    border-top: solid 2px;
    top: 0;
    left: 0;
}
@media (max-width:1088px) {
  .work__wrapper::before {
    display: none;
  }
}
@media (max-width:768px) {
  .work__wrapper::before {
    display: none;
  }
}

.work__wrapper::after {
    border-right: solid 2px;
    border-bottom: solid 2px;
    bottom: 0;
    right: 0;
}

@media (max-width:1088px) {
  .work__wrapper::after {
    display: none;
  }
}
@media (max-width:768px) {
  .work__wrapper::after {
    display: none;
  }
}

.work__description {
  margin-bottom: 64px;
}

.work__wrapper > .nav-button {
  margin-bottom: 14px;
  @media (max-width:768px) {
    margin-bottom: 8px;
    margin-left: 16px;
  }
}

.work__navigation-guide {
  font-size: var(--font-size_regular);
  @media (max-width:768px) {
    font-size: var(--font-size_extra-small);
    margin-left: 16px;;
  }
}

.media__list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-self: stretch;
  @media (max-width:768px) {
    padding-left: 0;
  }
}

.media__item {
  display: flex;
  flex-direction: row;
  background-color: var(--color_white);
  box-shadow: var(--drop-shadow);
  transition-duration: .3s;
  max-width: 959px;
  @media (max-width:768px) {
    width: 100%;
    flex-direction: column;
  }
}

.media__item:hover {
  transform: translate(-4px, -4px);
}

.media__image {
  width: 372px;
  object-fit: cover;
  @media (max-width:768px) {
    width: 100%;
  }
}

.media__item-wrapper {
  padding: 24px 32px 24px 45px;
  display: flex;
  position: relative;
  flex-direction: column;
  flex-grow: 1;
  @media (max-width:768px) {
    padding: 16px 16px 24px 16px;
  }
}

.media__date {
  padding-bottom: 24px;
  border-bottom: solid 2px var(--color_dark-blue);
  font-size: var(--font-size_small);
  @media (max-width:768px) {
    padding-bottom: 16px;
  }
}

.media__title {
  font-size: var(--font-size_medium);
  font-weight: var(--font-weight_medium);
  line-height: 150%;
  margin-top: 40px;
  width: 100%;
  text-wrap: wrap;
  @media (max-width:1088px) {
    font-size: var(--font-size_regular);
  }
  @media (max-width:768px) {
    font-size: var(--font-size_regular);
    margin-top: 24px;
    padding-bottom: 60px;
  }
}

.media__source {
  position: absolute;
  left: 0;
  bottom: 24px;
  font-size: var(--font-size_regular);
  font-weight: var(--font-weight_bold);
  margin-left: 45px;
  @media (max-width:768px) {
    font-size: var(--font-size_small);
    margin-left: 16px;
  }
}

.media__supplement {
  padding-left: 16px;
  font-weight: var(--font-weight_regular);
  word-break: keep-all;
}

.contact {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-image: url(../img/contact_image@2x.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 93px 42px;
  @media (max-width:768px) {
    padding:53px 0;
  }
}

.contact__wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-top: 50px;
  width: 100%;
  max-width: 1153px;
  @media (max-width:768px) {
    flex-direction: column;
    padding-top: 0;
  }
}

.contact__h2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding-right: 32px;
  @media (max-width:768px) {
    align-items: center;
    padding: 0 0 60px 0;
  }
}

.contact__h2 > .en {
  width: 279px;
  height: 8.0rem;
  display: inline-block;
  background-image: url(../img/contact_title@2x.png);
  background-size: contain;
  background-position:right;
  background-repeat: no-repeat;
  position: relative;
}

.contact__h2 > .en > span {
  position: absolute;
  left: -999rem;
}

.contact__h2 > .ja {
  color: var(--color_white);
  font-size: var(--font-size_medium);
  font-weight: var(--font-weight_medium);
}

.contact__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 27px;
  align-self: flex-start;
  @media (max-width:768px) {
    align-items: center;
    padding: 0 60px;
  }
}

.contact__text-wrapper {
  display: inline-block;
  /* align-self: flex-start; */
}

.contact__description {
  box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	display: inline;
  word-break: keep-all;
	padding: 8px;
	line-height: 250%;
	background-color: var(--color_white);
  font-size: var(--font-size_semi-large);
  font-weight: var(--font-weight_medium);
  @media (max-width:768px) {
    font-size: var(--font-size_regular);
    width: 100%;
  }
}

.contact__button {
  padding: 8px 42px 8px 16px;
  display: inline-block;
  position: relative;
  color: var(--color_white);
  background-color: var(--color_dark-blue);
  font-size: var(--font-size_medium);
  font-weight: var(--font-weight_medium);
  box-shadow: 4px 4px 14px 0px #858581;
  transition-duration: .3s;
  @media (max-width:768px) {
    font-size: var(--font-size_regular);
  }
}

.contact__button::after {
  display: inline-block;
  position: absolute;
  width: 15px;
  height: 15px;
  top: 50%;
  transform: translateY(-50%);
  right: 16px;  content: "";
  background-image: url(../img/contact-button-arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  transition-duration: .3s;
}

.contact__button:hover {
  transform: translate(-2px, -2px);
}

.contact__button:hover::after {
  right: 12px;
}