@charset "UTF-8";

/* =========================
common
========================= */

:root {
  --black: #000;
  --white: #fff;
  --bgColor: #f7f4f1;
  --font-noto: "Noto Sans JP", sans-serif;
  --font-yugothic: "Yu Gothic", "YuGothic", sans-serif;
  --font-montserrat: "Montserrat", sans-serif;
  --fz16: clamp(0.813rem, 0.769rem + 0.19vw, 1rem);
  --fz18: clamp(0.875rem, 0.817rem + 0.26vw, 1.125rem);
  --fz20: clamp(0.938rem, 0.865rem + 0.32vw, 1.25rem);
  --fz24: clamp(1.125rem, 1.038rem + 0.38vw, 1.5rem);
  --fz28: clamp(1rem, 0.827rem + 0.77vw, 1.75rem);
  --fz33: clamp(1.063rem, 0.832rem + 1.03vw, 2.063rem);
  --fz40: clamp(1.25rem, 0.962rem + 1.28vw, 2.5rem);
  --fz44: clamp(1.313rem, 0.981rem + 1.47vw, 2.75rem);
  --fz60: clamp(1.5rem, 0.981rem + 2.31vw, 3.75rem);
  --fz70: clamp(1.563rem, 0.913rem + 2.88vw, 4.375rem);
  --fz80: clamp(1.25rem, 0.385rem + 3.85vw, 5rem);
  --fz90: clamp(1.375rem, 0.394rem + 4.36vw, 5.625rem);
  --fz100: clamp(1.875rem, 0.865rem + 4.49vw, 6.25rem);
  --fz120: clamp(2.5rem, 1.346rem + 5.13vw, 7.5rem);
}
html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Yu Gothic", "游ゴシック", "YuGothic", "Hiragino Sans", "ヒラギノ角ゴシック", Meiryo, メイリオ, sans-serif;
  font-weight: bold;
  line-height: 1.75;
  letter-spacing: 0;
  color: var(--black);
}

img {
  width: 100%;
  height: auto;
  object-fit: cover;
  vertical-align: bottom;
}

a {
  text-decoration: none;
  color: var(--black);
  transition: all ease 0.3s;
}
a:hover {
  opacity: 0.9;
}

li {
  list-style: none;
}

.inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: content-box;
}
.pc-only {
  display: block;
  @media only screen and (max-width: 768px) {
    display: none;
  }
}

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

/* common line button */

.common-line-button {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 400px;
  min-height: 52px;
  border-bottom: 1px solid #333333;
  color: #111111;
}

.common-line-button:hover {
  opacity: 1;
}

.common-line-button__text {
  font-family: var(--font-montserrat);
  font-size: var(--fz20);
  line-height: 1;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

/* ボタン下線の右端を基準にする */
.common-line-button__arrow {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 0;
  height: 24px;
  overflow: visible;
}

/* hover時に右へ伸びる横線 */
.common-line-button__line {
  position: absolute;
  bottom: -1px;
  left: 0;
  display: block;
  width: 0;
  height: 1px;
  background-color: #333333;
  transform-origin: left center;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 矢印先端 */
.common-line-button__tip {
  position: absolute;
  right: 0;
  bottom: -1px;
  display: block;
  width: 16px;
  height: 1px;
  background-color: #333333;
  transform: rotate(45deg);
  transform-origin: right center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* hover時 */
.common-line-button:hover .common-line-button__line {
  width: 12px;
}

.common-line-button:hover .common-line-button__tip {
  transform: translateX(12px) rotate(45deg);
}

@media only screen and (max-width: 499px) {
  .common-line-button {
    min-height: 45px;
  }
}
/* =========================
header
========================= */
.header {
  width: 100%;
  height: 100px;
  background-color: var(--bgColor);
}

.header__inner {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 100%;
}

.header__logo {
  flex-shrink: 0;
  height: 100%;
  margin: 0;
}

.header__logo a {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 20px 0 0 36px;
  box-sizing: border-box;
}

.header__logo img {
  display: block;
  max-width: 164px;
  height: auto;
}

.header__nav {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
  padding-left: 30px;
  padding-right: 74px;
  box-sizing: border-box;
}

.header__nav-list {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 80px;
}

.header__nav-item {
  flex-shrink: 0;
}

.header__nav-link {
  position: relative;
  display: inline-block;
  color: #111111;
  font-family: var(--font-montserrat), sans-serif;
  font-size: var(--fz18);
  line-height: 1;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.header__nav-link::after {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #333333;
  content: "";
  transition: width 0.3s ease;
}

.header__nav-link:hover {
  opacity: 0.65;
}

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

.header__contact {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  flex-shrink: 0;
  width: 230px;
  height: 100%;
  padding: 0 0 10px 10px;
  box-sizing: border-box;
  color: var(--white);
  background-color: #333333;
  transition: background-color 0.3s ease;
}

.header__contact-text {
  font-family: var(--font-montserrat), sans-serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 2px;
}

.header__contact-arrow {
  display: block;
  width: 18px;
  height: auto;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.header__contact:hover {
  background-color: #e06812;
}

.header__contact:hover .header__contact-arrow {
  transform: translateX(5px);
}

@media only screen and (max-width: 1279px) {
  .header {
    height: 80px;
  }
  .header__logo img {
    max-width: 120px;
  }
  .header__contact {
    width: 180px;
  }
  .header__nav-list {
    gap: 60px;
  }
  .header__nav {
    padding-right: 50px;
  }
}
@media only screen and (max-width: 899px) {
  .header {
    height: 70px;
  }
  .header__logo img {
    max-width: 90px;
  }
  .header__contact {
    width: 150px;
    padding: 0 0 8px 8px;
  }
  .header__nav-list {
    gap: 30px;
  }
  .header__nav {
    padding-right: 30px;
  }
}
.header__hamburger {
  display: none;
}

.header__nav-item--contact {
  display: none;
}

@media only screen and (max-width: 767px) {
  body.is-drawer-open {
    overflow: hidden;
  }

  .header {
    position: relative;
    z-index: 1000;
    height: 70px;
  }

  .header__inner {
    position: relative;
    align-items: center;
    justify-content: space-between;
  }

  .header__logo {
    position: relative;
    z-index: 1002;
  }

  .header__logo a {
    padding: 12px 0 0 20px;
  }

  .header__logo img {
    max-width: 105px;
  }

  .header__contact {
    display: none;
  }

  .header__hamburger {
    position: relative;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 70px;
    height: 70px;
    padding: 0 22px;
    border: 0;
    background-color: #333333;
    cursor: pointer;
  }

  .header__hamburger-line {
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--white);
    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
  }

  .header__hamburger.is-open .header__hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .header__hamburger.is-open .header__hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .header__hamburger.is-open .header__hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .header__nav {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    padding: 90px 24px 40px;
    box-sizing: border-box;
    background-color: rgba(247, 244, 241, 0.98);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-15px);
    transition:
      opacity 0.35s ease,
      visibility 0.35s ease,
      transform 0.35s ease;
  }

  .header__nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .header__nav-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    width: 100%;
    max-width: 360px;
  }

  .header__nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.16);
  }

  .header__nav-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.16);
  }

  .header__nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 20px 4px;
    box-sizing: border-box;
    font-size: var(--fz18);
  }

  .header__nav-link::before {
    width: 7px;
    height: 7px;
    margin-right: 14px;
    border-radius: 50%;
    background-color: #e06812;
    content: "";
  }

  .header__nav-link::after {
    display: none;
  }

  .header__nav-item--contact {
    display: block;
    margin-top: 28px;
    border: 0;
  }

  .header__nav-item--contact:first-child {
    border-top: 0;
  }

  .header__nav-link--contact {
    justify-content: center;
    padding: 20px;
    color: var(--white);
    background-color: #333333;
  }

  .header__nav-link--contact::before {
    display: none;
  }

  .header__nav-link--contact img {
    width: 12px;
    margin-left: 10px;
  }
}
/* =========================
main visual
========================= */

.main-visual__content {
  background-color: var(--bgColor);
  position: relative;
  height: 900px;
  overflow: hidden;
}

.main-visual__copy {
  position: relative;
  z-index: 3;
  padding-top: 200px;
  padding-left: 5%;
}

.main-visual__title {
  margin: 0;
  font-family: var(--font-yugothic);
  font-size: var(--fz60);
  line-height: 1.75;
}

.main-visual__title span {
  display: block;
}

.main-visual__text {
  font-size: var(--fz18);
  font-family: var(--font-montserrat);
  margin-top: 30px;
}

.main-visual__english {
  position: absolute;
  z-index: 2;
  bottom: 40px;
  left: 2%;
  margin: 0;
  white-space: nowrap;
  font-size: var(--fz120);
  font-family: var(--font-montserrat);
  font-weight: 500;
  line-height: 1;
}

.main-visual__circle {
  position: absolute;
  z-index: 1;
  top: 300px;
  right: -10%;
  width: 968px;
  height: 968px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #e95513 0%, #f29600 30%, #e95513 100%);
  animation: circle-rotate 25s linear infinite;
}

.main-visual__circle::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--bgColor);
}

@keyframes circle-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* PC画像 */
.main-visual__pc {
  display: block;
}

.main-visual__slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
}

.main-visual__slide {
  min-width: 0;
  overflow: hidden;
}

.main-visual__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-visual__slide--01 img {
  object-position: center center;
}

.main-visual__slide--02 img {
  object-position: center center;
}

.main-visual__slide--03 img {
  object-position: center center;
}

/* SP画像 */
.main-visual__sp {
  display: none;
}

@media only screen and (max-width: 1279px) {
  .main-visual__content {
    height: 700px;
  }

  .main-visual__copy {
    padding-top: 150px;
  }

  .main-visual__text {
    margin-top: 24px;
  }

  .main-visual__english {
    bottom: 34px;
  }

  .main-visual__circle {
    top: 250px;
    right: -20%;
    width: 780px;
    height: 780px;
  }
}

@media only screen and (max-width: 899px) {
  .main-visual__content {
    height: 575px;
  }

  .main-visual__copy {
    padding-top: 120px;
    padding-right: 40px;
  }

  .main-visual__text {
    max-width: 650px;
    margin-top: 22px;
  }

  .main-visual__english {
    bottom: 30px;
  }

  .main-visual__circle {
    top: 220px;
    right: -32%;
    width: 650px;
    height: 650px;
  }
}

@media only screen and (max-width: 767px) {
  .main-visual {
    overflow: hidden;
  }

  .main-visual__content {
    height: 500px;
  }

  .main-visual__copy {
    padding-top: 90px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .main-visual__text {
    max-width: 430px;
    margin-top: 24px;
  }

  .main-visual__english {
    bottom: 8px;
  }

  .main-visual__circle {
    top: 200px;
    right: -55%;
    width: 500px;
    height: 500px;
  }

  .main-visual__circle::after {
    inset: 2px;
  }

  /* PC画像を非表示 */
  .main-visual__pc {
    display: none;
  }

  /* SP画像を表示 */
  .main-visual__sp {
    display: block;
  }

  .main-visual__sp-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
  }

  .main-visual__sp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% center;
  }

  .main-visual__sp-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    height: 145px;
  }

  .main-visual__sp-sub-image {
    min-width: 0;
    overflow: hidden;
  }

  .main-visual__sp-sub-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .main-visual__sp-sub-image:first-child img {
    object-position: center center;
  }

  .main-visual__sp-sub-image:last-child img {
    object-position: center center;
  }
}

@media only screen and (max-width: 499px) {
  .main-visual__content {
    height: 390px;
  }

  .main-visual__copy {
    padding-top: 70px;
  }

  .main-visual__text {
    margin-top: 10px;
  }

  .main-visual__english {
    bottom: 20px;
  }

  .main-visual__circle {
    top: 190px;
    right: -70%;
    width: 450px;
    height: 450px;
  }

  .main-visual__sp-image {
    height: 220px;
  }

  .main-visual__sp-images {
    height: 120px;
  }
}

@media only screen and (max-width: 399px) {
  .main-visual__content {
    height: 350px;
  }

  .main-visual__copy {
    padding-top: 65px;
    padding-right: 4px;
    padding-left: 8px;
  }

  .main-visual__text {
    max-width: 290px;
    font-size: 10px;
  }

  .main-visual__english {
    font-size: 35px;
  }

  .main-visual__circle {
    top: 180px;
    right: -78%;
    width: 410px;
    height: 410px;
  }

  .main-visual__sp-image {
    height: 200px;
  }

  .main-visual__sp-images {
    height: 105px;
  }
}

/* =========================
news
========================= */
.news {
  padding-top: 80px;
  background-color: var(--white);
}

.news__heading {
  font-family: var(--font-noto);
  font-size: var(--fz20);
  line-height: 1;
  letter-spacing: 0.01em;
  margin-bottom: 15px;
}

.news__list {
  padding: 30px;
  background-color: #f7f4f1;
}

.news__item {
  border-bottom: 1px solid #333333;
}

.news__link {
  display: grid;
  grid-template-columns: 15% 12% minmax(0, 1fr) 20px;
  align-items: center;
  min-height: 80px;
  color: var(--black);
}

.news__date,
.news__category,
.news__title {
  font-size: var(--fz18);
  font-family: var(--font-noto);
  font-weight: 600;
  line-height: 1.6;
}

.news__date {
  font-family: var(--font-montserrat);
  letter-spacing: 1px;
}

.news__category {
  padding-right: 20px;
}

.news__title {
  min-width: 0;
  margin: 0;
  padding-right: 30px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.news__arrow {
  position: relative;
  display: block;
  width: 25px;
  height: 20px;
  margin-left: auto;
  transition: transform 0.3s ease;
}

.news__arrow::before {
  position: absolute;
  top: 9px;
  right: 0;
  width: 25px;
  height: 3px;
  border-radius: 3px;
  background-color: #333333;
  content: "";
}

.news__arrow::after {
  position: absolute;
  top: 3px;
  right: 1px;
  width: 12px;
  height: 12px;
  border-top: 3px solid #333333;
  border-right: 3px solid #333333;
  transform: rotate(45deg);
  content: "";
}

.news__link:hover {
  opacity: 0.85;
}

.news__link:hover .news__arrow {
  transform: translateX(8px);
}

@media only screen and (max-width: 1279px) {
  .news {
    padding-top: 60px;
  }

  .news__list {
    padding-right: 32px;
    padding-left: 32px;
  }

  .news__link {
    grid-template-columns: 150px 140px minmax(0, 1fr) 35px;
    min-height: 105px;
  }
}

@media only screen and (max-width: 899px) {
  .news {
    padding: 55px 4% 65px;
  }
  .news__inner {
    padding: 0;
  }
  .news__heading {
    font-size: 24px;
  }

  .news__list {
    padding: 20px 28px 35px;
  }

  .news__link {
    grid-template-columns: 130px 120px minmax(0, 1fr) 32px;
    min-height: 95px;
  }

  .news__date,
  .news__category,
  .news__title {
    font-size: 15px;
  }
}

@media only screen and (max-width: 767px) {
  .news {
    padding: 45px 20px 55px;
  }

  .news__heading {
    margin-bottom: 14px;
    font-size: 22px;
    letter-spacing: 2px;
  }

  .news__list {
    padding: 5px 20px 20px;
  }

  .news__link {
    position: relative;
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) 26px;
    grid-template-rows: auto auto;
    column-gap: 10px;
    min-height: auto;
    padding: 22px 0;
  }

  .news__date {
    grid-column: 1;
    grid-row: 1;
    font-size: 13px;
  }

  .news__category {
    grid-column: 2;
    grid-row: 1;
    padding-right: 0;
    font-size: 13px;
  }

  .news__title {
    grid-column: 1 / 3;
    grid-row: 2;
    margin-top: 9px;
    padding-right: 0;
    font-size: 15px;
  }

  .news__arrow {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: flex-end;
    width: 20px;
    height: 16px;
  }

  .news__arrow::before {
    top: 7px;
    width: 20px;
    height: 2px;
  }

  .news__arrow::after {
    top: 2px;
    width: 10px;
    height: 10px;
    border-top-width: 2px;
    border-right-width: 2px;
  }
}

@media only screen and (max-width: 399px) {
  .news {
    padding-right: 12px;
    padding-left: 12px;
  }

  .news__list {
    padding-right: 14px;
    padding-left: 14px;
  }

  .news__link {
    grid-template-columns: 95px minmax(0, 1fr) 24px;
  }

  .news__date,
  .news__category {
    font-size: 12px;
  }

  .news__title {
    font-size: 14px;
  }
}

/* =========================
ambition
========================= */
.ambition {
  overflow: hidden;
  background-color: var(--white);
  padding: 100px 0 200px;
}

.ambition__inner {
  width: 100%;
  margin: 0 auto;
}

.ambition__heading {
  text-align: center;
}

.ambition__heading-en {
  font-family: var(--font-montserrat);
  font-size: var(--fz100);
  font-weight: 500;
  line-height: 1;
}

.ambition__title {
  font-size: var(--fz90);
  font-family: var(--font-yugothic);
  line-height: 1.5;
  margin-top: 10px;
}

.ambition__lead {
  margin-top: 60px;
  text-align: center;
}

.ambition__lead p {
  font-size: var(--fz20);
  font-weight: normal;
  line-height: 2;
}

.ambition__lead p + p {
  margin-top: 24px;
}

.ambition__content {
  display: grid;
  grid-template-columns: 30% minmax(0, 1fr);
  align-items: end;
  gap: 20px;
  margin-top: 60px;
  padding-left: 7%;
}

.ambition__body {
  padding-bottom: 65px;
}

.ambition__body p {
  font-size: var(--fz20);
  font-weight: normal;
  line-height: 2;
}

.ambition__body p + p {
  margin-top: 24px;
}

.ambition__visual {
  min-width: 0;
}

.ambition__image {
  width: 100%;
  overflow: hidden;
}

.ambition__image img {
  display: block;
  width: 100%;
  height: 585px;
  object-fit: cover;
  object-position: center;
}

@media only screen and (max-width: 1279px) {
  .ambition {
    padding: 90px 0 150px;
  }

  .ambition__lead {
    margin-top: 50px;
  }

  .ambition__content {
    grid-template-columns: 35% minmax(0, 1fr);
    gap: 30px;
    margin-top: 55px;
    padding-left: 5%;
  }

  .ambition__body {
    padding-bottom: 45px;
  }

  .ambition__image img {
    height: 500px;
  }
}

@media only screen and (max-width: 899px) {
  .ambition {
    padding: 80px 0 120px;
  }

  .ambition__inner {
    padding: 0 1rem;
    box-sizing: border-box;
  }

  .ambition__title {
    margin-top: 14px;
  }

  .ambition__lead {
    margin-top: 45px;
  }

  .ambition__content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 45px;
    margin-top: 55px;
    padding-left: 0;
  }

  .ambition__body {
    width: 100%;
    text-align: center;
    padding-bottom: 0;
  }

  .ambition__image img {
    height: 480px;
  }

  .ambition__visual .common-line-button {
    margin-top: 0;
  }
}

@media only screen and (max-width: 767px) {
  .ambition {
    padding: 65px 0 90px;
  }

  .ambition__title {
    margin-top: 12px;
  }

  .ambition__lead {
    margin-top: 38px;
  }

  .ambition__lead p + p {
    margin-top: 20px;
  }

  .ambition__content {
    margin-top: 45px;
  }

  .ambition__body {
    max-width: none;
  }

  .ambition__body p + p {
    margin-top: 22px;
  }

  .ambition__image {
    width: calc(100% + 20px);
  }

  .ambition__image img {
    height: 360px;
  }

  .ambition__visual .common-line-button {
    width: 100%;
  }
}

@media only screen and (max-width: 499px) {
  .ambition {
    padding: 25px 0 60px;
  }

  .ambition__title {
    margin-top: 10px;
  }

  .ambition__lead {
    margin-top: 32px;
  }

  .ambition__lead p + p {
    margin-top: 18px;
  }

  .ambition__content {
    gap: 30px;
    margin-top: 36px;
  }

  .ambition__body p + p {
    margin-top: 20px;
  }

  .ambition__image {
    width: calc(100% + 16px);
  }

  .ambition__image img {
    height: 270px;
  }

  .ambition__visual .common-line-button__text {
    margin-bottom: 10px;
  }
  .ambition__visual .common-line-button {
    width: 260px;
    min-height: 48px;
  }
}

@media only screen and (max-width: 399px) {
  .ambition__image img {
    height: 235px;
  }
}
/* =========================
services
========================= */

.services {
  padding: 180px 0;
  overflow: hidden;
  background-color: var(--bgColor);
}

.services__heading {
  text-align: center;
}

.services__heading-en {
  font-family: var(--font-montserrat);
  font-size: var(--fz100);
  font-weight: 500;
  line-height: 1;
}

.services__title {
  font-size: var(--fz90);
  font-family: var(--font-yugothic);
  line-height: 1.5;
  margin-top: 10px;
}

.services__content {
  display: grid;
  grid-template-columns: 65% 25%;
  align-items: start;
  gap: 48px;
  margin-top: 180px;
  padding-right: 8%;
}

.services__visual {
  min-width: 0;
}

.services__image {
  width: 100%;
  overflow: hidden;
}

.services__image img {
  display: block;
  width: 100%;
  height: 585px;
  object-fit: cover;
  object-position: center;
}

.services__button {
  display: flex;
  justify-content: flex-end;
}

.services__button .common-line-button {
  margin-top: 10px;
}

.services__body {
  padding-top: 0;
}

.services__body p {
  font-size: var(--fz20);
  font-weight: normal;
  line-height: 2;
}

.services__body p + p {
  margin-top: 24px;
}

@media only screen and (max-width: 1279px) {
  .services {
    padding: 140px 0;
  }

  .services__content {
    grid-template-columns: 55% minmax(0, 1fr);
    gap: 30px;
    margin-top: 130px;
    padding-right: 5%;
  }

  .services__image img {
    height: 500px;
  }
}

@media only screen and (max-width: 899px) {
  .services {
    padding: 100px 0 120px;
  }

  .services__title {
    margin-top: 14px;
  }

  .services__content {
    display: flex;
    flex-direction: column-reverse;
    gap: 48px;
    margin-top: 90px;
    padding-right: 0;
  }

  .services__visual {
    width: 92%;
  }

  .services__image img {
    height: 480px;
  }

  .services__button {
    padding-left: 5%;
  }

  .services__body {
    padding: 0 1rem;
  }
}

@media only screen and (max-width: 767px) {
  .services {
    padding: 70px 0 90px;
  }

  .services__title {
    margin-top: 12px;
  }

  .services__content {
    gap: 40px;
    margin-top: 60px;
  }

  .services__visual {
    width: calc(100% - 20px);
  }

  .services__image img {
    height: 360px;
  }

  .services__button {
    padding-left: 20px;
  }

  .services__button .common-line-button {
    width: 280px;
  }

  .services__body {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0 20px;
  }

  .services__body p + p {
    margin-top: 22px;
  }

  .services__body br {
    display: none;
  }
}

@media only screen and (max-width: 499px) {
  .services {
    padding: 60px 0 75px;
  }

  .services__title {
    margin-top: 10px;
  }

  .services__content {
    gap: 34px;
    margin-top: 48px;
  }

  .services__visual {
    width: calc(100% - 16px);
  }

  .services__image img {
    height: 270px;
  }

  .services__button {
    padding-left: 16px;
  }

  .services__button .common-line-button {
    width: 260px;
    min-height: 48px;
  }

  .services__button .common-line-button__text {
    margin-bottom: 10px;
  }

  .services__body p + p {
    margin-top: 20px;
  }
}

@media only screen and (max-width: 399px) {
  .services__image img {
    height: 235px;
  }

  .services__button .common-line-button {
    width: 240px;
  }
}

/* =========================
philosophy
========================= */

.philosophy {
  overflow: hidden;
}

.philosophy__main {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 990px;
  padding-bottom: 90px;
  box-sizing: border-box;
}

.philosophy__decoration {
  position: absolute;
  z-index: 1;
  top: 0;
  width: 100%;
  pointer-events: none;
}

.philosophy__decoration img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.philosophy__content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}

.philosophy__title {
  margin: 0;
  font-family: var(--font-montserrat);
  font-size: var(--fz100);
  font-weight: 500;
  line-height: 1;
}

.philosophy__text {
  margin-top: 48px;
  font-size: var(--fz18);
  font-weight: normal;
  line-height: 2;
}

.philosophy__button {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.philosophy__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}

.philosophy__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.philosophy__image:nth-child(1) img {
  object-position: center center;
}

.philosophy__image:nth-child(2) img {
  object-position: center center;
}

.philosophy__image:nth-child(3) img {
  object-position: center center;
}

@media only screen and (max-width: 1279px) {
  .philosophy__main {
    min-height: 660px;
    padding-bottom: 80px;
  }

  .philosophy__text {
    margin-top: 40px;
  }
}

@media only screen and (max-width: 899px) {
  .philosophy__main {
    min-height: 550px;
    padding: 0 5% 70px;
  }

  .philosophy__text {
    max-width: 680px;
    margin: 32px auto 0;
  }

  .philosophy__image {
    height: 240px;
    overflow: hidden;
  }
}

@media only screen and (max-width: 767px) {
  .philosophy__main {
    padding: 0 20px 55px;
  }

  .philosophy__decoration {
    top: 20px;
    left: 50%;
    width: 760px;
    transform: translateX(-50%);
  }

  .philosophy__text {
    max-width: 520px;
    margin-top: 28px;
  }

  .philosophy__button {
    margin-top: 22px;
  }

  .philosophy__button .common-line-button {
    width: 280px;
  }

  .philosophy__image {
    height: 320px;
  }
}

@media only screen and (max-width: 499px) {
  .philosophy__main {
    min-height: 400px;
    padding: 0 16px 48px;
  }

  .philosophy__decoration {
    top: 30px;
    width: 480px;
  }

  .philosophy__text {
    margin-top: 24px;
  }

  .philosophy__button {
    margin-top: 18px;
  }

  .philosophy__button .common-line-button {
    width: 260px;
    min-height: 48px;
  }

  .philosophy__button .common-line-button__text {
    margin-bottom: 10px;
  }

  .philosophy__image {
    height: 275px;
  }
}

@media only screen and (max-width: 399px) {
  .philosophy__main {
    min-height: 420px;
  }

  .philosophy__decoration {
    width: 400px;
  }

  .philosophy__button .common-line-button {
    width: 240px;
  }

  .philosophy__image {
    height: 250px;
  }
}

/* =========================
recruit
========================= */

.recruit {
  padding: 180px 0 250px;
}

.recruit__heading {
  text-align: center;
}

.recruit__heading-en {
  font-family: var(--font-montserrat);
  font-size: var(--fz100);
  font-weight: 500;
  line-height: 1;
}

.recruit__title {
  font-size: var(--fz90);
  font-family: var(--font-yugothic);
  line-height: 1.5;
  margin-top: 50px;
}

.recruit__content {
  display: grid;
  grid-template-columns: 65% 25%;
  align-items: flex-end;
  gap: 48px;
  margin-top: 100px;
  padding-right: 8%;
}

.recruit__image {
  width: 100%;
  overflow: hidden;
}

.recruit__image img {
  display: block;
  width: 100%;
  height: 585px;
  object-fit: cover;
  object-position: center;
}

.recruit__button {
  padding-bottom: 0;
}
/* =========================
recruit responsive
========================= */

@media only screen and (max-width: 1279px) {
  .recruit {
    padding: 140px 0;
  }

  .recruit__title {
    margin-top: 42px;
  }

  .recruit__content {
    grid-template-columns: 55% minmax(0, 1fr);
    gap: 30px;
    margin-top: 80px;
    padding-right: 5%;
  }

  .recruit__image img {
    height: 500px;
  }
}

@media only screen and (max-width: 899px) {
  .recruit {
    padding: 100px 0 120px;
  }

  .recruit__title {
    margin-top: 34px;
  }

  .recruit__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 70px;
    padding-right: 0;
  }

  .recruit__image {
    width: 92%;
  }

  .recruit__image img {
    height: 480px;
  }
}

@media only screen and (max-width: 767px) {
  .recruit {
    padding: 70px 0 90px;
  }

  .recruit__title {
    margin-top: 28px;
  }

  .recruit__content {
    margin-top: 50px;
  }

  .recruit__image {
    width: calc(100% - 20px);
  }

  .recruit__image img {
    height: 360px;
  }

  .recruit__button .common-line-button {
    width: 280px;
  }
}

@media only screen and (max-width: 499px) {
  .recruit {
    padding: 70px 0;
  }

  .recruit__title {
    margin-top: 20px;
  }

  .recruit__content {
    gap: 8px;
    margin-top: 40px;
  }

  .recruit__image {
    width: calc(100% - 16px);
  }

  .recruit__image img {
    height: 270px;
  }

  .recruit__button {
    width: calc(100% - 16px);
  }

  .recruit__button .common-line-button {
    width: 260px;
    min-height: 48px;
  }

  .recruit__button .common-line-button__text {
    margin-bottom: 10px;
  }
}

@media only screen and (max-width: 399px) {
  .recruit__image img {
    height: 235px;
  }

  .recruit__button .common-line-button {
    width: 240px;
  }
}

/* =========================
footer
========================= */

.footer {
  padding: 60px 4% 14px;
  background-color: var(--bgColor);
}

.footer__inner {
  display: grid;
  grid-template-columns: 25% 15% minmax(0, 1fr);
  align-items: start;
  gap: 40px;
}

.footer__company-name {
  font-size: var(--fz40);
  font-family: var(--font-yugothic);
}

.footer__address {
  font-size: var(--fz20);
  font-family: var(--font-montserrat);
  font-style: normal;
  font-weight: 600;
  margin-top: 10px;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__nav-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-montserrat);
  font-size: var(--fz16);
  font-weight: 600;
  letter-spacing: 1.5px;
}

.footer__nav-link::before {
  display: block;
  width: 4px;
  height: 4px;
  margin-right: 10px;
  background-color: #111111;
  content: "";
}

.footer__nav-link:hover {
  opacity: 0.6;
  transform: translateX(4px);
}

.footer__logo {
  display: flex;
  justify-content: flex-end;
  padding-top: 10px;
}

.footer__logo img {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  object-fit: contain;
}

.footer__copyright {
  margin-top: 70px;
  text-align: center;
  font-family: var(--font-montserrat);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 1px;
}

@media only screen and (max-width: 1279px) {
  .footer {
    padding: 55px 4% 14px;
  }

  .footer__inner {
    grid-template-columns: 33% 18% minmax(0, 1fr);
    gap: 30px;
  }

  .footer__logo img {
    max-width: 320px;
  }

  .footer__copyright {
    margin-top: 60px;
    font-size: 14px;
  }
}

@media only screen and (max-width: 899px) {
  .footer {
    padding: 50px 5% 16px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    row-gap: 48px;
  }

  .footer__logo {
    grid-column: 1 / 3;
    justify-content: center;
    padding-top: 0;
  }

  .footer__logo img {
    max-width: 340px;
  }

  .footer__copyright {
    margin-top: 50px;
    font-size: 13px;
  }
}

@media only screen and (max-width: 767px) {
  .footer {
    padding: 45px 20px 16px;
  }

  .footer__inner {
    display: flex;
    flex-direction: column;
    gap: 36px;
  }

  .footer__address {
    margin-top: 8px;
  }

  .footer__nav {
    width: 100%;
  }

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

  .footer__nav-link {
    width: 100%;
    padding: 14px 10px;
    box-sizing: border-box;
    letter-spacing: 1px;
  }

  .footer__nav-link::before {
    width: 3px;
    height: 3px;
    margin-right: 8px;
  }

  .footer__logo {
    width: 100%;
  }

  .footer__logo img {
    max-width: 300px;
    margin: 0 auto;
  }

  .footer__copyright {
    margin-top: 40px;
    font-size: 11px;
    line-height: 1.6;
    letter-spacing: 0.5px;
  }
}

@media only screen and (max-width: 499px) {
  .footer {
    padding: 40px 16px 14px;
  }

  .footer__inner {
    gap: 32px;
  }

  .footer__address {
    font-size: 13px;
  }

  .footer__nav-link {
    padding: 8px;
  }

  .footer__logo img {
    max-width: 220px;
  }

  .footer__copyright {
    margin-top: 32px;
    font-size: 10px;
  }
}

@media only screen and (max-width: 399px) {
  .footer__logo img {
    max-width: 200px;
  }
}
