/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

html {
  scroll-behavior: smooth; /* スムーズなスクロール */
  scroll-padding-top: 90px; /* ヘッダーの高さ分のオフセット */
}

@media screen and (max-width: 560px) {
  html {
    scroll-padding-top: 14.28vw; /* モバイルブラウザのアドレスバーを考慮したオフセット */
  }
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  -webkit-text-size-adjust: 100%;
  min-width: 1366px;
  font-size: 18px;
  color: var(--rgb0-0-0);
  /* overflow: hidden; */
  padding-top: 90px; /* ヘッダー固定のための余白 */
}

@media screen and (max-width: 560px) {
  body {
    -webkit-text-size-adjust: 100%;
    text-decoration-skip-ink: none;
    min-width: initial;
    min-width: auto;
    font-size: 3.21vw;
    padding-top: 14.28vw; /* モバイル時のヘッダー固定のための余白 */
  }
}

/* 共通スタイル */
.sp {
  display: none;
}

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

/* ヘッダーセクション */
.header {
  width: 100%;
  height: 90px;
  overflow: hidden;
  position: fixed; /* 固定ヘッダー */
  top: 0; /* 画面上部に固定 */
  left: 0; /* 画面左端に固定 */
  z-index: 12;
  text-align: left;
  font-size: 18px;
  color: var(--rgb0-0-0);
}

.header__inner {
  width: 1366px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  box-sizing: border-box;
}

.header__overlay {
  height: 100%;
  width: 100%;
  position: absolute;
  margin: 0 !important;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  backdrop-filter: blur(5px);
  background-color: var(--color-gray);
  z-index: 0;
}

/* ヘッダー左側 */
.header__left {
  display: flex;
  align-items: center;
}

/* ヘッダー右側 */
.header__right {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.header__logo {
  height: 22px;
  display: flex;
  align-items: center;
  z-index: 1;
}

.header__logo-image {
  width: 142px;
  height: 22px;
  position: relative;
}

.header__menu-button {
  cursor: pointer;
  border: 0;
  padding: 0;
  background-color: var(--rgb0-0-0);
  height: 60px;
  width: 60px;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 16;
  display: none;
}

/* ハンバーガーメニューの線 */
.header__menu-button::before,
.header__menu-button::after,
.header__menu-button span {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  width: 24px;
  height: 2px;
  background-color: white;
  transform: translateX(-50%);
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.header__menu-button::before {
  top: 35%;
}

.header__menu-button span {
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.header__menu-button::after {
  bottom: 35%;
}

/* メニューが開いているときの×マーク */
.header__menu-button.is-active::before {
  transform: translateX(-50%) rotate(45deg);
  top: 50%;
}

.header__menu-button.is-active span {
  opacity: 0;
}

.header__menu-button.is-active::after {
  transform: translateX(-50%) rotate(-45deg);
  bottom: 48%;
}

.header__nav {
  display: flex;
  align-items: center;
  z-index: 3;
  position: relative;
}

.header__menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 36px;
  height: 22px;
}

.header__menu-item {
  position: relative;
  letter-spacing: 0.03em;
  font-weight: 500;
  font-family: var(--font-inter);
  text-decoration: none;
  color: var(--rgb0-0-0);
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
}

.header__link-contain {
  position: relative;
  display: inline-block;
  overflow: hidden;
  line-height: 1;
}

.header__link-text-wrapper {
  position: relative;
  display: inline-block;
  overflow: hidden;
  height: 1.2em; /* 文字高さに合わせて調整 */
  /* 太字になった時の幅を考慮して余裕を持たせる */
  width: auto;
  padding-right: 4px; /* 文字が切れないように余白を増やす */
}

.header__link-text {
  display: block;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1), font-weight 0.4s ease;
  white-space: nowrap;
  width: 100%;
  height: 100%;
}

/* 通常のテキスト */
.header__link-text--default {
  transform: translateY(0);
  /* 太字になった時の幅を事前に確保 */
  box-sizing: content-box;
  min-width: max-content;
}

/* ホバー時に表示されるテキスト */
.header__link-text--hover {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(100%);
  font-weight: 700;
}

/* ホバー時のアニメーション */
.header__menu-item:hover .header__link-text--default,
.header__contact-button:hover .header__link-text--default {
  transform: translateY(-100%);
}

.header__menu-item:hover .header__link-text--hover,
.header__contact-button:hover .header__link-text--hover {
  transform: translateY(0);
}

.header__contact-button {
  padding: 0 24px;
  background-color: var(--rgb0-0-0);
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-family: var(--font-inter);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px; /* ヘッダーの高さに合わせる */
  width: 180px; /* 固定幅を設定 */
  overflow: hidden;
  transition: background-color 0.4s ease;
  margin-left: 36px; /* メニューとの間隔 */
}

.header__contact-contain {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-right: 8px;
}

/* 丸のアニメーション用スタイル */
.contact-circle {
  width: 10px;
  height: 10px;
  border: 1px solid white;
  background-color: transparent;
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  margin-left: 8px;
  box-sizing: border-box;
}

.header__contact-button .header__link-text {
  color: white;
}

/* Contactボタンのテキスト位置 */
.header__contact-button .header__link-text--default {
  transform: translateY(0);
}

.header__contact-button .header__link-text--hover {
  transform: translateY(100%);
}

.header__contact-button:hover {
  background-color: #333;
}

/* Contactボタンのホバー時のアニメーションをメニュー項目と同様に */
.header__contact-button:hover .header__link-text--default {
  transform: translateY(-100%) !important;
}

.header__contact-button:hover .header__link-text--hover {
  transform: translateY(0) !important;
}

.header__contact-button:hover .contact-circle {
  background-color: white;
  transform: scale(0.7);
  border-color: transparent;
}
.mobile-menu {
  display: none;
}

@media screen and (max-width: 560px) {
  .header {
    height: 14.28vw;
  }
  
  .header__inner {
    width: 100%;
    padding: 0 0 0 7.14vw;
  }
  
  .header__logo-image {
    width: 35.71vw;
    height: auto;
  }
  .header__menu-button {
    display: block;
    height: 14.28vw;
    width: 14.28vw;
  }
  .header__contact-button {
    display: none;
  }

  .header__nav {
    display: none;
  }
  
  .header__menu-button {
    display: block;
  }
  
  .header__contact-button {
    display: none;
  }

  /* モバイルメニューのスタイル */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(128, 128, 128, 0.7);
    z-index: 15; /* ヘッダーより上に表示 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    padding: 4.28vw;
    visibility: hidden;
  }

  .mobile-menu.is-active {
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu__nav {
    width: 90%;
    max-width: 80.35vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    border-radius: 1.42vw;
    padding: 7.14vw;
    box-shadow: 0 0.71vw 2.14vw rgba(0, 0, 0, 0.1);
  }

  .mobile-menu__list {
    list-style: none;
    padding: 0;
    margin: 0 0 7.14vw 0;
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .mobile-menu__list li {
    margin-bottom: 5.71vw;
    text-align: center;
  }

  .mobile-menu__item {
    font-size: 4.28vw;
    font-weight: 700;
    text-decoration: none;
    color: black;
  }

  .mobile-menu__contact-button {
    display: block;
    width: 100%;
    padding: 2.85vw;
    background-color: var(--rgb0-0-0);
    color: white;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    font-size: 3.21vw;
  }
}

/* ヒーローセクション */
.hero {
  padding: 40px 40px 120px;
  text-align: center;
  color: var(--rgb0-0-0);
  position: relative;
  z-index: 2;
}

.hero__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  gap: 60px;
}

.hero__title {
  margin: 0;
  font-size: 160px;
  line-height: 200px;
  font-weight: 700;
  font-family: var(--font-inter);
  position: relative;
  overflow: hidden;
}

.hero__title-container {
  position: relative;
  overflow: hidden;
}

.hero__title-wrapper {
  position: relative;
}

.hero__title-text {
  display: block;
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.hero__title-text--hidden {
  opacity: 0;
}

.hero__title-text--visible {
  transform: translateY(0);
  animation: slideUpTitle 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes slideUpTitle {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0);
  }
}

.hero__image-container {
  width: 100%;
  max-width: 920px;
  height: auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image-hand {
  width: 550px;
  height: auto;
  position: relative;
  z-index: 1;
}

.hero__image-text-wrapper {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.hero__image-text {
  width: 220px;
  width: auto;
}

@media screen and (max-width: 560px) {
  .hero {
    padding: 10.71vw 3.57vw 14.28vw;
  }
  
  .hero__title {
    font-size: 19.64vw;
    line-height: 1.2;
  }

  .hero__image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-direction: column-reverse;
    gap: 5.35vw;
  }
  
  .hero__image-hand {
    width: 73.21vw;
  }
  .hero__image-text-wrapper {
    position: relative;
  }
  .hero__image-text {
    width: 39.28vw;
    height: auto;
  }
}

/* Intersection Observer用アニメーションクラス */
.fade-element {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* 順番にフェードインするための遅延設定 */
.fade-item-1 {
  transition-delay: 0s;
}

.fade-item-2 {
  transition-delay: 0.3s;
}

.fade-item-3 {
  transition-delay: 0.6s;
}

.fade-item-4 {
  transition-delay: 0.9s;
}

/* ミッションセクション */
.mission {
  padding: 80px 40px;
  text-align: center;
}

.section__label {
  display: inline-block;
  font-size: 18px;
  font-weight: 500;
  color: var(--rgb0-0-0);
}

.mission__container {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.mission__header {
  display: flex;
  justify-content: center;
  width: 100%;
  font-family: var(--font-inter);
}

.mission__title {
  margin: 0;
  font-size: 52px;
  line-height: 1.5;
  font-weight: 700;
}

.mission__text {
  margin: 0;
}

.mission__values {
  text-align: left;
}

.mission__text-block {
  max-width: 860px;
  margin: 0 auto;
}

.mission__paragraph {
  margin: 20px 0;
  font-size: 24px;
  line-height: 2;
  font-weight: 500;
  color: var(--rgb0-0-0);
}

@media screen and (max-width: 560px) {
  .mission {
    padding: 5.35vw;
  }
  .mission__container {
    gap: 10.71vw;
  }
  .mission__text-block {
    max-width: 100%;
  }

  .section__label {
    font-size: 4.28vw;
  }
  .mission__title {
    font-size: 7.5vw;
    line-height: 1.5;
  }
  .mission__paragraph {
    font-size: 4.64vw;
    margin: 3.57vw 0;
  }
}

/* フィーチャーセクション */
.features {
  padding: 80px 40px;
  text-align: center;
}

.features__container {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.features__header {
  display: flex;
  justify-content: center;
  width: 100%;
  font-family: var(--font-inter);
}

.features__list {
  display: flex;
  flex-direction: column;
  gap: 80px;
  width: 100%;
}

.features__item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 60px;
  text-align: left;
}

.features__item-number {
  font-size: 100px;
  line-height: 1;
  font-weight: 700;
  margin: 0;
  font-family: var(--font-inter);
  color: var(--rgb0-0-0);
  flex-shrink: 0;
}

.features__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 15px;
  max-width: 640px;
}

.features__item-title {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--rgb0-0-0);
  font-family: var(--font-noto-sans-jp);
}

.features__item-description {
  font-size: 18px;
  line-height: 2;
  margin: 0;
  color: var(--rgb0-0-0);
  font-family: var(--font-noto-sans-jp);
  font-weight: 500;
}

@media screen and (max-width: 560px) {
  .features {
    padding: 5.35vw;
  }
  .features__container {
    gap: 10.71vw;
  }
  .features__item {
    flex-direction: column;
    gap: 5.35vw;
  }
  
  .features__item-number {
    font-size: 14.28vw;
  }
  
  .features__content {
    width: 100%;
    max-width: 100%;
    gap: 2.67vw;
  }
  
  .features__item-title {
    font-size: 5.71vw;
  }
  .features__item-description {
    font-size: 3.92vw;
  }
}

/* ソリューションセクション */
.solutions {
  padding: 80px 40px;
  text-align: center;
}

.solutions__container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.solutions__header {
  display: flex;
  justify-content: center;
  width: 100%;
  font-family: var(--font-inter);
}

.solutions__list {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 40px;
  width: 100%;
}

.solutions__item {
  border-radius: 10px;
  background-color: #EFEFEF;
  padding: 60px 30px;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 45px;
  flex: 1;
  max-width: 400px;
}

.solutions__item-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.solutions__item-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90px;
  height: 90px;
  background-color: #ffffff;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
}

.solutions__item-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.solutions__item-title {
  font-size: 36px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--rgb0-0-0);
  margin: 0;
  text-align: center;
}

.solutions__item-description {
  font-size: 18px;
  line-height: 2;
  color: var(--rgb0-0-0);
  margin: 0;
  font-family: var(--font-noto-sans-jp);
  text-align: left;
  font-weight: 500;
}

@media screen and (max-width: 560px) {
  .solutions {
    padding: 5.35vw;
  }
  .solutions__container {
    max-width: 100%;
    gap: 5.35vw;
  }
  .solutions__list {
    flex-direction: column;
    align-items: center;
    gap: 3.57vw;
  }
  
  .solutions__item {
    width: 100%;
    max-width: 100%;
    padding: 10.71vw 5vw;
    gap: 3.57vw;
    border-radius: 1.78vw;
  }
  
  .solutions__item-header {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 5.35vw;
  }
  
  .solutions__item-icon-wrapper {
    margin-right: 0;
    margin-left: 0;
    width: 16.07vw;
    height: 16.07vw;
  }
  .solutions__item-icon {
    width: 5vw;
    height: 5vw;
  }
  
  .solutions__item-title {
    margin: 0;
    font-size: 6.42vw;
    text-align: left;
  }
  .solutions__item-description {
    font-size: 3.92vw;
  }
}

/* About Usセクション */
.about {
  padding: 80px 40px;
  text-align: center;
  background-color: #ffffff;
}

.about__container {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.about__header {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 20px;
  font-family: var(--font-inter);
}

.about__company {
  width: 100%;
  display: flex;
  justify-content: center;
}

.about__company-table {
  width: 100%;
  max-width: 840px;
}

.about__company-row {
  display: flex;
  padding: 20px 0;
}

.about__company-label {
  width: 220px;
  font-weight: 500;
  color: #333;
  text-align: left;
}

.about__company-value {
  flex: 1;
  text-align: left;
  line-height: 1.6;
  font-weight: 500;
}

.about__company-value p {
  margin: 0;
  padding: 4px 0;
}

@media screen and (max-width: 560px) {
  .about {
    padding: 5.35vw;
  }
  .about__company-table { 
    max-width: 100%;
  }
  .about__company-row {
    flex-direction: column;
    padding: 2.67vw 0;
  }
  
  .about__company-label {
    width: 100%;
    padding: 0 0 1.42vw;
    font-size: 3.92vw;
  }
  .about__company-value {
    font-size: 3.92vw;
  }
}

/* コンタクトセクション */
.contact {
  padding: 80px 40px;
  text-align: center;
}

.contact__container {
  max-width: 1050px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.contact__header {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 20px;
  font-family: var(--font-inter);
}

.contact__title-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.contact__title {
  font-size: 120px;
  line-height: 1;
  font-weight: 700;
  margin: 0 0 20px;
  overflow: hidden;
  font-family: var(--font-inter);
}

.contact__title-container {
  position: relative;
}

.contact__title-line {
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
}

.contact__title-text-wrapper {
  position: relative;
}

.contact__title-text {
  display: block;
}

.contact__title-text--hidden {
  opacity: 0;
}

.contact__title-text--visible {
  transform: translateY(100%);
}

/* アニメーション用クラス - JavaScriptで追加 */
.animate-contact-title {
  animation: slideUpContactTitle 0.9s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes slideUpContactTitle {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0);
  }
}

.contact__message {
  display: flex;
  justify-content: center;
  width: 100%;
}

.contact__text {
  font-size: 24px;
  line-height: 2;
  color: var(--rgb0-0-0);
  margin: 0 auto;
}

@media screen and (max-width: 560px) {
  .contact {
    padding: 5.35vw;
  }
  .contact__container {
    gap: 5.35vw;
  }
  .contact__title {
    font-size: 10vw;
  }
  .contact__text {
    font-size: 4.28vw;
  }
  .contact__message {
    flex-direction: column;
    gap: 3.57vw;
  }
}

/* フォームセクション */
.form-section {
  padding: 40px 0 80px;
  width: 100%;
}

.form__container {
  max-width: 840px;
  margin: 0 auto;
}

.form__fields {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.form__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-bottom: 20px;
}

.form__input-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  position: relative;
}

.form__row--textarea .form__input-wrapper {
  align-items: flex-start;
}

.form__label-wrapper {
  width: 200px;
  padding-top: 15px;
  display: flex;
  align-items: flex-start;
}

.form__label {
  font-size: 18px;
  font-weight: 500;
  color: var(--rgb0-0-0);
}

.form__input {
  border: 0;
  outline: 0;
  background-color: var(--color-whitesmoke);
  height: 60px;
  flex: 1;
  border-radius: 10px;
  padding: 0 15px;
  font-size: 20px;
  font-family: 'Noto Sans JP', sans-serif;

}

.form__textarea {
  border: 0;
  outline: 0;
  background-color: var(--color-whitesmoke);
  min-height: 150px;
  flex: 1;
  border-radius: 10px;
  padding: 15px;
  resize: vertical;
  font-size: 20px;
  font-family: 'Noto Sans JP', sans-serif;
}

.form__submit {
  margin-top: 120px;
  display: flex;
  justify-content: center;
}

.form__button {
  background-color: var(--rgb0-0-0);
  color: var(--color-white);
  border: none;
  border-radius: 4px;
  padding: 16px 40px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: background-color 0.4s ease;
  min-width: 180px;
}

.form__button-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.form__button-text-wrapper {
  position: relative;
  overflow: hidden;
  height: 2em;
  width: auto;
  min-width: 80px;
}

.form__button-text {
  font-size: 18px;
  position: absolute;
  left: 0;
  right: 0;
  transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1), font-weight 0.4s ease;
  white-space: nowrap;
  text-align: center;
}

.form__button-text--default {
  transform: translateY(0);
  font-weight: 500;
}

.form__button-text--hover {
  transform: translateY(100%);
  font-weight: 700;
}

.form__button:hover .form__button-text--default {
  transform: translateY(-100%);
}

.form__button:hover .form__button-text--hover {
  transform: translateY(0);
}

.form__button:hover {
  background-color: #333;
}

.form__button-circle {
  width: 10px;
  height: 10px;
  border: 1px solid white;
  background-color: transparent;
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  margin-left: 8px;
  box-sizing: border-box;
}

.form__button:hover .form__button-circle {
  background-color: white;
  transform: scale(0.7);
  border-color: transparent;
}

/* ボタンが無効化されている状態 */
.form__button:disabled {
  background-color: #666 !important;
  cursor: not-allowed !important;
  opacity: 0.7;
  pointer-events: none;
}

.form__button:disabled:hover {
  background-color: #666 !important;
}

/* エラー表示用スタイル */
.form__error-info {
  color: #e53e3e;
  font-size: 16px;
  margin-bottom: 40px;
  padding: 16px 24px;
  background-color: #fef5f5;
  border: 1px solid #e53e3e;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
}

.form__error {
  color: #e53e3e;
  font-size: 14px;
  margin-top: 8px;
  font-weight: 400;
  line-height: 1.5;
  width: calc(100% - 220px);
  display: block;
  margin-left: 220px;
}

.form__input--error {
  border: 1px solid #e53e3e;
  background-color: #fef5f5;
}

.form__textarea--error {
  border: 1px solid #e53e3e;
  background-color: #fef5f5;
}

/* エラーフィールド強調アニメーション */
@keyframes errorPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.4);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 0 8px rgba(229, 62, 62, 0.2);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(229, 62, 62, 0);
  }
}

@media screen and (max-width: 560px) {
  .form-section {
    padding: 5.35vw;
  }
  .form__container {
    max-width: 100%;
  }
  .form__fields {
    padding: 0;
  }
  .form__row {
    flex-direction: column;
    gap: 1.43vw;
  }

  .form__input-wrapper {
    flex-direction: column;
    gap: 1.78vw;
  }
  .form__label-wrapper {
    width: 100%;
    padding-top: 0;
  }
  .form__label {
    font-size: 3.92vw;
  }
  .form__input {
    height: 12.5vw;
    width: 100%;
    flex: initial;
    font-size: 3.92vw;
  }
  .form__textarea {
    height: 50vw;
    width: 100%;
    font-size: 3.92vw;
  }
  .form__submit {
    margin-top: 10.71vw;
  }
  .form__button {
    padding: 4.28vw 5.35vw;
    min-width: 100%;
    border-radius: 0;
  }
  .form__button-text-wrapper {
    height: inherit;
    min-width: 17.85vw;
    line-height: 0;
    padding: 16px 0;
    
  }
  .form__button-text {
    font-size: 3.92vw;
  }
  .form__button-circle {
    display: none;
  }
  .form__button-text--default {
    font-size: 3.92vw;
  }
  .form__button-text--hover {
    font-size: 3.92vw;
  }

  /* モバイル用エラー表示スタイル */
  .form__error-info {
    font-size: 3.21vw;
    margin-bottom: 5.35vw;
    padding: 2.85vw 3.57vw;
    border-radius: 1.43vw;
  }

  .form__error {
    font-size: 2.5vw;
    margin-top: 1.43vw;
    margin-left: 0;
    width: 100%;
  }

  .form__input--error {
    border: 1px solid #e53e3e;
    background-color: #fef5f5;
  }

  .form__textarea--error {
    border: 1px solid #e53e3e;
    background-color: #fef5f5;
  }
}

/* フッターセクション */
.footer {
  background-color: #ffffff;
  padding: 200px 0 40px;
  text-align: center;
  font-family: var(--font-inter);
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.footer__logo-wrapper {
  display: flex;
  align-items: center;
}

.footer__logo {
  width: 120px;
  height: auto;
}

.footer__info {
  display: flex;
  align-items: center;
  gap: 30px;
}

.footer__privacy {
  color: #000;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer__privacy:hover {
  opacity: 0.8;
}

.footer__copyright {
  color: #000;
}

@media screen and (max-width: 560px) {
  .footer {
    padding: 17.85vw 0 7.14vw;
  }
  .footer__container {
    flex-direction: column;
    gap: 8.92vw;
  }
  .footer__logo {
    width: 44.64vw;
  }
  .footer__info {
    flex-direction: column;
    gap: 8.92vw;
  }
}

/* ページ全体のスタイル */
.page {
  width: 100%;
  position: relative;
  background-color: var(--color-white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  line-height: normal;
  letter-spacing: normal;
}

