@charset "UTF-8";
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* border: 1px solid red; */
}

html,
body {
  width: 100%;
  font-size: 100%;
  overflow-x: hidden !important;
  font-feature-settings:"palt";
}

body {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-style: normal;
  color: #1f1f1f;
  -ms-overflow-style: none;
  background-color: #ffffff;
}


body::-webkit-scrollbar {
  display: none;
}

#opening-cover {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: black;
  z-index: 1000;
  transition: transform 1s ease-out;
}

#opening-cover.is-closed {
  transform: translateY(-100%);
}

.main-logo{
  transform: scale(1.1);
}

#logo-animation-container {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 90%;
  max-width: 800px;
  text-align: center;
  color: white;
  z-index: 1001;
  transform: translate(-50%, calc(-50% + 100px));
  opacity: 0;
  transition: transform 1s ease-out, opacity 1s ease-out;
}

#logo-animation-container.centered {
  transform: translate(-50%, -50%);
  opacity: 1;
}

#logo-animation-container.hidden {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

#wrapper {
  height: 100vh;
  display: flex;
  flex-wrap: nowrap;
  will-change: auto;
  width: fit-content;
}

@media screen and (max-width: 768px) {
  #wrapper {
  width: 1200vw;
}
}

.panel {
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
}

@media screen and (max-width: 768px) {
  .l-hero-panel {
  display: block;
}
}

.br-pc {
  display: block;
}

.br-sp,
.sp-br {
  display: none;
}

@media screen and (max-width: 768px) {
  .br-sp,
  .sp-br {
    display: block;
  }
}

svg {
  overflow: visible;
}

.width200vw{
  width: 200vw !important;
  position: relative;
}

@media screen and (max-width: 768px) {
  .width200vw{
  width: auto !important;
  position: relative;
  min-height: 290vh !important;
  }
}

@media screen and (max-height: 668px) {
  .width200vw{
  min-height: 350vh !important;
  }
}

/*
ネオン風のデザイン
*/

.neon {
  animation: blink linear infinite 5s;
}

a:hover .neon {
  animation: none;
}

.neon:nth-of-type(2) {
  animation: blink linear infinite 3.9s;
}

.neon:nth-of-type(3) {
  animation: blink linear infinite 3.3s;
}

.neon:nth-of-type(4) {
  animation: blink linear infinite 4.6s;
}

@keyframes blink {
  70% {
    color: inherit;
    fill: inherit;
    text-shadow: inherit;
  }
  72% {
    color: #ffffff;
    fill: #eff0f2;
    /* filter: drop-shadow(0 0 4px rgba(31, 31, 31, 0.1)); */
  }
  83% {
    text-shadow: none;
  }
  84% {
    color: inherit;
    fill: inherit;
    text-shadow: inherit;
  }
  85% {
    color: #ffffff;
    fill: #eff0f2;
    text-shadow: none;
  }
  86% {
    color: inherit;
    fill: inherit;
    text-shadow: inherit;
  }
  95% {
    color: inherit;
    fill: inherit;
    text-shadow: none;
  }
  95.5% {
    color: #ffffff;
    fill: #eff0f2;
  }
}

/*
TOP
*/

.first-area {
  width: 100vw;
  max-width: 1920px;
  margin-inline: auto;
  position: relative;
  overflow-y: hidden;
}

@media screen and (max-width: 768px) {
  .first-area{
    height: 100dvh;
  }
}

.first-area__heading--wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) ;
  text-align: center;
  z-index: 1;

}

.first-area__arrow {
  position: absolute;
  right: 5.2708%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
}

@media screen and (max-width: 820px) {
  .first-area__arrow {
    right: 50%;
    transform: translateX(50%);
    top: auto;
    bottom: min(42.666vw, 160px);
    z-index: 10;
  }
}

.first-area__arrow--body-pc {
  transition: all 0.3s ease;
  display: block;
}

  .first-area__arrow--body-sp{
    display: none;
    width: 26.6px;
  }

@media screen and (max-width: 768px) {
  .first-area__arrow--body-pc {
    width: 26.6px;
    height: auto;
    display: none;
  }

  .first-area__arrow--body-sp{
    display: block;
    width: 26.6px;
  }
}

.first-area__arrow--body-pc:hover,
.first-area__arrow--body-sp:hover {
  fill: transparent;
  stroke: #1f1f1f;
  stroke-width: 1px;
  transition: all 0.3s ease;
}

.small-rights {
  position: absolute;
  left: 1.9765vw;
  bottom: 1.4641vw;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .small-rights {
    display: none;
  }
}

.scroll-to-see-more {
  position: absolute;
  right: 1.9765vw;
  bottom: 1.4641vw;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .scroll-to-see-more {
    font-size: min(2.666666vw, 10px);
    right: min(6.4vw, 24px);
    bottom: min(6.4vw, 24px);
  }
}

.scroll-to-see-more::before {
  content: url(../img/dotted-line.svg);
  display: inline-block;
}

.first-area video {
  display: block;
  width: 100%;
  height: 100lvh;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
}

.header-logo {
  position: absolute;
  top: 2.1229vw;
  left: 2.1229vw;
  z-index: 999;
  width: 3.5871vw;
}

@media screen and (max-width: 768px) {
  .header-logo {
    position: absolute;
    top: min(4vw, 15px);
    left: min(6.4vw, 24px);
    z-index: 999;
    width: min(13.0666vw, 49px);
  }
}

.header-logo img {
  width: 100%;
  height: auto;
}

/*
concept
*/
.concept {
  position: relative;
  overflow-y: hidden;
}

@media screen and (max-width: 768px) {
  .concept-sp,
  .consept-sp__img {
    width: 100vw;
    height: 100vh;
    position: relative;
    display: block;
    width: 100vw;
        flex-shrink: 0; /* 縮小させない */
  }
}

.concept__heading {
  font-family: 'Inter';
  position: absolute;
  top: 2.9282vw;
  left: 7.3206vw;
  font-size: 1.666vw;
  color: rgba(31, 31, 31, 0.4);
}

@media screen and (max-width: 768px) {
  .concept__heading {
    font-family: 'Inter';
    position: absolute;
    top: min(16.8vw, 63px);
    left: min(8vw, 30px);
    font-size: 5.33vw;
    color: rgba(31, 31, 31, 0.4);
  }
}

@media screen and (max-width: 768px) {
  .concept__heading {
    font-family: 'Inter';
    position: absolute;
    top: min(13.333vw, 50px);
    left: min(8vw, 30px);
    font-size: 5.33vw;
    color: rgba(31, 31, 31, 0.4);
  }
}

@media screen and (max-width: 768px) {
  .concept__text-area{
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: min(8vw, 30px);
    }
  }

.concept__text-area--heading-text {
  font-size: 2.78184vw;
  line-height: 1.33333333333;
  position: absolute;
  top: 11.713vw;
  left: 7.3206vw;
  font-family: 'Inter';
  font-weight: 300;
}

@media screen and (max-width: 768px) {
  .concept__text-area--heading-text {
    font-size: min(6.13333vw, 23px);
    line-height: 1.34782608696;
    position:static;
    top: auto;
    bottom: min( 130.4vw, 489px);
    left: min(8vw, 30px);
    font-family: 'Inter';
    font-weight: 300;
    margin-bottom: 17.066vw;
  }
}

@media screen and (max-width: 375px) {
  .concept__text-area--heading-text {
    margin-bottom: 2.066vw;
  }
}

.concept__text-area--paragraph-wrap {
  position: absolute;
  top: 18.008vw;
  left: 7.3206vw;
}

@media screen and (max-width: 768px) {
  .concept__text-area--paragraph-wrap {
    position: static;
    top: auto;
    bottom: 5vw;
    left: min(8vw, 30px);
  }
}

.concept__text-area--subheading-text {
  font-size: 1.1713vw;
  line-height: 1.6875;
  margin-bottom: 40px;
}

@media screen and (max-width: 768px) {
  .concept__text-area--subheading-text {
    font-size: min(4.2666vw, 16px);
    line-height: 2.28571428571;
    margin-bottom: min(6.4vw, 24px);
  }
}

.concept__text-area--paragraph {
  font-size: 1.0248vw;
  margin-bottom: 40px;
  line-height: 2.25;
}

@media screen and (max-width: 768px) {
  .concept__text-area--paragraph {
    font-size: min(3.4666vw, 13px);
    margin-bottom: min(6.4vw, 24px);
    line-height: 2.18181818182;
  }
}

.eee-needs {
  position: absolute;
  bottom: 4.3045vw;
  left: 51.3177vw;

  height: auto;
}

@media screen and (max-width: 768px) {
  .eee-needs {
    position: absolute;
    bottom: 16vw;
    left: auto;
    right: min( 6.4vw, 24px);
      width: 16vw;
  }
}

.concept__main-visual {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 37.4084vw;
  height: 100vh;
}

@media screen and (max-width: 768px) {
  .concept__main-visual {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100vw;
  }
}

.concept__main-visual img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

@media screen and (max-width: 768px) {
  .concept__main-visual img {
    object-fit: cover;
    height: 100vh;
  }
}

/*
Service
*/

@media screen and (max-width: 768px) {
  .service-sp,
  .service-sp__img {
    width: 100vw;
    height: 100vh;
    position: relative;
  }
}

.service {
  background: #eff0f2;
  position: relative;
}

.service__heading {
  font-family: 'Inter';
  position: absolute;
  bottom: 102%;
  left: 0;
  font-size: 1.666vw;
  color: rgba(31, 31, 31, 0.4);
}

@media screen and (max-width: 768px) {
  .service__heading {
    font-family: 'Inter';
    position: absolute;
    bottom: 110%;
    font-size: 5.33vw;
    color: rgba(31, 31, 31, 0.4);
  }
}

.service__wrapper {
  width: 76.4275vw;
  height: 40.4831vw;
  position: absolute;
  left: 7.3206vw;
  bottom: 1.8565vw;
  display: flex;
  gap: 4.6852vw;
}

@media screen and (max-width: 1024px) {
  .service__wrapper {
  width: 89.402vw;
  height: 40.4831vw;
  position: absolute;
  left: 7.3206vw;
  bottom: auto;
  display: flex;
  gap: 4.6852vw;
}
}

@media screen and (max-width: 768px) {
  .service__wrapper {
    /* width: 100%; */
    height: 40.4831vw;
    position: absolute;
    left: min( 5.333vw, 20px);
    bottom: auto;
    top: min(32.8vw, 123px);
    display: block;
    gap: 4.6852vw;
  }
}

.service__image--wrapper {
  width: 40.4831vw;
}

@media screen and (max-width: 768px) {
  .service__image--wrapper {
    display: none;
  }
}

.service__image--wrapper img {
  width: 100%;
  height: auto;
}

.service__list{
  position: relative;
}

.service__list::after{
  content: "";
  display: inline-block;
  position: absolute;
  height: 1px;
  width: 100%;
  border-bottom: 1px dashed #1f1f1f;
  bottom: 3px;
}

@media screen and (max-width: 768px) {
  .service__list::after{
  bottom: -5px;
}
}

.service__list--real-estate{
  display: flex;

}

.service__list--wrap {
  margin-bottom: 2.9282vw;
  width: 95%;
}

@media screen and (max-width: 1024px) {
    .service__list--wrap {
    margin-bottom: 2.9282vw;
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .service__list--wrap {
    margin-bottom: 2.9282vw;
    /* width: 84vw; */
  }
}

.service__list a{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.1713vw;
  font-size: 1.7569vw;
  line-height: 1.83333333333;
}

@media screen and (max-width: 768px) {
  .service__list a{
    font-size: min(5.33333vw, 20px);
    /* line-height: 1.45; */
    margin-bottom: min(4.266666vw, 16px);
  }
}

.service__list .en {
  color: rgba(31, 31, 31, 0.6);
  font-size: 1.0248vw;
}

@media screen and (max-width: 768px) {
  .service__list .en {
    color: rgba(31, 31, 31, 0.4);
    font-size: min(3.2vw, 12px);
  }
}

.plus-icon {
  vertical-align: middle;
  margin-left: 1rem;
  width: 30px;
  height: 30px;
}

/* 全体のアニメーション設定 */
.plus-button {
  cursor: pointer;
}

.plus-button circle,
.plus-button path {
  transition: all 0.3s ease; /* なめらかに変化させる */
}

/* --- 通常時のスタイル --- */
/* 背景の円 */
.plus-button circle {
  fill: transparent;   /* グレーの塗りつぶし */
  stroke: #757575; /* グレーの枠線（サイズ調整用） */
  stroke-width: 2px;
}
/* プラス記号 */
.plus-button path {
  stroke: #757575; /* 白色の線 */
  stroke-width: 3px;
  stroke-linecap: round; /* 線の端を少し丸くする */
}

/* --- ホバー時のスタイル --- */
.service__lower-page:hover .plus-icon circle,
.service__list a:hover .plus-icon circle {
  fill: #757575;   /* 背景を白に */
  /* stroke（枠線）は #757575 のまま残るため、枠線だけ見えるようになります */
}

.service__lower-page:hover .plus-icon path,
.service__list a:hover .plus-icon path {
  stroke: #ffffff; /* プラス記号をグレーに */
}

.service__list--paragraph {
  font-size: 1.0248vw;
  line-height: 2.25;
  width: 31.916vw;
}

@media screen and (max-width: 768px) {
  .service__list--paragraph {
    font-size: min(3.4666vw, 13px);
    line-height: 2.18181818182;
    width: 83vw;
    margin-top: min(8vw, 30px);
  }
}

.line-service {
  width: 31.2591vw;
  margin-bottom: 1.4641vw;
}

@media screen and (max-width: 768px) {
  .line-service {
    width: 84vw;
    margin-bottom: 1.4641vw;
    margin-inline: auto;
  }
}

@media screen and (min-width: 1367px) {
  .service__lower-page {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* width: 79%; */
  }
}

@media screen and (max-width: 1366px) {
  .service__lower-page {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 88%;
}
}


.service__lower-page:hover svg {
  fill: transparent;
  stroke: #1f1f1f;
  stroke-width: 1px;
  transition: all 0.3s ease;
}

.service__lower-page .ja {
  font-size: 0.8784vw;
  font-weight: 300;
}

@media screen and (max-width: 768px) {
  .service__lower-page .ja {
    font-size: min(3.2vw, 12px);
    font-weight: 300;
  }
}

.real-estate-svggroup span {
  display: inline-block;
}

.svg-pc {
  display: block;
}

.svg-sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .svg-pc {
    display: none;
  }

  .svg-sp {
    display: block;
  }
}

.RealE {
  margin-left: 21px;
}

@media screen and (max-width: 768px) {
  .RealE {
    margin-left: min(3.73333vw, 14px);
  }
}

.service-sp__img {
  display: none;
}

@media screen and (max-width: 768px) {
  .service-sp__img {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    display: block;
  }

  .service-sp__img img {
    object-fit: cover;
    width: 100%;
    height: 100vh;
  }
}

/*
Company
*/

.company {
  position: relative;
}

@media screen and (max-width: 768px) {
  .company {
    /* overflow-x: scroll; */
    position: relative;
  }
}

.company__heading {
  font-family: 'Inter';
  position: absolute;
  top: 2.9282vw;
  left: 7.3206vw;
  font-size: 1.666vw;
  color: rgba(31, 31, 31, 0.4);
}

@media screen and (max-width: 768px) {
  .company__heading {
    font-family: 'Inter';
    position: absolute;
    top: min(16.8vw, 63px);
    left: min(8vw, 30px);
    font-size: 5.33vw;
    color: rgba(31, 31, 31, 0.4);
    margin-bottom: 32px;
    font-size: 5.333vw;
  }
}

@media screen and (max-width: 1025px) {
  .company__photo-gallery-wrap {
    overflow-x: scroll;
    overflow-y: hidden;
    -ms-overflow-style: none;
    /*Firefoxへの対応*/
    scrollbar-width: none;
    width: 100vw;
    position: absolute;
    top: 50%;
    transform: translateY( -50%);
  }

  .company__photo-gallery-wrap::-webkit-scrollbar {
    display: none;
  }
}

.company__photo-gallery {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  grid-template:
    'photo-A photo-B photo-B'
    'photo-C photo-C photo-D';
  gap: 10px;
  /* width: 100%; */
}

@media screen and (max-width: 1025px) {
  .company__photo-gallery {
    width: fit-content;
    /* padding-inline: 8vw; */
    position: static;
    transform: none;
    margin-top: min(27.4666vw, 103px);
    margin-left: -15vw;
    margin-right: -15vw;
    
  }
}


@media screen and (max-width: 768px) {
  .company__photo-gallery {
    transform: scale(0.85);
  }
}

@media screen and (max-height: 668px) {
  .company__photo-gallery{
    transform: scale(0.85);
    padding: 0;
  }
}

.photo-A {
  grid-area: photo-A;
  /* width: 28.404%;
    height: auto; */
}

.photo-B {
  grid-area: photo-B;
  /* width: 56.881%;
    height: auto; */
}

.photo-C {
  grid-area: photo-C;
  /* width: 56.881%;
    height: auto; */
}

.photo-D {
  grid-area: photo-D;
  /* width: 28.404%;
    height: auto; */
}

/*
MESSAGE・information
*/

/* .two-column__wrap {
  position: absolute;
  bottom: 1.25vw;
  left: min(3.3852vw, 64px);
  font-size: 0.95168vw;
  gap: 2.6852vw;
  display: flex;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 4.612vw;
  flex-wrap: wrap;
  position: relative;
}

@media screen and (max-width: 1024px) {
.two-column__wrap{

  flex-direction: column;
  top: auto;
  bottom: auto;
}
}
@media screen and (max-width: 768px) {
  .two-column__wrap {
    width: auto;
    position: static;
    width: 100vw;
    display: block;
  }
} */

.message-info__wrap{
  display: grid;
  grid-template-areas: "message__heading info__heading history-page__heading"
  "message__profile info__name ."
  "message__body info__box history-page__timeline";
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 2fr 1fr auto;
  gap: 3vw;
  align-items: start;
  max-width: 150vw;
  height: 95vh;
  margin-top: auto;
}

@media screen and (max-width: 768px) {
  .message-info__wrap{
  display: grid;
  grid-template-areas: "message__heading "
  "message__profile"
  "message__body"
  "info__heading"
  "info__name"
  "info__box"
  "history-page__heading"
  "history-page__timeline";
  grid-template-columns: 1fr;
  grid-template-rows: 4fr 1fr auto;
  gap: 3vw;
  align-items: start;
  max-width: none;
  padding-left: min(5.333vw, 20px);
  padding-right: 4.5333vw;
  height: auto;
}
}

/* 画面上部の "Message" と "Info" の配置 */

.message__heading,
.info__heading,
.history-page__heading {
  font-family: 'Inter';
  font-size: 1.666vw;
  color: rgba(31, 31, 31, 0.4);
  height: 100%;
  display: flex;
  align-items: end;

}

@media screen and (max-width: 768px) {
  .message__heading,
  .info__heading,
  .history-page__heading {
    font-family: 'Inter';
    font-size: 5.33vw;
    color: rgba(31, 31, 31, 0.4);
    margin-bottom: min( 8.5333vw, 32px);
    font-size: 5.33vw;
    align-items: start;
  }
}

@media screen and (max-height: 667px) {
    .message__heading,
  .info__heading,
  .history-page__heading {
    margin-bottom: min( 6.4vw, 24px);
    align-items: end;
  }
}

.message__heading{
  grid-area: message__heading;
}

.info__heading{
  grid-area: info__heading;
}

/* --- 2. 左側のメッセージ --- */
.two-column__message {
  width: 100%;
  height: 100%;
}

.message__body,
.info__box{
  font-size: 0.95168vw;
  line-height: 2.25;

}

.message__body {
  /* word-break: keep-all;
  overflow-wrap: break-word; */
  /* line-height: 2.25; */
  /* margin-bottom: 4.6852vw; */
  grid-area: message__body;
  width: 41.606vw;
}

@media screen and (max-width: 768px) {
  .message__body {
    /* word-break: keep-all;
    overflow-wrap: break-word; */
    margin-bottom: 30vw;
    line-height: 2.18181818182;
    font-size: min(3.73333vw, 14px);
    width: 99%;
  }


}

.message__profile {
  font-family: 'Inter';
  display: flex;
  align-items: end;
  /* margin-top: 7.3206vw;
  margin-bottom: 4.6852vw; */
  grid-area: message__profile;
  height: 100%;
}

@media screen and (max-width: 768px) {
  .message__profile {
    font-family: 'Inter';
    display: flex;
    align-items: center;
    margin-top: auto;
    margin-bottom: auto;
    gap: 8px;
    top: auto;
    margin-bottom: min( 8.533vw, 30px);
  }
}

.message__name {
  font-size: 1.46412vw;
  line-height: 1.2;
  font-weight: normal;
  margin-right: 2.9282vw;
}

@media screen and (max-width: 768px) {
  .message__name {
    font-size: 5.06666vw;
    line-height: 1.2;
    font-weight: normal;
    margin-right: 2.9282vw;
    letter-spacing: 0.064em;
  }
}

.message__role {
  font-size: 1.0248vw;
  margin: 0;
}

.message__paragraph {
  margin-bottom: 1.5139vw;
}

@media screen and (max-width: 768px) {
  .message__paragraph {

  }
}

.message__paragraph:nth-child(2) {

}

@media screen and (max-width: 768px) {
  .message__paragraph:nth-child(2) {
  margin-bottom: 1.2rem;
  }

  .message__paragraph:last-child {
    margin-bottom: 0;
    text-align: right;
  }
}


  .text-right{
    text-align: right;
    margin-right: .75rem;
  }

/* --- 3. 右側のインフォメーション --- */
.info__box {
  display: flex;
  justify-content: space-between;
  /* gap: 4%; */
  /* font-size: 11px; */
  font-size: 0.95168vw;
  grid-area: info__box;
  width: 46.4114vw;
}

@media screen and (max-width: 768px) {
  .info__box {
    display: block;
    /* position: absolute;
    top: auto;
    left: min(8vw, 30px); */
    font-size: min(3.4666vw, 13px) !important;
    bottom: 2vw;
    width: auto;
  }
}

@media screen and (max-width: 390px) {
  .info__box {
    display: block;
    /* position: absolute;
    top: auto;
    left: min(8vw, 30px); */
    font-size: min(3.2vw, 12px);
    bottom: 4vw;
  }
}


.two-column__info {
  width: 100%;
  height: 100%;
  position: relative;
}

  .two-column__message,
  .two-column__info {
    /* flex: 1 1 100%; */
    min-width: auto;
    width: 100%;
    padding: 0;
  }

.info__name {
  font-family: 'Inter';
  font-size: 1.46412vw;
  font-weight: normal;
  /* margin-top: 7.3206vw;
  margin-bottom: 4.6852vw; */
  grid-area: info__name;
  height: 100%;
  display: flex;
  align-items: end;
}

@media screen and (max-width: 768px) {
  .info__name {
    padding: 0;
    font-size: 5.06666vw;
    margin-top: auto;
    margin-bottom: auto;
    left: min(8vw, 30px);
  }
}

.info__item {
  display: flex;
  gap: 2.9282vw;
  align-items: baseline;
}

@media screen and (max-width: 768px) {
  .info__item {
    margin-bottom: 1.6666vw;
    /* gap: 2.53333vw; */
    gap: min(4.1666vw, 32px);;
    align-items: baseline;
  }
}

.info__term,
.license__term {
  /* 項目名（商号、創業など） */
  width: 4em; /* 幅を固定して揃える */
  flex-shrink: 0;
  font-weight: normal;
  margin: 0;
}



.info__description,
.license__description {
  flex-grow: 1;
  margin: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.info__description {
  flex-direction: column;
  line-height: 1.4;
}

/* --- 4. 免許・事業内容 (license) --- */
.license__group {
  display: flex;
  gap: 2.9282vw;
}

@media screen and (max-width: 768px) {
  .license__group {
    /* gap: 2.53333vw; */
    gap: min(4.1666vw, 32px);
  }
}

.license__term {
  flex-shrink: 0;
}
.license__description {
  flex-grow: 1;
}
/* --- 事業内容の横並び設定 --- */
.license__group--services {
  /* width: 24.742vw; */

}

@media screen and (max-width: 768px) {
  .license__group--services {
  width: auto;
  align-items: baseline;
  margin-bottom: 30vw;
}
}

.license__description--services {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  /* max-width: 16.5929vw; */
  font-size: 0.8052vw;
}
.service__container {
  /* display: flex; */
  /* flex-direction: column; */
  /* justify-content: space-between; */
  /* flex: auto; */
  /* padding-bottom: 9px; */
  font-size: 0.95168vw;
}

.service__line {
  flex-shrink: 0;
  /* border-bottom: solid 1px #1f1f1f; */
  display: inline-block;
  /* margin-right: 0.5em; */
  position: relative;
}

.service__line::after{
  content: "";
  display: inline-block;
  width: 100%;
  height: 1px;
  background-color: #1f1f1f;
  position: absolute;
  bottom: 14%;
  left: 0;
}

@media screen and (max-width: 768px) {
  .service__line::after{
    bottom: -25%;
}
}

.service__item {
  font-family: 'Inter';
  flex-shrink: 0;
  margin: 0; 
}



@media screen and (max-width: 768px) {
  .service__item {
    font-family: 'Inter';
    flex-shrink: 0;
    /* font-size: 10px; 小さめのフォントサイズ */
    margin: 0; /* pタグのデフォルトマージンをリセット */
    line-height: 1; /* 行の高さを調整 */
    margin-bottom: 3%;
  }

  li.service__item>.service__item{
    line-height: 1.45;
    margin-bottom: 3%;

  }
}


a.service__link > div{
  position: relative;
}

.service__img {
  /* padding: 0 11px; */
  display: inline-block;
  /* margin-right: 0.5em; */
  vertical-align: bottom;
  width: 10px;
  height: 10px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 103%;
}

a.service__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2vw;
}

a.service__link:hover{
  opacity: 0.6;
}

.service__text-area--wrapper{
  position: relative;
}

@media screen and (max-width: 768px) {
  a.service__link {
  display: flex;
  /* align-items: center; */
  flex-wrap: nowrap;
}
}

@media screen and (max-width: 1024px) {
  .service__lower-page{
    width: 42.402vw;
  }

  .service__text-area--wrapper{
    /* width: 42.402vw; */
  }
}
/* **************************************** history ******************************************************* */

.history-page__heading{
  padding-left: 7vw;
}

@media screen and (max-width: 768px) {
  .history-page__heading{
  padding-left: unset;
}
}

.history-page__timeline{
  grid-area: history-page__timeline;
  padding-left: 7vw;
  font-size: 1.0248vw;
  margin: 0;
  line-height: 1.45454545455;
  margin-top: -4.5vw;
}

@media screen and (max-width: 768px) {
  .history-page__timeline{
    margin-top: auto;
  }
}

/* --- 3. タイムラインのスタイル --- */

@media screen and (max-width: 768px) {
  .timeline {
    font-size: min(3.7333vw, 14px);
    padding: 0;
    margin: 0;
    line-height: 1.4;
    /* position: absolute; */
    top: min( 138px, 36.8vw);
    left: min(8vw, 30px);
    width: 84vw;
  }
}

@media screen and (max-width: 390px) {
    .timeline {
    font-size: min(3.4666vw, 13px);
    padding: 0;
    margin: 0;
    line-height: 1.4;
    /* position: absolute; */
    top: min( 46.13333vw, 173px);
    left: min(8vw, 30px);
    width: 90vw;
  }
}

@media screen and (max-width: 375px) {
    .timeline {
    padding: 0;
    margin: 0;
    line-height: 1.4;
    /* position: absolute; */
    top: min( 173px, 32.13333vw);
    left: min(8vw, 30px);
    width: 84vw;
  }
}

.timeline__item {
  font-family: 'Noto Sans JP';
  display: flex;
  margin-bottom: 3.5%;
}

@media screen and (max-width: 768px) {
  .timeline__item {
    font-family: 'Noto Sans JP';
    display: flex;
    margin-bottom: 2.26666vw;
  }
}

.timeline__year {
  display: flex;
  justify-content: space-between;

  flex-shrink: 0;
  width: 5.5em;
  font-weight: 400;
  margin: 0;
  padding-right: 0px;
}

@media screen and (max-width: 768px) {
    .timeline__year {
  flex-shrink: 0;
  /* width: 25%; */
  font-weight: 400;
  margin: 0;
  padding-right: 0px;
}
}

.timeline__event {
  margin-left: min( 1.9033vw, 26px)
}

@media screen and (max-width: 768px) {
  .timeline__event {
    margin-left: min( 4.1666vw, 32px);
  }
}

/* --- 4. 右側の画像エリア (画面いっぱいに広げる) --- */
.history-page__img {
  /* width: 42%; */
  height: 100vh;
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0;
  overflow: hidden;
}

.history-page__img img{
  object-fit: cover;
}

@media screen and (max-width: 1024px) {
.history-page__img {
  width: 42.17%;
  height: auto;
  position: static;
  right: 0;
  margin: 0;
  overflow: hidden;
}
}

@media screen and (max-width: 768px) {
  .history-page__img {
    width: 100%;
    height: 265px;
    object-fit: cover;
    object-position: center;
    bottom: 0;
    top: auto;
    transform: none;
  }
}

@media screen and (max-width: 768px) {
  .timeline__item--img{
    position: static;
    margin-top: 17.06666vw;
  }
}



.timeline__year--left{

}

.timeline__year--right{
  
}

@media (max-width: 768px) {
  /* 全体 */

  /* 左右カラムを100%幅にして縦並び */
 

  /* メッセージ側の微調整 */
  .message__role {
    font-size: 13px;
  }
  .message__paragraph {
    line-height: 2.1em;
    margin-bottom: 1.2rem;
  }

  /* Info 側の横幅調整 */

  .info__list {
    width: 100%;
  }

  /* 事業内容などの折り返し */
  .license__description--services {
    max-width: none;
    gap: min(12px, 3%);
    flex-direction: column;
  }
  .service__container {
    padding-bottom: min(8px, 1vh);
    width: 90%;
    /* gap: 1.5em; */
    /* flex-wrap: nowrap; */
  }
  .service__item {
    font-size: min(3.73333vw, 14px);
  }

  /* History: コンテンツを縦並びにして画像は下に */
  .history-page {
    flex-direction: column;
    padding: 0;
    position: relative;
    min-height: auto;
  }

  .history-page__visual {
    width: 100%;
    min-height: auto;
  }
}

@media screen and (max-width: 390px) {
    .service__item {
    font-size: min(3.2vw, 12px);
  }
}

/* ====================================
   .contact
   ==================================== */

.contact-us {
  position: relative;
}
.contact {
  position: relative;
}

/* --- heading --- */
.contact__heading {
  position: absolute;
  font-size: 1.666vw;
  top: 2.9282vw;
  left: 7.3206vw;
  color: rgba(31, 31, 31, 0.4);
}

@media screen and (max-width: 768px) {
  .contact__heading {
    font-family: 'Inter';
    position: absolute;
    top: min(16.8vw, 63px);
    left: min(8vw, 30px);
    font-size: 5.33vw;
    color: rgba(31, 31, 31, 0.4);
  }
}

.contact__title {
  font-size: 12px;
  color: #1f1f1f;
  margin-bottom: 5px;
  opacity: 0.4;
}

.contact__logo {
  position: absolute;
  top: 2.9282vw;
  left: 50%;
  transform: translateX(-50%);
  width: 58.5651vw;
}

@media screen and (max-width: 850px) {
    .contact__logo {
    position: absolute;
    top: 18.133333vw;
    left: 50%;
    transform: translateX(-50%);
    width: 84vw;
  }
}

@media screen and (max-width: 767px) {
  .contact__logo {
    position: absolute;
    top: 46.133333vw;
    left: 50%;
    transform: translateX(-50%);
    width: 84vw;
  }
}



.contact__logo img {
  width: 58.5651vw;
  height: auto;
}

@media screen and (max-width: 768px) {
  .contact__logo img {
    width: 84vw;
    height: auto;
  }
}

/* --- main --- */

.contact__info-section {
  position: absolute;
  bottom: 2.9282vw;
  left: 7.3206vw;
}

@media screen and (max-width: 1024px) {
  .contact__info-section {
  position: absolute;
  bottom: auto;
  top: auto;
  left: 7.3206vw;
}
}

@media screen and (max-width: 768px) {
  .contact__info-section {
    position: absolute;
    bottom: auto;
    top: min( 315px, 84vw);
    left: 7.3206vw;
    width: 87.4666vw;
  }
}

.contact__location {
  display: flex;
  gap: 3.6603vw;
  margin-bottom: 2.29282vw;
}

@media screen and (max-width: 768px) {
  .contact__location {
    display: flex;
    gap: 4.26666vw;
    margin-bottom: min( 4.46666vw, 118px);
  }
}

.contact__location-details {
  font-size: 1.0248vw;
  line-height: 1.45454545455;
}

@media screen and (max-width: 768px) {
  .contact__location-details {
    font-size: 3.7333vw;
    line-height: 1.45454545455;
    display: flex;
    gap: 6.93333vw;
  }
}

@media screen and (max-width: 390px) {
    .contact__location-details {
    font-size: 3.2vw;
    line-height: 1.45454545455;
    display: flex;
    gap: 6.93333vw;
  }
}

.contact__location-image {
  width: 12.5183vw;
}

@media screen and (max-width: 768px) {
  .contact__location-image {
    width: 32.26666vw;
  }
}

.contact__location-image img {
  max-width: 100%;
  height: auto;
}

.contact__location-label {
  font-family: 'Inter';
  margin-bottom: 5px;
}

.contact__tel {
  margin-bottom: 1.9282vw;
}

@media screen and (max-width: 768px) {
  .contact__tel {
    margin-bottom: 3.9282vw;
}
}

.contact__tel-label {
  margin-bottom: 0.80527vw;
  font-size: 0.80527vw;
  line-height: 1.45454545455;
}

@media screen and (max-width: 768px) {
  .contact__tel-label {
    margin-bottom: 0.80527vw;
    font-size: 2.6666vw;
    line-height: 1.45454545455;
  }
}

@media screen and (max-width: 768px) {
  .contact__tel-label span {
    display: inline-block;
    margin-right: 3.73333vw;
  }
}

.contact__tel-number {
  font-family: 'Inter';
  font-size: 2.41581vw;
  line-height: 1;
  font-weight: normal;
}

@media screen and (max-width: 768px) {
  .contact__tel-number {
    font-family: 'Inter';
    font-size: 6.4vw;
    line-height: 1;
    font-weight: normal;
  }
}

.contact__button {
  display: flex;
  width: 25.3294vw;
  padding-block: 1.6105vw;
  text-decoration: none;
  background-color: #1f1f1f;
  color: #fff;
  border: none;
  cursor: pointer;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .contact__button {
    display: flex;
    width: 84vw;
    padding-block: 4.8vw;
    text-decoration: none;
    background-color: #1f1f1f;
    color: #fff;
    border: none;
    cursor: pointer;
    overflow: hidden;
    height: auto;
  }
}

.contact__button-icon {
  width: 29.48%;
  height: auto;
  background-color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: solid 1px #fff;
}

.button-icon__img {
  width: 22.86%;
}

.contact__button-text {
  font-family: 'Inter';
  font-size: 2.4158vw;
  font-weight: 500;
  flex-grow: 1;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .contact__button-text {
    font-family: 'Inter';
    font-size: 5.86666vw;
    font-weight: 300;
    flex-grow: 1;
    
  }
}

.contact__form-section {
  position: absolute;
  right: 2.9282vw;
  bottom: 3.3674vw;
  width: 37.9736vw;
}

@media screen and (max-width: 768px) {
  .contact__form-section {
    position: absolute;
    margin-inline: auto;
    text-align: center;
    width: 84vw;
    bottom: 8vw;
    right: 50%;
    transform: translateX(50%);
  }
}

.contact__dotted-lines {
  display: block;
}

.contact__dotted-lines {
  width: 100%;
}

/* @media screen and (max-width: 768px) {
  .js-sp-snap {
    width: 100vw;
    max-width: 100dvw !important;
    height: 100vh;
    flex-shrink: 0;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    pointer-events: none; 
  }
} */

.header_menu-logo{
  display: none;
}

.is-fixed .header_menu-logo{
  display: block;

} 

/* ==========================================================================
   修正対応強制上書き
   ========================================================================== */
/* @media screen and (max-width: 768px) {
.panel:not(.js-sp-snap) {
    display: contents;
}
.two-column__wrap{
display: contents;
}

} */

@media screen and (max-width: 768px) {
  .service__lower-page {
    width: 100%;
    margin-top: min(5.6vw, 21px);
  }
}

/* ==========================================================================
   修正対応上書き分
   ========================================================================== */
@media screen and (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    height: auto;
  }

  #wrapper {
    display: block;
    width: 100%;
    height: auto;
    transform: none !important; 
    will-change: auto;
  }

  .panel {
    width: 100%;
    min-height: 100vh;
    height: auto;
  }

  /* .js-sp-snap {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
  }

  .panel:not(.js-sp-snap):not(:has(.js-sp-snap)) {
    display: block; 
  } */
}


/*
カスタムスクロールバー
*/
#custom-scrollbar-container {
    position: fixed;
    bottom: 0; 
    left: 0;
    width: 100%;
    height: 10px; 
    background: rgba(255, 255, 255, 0.1); 
    z-index: 999; 
    pointer-events: auto; 
    display: none; 
}

#custom-scrollbar-thumb {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50px; 
    background: rgba(255, 255, 255, 0.5); 
    border-radius: 5px;
    cursor: grab;
}

@media (max-width: 768px) {
    #custom-scrollbar-container {
        display: none !important;
    }
}