/*=================================
  CSS変数（カスタムプロパティ）
=================================*/
:root {
  --primary-color: #4B91BF;
  --background-color: #F0F4F7;
  --text-color: #333;
  --text-color-light: #666;
  --text-color-gray: #888;
  --white: #fff;
  --black: #000;

  --header-height: 93px;
  --container-max-width: 1280px;
  --section-margin: 140px;
  --section-margin-large: 180px;
  --section-margin-xl: 268px;

  --font-size-xs: 12px;
  --font-size-sm: 13px;
  --font-size-base: 14px;
  --font-size-md: 15px;
  --font-size-lg: 20px;
  --font-size-xl: 27px;
  --font-size-2xl: 95px;

  --transition-default: all 0.3s ease;
  --line-height-tight: 1.5;
  --line-height-relaxed: 1.8;
  --line-height-loose: 1.9;
}

/*=================================
  リセット・共通スタイル
=================================*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text-color);
}

body::-webkit-scrollbar {
  width: 0;
  background: transparent;
}

body::-webkit-scrollbar-thumb {
  background: transparent;
}

main {
  overflow: hidden;
}



/*=================================
  共通コンポーネント
=================================*/
.container {
  max-width: var(--container-max-width);
  margin: 0 80px;
  padding: 0;
}

.section {
  margin: var(--section-margin) auto;
}

.section-heading {
  position: relative;
  display: inline-block;
  font-size: var(--font-size-xs);
  line-height: var(--line-height-tight);
  letter-spacing: 0.05em;
  color: var(--primary-color);
}

.section-heading::after {
  content: "";
  display: inline-block;
  width: 27px;
  height: 1px;
  background-color: var(--primary-color);
  margin-left: 10px;
  vertical-align: middle;
}

.section-heading--vertical {
  transform: rotate(90deg);
  transform-origin: 0 0;
  padding-left: 90px;
}

.section-heading--horizontal::before {
  content: "";
  display: inline-block;
  width: 27px;
  height: 1px;
  background-color: var(--primary-color);
  margin-right: 10px;
  vertical-align: middle;
}

.section-heading--horizontal::after {
  display: none;
}

.description-text {
  font-size: var(--font-size-md);
  font-weight: 340;
  line-height: var(--line-height-loose);
  letter-spacing: 0.07em;
}

.section-title {
  font-size: var(--font-size-xl);
  font-weight: 450;
  line-height: var(--line-height-relaxed);
  letter-spacing: 0.08em;
  margin-bottom: 30px;
}

/*=================================
  ヘッダー
=================================*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  mix-blend-mode: overlay;
  transition: var(--transition-default);
}

.header__container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}

.header__nav-list {
  display: flex;
  list-style: none;
  margin: 0;
}

.header__nav-item {
  padding-left: 40px;
}

.header__nav-link {
  position: relative;
  display: block;
  text-decoration: none;
  font-size: var(--font-size-base);
  letter-spacing: 0.1em;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.header__nav-link:hover {
  color: var(--text-color-light);
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--text-color);
  transition: width 0.3s ease;
}

.header__nav-link:hover::after {
  width: 100%;
}

/*=================================
  ファーストビュー
=================================*/
.fv {
  position: relative;
  height: 100vh;
}

.fv__container {
  position: relative;
  width: 100%;
  height: 100%;
}

.fv__content {
  position: absolute;
  top: 335px;
  left: 160px;
  z-index: 30;
}

.fv__logo {
  width: 230px;
  height: 56.7px;
  margin-bottom: 20px;
}

.fv__description {
  font-size: var(--font-size-base);
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--text-color);
}

.fv__scroll-indicator {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 40px;
}

.fv__scroll-icon {
  width: 40px;
  height: 40px;
}

.fv__person {
  position: absolute;
  top: var(--header-height);
  right: 95px;
  z-index: 20;
}

.fv__person-image {
  width: 900px;
  height: 579px;
  object-fit: cover;
}

.fv__background-decoration {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 677px;
  height: 423px;
  background-color: var(--background-color);
  z-index: 10;
}

/*=================================
  About セクション
=================================*/
.about {
  width: 100%;
  margin: var(--section-margin) auto var(--section-margin-large) auto;
  padding: 0 250px;
}

.about__container {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.about__content {
  margin-top: 57px;
}

.about__title {
  margin-left: 57px;
}

.about__description {
  width: 470px;
  margin-left: 57px;
}

.about__person {
  position: relative;
  display: inline-block;
  width: 364px;
  height: 100%;
}

.about__image-wrapper {
  width: 324px;
  height: 342px;
  overflow: hidden;
}

.about__image {
  position: relative;
  z-index: 20;
  width: 324px;
  height: 342px;
}

.about__background-element {
  position: absolute;
  top: 40px;
  left: 40px;
  z-index: 10;
  width: 324px;
  height: 342px;
  background-color: var(--background-color);
}

.about__english-text {
  position: relative;
  bottom: 105px;
  left: -5px;
  z-index: 30;
  font-size: var(--font-size-2xl);
  line-height: var(--line-height-tight);
  letter-spacing: 0.05em;
  color: var(--background-color);
  opacity: 0.7;
}

/*=================================
  Works セクション
=================================*/
.works {
  position: relative;
  width: 100%;
  height: 640px;
  margin: 0 auto;
}

.works__heading {
  margin-left: 231px;
  margin-bottom: 15px;
}

.works__container {
  position: relative;
}

.works__content {
  position: relative;
  z-index: 20;
  display: flex;
  width: 1049px;
  margin-left: 231px;
  justify-content: space-between;
}

.works__title {
  margin: 0;
}

.works__description {
  width: 669px;
}

.works__selector-container {
  position: relative;
  z-index: 20;
  width: 912px;
  height: 431px;
  padding: 50px 0 37px 50px;
  margin: 50px 0 0 563px;
  background-color: var(--white);
}

.works__selector {
  position: relative;
  z-index: 20;
  width: 100%;
  display: flex;
  overflow-x: auto;
  padding-bottom: 37px;
  scroll-snap-type: x mandatory;
}

.works__item {
  width: 300px;
  margin-right: 40px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.works__item-image {
  width: 300px;
  height: 200px;
}

.works__item-title {
  width: 100%;
  margin-top: 20px;
  font-size: var(--font-size-lg);
  font-weight: 340;
  line-height: var(--line-height-tight);
  letter-spacing: 0;
}

.works__item-description {
  width: 100%;
  margin-top: 13px;
  font-size: var(--font-size-sm);
  font-weight: 340;
  line-height: var(--line-height-relaxed);
  letter-spacing: 0.05em;
}

.works__background-element {
  position: absolute;
  top: 80px;
  left: 0;
  z-index: 10;
  width: 677px;
  height: 467px;
  background-color: var(--background-color);
  overflow: hidden;
}

.works__treat {
  position: absolute;
  font-size: 165px;
  line-height: var(--line-height-tight);
  letter-spacing: 0.02em;
  font-weight: 400;
  color: white;
  z-index: 40;
  left: -10px;
  bottom: -60px;
  opacity: 0.7;

}

/*=================================
  Contact セクション
=================================*/
.contact {
  width: 100%;
  margin: 132px auto 120px;
  padding: 0 231px;
}

.contact__heading {
  margin-bottom: 16px;
}

.contact__container {
  display: flex;
  justify-content: space-between;
  gap: 70px;
}

.contact__lead {
  width: 310px;
  flex-shrink: 0;
}

.contact__title {
  margin: 0;
}

.contact__content {
  width: 640px;
}

.contact__description {
  margin-bottom: 40px;
}

.contact__mail-link {
  display: inline-block;
  min-width: 285px;
  padding: 12px 24px;
  border: 1px solid #d8d8d8;
  font-size: var(--font-size-sm);
  letter-spacing: 0.08em;
  color: var(--text-color);
  text-align: center;
  text-decoration: none;
  transition: var(--transition-default);
}

.contact__mail-link:hover {
  border-color: #b8b8b8;
  background-color: #fafafa;
}

/*=================================
  フッター
=================================*/
.footer {
  position: relative;
  width: 100%;
  height: 323px;
  background-color: var(--background-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 20;
}

.footer__logo {
  margin-top: 90px;
}

.footer__logo-image {
  display: block;
  width: 140px;
  height: 34.5px;
}

.footer__logo::after {
  content: '';
  position: relative;
  left: 50%;
  bottom: -2px;
  display: inline-block;
  width: 25px;
  height: 1px;
  transform: translateX(-50%);
  background-color: var(--black);
}

.footer__address {
  font-size: var(--font-size-sm);
  margin-top: 10px;
}

.footer__copyright {
  color: var(--text-color-gray);
  font-size: var(--font-size-xs);
  margin: 77px 0 20px 0;
}

/*=================================
  スライダー関連
=================================*/
.works__selector::-webkit-scrollbar {
  -webkit-appearance: none;
  appearance: none;
  height: 1px;
}

/* つまみ部分 */
.works__selector::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 0;
  outline: none;
}

/* 背景部分 */
.works__selector::-webkit-scrollbar-track {
  background: var(--background-color);
  border-radius: 0;
  outline: none;
}