html,
body {
  overflow-x: hidden;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 11.7rem;
  background-color: transparent;
  z-index: 1000;
  transition: height 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  font-family: "Noto Sans JP", sans-serif;

}

.header.fixed {
  height: 8.9rem;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);

}

.header__inner {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  position: relative;
  padding: 0 3.2rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  transition: max-width 0.3s ease;

}



.header__menu-checkbox {
  display: none;

}

.header__logo {
  position: absolute;
  left: 3.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-20px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;

}

.header.fixed .header__logo,
body.header-fixed .header__logo {
  display: flex;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(0);
  height: 50px;
}

.header.fixed .header__nav-link,
body.header-fixed .header__nav-link {
  color: #000000 !important;
}

.header.fixed .header__lead,
body.header-fixed .header__lead {
  color: #0b0b0b !important;
}

.header__logo-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;

}

.header__logo-image {
  width: 250px;
}

.header__nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease;

}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  margin: 0;
  padding: 0;
  list-style: none;

}

.header__nav-link {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  text-decoration: none;
  color: #ffffff;
  transition: color 0.3s ease;

}

.header.fixed .header__nav-link {
  color: #000000;

}

.header__nav-link:hover {
  color: #1a4f80 !important;

}

.header__actions-pc {
  position: absolute;
  right: 3.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
  transition: all 0.3s ease;

}

.header__lead {
  font-size: 1.2rem;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
  transition: color 0.3s ease;

}

.header__lead {
  text-align: center;
  align-self: center;
}

.header.fixed .header__lead {
  color: #0b0b0b;

}

.header__contact {
  display: flex;
  align-items: center;
  gap: 2.4rem;

}

.header__tel {
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;

}

.header__number {
  font-size: clamp(2rem, 6.6vw, 2.8rem);
  font-weight: 500;
  color: #ffffff;
  margin: 0;
  line-height: 1.5;
  letter-spacing: 0.02em;
  transition: color 0.3s ease, font-size 0.3s ease, font-weight 0.3s ease;

}

.header__number span {
  font-size: 1.6rem;
  font-weight: 500;
  display: inline-block;
  margin-right: 0.6rem;
  vertical-align: baseline;
  color: inherit;
}

.header.fixed .header__number {
  font-size: 2.5rem;
  font-weight: 500;
  color: #000000;

}

.header__hours {
  font-size: 1.3rem;
  color: #ffffff;
  margin: 0;
  line-height: 1;
  margin-top: 0.4rem;
  transition: color 0.3s ease;

}

.header.fixed .header__hours {
  color: #000000;

}

.header__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 18rem;
  height: 5.5rem;
  background-color: #fff;
  color: #1a4f80;
  font-family: "Noto Serif JP", serif;
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;

}

.header__btn-icon {
  display: block;
  width: 2rem;
  height: 1.5rem;
  background-image: url("../img/icon-mail_blu.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;

}

.header__btn:hover {
  background-color: #1a4f80;
  color: #ffffff;

}

.header__btn:hover .header__btn-icon,
.header.fixed .header__btn-icon {
  background-image: url("../img/icon-mail_wht.png");
}

.header.fixed .header__btn {
  background-color: #1a4f80;
  border-color: #1a4f80;
  color: #ffffff;

}

.header.fixed .header__btn:hover {
  background-color: #133a5e;
  border-color: #133a5e;

}

.header__nav-sp-footer {
  display: none;

}

.header__menu-btn,
.header__mail-btn,
.sp-contact-bar,
.nav-close-button,
.nav-screen {
  display: none;
}

@media screen and (min-width:1025px) and (max-width:1500px) {
  .header__inner {
    padding: 0 2rem;
  }

  .header__logo {
    left: 2rem;
  }

  .header__logo-image {
    width: 21rem;
  }

  .header__nav {
    left: 28rem;
    right: 37rem;
    transform: none;
  }

  .header__nav-list {
    justify-content: center;
    gap: clamp(1.4rem, 1.4vw, 2.4rem);
  }

  .header__nav-link {
    font-size: 1.5rem;
    white-space: nowrap;
  }

  .header__actions-pc {
    right: 2rem;
  }

  .header__lead {
    font-size: 1.1rem;
  }

  .header__contact {
    gap: 1.4rem;
  }

  .header__number {
    font-size: 2.4rem;
    line-height: 1.3;
  }

  .header.fixed .header__number {
    font-size: 2.3rem;
  }

  .header__number span {
    font-size: 1.4rem;
    margin-right: 0.4rem;
  }

  .header__hours {
    font-size: 1.2rem;
  }

  .header__btn {
    width: 16rem;
    height: 5rem;
    font-size: 1.5rem;
  }
}

@media screen and (min-width:1025px) and (max-width:1280px) {
  .header__logo-image {
    width: 19rem;
  }

  .header__nav {
    left: 24rem;
    right: 31rem;
  }

  .header__nav-list {
    gap: 1.2rem;
  }

  .header__nav-link {
    font-size: 1.4rem;
  }

  .header__lead,
  .header__hours {
    display: block;
    font-size: 1rem;
    line-height: 1.2;
  }

  .header__number,
  .header.fixed .header__number {
    font-size: 1.9rem;
  }

  .header__btn {
    width: 13.6rem;
    height: 4.6rem;
    font-size: 1.3rem;
  }
}

@media screen and (max-width:1024px) {
  .header {
    height: 60px !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }

  .header__inner {
    max-width: 100% !important;
    padding: 0 2.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    column-gap: 0;
    row-gap: 0;
    box-sizing: border-box;
  }

  .header__logo {
    order: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    margin: 0;
    position: static;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .header__logo-image {
    height: 40px !important;
    width: auto;
    display: block;
    margin: 0 auto;
  }

  .header__actions-pc {
    display: none;
  }

  /* ハンバーガーメニュー開閉制御 */
  html.nav-open {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .header__nav {
    display: block !important;
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    z-index: 99990;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-sizing: border-box;
    background-color: #fff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.08);
    padding: 0;
    transform: none;
    align-items: stretch;
  }

  .nav-open .header__nav {
    left: 0;
    opacity: 1;
  }

  .header__nav-list {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    list-style: none;
    background-color: #fff;
    width: 100%;
    text-align: left;
    gap: 0;
  }

  .header__nav-item {
    border-bottom: 1px solid #eee;
    width: 100%;
    margin: 0 !important;
  }

  .header__nav-link {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.4rem;
    color: #333 !important;
    font-size: 1.5rem;
    font-weight: 500;
    height: 60px;
    text-decoration: none;
    position: relative;
    transition: background-color 0.3s, color 0.3s;
    box-sizing: border-box;
    border-bottom: none !important;
    width: 100%;
  }

  .header__nav-link::after {
    content: "";
    position: absolute;
    right: 2.4rem;
    top: 50%;
    transform: translateY(-50%) rotate(135deg);
    width: 8px;
    height: 8px;
    border-top: 2px solid #1a4f80;
    border-left: 2px solid #1a4f80;
    transition: border-color 0.3s;
  }

  .header__nav-link:hover {
    background-color: #f7f9fc;
    color: #1a4f80 !important;
  }

  .header__nav-sp-footer {
    display: none;
  }

  /* クローズボタン */
  .nav-close-button {
    display: none;
    position: fixed;
    top: 0;
    left: 250px;
    width: 60px;
    height: 60px;
    background-color: #1a4f80;
    border: none;
    cursor: pointer;
    z-index: 99995;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
  }

  .nav-open .nav-close-button {
    display: flex !important;
    animation: fadeIn 0.3s ease;
  }

  .nav-close-button .nav-button-icon {
    position: relative;
    display: block;
    width: 24px;
    height: 24px;
  }

  .nav-close-button .nav-button-icon::before,
  .nav-close-button .nav-button-icon::after {
    content: "";
    position: absolute;
    top: 11px;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: #fff;
    transition: transform 0.3s;
  }

  .nav-close-button .nav-button-icon::before {
    transform: rotate(45deg);
  }

  .nav-close-button .nav-button-icon::after {
    transform: rotate(-45deg);
  }

  .nav-close-button::after {
    content: "CLOSE";
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
    line-height: 1;
  }

  /* オーバーレイ */
  .nav-screen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99980;
    pointer-events: none;
  }

  .nav-screen-overlay {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .nav-open .nav-screen {
    display: block;
    pointer-events: auto;
  }

  .nav-open .nav-screen-overlay {
    opacity: 0.4;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  /* バーガーメニューボタン (左) */
  .header__menu-btn {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 110;
    order: 1;
    gap: 4px;
    margin-left: -2.4rem;
  }

  .header__menu-btn::after {
    content: "MENU";
    font-size: 1rem;
    font-weight: 700;
    color: #1a4f80;
    letter-spacing: 0.05em;
    line-height: 1;
    margin-top: 2px;
  }

  .header__menu-btn-bar {
    width: 24px;
    height: 2px;
    background-color: #1a4f80;
    transition: all 0.3s ease;
  }

  /* メールボタン (右) */
  .header__mail-btn {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #1a4f80;
    color: #fff;
    text-decoration: none;
    order: 3;
    z-index: 110;
    margin-right: -2.4rem;
    gap: 4px;
  }

  .header__mail-icon {
    display: block;
    width: 20px;
    height: 20px;
    background-image: url("../img/icon-mail_wht.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .header__mail-text {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1;
  }

  /* 下部固定バー */
  .sp-contact-bar {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #fff;
    z-index: 99999;
    box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
  }

  .sp-contact-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    height: 100%;
    box-sizing: border-box;
  }

  .sp-contact-btn.mail {
    background-color: #1a4f80;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    gap: 0.8rem;
  }

  .sp-contact-btn.tel {
    background-color: #fff;
    color: #333;
    border-left: 1px solid #eee;
  }

  .sp-contact-tel-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
  }

  .sp-contact-tel-top {
    display: flex;
    align-items: center;
    gap: 0.56rem;
  }

  .sp-contact-tel-num {
    font-size: 2.1rem;
    font-weight: 700;
    color: #333;
    font-family: "Noto Serif JP", serif;
  }

  .sp-contact-tel-time {
    font-size: 1rem;
    color: #666;
    margin-top: 1px;
  }

  .sp-contact-icon {
    display: block;
    width: 20px;
    height: 20px;
    background-image: url("../img/icon-mail_wht.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }

.sp-contact-icon-tel {
  display: block;
  width: 11px;
  height: 15px;
  background-image: url("../img/icon-tel_blk.png");
  background-position: center;
  background-repeat: no-repeat;
    background-size: contain;
  }

  body {
    padding-bottom: 60px !important;
  }
}

.mv {
  position: relative;
  width: 100%;
  height: 85rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
}

@media screen and (max-width:768px) {
  .mv {
    height: 80vh;
    min-height: 500px;

  }

}

.mv__slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.mv__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1);
  animation: mvFade 15s infinite;

}

.mv__slide:nth-child(1) {
  background-image: url("../img/img_mv1.png");
  animation-delay: 0s;

}

.mv__slide:nth-child(2) {
  background-image: url("../img/img_mv2.png");
  animation-delay: 5s;

}

.mv__slide:nth-child(3) {
  background-image: url("../img/img_mv3.png");
  animation-delay: 10s;

}

@keyframes mvFade {
  0% {
    opacity: 0;
    transform: scale(1);

  }

  8% {
    opacity: 1;

  }

  33% {
    opacity: 1;

  }

  41% {
    opacity: 0;
    transform: scale(1.08);

  }

  100% {
    opacity: 0;
    transform: scale(1);

  }

}

.mv__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.mv__container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 120.8rem;
  padding: 0 2.4rem;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;

}

.mv__content {
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;

}

.mv__caption {
  font-family: "Allura", cursive;
  font-size: 3.2rem;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.8rem;
  opacity: 0;
  transform-origin: center center;
  animation: mvCaptionUp 1.2s ease forwards 0.5s;

}

@media screen and (min-width:768px) {
  .mv__caption {
    font-size: 6.2rem;
    margin-bottom: 1.6rem;
    /* keep rotated look on larger screens */

  }

}

/* caption専用のアニメーション（回転を保持しつつ上下にスライド） */
@keyframes mvCaptionUp {
  0% {
    opacity: 0;
    transform: translateY(20px) rotate(-3deg);
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotate(-3deg);
  }
}

.mv__title {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(2rem, 6.6vw, 2.8rem);
  font-weight: 500;
  line-height: 1.3;
  color: #ffffff;
  letter-spacing: 0.03em;
  margin: 0 0 1.6rem;
  white-space: nowrap;
  opacity: 0;
  animation: mvTextUp 1.2s ease forwards 0.8s;

}

@media screen and (min-width:768px) {
  .mv__title {
    font-size: 4.3rem;
    line-height: 1.209;
    margin-bottom: 2.4rem;

  }

}

.mv__sub {
  font-family: "Noto Serif JP", serif;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.4;
  color: #ffffff;
  letter-spacing: 0.03em;
  margin: 0;
  opacity: 0;
  animation: mvTextUp 1.2s ease forwards 1.1s;

}

@media screen and (min-width:768px) {
  .mv__sub {
    font-size: 2.3rem;
    line-height: 1.826;

  }

}

.mv__lead {
  margin: 2rem 0 0;
  opacity: 0;
  animation: mvTextUp 1.2s ease forwards 1.4s;
}

.mv__lead > span {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.92);
  color: #1b3f6f;
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.22);
}

.mv__marker {
  background: linear-gradient(transparent 58%, rgba(255, 238, 140, 0.72) 58%, rgba(255, 238, 140, 0.72) 86%, transparent 86%);
}

@media screen and (min-width:768px) {
  .mv__lead {
    margin-top: 2.8rem;
  }

  .mv__lead > span {
    padding: 1.1rem 2.6rem;
    font-size: 2rem;
  }

}
@keyframes mvTextUp {
  0% {
    opacity: 0;
    transform: translateY(20px);

  }

  100% {
    opacity: 1;
    transform: translateY(0);

  }

}

.about {
  width: 100%;
  background-color: #fff;

}

.about__inner {
  padding: 8rem 2.4rem;
  box-sizing: border-box;

}

@media screen and (min-width:1024px) {
  .about {
    padding: 100px 0 0;
  }

  .about__inner {
    padding: 0 2.4rem;
    display: flex;

  }

}

.about__container {
  position: relative;

}

@media screen and (min-width:1201px) {
  .about__container {
    min-height: 43rem;
  }

}

@media screen and (min-width:1024px) {
  .about__container {
    flex-direction: row;
  }

}



.about__image {
  position: absolute;
  z-index: 2;
  width: 48%;
  height: auto;
  display: block;
  left: -6rem;

}



.about__content {
  width: 100%;
  padding: 0;
  box-sizing: border-box;
  z-index: 1;
}



.about__content-inner {
  width: 100%;
  padding: 0;
}

.about__content-inner-box {
  width: 100%;
}

.about__body {
  position: relative;
  z-index: 1;
  width: 64%;
  margin-left: auto;
  padding: 0 4rem 5.6rem 14rem;
  box-sizing: border-box;
}

.about__body::before {
  content: "";
  position: absolute;
  top: 16.2rem;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background-color: #f4f4f4;
}

.about__header {
  position: relative;
  margin-bottom: 2.4rem;
}

.about__title {
  position: relative;

}

.about__en {
  font-family: "Noto Serif JP", serif;
  font-size: 4.8rem;
  font-weight: 600;
  line-height: 1.1;
  color: #222222;
  letter-spacing: 3%;
  display: block;
  margin-bottom: 1rem;

}

@media screen and (min-width:768px) {
  .about__en {
    font-size: 7.2rem;

  }

}

.about__jp {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.5;
  color: #1a4f80;
  letter-spacing: 0.05em;
  display: block;

}

@media screen and (min-width:768px) {
  .about__jp {
    font-size: 1.6rem;

  }

}

.about__title {
  font-family: "Noto Serif JP", serif;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.4;
  color: #1a4f80;
  letter-spacing: 0.03em;
  margin-bottom: 2.4rem;

}

@media screen and (min-width:768px) {
  .about__title {
    font-size: 3.4rem;
    line-height: 1.588;
    margin-bottom: 3.2rem;

  }

}

@media screen and (min-width:1201px) {
  .about__title {
    white-space: nowrap;
  }

}

.about__text-group {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;

}

@media screen and (min-width:768px) {
  .about__text-group {
    gap: 2.4rem;

  }

}

.about__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.8;
  color: #000000;
  letter-spacing: 0.02em;

}

@media screen and (min-width:768px) {
  .about__text {
    font-size: 1.7rem;
    line-height: 2.117;

  }

}

@media screen and (max-width: 1200px) {
  .about__inner {
    padding: 4.8rem 2.4rem;
  }

  .about__container {
    display: flex;
    flex-direction: column;
    gap: 3.2rem;
  }

  .about__image-wrapper {
    width: 100%;
    position: static;
  }

  .about__image {
    position: static;
    width: 100%;
    height: auto;
    left: auto;
    object-fit: cover;
  }

  .about__content {
    padding: 0;
  }

  .about__content-inner {
    padding: 4rem 2.4rem;
    background-color: #f4f4f4;
    min-width: auto;
  }

  .about__body {
    width: 100%;
    margin-left: 0;
    padding: 0;
  }

  .about__body::before {
    display: none;
  }

  .about__header {
    position: static;
    margin-bottom: 1.6rem;
  }

  .about__title {
    position: static;
    margin-bottom: 2.4rem;
  }
}

.service {
  width: 100%;
  background-color: #fff;
  padding: 12rem 0 10rem;

}

.service__inner {
  padding: 0 2.4rem;
  box-sizing: border-box;

}

.service__header {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  margin-bottom: 5.6rem;

}

@media screen and (min-width:1024px) {
  .service__header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;

  }

}

.service__title-group {
  flex-shrink: 0;

}

@media screen and (min-width:1024px) {
  .service__title-group {
    width: 30%;

  }

}

.service__title-en {
  font-family: "Noto Serif JP", serif;
  font-size: 4.8rem;
  font-weight: 600;
  line-height: 1.1;
  color: #222222;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 1rem;

}

@media screen and (min-width:768px) {
  .service__title-en {
    font-size: 7.2rem;

  }

}

.service__title-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.5;
  color: #1a4f80;
  letter-spacing: 0.05em;
  display: block;
  margin-top: 0.4rem;

}

@media screen and (min-width:768px) {
  .service__title-jp {
    font-size: 1.6rem;
    margin-top: 0.8rem;

  }

}

.service__lead {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.8;
  color: #000000;
  letter-spacing: 0.02em;

}

@media screen and (min-width:1024px) {
  .service__lead {
    width: 65%;
    font-size: 1.7rem;
    line-height: 2.117;

  }

}

.service__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;

}

@media screen and (min-width:768px) {
  .service__grid {
    grid-template-columns: repeat(2, 1fr);

  }

}

.service-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 600/350;
  background-color: #2b4c51;
  overflow: hidden;
  text-decoration: none;

}

.service-card__bg {
  width: 100%;
  height: 100%;

}

.service-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;

}

.service-card:hover .service-card__image {
  transform: scale(1.05);

}

.service-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: background-color 0.3s ease;
  z-index: 1;

}

.service-card:hover .service-card__overlay {
  background-color: rgba(0, 0, 0, 0.2);
}

.service-card__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  box-sizing: border-box;
  padding: 3.2rem;

}

.service-card__title {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(2rem, 6.6vw, 2.8rem);
  font-weight: 500;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: 0.02em;
  text-align: center;
  margin-bottom: 1.2rem;

}

@media screen and (min-width:768px) {
  .service-card__title {
    font-size: 3.8rem;
    line-height: 1.184;

  }

}

.service-card__subtitle {
  font-family: "Noto Serif JP", serif;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 2.4rem;

}

@media screen and (min-width:768px) {
  .service-card__subtitle {
    font-size: 1.5rem;
    line-height: 1.333;
    margin-bottom: 3.2rem;

  }

}

.service-card__button {
  position: relative;
  width: 24rem;
  height: 4rem;
  border-radius: 5rem;
  background-color: #ffffff;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2b4c51;
  box-sizing: border-box;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;

}

@media screen and (min-width:768px) {
  .service-card__button {
    width: 30rem;
    height: 4.7rem;

  }

}

.service-card__btn-text {
  font-family: "Noto Serif JP", serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;

}

@media screen and (min-width:768px) {
  .service-card__btn-text {
    font-size: 1.5rem;

  }

}

.service-card__btn-arrow {
  position: absolute;
  top: 50%;
  right: 2.5rem;
  display: inline-block;
  width: 30px;
  height: 1px;
  background-color: currentColor;
  margin-left: 0;
  transform: translateY(-50%);

}

@media screen and (min-width:768px) {
  .service-card__btn-arrow {
    width: 30px;

  }

}

.service-card__btn-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 8px;
  height: 1px;
  background-color: currentColor;
  transform: rotate(45deg);
  transform-origin: right center;

}

.service-card:not(.service-card--active):hover .service-card__button {
  background-color: transparent;
  border-color: #ffffff;
  color: #ffffff;

}

.service-card--active .service-card__button {
  background-color: transparent;
  border-color: #ffffff;
  color: #ffffff;

}

.service-card--active:hover .service-card__button {
  background-color: #ffffff;
  border-color: transparent;
  color: #2b4c51;

}

.knowledge {
  position: relative;
  margin-right: -1em;
  margin-left: -1em;
  min-height: 90rem;
  background: url("../img/img_bg_knowledge.png") no-repeat center/cover;
  overflow: hidden;
  padding: 8rem 1em;
  box-sizing: border-box;
  margin-bottom: 16rem;
}

@media screen and (min-width: 1100px),
print {
  .knowledge {
    margin-right: -2em;
    margin-left: -2em;
    padding-right: 2em;
    padding-left: 2em;
  }
}

@media screen and (max-width: 768px) {
  .knowledge {
    margin-bottom: 0;
  }
}

.knowledge__inner {
  position: relative;
  padding: 0 2.4rem;
  z-index: 2;
  box-sizing: border-box;

}

.knowledge__deco-text {
  position: absolute;
  top: 30px;
  right: 100px;
  font-family: "Noto Serif JP", serif;
  font-size: 8rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(0, 0, 0, 0.03);
  letter-spacing: 0.05em;
  pointer-events: none;
  white-space: nowrap;

}

@media screen and (min-width:768px) {
  .knowledge__deco-text {
    font-size: 13rem;

  }

}

.knowledge__title {
  font-family: "Noto Serif JP", serif;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.3;
  color: #222222;
  letter-spacing: 0.02em;
  text-align: center;
  margin-bottom: 2.4rem;

}

@media screen and (min-width:768px) {
  .knowledge__title {
    font-size: 3.6rem;
    margin-bottom: 3.2rem;

  }

}

.knowledge__tab-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  list-style: none;
  padding: 0;
  margin: 0 auto 4rem;

}

@media screen and (min-width:768px) {
  .knowledge__tab-menu {
    gap: 1.6rem;
    margin: 0 auto 5.6rem;

  }

}

.knowledge__tab-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14.7rem;
  height: 4.1rem;
  border-radius: 5rem;
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  background-color: #ac9270;
  color: #ffffff;
  border: 1px solid transparent;

}

.knowledge__tab-link:hover {
  background-color: #ffffff;
  color: #ac9270;
  border-color: #ac9270;

}

.knowledge__tab-link--active,
.knowledge__tab-link.is-active {
  background-color: #ffffff;
  color: #ac9270;
  border: 1px solid #ac9270;

}

.knowledge__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;

}

@media screen and (min-width:768px) {
  .knowledge__grid {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 5.6rem;

  }

}

.knowledge-card {
  display: block;
  background-color: #ffffff;
  box-sizing: border-box;
  padding: 3.2rem 2.4rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
}

@media screen and (min-width:768px) {
  .knowledge-card {
    padding: 3rem 3rem 4rem;

  }

}



.knowledge-card__title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.5;
  color: #222222;
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.6rem;

}

@media screen and (min-width:768px) {
  .knowledge-card__title {
    font-size: 1.8rem;
    line-height: 1.556;
    margin-bottom: 2rem;

  }

}

.knowledge-card__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 1rem;
  height: 1rem;
  background-color: #ac9270;
}

.knowledge-card__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.6;
  color: #000000;

}

@media screen and (min-width:768px) {
  .knowledge-card__text {
    font-size: 1.5rem;
    line-height: 1.667;

  }

}

.knowledge__keyword-box {
  background-color: #ffffff;
  padding: 3.2rem 2.4rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;

}

@media screen and (min-width:768px) {
  .knowledge__keyword-box {
    padding: 4rem 3.2rem;

  }

}

.knowledge__keyword-title {
  font-family: "Noto Serif JP", serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  color: #111111;
  text-align: center;
  margin-bottom: 2.4rem;

}

@media screen and (min-width:768px) {
  .knowledge__keyword-title {
    font-size: 2.2rem;
    line-height: 1.364;
    margin-bottom: 3.2rem;

  }

}

.knowledge__keyword-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  list-style: none;
  padding: 0;
  margin: 0;

}

@media screen and (min-width:576px) {
  .knowledge__keyword-list {
    grid-template-columns: repeat(3, 1fr);

  }

}

@media screen and (min-width:992px) {
  .knowledge__keyword-list {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;

  }

}

.knowledge__keyword-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 4rem;
  background-color: #f5f5f5;
  color: #555555;
  font-size: 1.2rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0 .5rem;
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease;

}

@media screen and (min-width:768px) {
  .knowledge__keyword-link {
    font-size: 1.4rem;

  }

}

.knowledge__keyword-link:hover {
  background-color: #ac9270;
  color: #ffffff;

}

.lawyer {
  width: 100%;
  background-color: #fff;
  padding: 8rem 0 10rem;
  box-sizing: border-box;

}

.lawyer__inner {
  padding: 0 2.4rem;
  box-sizing: border-box;

}

.lawyer__profile {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-bottom: 6.4rem;

}

@media screen and (min-width:1024px) {
  .lawyer__profile {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    min-height: 55rem;

  }

}

.lawyer__content {
  width: 100%;
  background-color: #f4f4f4;
  box-sizing: border-box;
  padding: 4rem 2.4rem;

}

@media screen and (min-width:1024px) {
  .lawyer__content {
    min-height: 55rem;
    padding: 5.6rem 19.2rem 5.6rem 6.4rem;
    z-index: 1;

  }

}

.lawyer__header {
  margin-bottom: 4.8rem;

}

.lawyer__title-en {
  font-family: "Noto Serif JP", serif;
  font-size: 4.8rem;
  font-weight: 600;
  line-height: 1;
  color: #222222;
  letter-spacing: 0.04em;
  display: inline-block;
}

@media screen and (min-width:768px) {
  .lawyer__title-en {
    font-size: 7.2rem;
  }
}

@media screen and (min-width:1024px) {
  .lawyer__title-en {
    font-size: 6.4rem;
  }
}

.lawyer__title-jp {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.5;
  color: #1a4f80;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-left: 1.6rem;
  vertical-align: bottom;

}

@media screen and (min-width:768px) {
  .lawyer__title-jp {
    font-size: 1.6rem;
    margin-left: 2.4rem;

  }

}

.lawyer__lead {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4.8rem;
}

.lawyer__content-inner {
  position: relative;
  position: absolute;
  top: -60px;
}

@media screen and (min-width:1024px) {
  .lawyer__content-inner {
    width: 60%;
  }
}

.lawyer__lead-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.8;
  color: #222222;
}

@media screen and (min-width:768px) {
  .lawyer__lead-text {
    font-size: 1.6rem;
    line-height: 2.125;
  }
}

.lawyer__name-block {
  text-align: center;
}

@media screen and (min-width:1024px) {
  .lawyer__name-block {
    text-align: right;
    padding-right: 3.2rem;
  }

}

.lawyer__post {
  font-family: "Yu Mincho", serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #222222;
  margin-right: 1.2rem;
}

@media screen and (min-width:768px) {
  .lawyer__post {
    font-size: 1.8rem;
    margin-right: 1.6rem;
  }
}

.lawyer__name {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(2rem, 6.6vw, 2.8rem);
  font-weight: 600;
  color: #222222;
  display: inline-block;
}

@media screen and (min-width:768px) {
  .lawyer__name {
    font-size: 3.2rem;
  }
}

.lawyer__image-wrapper {
  width: 100%;
  max-width: 51.6rem;
  margin: 0 auto 3.2rem;
  position: relative;
}

.lawyer__image-wrapper::before {
  display: none;
}

@media screen and (min-width:1400px) {
  .lawyer__profile {
    gap: 4.8rem;
  }

  .lawyer__content {
    position: relative;
    width: 92.8rem;
    padding: 5.6rem 6.4rem;
    z-index: 1;
    min-height: 600px;
  }

  .lawyer__image-wrapper {
    position: absolute;
    right: -2.4rem;
    top: -30%;
    width: 51.6rem;
    height: 51.6rem;
    margin: 0;
    z-index: 2;
    max-width: none;
  }

  .lawyer__image-wrapper::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 10px;
    width: 50rem;
    height: 50rem;
    background-color: #ffffff;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
    z-index: -1;
  }
}

@media screen and (max-width:1400px) {
  .lawyer__content {
    padding: 3.2rem 2.4rem;
  }

  .lawyer__image-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 3.2rem;
  }

  .lawyer__image {
    width: auto;
    height: auto;
    max-height: 50vh;
  }
}

@media screen and (min-width: 1201px) and (max-width: 1400px) {
  .lawyer__profile {
    align-items: center;
    gap: 3.2rem;
  }

  .lawyer__content {
    width: 58%;
    flex-shrink: 0;
  }

  .lawyer__content-inner {
    position: static;
    width: 100%;
  }

  .lawyer__image-wrapper {
    width: 38%;
    max-width: 51.6rem;
    flex-shrink: 0;
    margin: 0;
  }

  .lawyer__image {
    width: 100%;
    height: auto;
    max-height: none;
    margin: 0;
  }
}

.lawyer__image {
  display: block;
  margin: 5em auto 0 auto;
}

@media screen and (max-width: 1200px) {
  .lawyer__profile {
    display: flex;
    flex-direction: column-reverse;
    gap: 3.2rem;
  }

  .lawyer__content {
    min-height: auto !important;
    padding: 4rem 2.4rem !important;
  }

  .lawyer__content-inner {
    position: static !important;
    width: 100% !important;
  }

  .lawyer__name-block {
    text-align: left !important;
    padding-right: 0 !important;
  }

  .lawyer__image-wrapper {
    position: static !important;
    width: 100% !important;
    max-width: 51.6rem !important;
    margin: 0 auto !important;
    height: auto !important;
  }

  .lawyer__image {
    width: 100% !important;
    margin: 0 auto !important;
    max-width: 51.6rem !important;
    max-height: none !important;
    height: auto !important;
  }
}

.lawyer__details {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;

}

@media screen and (min-width:768px) {
  .lawyer__details {
    flex-direction: row;
    justify-content: flex-start;
    gap: 4rem;

  }

}

.lawyer__group {
  width: 100%;

}

@media screen and (min-width:768px) {
  .lawyer__group {
    width: 28%;

  }

}

.lawyer__history {
  width: 100%;

}

@media screen and (min-width:768px) {
  .lawyer__history {
    width: 68%;

  }

}

.lawyer__subheading {
  font-family: "Noto Serif JP", serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #222222;
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 2.4rem;

}

@media screen and (min-width:768px) {
  .lawyer__subheading {
    font-size: 2rem;

  }

}

.lawyer__subheading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0.6rem;
  height: 2.5rem;
  background-color: #ac9270;

}

.lawyer__list {
  list-style: none;
  padding: 0;
  margin: 0;

}

.lawyer__item {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5rem;
  line-height: 2;
  color: #000000;
  position: relative;
  padding-left: 2rem;

}

@media screen and (min-width:768px) {
  .lawyer__item {
    font-size: 1.6rem;
    line-height: 2.25;

  }

}

.lawyer__item::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #000000;

}

.lawyer__history-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;

}

.lawyer__history-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  line-height: 1.8;
  position: relative;
  padding-left: 2rem;

}

.lawyer__history-item::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #000000;

}


.lawyer__history-date {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5rem;
  font-weight: normal;
  color: #000000;
  width: 10rem;
  flex-shrink: 0;

}


.lawyer__history-event {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #000000;
  margin: 0;

}

@media screen and (min-width:768px) {
  .lawyer__history-event {
    font-size: 1.6rem;

  }

}

.office {
  position: relative;
  margin-right: -1em;
  margin-left: -1em;
  min-height: 70rem;
  background: url("../img/img_bg_office.png") no-repeat center/cover;
  overflow: hidden;
  padding: 8rem 1em;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.office > .inner {
  width: 100%;
}

@media screen and (min-width: 1100px),
print {
  .office {
    margin-right: -2em;
    margin-left: -2em;
    padding-right: 2em;
    padding-left: 2em;
  }
}

.office__container {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
  align-items: center;

}

@media screen and (min-width:1024px) {
  .office__container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

  }

}

.office__map-wrapper {
  width: 100%;
  max-width: 52rem;
  aspect-ratio: 1/1;
  box-sizing: border-box;
}

.office__map {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

}

.office__content {
  width: 100%;
  max-width: 65rem;
  color: #ffffff;

}

.office__header {
  margin-bottom: 3.2rem;

}

.office__title-en {
  font-family: "Noto Serif JP", serif;
  font-size: 4.8rem;
  font-weight: 600;
  line-height: 1;
  color: #ffffff;
  letter-spacing: 0.05em;
  display: block;

}

@media screen and (min-width:768px) {
  .office__title-en {
    font-size: 7.2rem;

  }

}

.office__title-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.5;
  color: #ffffff;
  letter-spacing: 0.05em;
  display: block;
  margin-top: 0.4rem;

}

@media screen and (min-width:768px) {
  .office__title-jp {
    font-size: 1.6rem;
    margin-top: 0.8rem;

  }

}

.office__info-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;

}

.office__info-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 2.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);

}


.office__info-term {
  font-family: "Noto Serif JP", serif;
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
  width: 12rem;
  flex-shrink: 0;

}

@media screen and (max-width:640px) {
  .office__info-item {
    flex-direction: column;
    gap: 0.8rem;

  }

  .office__info-term {
    width: 100%;

  }

}

.office__info-desc {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
  margin: 0;

}

.footer {
  width: 100%;
  box-sizing: border-box;
  font-family: "Noto Sans JP", sans-serif;

}

.footer__cta {
  background-color: #ffffff;
  padding: 8rem 2rem 10rem;
  text-align: center;
  box-sizing: border-box;
}

.footer__cta-inner {
  max-width: 120rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5.6rem;

}

.footer__cta-lead {
  font-family: "Noto Serif JP", serif;
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.6;
  color: #222222;
  margin: 0;

}

.footer__cta-highlight {
  color: #1a4f80;

}

.footer__cta-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8rem;
  width: 100%;

}

.footer__cta-tel {
  flex: 1;
  padding-right: 8rem;
  border-right: 1px solid #d9d9d9;

}

.footer__cta-tel-label {
  font-size: 2rem;
  font-weight: 500;
  color: #222222;
  margin: 0;
  line-height: 1.5;

}

.footer__cta-tel-number {
  font-size: 5.8rem;
  font-weight: 600;
  color: #222222;
  margin: 0.4rem 0 0.8rem;
  line-height: 1.1;
  letter-spacing: 0.02em;

}

.footer__cta-tel-number span {
  font-size: 3.2rem;
}

.footer__cta-tel-hours {
  font-size: 1.6rem;
  font-weight: 500;
  color: #222222;
  margin: 0;
  line-height: 1.2;

}

.footer__cta-btn-wrap {
  flex: 1;
  display: flex;
  justify-content: flex-start;

}

.footer__cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  width: 42.1rem;
  height: 10rem;
  background-color: #1a4f80;
  color: #ffffff;
  font-family: "Noto Serif JP", serif;
  font-size: 2.4rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 20px rgba(26, 79, 128, 0.15);
  box-sizing: border-box;

}

.footer__cta-btn:hover {
  background-color: #133a5e;

}

.footer__cta-btn:active {
  transform: scale(0.98);

}

.footer__cta-btn-icon {
  display: block;
  width: 2.7rem;
  height: 2.025rem;
  background-image: url("../img/icon-mail_wht.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;

}

.footer__main {
  position: relative;
  background-image: url('../img/img_bg_footer.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 9rem 2rem 2rem 2rem;
  color: #ffffff;
  box-sizing: border-box;

}

.footer__main-inner {
  position: relative;
  z-index: 2;
  max-width: 120rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

}

.footer__logo {
  margin-bottom: 3.2rem;

}

.footer__logo-title {
  font-family: "Noto Serif JP", serif;
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.8rem;

}

.footer__logo-sub {
  font-family: "Noto Serif JP", serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);

}

.footer__address {
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 2;
  margin: 0 0 0.4rem;

}

.footer__tel {
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 2;
  margin: 0;
}

.footer__tel span {
  font-size: 1.6rem;
}

.footer__nav {
  margin: 10rem 0;
  width: 100%;

}

.footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  row-gap: 1.6rem;
  column-gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;

}

.footer__nav-item {
  display: flex;
  align-items: center;

}

.footer__nav-item:not(:last-child)::after {
  content: "";
  display: block;
  width: 1px;
  height: 1.5rem;
  background-color: rgba(255, 255, 255, 0.4);
  margin: 0 2.4rem;

}

.footer__nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
  transition: color 0.3s ease;

}

.footer__nav-link:hover {
  color: #b5c7d3;

}

.footer__copyright {
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 2;
  color: #fff;
  margin: 0;

}

@media screen and (max-width:960px) {
  .footer__cta {
    padding: 6.4rem 2rem;

  }

  .footer__cta-inner {
    gap: 4rem;

  }

  .footer__cta-lead {
    font-size: 2rem;

  }

  .footer__cta-content {
    flex-direction: column;
    gap: 4rem;

  }

  .footer__cta-tel {
    text-align: center;
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid #d9d9d9;
    padding-bottom: 4rem;
    width: 100%;

  }

  .footer__cta-tel-number {
    font-size: 3.6rem;

  }

  .footer__cta-btn-wrap {
    justify-content: center;
    width: 100%;

  }

  .footer__cta-btn {
    width: 100%;
    max-width: 40rem;
    height: 8rem;
    font-size: 2rem;

  }

}

@media screen and (min-width:961px) and (max-width:1200px) {
  .footer__cta-content {
    gap: 4rem;
  }

  .footer__cta-tel {
    padding-right: 4rem;
  }

  .footer__cta-tel-number {
    font-size: 4.8rem;
  }

  .footer__cta-tel-number span {
    font-size: 2.6rem;
  }

  .footer__cta-btn {
    width: 36rem;
    height: 8.8rem;
    font-size: 2rem;
  }
}

@media screen and (max-width:640px) {
  .footer__main {
    padding: 6.4rem 2rem;

  }

  .footer__logo-title {
    font-size: 2.4rem;

  }

  .footer__nav-list {
    flex-direction: column;
    gap: 2rem;

  }

  .footer__nav-item:not(:last-child)::after {
    display: none;

  }

}

@media screen and (max-width: 1099px) {
  .about__inner,
  .service__inner,
  .knowledge__inner,
  .lawyer__inner {
    padding-right: 0;
    padding-left: 0;
  }

  .knowledge,
  .office {
    margin-right: -1em;
    margin-left: -1em;
    padding-right: 1em;
    padding-left: 1em;
  }
}

@media screen and (max-width: 1023px) {
  .office__container {
    flex-direction: column-reverse;
  }

  .office__map-wrapper {
    max-width: 100%;
    aspect-ratio: 16 / 10;
  }

  .office__map-wrapper iframe {
    height: 100%;
  }
}

@media screen and (max-width: 1200px) {
  .about__image-wrapper {
    max-width: 58rem;
    margin: 0 auto;
  }

  .about__content-inner {
    padding: 0;
    background-color: transparent;
  }

  .about__body {
    position: relative;
    padding: 0 2.4rem 4rem;
  }

  .about__body::before {
    display: block;
    top: 10.5rem;
    right: 0;
    bottom: 0;
    left: 0;
  }
}

@media screen and (max-width: 767px) {
  .about,
  .service,
  .lawyer {
    padding-top: 5.6rem;
    padding-bottom: 5.6rem;
  }

  .knowledge,
  .office {
    padding-top: 5.6rem;
    padding-bottom: 5.6rem;
    min-height: auto;
  }

  .about__inner {
    padding-top: 0;
    padding-bottom: 0;
  }

  .about__container,
  .lawyer__profile,
  .office__container {
    gap: 2.4rem;
  }

  .lawyer__profile {
    margin-bottom: 4rem;
  }

  .lawyer__content {
    padding: 3.2rem 2.4rem !important;
  }

  .lawyer__header,
  .lawyer__lead {
    margin-bottom: 3.2rem;
  }

  .knowledge__tab-menu {
    gap: 0.6rem;
    margin-bottom: 3.2rem;
  }

  .knowledge__tab-link {
    width: auto;
    min-width: 10rem;
    height: 3.4rem;
    padding: 0 1.2rem;
    font-size: 1.3rem;
  }

  .knowledge__grid {
    gap: 2rem;
  }
}

@media screen and (max-width:640px) {
  .footer__nav {
    margin: 5.6rem 0;
  }

  .footer__nav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
  }

  .footer__nav-item {
    display: block;
  }

  .footer__nav-link {
    display: block;
    padding: 1.2rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 1.3rem;
    line-height: 1.4;
    text-align: center;
  }
}

@media screen and (max-width: 1200px) {
  .lawyer__content {
    background: linear-gradient(to bottom, transparent 0 8.2rem, #f4f4f4 8.2rem 100%);
    padding: 0 !important;
  }

  .lawyer__content-inner {
    position: relative !important;
    top: 0 !important;
    z-index: 1;
    box-sizing: border-box;
    padding: 0 2.4rem 4rem !important;
  }

  .lawyer__content-inner::before {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .about,
  .service,
  .lawyer,
  .knowledge,
  .office {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .about__container,
  .lawyer__profile,
  .office__container {
    gap: 2rem;
  }

  .lawyer__profile {
    margin-bottom: 3rem !important;
  }

  .lawyer__header,
  .lawyer__lead {
    margin-bottom: 2.4rem;
  }

  .lawyer__details {
    gap: 1.6rem;
  }

  .lawyer__subheading {
    margin-bottom: 1.6rem;
  }

  .office {
    margin-bottom: 0;
  }

  .office__container {
    flex-direction: column-reverse;
  }

  .office__map-wrapper {
    max-width: 100%;
    aspect-ratio: 16 / 10;
  }

  .office__map-wrapper iframe {
    height: 100%;
  }

  .knowledge__deco-text {
    top: 2.4rem;
    right: 1em;
    left: 1em;
    color: rgba(0, 0, 0, 0.08);
    font-size: clamp(4.8rem, 16vw, 7.2rem);
    line-height: 1;
    text-align: center;
  }

  .footer__cta {
    padding: 3.2rem 1em 4.8rem;
  }
}
