/* ============================================================
   YU PLANNING - page
   ============================================================ */

/* ============================================================
   TOP PAGE - HERO
   ============================================================ */
/* ---- Hero ---- */
.hero {
  display: flex;
  justify-content: center;
}

.hero-video-wrap {
  width: 100%;
}

.hero-video {
  width: 100%;
  display: block;
}

/* ---- Hero SP ---- */
.hero-sp {
  display: none;
  position: relative;
  overflow: hidden;
  background-color: #fff;
  width: 100%;
}

.hero-sp-img {
  display: block;
  width: 100%;
}

.hero-sp-img-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  animation: spHeroFade2 10s infinite;
}

.hero-sp-img-1 {
  animation: spHeroFade1 10s infinite;
}

@keyframes spHeroFade1 {
  0%   { opacity: 0; }
  10%  { opacity: 1; }
  18%  { opacity: 1; }
  34%  { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes spHeroFade2 {
  0%   { opacity: 0; }
  18%  { opacity: 0; }
  34%  { opacity: 1; }
  83%  { opacity: 1; }
  98%  { opacity: 0; }
  100% { opacity: 0; }
}


/* ============================================================
   RESPONSIVE - Tablet: 768px ~ 1024px
   ============================================================ */
@media (max-width: 1024px) {
  /* Hero: 動画非表示・SP画像表示 */
  .hero-video-wrap {
    display: none;
  }

  .hero-sp {
    display: block;
  }
}


/* ============================================================
   TOP PAGE - INTRO
   ============================================================ */
.top-intro {
  position: relative;
  padding: 48px 7%;
  background-color: #fff;
  text-align: center;
}

.top-intro::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -22px;
  width: 0;
  height: 0;
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  border-top: 22px solid #fff;
  transform: translateX(-50%);
  z-index: 1;
}

.top-intro__text {
  font-size: 21px;
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-base);
}

.top-intro__lead {
  margin: 22px 0;
  font-size: 36px;
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-base);
}

.top-intro__accent {
  position: relative;
  display: inline-block;
  color: #659cb4;
  font-weight: var(--font-weight-bold);
}

.top-intro__emphasis {
  -webkit-text-emphasis: "●" #f9f1d9;
  text-emphasis: "●" #f9f1d9;
  -webkit-text-emphasis-position: under;
  text-emphasis-position: under;
}

/* Tablet */
@media (max-width: 1024px) {
  .top-intro {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .top-intro__text {
    font-size: 19px;
  }

  .top-intro__lead {
    font-size: 31px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .top-intro {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .top-intro::after {
    bottom: -18px;
    border-left-width: 18px;
    border-right-width: 18px;
    border-top-width: 18px;
  }

  .top-intro__text {
    font-size: 16px;
  }

  .top-intro__lead {
    margin: 18px 0;
    font-size: 24px;
  }
}

/* ============================================================
   TOP PAGE - REASONS-選ばれ続ける理由
   ============================================================ */
.top-reasons {
  padding: 58px 7% 64px;
  background-color: #f9f1d9;
}

.top-reasons__inner {
  width: 100%;
}

.top-reasons__title {
  margin-bottom: 52px;
  text-align: center;
  font-size: 34px;
  font-weight: var(--font-weight-medium);
  color: var(--color-accent);
  line-height: var(--line-height-base);
}

.top-reasons__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6%;
}

.top-reasons__visual {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.top-reasons__number {
  flex: 0 0 auto;
  margin-right: 10px;
  font-family: var(--font-en);
  font-size: 54px;
  font-weight: var(--font-weight-regular);
  line-height: 1;
  color: #fff;
}

.top-reasons__visual img {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  height: auto;
}

.top-reasons__heading {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: var(--font-weight-medium);
  color: var(--color-accent);
  line-height: 1.4;
}

.top-reasons__item p {
  font-size: var(--font-size-body-pc);
  font-weight: var(--font-weight-regular);
  color: var(--color-text);
  line-height: var(--line-height-base);
}

/* Tablet */
@media (max-width: 1024px) {
  .top-reasons {
    padding-top: 52px;
    padding-bottom: 58px;
  }

  .top-reasons__title {
    font-size: 30px;
  }

  .top-reasons__list {
    gap: 4%;
  }

  .top-reasons__number {
    font-size: 46px;
  }

  .top-reasons__heading {
    font-size: 18px;
  }

  .top-reasons__item p {
    font-size: var(--font-size-body-tab);
  }
}

/* Mobile */
@media (max-width: 767px) {
  .top-reasons {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .top-reasons__title {
    margin-bottom: 38px;
    font-size: 24px;
  }

  .top-reasons__list {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .top-reasons__number {
    font-size: 48px;
  }

  .top-reasons__visual img {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    height: auto;
  }

  .top-reasons__heading {
    font-size: 18px;
    text-align: left;
  }

  .top-reasons__item p {
    font-size: var(--font-size-body-sp);
  }
}


/* ============================================================
   TOP PAGE - CLIENTS
   ============================================================ */
.top-clients {
  padding: 64px 7% 72px;
  background-color: #fff;
  text-align: center;
}

.top-clients__title {
  margin-bottom: 10px;
  font-size: 34px;
  font-weight: var(--font-weight-medium);
  color: var(--color-accent);
  line-height: var(--line-height-base);
}

.top-clients__lead {
  margin-bottom: 42px;
  font-size: var(--font-size-body-pc);
  line-height: var(--line-height-base);
}

.top-clients__sp-br {
  display: none;
}

.top-clients__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 8%;
}

.top-clients__item img {
  width: 65%;
  height: auto;
  margin: 0 auto 8px;
}

.top-clients__item p {
  font-size: calc(var(--font-size-body-pc) + 2px);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-base);
}

/* Tablet */
@media (max-width: 1024px) {
  .top-clients {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .top-clients__title {
    font-size: 30px;
  }

  .top-clients__lead {
    font-size: var(--font-size-body-tab);
  }

  .top-clients__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 8%;
  }

  .top-clients__item img {
    width: 70%;
  }

  .top-clients__item p {
    font-size: calc(var(--font-size-body-tab) + 2px);
  }
}

/* Mobile */
@media (max-width: 767px) {
  .top-clients {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .top-clients__title {
    font-size: 24px;
  }

  .top-clients__lead {
    margin-bottom: 36px;
    font-size: var(--font-size-body-sp);
  }

  .top-clients__sp-br {
    display: block;
  }

  .top-clients__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 8%;
  }

  .top-clients__item img {
    width: 60.5%;
  }

  .top-clients__item p {
    font-size: 14px;
  }
}

/* ============================================================
   TOP PAGE - TEAM
   ============================================================ */
.top-team {
  padding: 58px 7% 64px;
  background-color: #e3eaef;
  text-align: center;
}

.top-team__title {
  margin-bottom: 8px;
  font-size: 34px;
  font-weight: var(--font-weight-medium);
  color: var(--color-accent);
  line-height: var(--line-height-base);
}

.top-team__sp-br {
  display: none;
}

.top-team__lead {
  margin-bottom: 28px;
  font-size: var(--font-size-body-pc);
  line-height: var(--line-height-base);
}

.top-team__members {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5%;
  margin-bottom: 42px;
}

.top-team__member img {
  width: 100%;
  height: auto;
}

.top-team__member p {
  margin-top: 8px;
  font-size: var(--font-size-body-pc);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-base);
}

.top-team__services {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.top-team__service {
  display: block;
  width: 100%;
  margin-bottom: 28px;
  padding: 18px 24px;
  background-color: #f1f5f8;
}

.top-team__service:last-child {
  margin-bottom: 0;
}

.top-team__service-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.top-team__service h3 {
  margin: 0;
  font-size: 22px;
  font-weight: var(--font-weight-medium);
  color: var(--color-btn);
  line-height: var(--line-height-base);
}

.top-team__service-more {
  flex-shrink: 0;
  font-size: 14px;
  color: var(--color-btn);
  line-height: var(--line-height-base);
  transition: color 0.2s;
}

.top-team__service:hover .top-team__service-more {
  color: var(--color-btn-hover);
}

.top-team__service p {
  margin-bottom: 8px;
  font-size: var(--font-size-body-pc);
  line-height: var(--line-height-base);
}

.top-team__service-item {
  font-size: calc(var(--font-size-body-pc) + 2px);
  font-weight: var(--font-weight-medium);
}

.top-team__service-head + p {
  margin-top: 14px;
}

/* Tablet */
@media (max-width: 1024px) {
  .top-team {
    padding-top: 52px;
    padding-bottom: 58px;
  }

  .top-team__title {
    font-size: 30px;
  }

  .top-team__lead {
    font-size: var(--font-size-body-tab);
  }

  .top-team__members {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 4%;
	}
	
	.top-team__service-item {
  font-size: calc(var(--font-size-body-tab) + 2px);
}

  .top-team__member--director {
    grid-column: 1 / -1;
    width: calc((100% - 4%) / 2);
    justify-self: center;
  }

  .top-team__member p,
  .top-team__service p {
    font-size: var(--font-size-body-tab);
  }

  .top-team__service h3 {
    font-size: 20px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .top-team {
    padding-top: 48px;
    padding-bottom: 52px;
  }

  .top-team__title {
    font-size: 24px;
  }

  .top-team__sp-br {
    display: block;
  }

  .top-team__lead {
    font-size: var(--font-size-body-sp);
  }

  .top-team__members {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 4%;
    margin-bottom: 38px;
  }

  .top-team__member--director {
    grid-column: 1 / -1;
    width: calc((100% - 4%) / 2);
    justify-self: center;
  }

  .top-team__member p,
  .top-team__service p {
    font-size: var(--font-size-body-sp);
  }
	
	.top-team__service-item {
  font-size: calc(var(--font-size-body-sp) + 2px);
}

.top-team__service-note {
  display: block;
  margin-top: 2px;
	}
	
  .top-team__service h3 {
    font-size: 18px;
  }
}

/* ============================================================
   TOP PAGE - VALUES
   ============================================================ */
.top-values {
  padding: 58px 7% var(--space-page-bottom-pc);
  background-color: #fff;
  text-align: center;
}

.top-values__title {
  margin-bottom: 38px;
  font-size: 34px;
  font-weight: var(--font-weight-medium);
  color: var(--color-accent);
  line-height: var(--line-height-base);
}

.top-values__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7%;
}

.top-values__image {
  width: 42%;
}

.top-values__image img {
  width: 100%;
  height: auto;
}

.top-values__list {
  width: 51%;
  text-align: left;
}

.top-values__list li {
  position: relative;
  margin-bottom: 22px;
  padding-left: 30px;
  font-size: calc(var(--font-size-body-pc) + 2px);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-base);
}

.top-values__list li:last-child {
  margin-bottom: 0;
}

.top-values__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border: 1px solid #aaa;
  color: #ac6876;
  line-height: 18px;
  text-align: center;
}

.top-values__cta {
  margin-top: 58px;
  text-align: center;
}

.top-values__cta p {
  margin-bottom: 16px;
  font-size: var(--font-size-body-pc);
  line-height: var(--line-height-base);
}

.top-values__cta-arrow {
  display: block;
  width: 0;
  height: 0;
  margin: 0 auto 18px;
  border-left: 24px solid transparent;
  border-right: 24px solid transparent;
  border-top: 24px solid #e3eaef;
}

.top-values__cta-btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  background-color: #9cbaca;
  color: #fff;
  border-radius: 30px;
  font-size: 24px;
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-base);
  transition: background-color 0.2s;
}

.top-values__cta-btn:hover {
  background-color: #659cb4;
}

/* Tablet */
@media (max-width: 1024px) {
  .top-values {
    padding-top: 52px;
    padding-bottom: var(--space-page-bottom-tab);
  }

  .top-values__title {
    font-size: 30px;
  }

  .top-values__list li {
    font-size: calc(var(--font-size-body-tab) + 2px);
  }

  .top-values__cta p {
    font-size: var(--font-size-body-tab);
  }

  .top-values__cta-btn {
    font-size: 22px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .top-values {
    padding-top: 48px;
    padding-bottom: var(--space-page-bottom-sp);
  }

  .top-values__title {
    margin-bottom: 32px;
    font-size: 24px;
  }

  .top-values__content {
    flex-direction: column;
    gap: 28px;
  }

.top-values__image {
  width: 100%;
}

.top-values__list {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
}

  .top-values__list li {
    font-size: calc(var(--font-size-body-sp) + 3px);
  }
	
.top-values__sp-break {
  display: block;
}
	
  .top-values__cta {
    margin-top: 50px;
  }

  .top-values__cta p {
    font-size: var(--font-size-body-sp);
  }

  .top-values__cta-btn {
    padding: 12px 16px;
    font-size: 20px;
  }
}


/* ============================================================
   LOWER PAGE COMMON
   ============================================================ */
.lower-page {
  padding: 0 0 var(--space-page-bottom-pc);
}

/* ---- 下層ページ共通タイトル ---- */
.lower-page-title {
  text-align: center;
  padding: 0 7% 3%;
}

.lower-page-title h2 {
  font-family: var(--font-main);
  font-size: 32px;
  font-weight: var(--font-weight-medium);
  color: #CD8C93;
  line-height: var(--line-height-base);
  margin: 0;
}

.lower-page-title h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #B89892;
}

.lower-page-title-en {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  color: #CD8C93;
  line-height: var(--line-height-base);
  margin: 0 0 5px;
}

/* ---- 下層ページ本文エリア ---- */
.lower-page-content {
  padding: 0 7%;
}

/* ---- Tablet ---- */
@media (max-width: 1024px) {
  .lower-page {
    padding-bottom: var(--space-page-bottom-tab);
  }

  .lower-page-title h2 {
    font-size: 26px;
  }
}

/* ---- Mobile ---- */
@media (max-width: 767px) {
  .lower-page {
    padding-bottom: var(--space-page-bottom-sp);
  }

  .lower-page-title {
    padding: 2% 7% 7%;
  }

  .lower-page-title h2 {
    font-size: 26px;
  }
}

/* ============================================================
   LOWER PAGE - SERVICE
   ============================================================ */
.lower-service {
  padding-top: 0;
}

.lower-service-section {
  margin-bottom: 88px;
}

#quality-control,
#clo {
  scroll-margin-top: 130px;
}

.lower-service-section:last-child {
  margin-bottom: 0;
}

.lower-service-heading {
  font-family: var(--font-main);
  font-size: var(--font-size-h3-pc);
  font-weight: var(--font-weight-medium);
  color: var(--color-accent);
  line-height: var(--line-height-base);
  margin: 0 0 48px;
}

.lower-service-list {
  width: 100%;
}

.lower-service-item {
  margin-bottom: 80px;
}

.lower-service-item:last-child {
  margin-bottom: 0;
}

.lower-service-item--has-img {
  display: flex;
  align-items: flex-start;
  gap: 3%;
}

.lower-service-text {
  width: calc((100% - 3%) * 0.55);
}

.lower-service-img {
  width: calc((100% - 3%) * 0.45);
  flex-shrink: 0;
}

.lower-service-img img {
  display: block;
  width: 100%;
  height: auto;
}

.lower-service-item--text-only .lower-service-text {
  width: 100%;
  max-width: 800px;
}

.lower-service-item-title {
  font-family: var(--font-main);
  font-size: calc(var(--font-size-body-pc) + 2px);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  line-height: var(--line-height-base);
  margin: 0 0 16px;
}

.lower-service-item-title span {
  display: inline-block;
  font-size: var(--font-size-body-pc);
  font-weight: var(--font-weight-regular);
}

.lower-service-text p {
  font-family: var(--font-main);
  font-size: var(--font-size-body-pc);
  font-weight: var(--font-weight-regular);
  color: var(--color-text);
line-height: 1.8;
  margin-bottom: 12px;
}

.lower-service-text p:last-child {
  margin-bottom: 0;
}

/* ---- Tablet ---- */
@media (max-width: 1024px) {
  .lower-service-section {
    margin-bottom: 72px;
  }

  .lower-service-heading {
    font-size: var(--font-size-h3-tab);
    margin-bottom: 40px;
  }

  .lower-service-item {
    margin-bottom: 64px;
  }

  .lower-service-item-title {
    font-size: calc(var(--font-size-body-tab) + 2px);
	}
	
.lower-service-item-title span {
  font-size: var(--font-size-body-tab);
}

  .lower-service-text p {
    font-size: var(--font-size-body-tab);
  }
}

/* ---- Mobile ---- */
@media (max-width: 767px) {
  .lower-service-section {
    margin-bottom: 64px;
  }

  .lower-service-heading {
    font-size: var(--font-size-h3-sp);
    margin-bottom: 28px;
  }

  .lower-service-item {
    margin-bottom: 48px;
  }

  .lower-service-item--has-img {
    flex-direction: column;
    gap: 0;
  }

  .lower-service-text,
  .lower-service-img,
  .lower-service-item--text-only .lower-service-text {
    width: 100%;
    max-width: none;
  }

  .lower-service-img {
    margin-top: 24px;
  }

  .lower-service-item-title {
    font-size: calc(var(--font-size-body-sp) + 2px);
    margin-bottom: 12px;
	}
	
	.lower-service-item-title span {
  font-size: var(--font-size-body-sp);
}

  .lower-service-text p {
    font-size: var(--font-size-body-sp);
  }
}

/* ---- 下層ページ用釦 ---- */
.lower-service-btn-wrap {
  margin-top: 20px;
  text-align: right;
}

.lower-service-shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background-color: var(--color-btn);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-main);
  border-radius: 6px;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.lower-service-shop-btn:hover {
  background-color: var(--color-btn-hover);
}

/* ==============================
   Recruitment
============================== */

.recruitment-notice {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.recruitment-notice h3 {
  margin-bottom: 24px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.6;
}

.recruitment-notice p {
  font-size: 16px;
  line-height: 2;
}

/* Tablet */
@media screen and (max-width: 1024px) {
  .recruitment-notice h3 {
    font-size: 22px;
  }
}

/* SP */
@media screen and (max-width: 767px) {
  .recruitment-notice {
    text-align: left;
  }

  .recruitment-notice h3 {
    font-size: 20px;
  }

  .recruitment-notice p {
    font-size: 15px;
  }
}

/* ==================================================
   LOWER PAGE - ABOUT
================================================== */

/* About本文内ブロックタイトル */
.about-section-title {
  margin: 0 0 50px;
  text-align: center;
  color: #CD8C93;
}

.about-section-title h2 {
  margin: 0;
  font-family: var(--font-main);
  font-size: 32px;
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-base);
}

.about-section-title h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #B89892;
}

.about-section-title p {
  margin: 0 0 5px;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-base);
}

/* 企業情報 */
.about-company {
  margin-top: 10px;
  margin-bottom: 95px;
}

.about-company-list {
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
  border: none;
  text-align: center;
}

.about-company-list__row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  padding: 0;
  margin-bottom: 20px;
  border: none;
}

.about-company-list dt {
  margin: 0;
  font-weight: 700;
  color: #555;
  line-height: 1.8;
  white-space: nowrap;
}

.about-company-list dd {
  margin: 0;
  color: #555;
  line-height: 1.8;
}

.about-company-list__row--block {
  display: block;
  margin-bottom: 22px;
}

.about-company-list__row--block dt {
  display: inline-block;
  margin-bottom: 4px;
}

.about-company-list__link {
  display: inline-block;
  margin-left: 4px;
  color: #bd6f7a;
  text-decoration: none;
}

.about-company-list__link:hover {
  opacity: 0.65;
}

/* 事業内容 */
.about-company-list__row--business {
  display: block;
  margin-top: 4px;
  margin-bottom: 22px;
}

.about-company-list__row--business dt {
  margin-bottom: 4px;
}

.about-company-list__row--business dd p {
  margin: 0 0 14px;
}

.about-company-list__row--business ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-company-list__row--business li {
  margin: 0 0 4px;
  line-height: 1.8;
}

/* 沿革 */
.about-history {
  margin-top: 0;
  margin-bottom: 100px;
}

.about-history-list {
  margin: 0;
  padding: 0 5%;
}

.about-history-list__item {
  padding: 0 0 34px;
  margin-bottom: 28px;
  border-bottom: 1px dotted #ddd;
}

.about-history-list__item dt {
  margin: 0 0 28px;
  font-weight: 700;
  color: #555;
  line-height: 1.8;
}

.about-history-list__item dd {
  margin: 0;
  color: #555;
  line-height: 1.9;
}

/* 連携 */
.about-partnership {
  margin-bottom: 100px;
}

.about-partnership__text {
  margin: 0 0 30px;
}

.about-partnership__image {
  margin: 2% 5% 0;
}

.about-partnership__image img {
  display: block;
  width: 100%;
  height: auto;
}

.about-partnership__content {
  padding: 0 5%;
}

.about-partnership__btns {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  margin-top: 30px;
}

/* ユー・プランニングについて */
.about-aboutus {
  margin-bottom: 100px;
}

.about-aboutus__photo {
  width: 55%;
  margin: 0 auto 45px;
}

.about-aboutus__photo img {
  display: block;
  width: 100%;
  height: auto;
}

.about-aboutus__text {
  padding: 0 5%;
  color: #555;
  line-height: 1.9;
}

.about-aboutus__catch {
  margin: 0 0 24px;
  font-size: 23px;
	font-weight: var(--font-weight-medium);
	  color: #CD8C93;
}

.about-aboutus__name {
  margin: 0 0 28px;
  text-align: left;
}

.about-aboutus__body p {
  margin: 0 0 24px;
}

.about-aboutus__body p:last-child {
  margin-bottom: 0;
}

.about-aboutus__movie {
  margin-top: 55px;
}

.about-aboutus__movie-title {
  margin: 0 5% 18px;
  font-size: 17px;
  font-weight: var(--font-weight-medium);
  color: #555;
  line-height: 1.8;
}

.about-aboutus__movie-frame {
  position: relative;
  width: auto;
  margin: 0 5%;
  aspect-ratio: 16 / 9;
}

.about-aboutus__movie-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* スタッフ紹介 */
.about-staff {
  margin-bottom: 0;
}

.about-staff-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 34px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-staff-card {
  position: relative;
  display: block;
  width: 100%;
  height: 270px;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-main);
  color: var(--color-white);
  cursor: pointer;
  appearance: none;
}

.about-staff-card__image {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 82%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, top 0.2s ease, transform 0.2s ease;
}

.about-staff-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-staff-card__comment {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  display: block;
  width: 100%;
 height: 160px;
  padding: 14px 12px;
  overflow-y: auto;
  border-radius: 10px;
background-color: rgba(117, 161, 187, 0.85);
  color: var(--color-white);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-base);
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.about-staff-card::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 160px;
  z-index: 3;
  width: 0;
  height: 0;
  border-width: 10px 8px 0;
  border-style: solid;
border-color: rgba(117, 161, 187, 0.85) transparent transparent;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%);
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.about-staff-card:hover::after,
.about-staff-card:focus-visible::after {
  opacity: 1;
  visibility: visible;
}

.about-staff-card:hover .about-staff-card__comment,
.about-staff-card:focus-visible .about-staff-card__comment {
  opacity: 1;
  visibility: visible;
}

.about-staff-card:hover .about-staff-card__image,
.about-staff-card:focus-visible .about-staff-card__image {
  top: 220px;
  width: 44%;
  transform: translate(-50%, -50%);
}

.about-staff-card:focus-visible {
  outline: 2px solid #4a6687;
  outline-offset: 4px;
}

/* スタッフ紹介 Tablet */
@media screen and (max-width: 1024px) {
  .about-staff-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 40px 24px;
  }

  .about-staff-card {
    width: 90%;
    height: auto;
    margin: 0 auto;
    overflow: visible;
    border-radius: 0;
    cursor: default;
  }

  .about-staff-card__image {
    position: relative;
    left: auto;
    top: auto;
    width: 82%;
    height: auto;
    margin: 0 auto;
    transform: none;
  }

	

  .about-staff-card__comment {
    position: relative;
    left: auto;
    top: auto;
    z-index: 1;
    width: 100%;
    height: auto;
    margin-top: 14px;
    padding: 14px 12px;
    overflow: visible;
    border-radius: 10px;
    background-color: rgba(117, 161, 187, 0.85);
    color: var(--color-white);
    font-size: var(--font-size-body-tab);
    line-height: var(--line-height-base);
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
	}
  .about-staff-card__comment::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 0;
    height: 0;
    border-width: 10px 8px 0;
    border-style: solid;
    border-color: rgba(117, 161, 187, 0.85) transparent transparent;
    transform: translateX(-50%);
  }

  .about-staff-card::after {
    content: none;
  }

  .about-staff-card:hover .about-staff-card__comment,
  .about-staff-card:focus-visible .about-staff-card__comment {
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
  }

  .about-staff-card:hover .about-staff-card__image,
  .about-staff-card:focus-visible .about-staff-card__image {
    top: auto;
    width: 82%;
    transform: none;
	}


  .about-staff-card.is-visible .about-staff-card__comment,
  .about-staff-card.is-visible:hover .about-staff-card__comment,
  .about-staff-card.is-visible:focus-visible .about-staff-card__comment {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}




/* SP */
@media screen and (max-width: 767px) {
  .about-section-title {
    margin-bottom: 38px;
  }

.about-section-title h2 {
  font-size: 26px;
}

.about-section-title p {
  font-size: 14px;
}

  .about-company {
    margin-top: 5px;
    margin-bottom: 80px;
  }

  .about-company-list {
    max-width: none;
    margin: 0;
    text-align: left;
    font-size: 15px;
  }

  .about-company-list__row {
    justify-content: flex-start;
    gap: 14px;
    margin-bottom: 22px;
  }

  .about-company-list__row--block,
  .about-company-list__row--business {
    display: block;
  }

  .about-company-list__row--block dt,
  .about-company-list__row--business dt {
    display: block;
    margin-bottom: 6px;
  }

  .about-company-list dd {
    line-height: 1.85;
  }

  .about-company-list__row--business dd p {
    margin-bottom: 14px;
  }

  .about-company-list__row--business li {
    margin-bottom: 5px;
  }

  .about-history {
    margin-bottom: 80px;
  }

  .about-history-list {
  padding: 0;
  font-size: 15px;
  }

  .about-history-list__item {
    padding-bottom: 28px;
    margin-bottom: 24px;
  }

  .about-history-list__item dt {
    margin-bottom: 20px;
	}
  .about-partnership {
    margin-bottom: 80px;
}

.about-partnership__content {
  padding: 0;
}	
	


.about-partnership__image {
    margin: 0;
	}
	
.about-aboutus {
    margin-bottom: 80px;
  }

  .about-aboutus__photo {
    width: 100%;
    margin-bottom: 35px;
  }

  .about-aboutus__text {
    padding: 0;
    font-size: 15px;
  }

.about-aboutus__catch {
  font-size: 19px;
  font-weight: var(--font-weight-medium);
}
  .about-aboutus__movie {
    margin-top: 45px;
  }

  .about-aboutus__movie-title {
    font-size: 16px;
	}
  .about-aboutus__movie-title {
    margin: 0 0 18px;
  }

  .about-aboutus__movie-frame {
    width: 100%;
    margin: 0;
	}
  .about-staff-list {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-staff-card {
    width: 70%;
    margin: 0 auto;
  }

  .about-staff-card__image {
    width: 100%;
  }

  .about-staff-card:hover .about-staff-card__image,
  .about-staff-card:focus-visible .about-staff-card__image {
    width: 100%;
  }

  .about-staff-card__comment {
    width: 120%;
    margin-top: 12px;
    margin-left: -10%;
    padding: 13px 12px;
    font-size: var(--font-size-body-sp);
  }
	
}

/* ============================================================
   LOWER PAGE - ACCESS
   ============================================================ */
.lower-access {
  padding-top: 0;
}

.access-info {
  margin-bottom: 40px;
}

.access-address {
  font-family: var(--font-main);
  font-size: var(--font-size-body-pc);
  font-weight: var(--font-weight-regular);
  color: var(--color-text);
  line-height: var(--line-height-base);
  margin-bottom: 24px;
}

.access-phone {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-accent);
  line-height: var(--line-height-base);
  margin-bottom: 24px;
}

.access-phone a {
  color: inherit;
}

.access-route {
  font-family: var(--font-main);
  font-size: var(--font-size-body-pc);
  font-weight: var(--font-weight-regular);
  color: var(--color-text);
  line-height: var(--line-height-base);
}

.access-route li {
  position: relative;
  padding-left: 1em;
  margin-bottom: 16px;
}

.access-route li::before {
  content: '・';
  position: absolute;
  left: 0;
}

.access-route li:last-child {
  margin-bottom: 0;
}

.access-map iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

/* ---- Tablet ---- */
@media (max-width: 1024px) {
  .access-address {
    font-size: var(--font-size-body-tab);
  }

  .access-phone {
    font-size: 24px;
  }

  .access-route {
    font-size: var(--font-size-body-tab);
  }
}

/* ---- Mobile ---- */
@media (max-width: 767px) {
  .access-info {
    margin-bottom: 32px;
  }

  .access-address {
    font-size: var(--font-size-body-sp);
    margin-bottom: 20px;
  }

  .access-phone {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .access-route {
    font-size: var(--font-size-body-sp);
  }

  .access-map iframe {
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

/* ============================================================
   LOWER PAGE - 404
   ============================================================ */
.error-page {
  padding: 0;
}

.error-content {
  padding: 95px 7% 70px;
  text-align: center;
}

.error-code-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.error-code {
  font-family: var(--font-en);
  font-size: 250px;
  font-weight: var(--font-weight-medium);
  line-height: 0.9;
  color: #E2E2E2;
}

.error-code-wrap h1 {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  margin: 0;
  transform: translate(-50%, -50%);
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-base);
  color: var(--color-text);
}

.error-message {
  margin: 42px 0 0;
  font-family: var(--font-main);
  font-size: var(--font-size-body-pc);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-base);
  color: var(--color-text);
}

/* ---- Tablet ---- */
@media (max-width: 1024px) {
  .error-content {
    padding-top: 90px;
    padding-bottom: 75px;
  }

  .error-code-wrap {
    min-height: 250px;
  }

  .error-code {
    font-size: 220px;
  }

  .error-code-wrap h1 {
    font-size: 20px;
  }

  .error-message {
    margin-top: 38px;
    font-size: 16px;
  }
}

/* ---- Mobile ---- */
@media (max-width: 767px) {
  .error-content {
    padding: 80px 7% 85px;
  }

  .error-code-wrap {
    min-height: 210px;
  }

  .error-code {
    font-size: 180px;
  }

  .error-code-wrap h1 {
    font-size: 20px;
  }

  .error-message {
    margin-top: 34px;
    font-size: 15px;
  }
}

