@charset "utf-8";

/** ***************************************************************************
 * 共用
 * ************************************************************************* */

#main {
  padding-bottom: 0 !important;
}

#visual {
  display: none !important;
}

/** ***************************************************************************
 * ビジュアル
 * ************************************************************************* */

#page-visual {
  height: 300px;
  padding-top: 60px;
  padding-bottom: 40px;
  color: #fff;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

@media screen and (min-width:768px) {

  #page-visual {
    height: 720px;
    padding-top: 90px;
    padding-bottom: 80px;
  }

}

/**
 * 内容
 */

/* タイトル */

#page-visual div.content .title {
  margin-bottom: 0.625em;
  letter-spacing: 1px;
  line-height: 1;
  font-size: 2.125em;
  font-weight: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#page-visual div.content .title::after {
  content: attr(data-en);
  margin-top: 15px;
  line-height: 1;
  font-family: Montserrat, sans-serif;
  font-size: 0.5em;
  font-weight: 300;
}

@media screen and (min-width:768px) {

  #page-visual div.content .title {
    font-size: 3.5em;
  }

  #page-visual div.content .title::after {
    margin-top: 30px;
    font-size: 0.375em;
  }

}

/* テキスト */

#page-visual div.content div.text {
  line-height: 1.4;
  font-weight: 400;
  text-align: center;
}

@media screen and (min-width:768px) {

  #page-visual div.content div.text {
    font-size: 1.429em;
  }

}

/* 言語 */

#page-visual div.content div.language {
  margin-top: 1em;
  line-height: 1.4;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5em;
}

#page-visual div.content div.language a {
  padding: 0.5em;
  text-decoration: none;
}

@media screen and (min-width:768px) {

  #page-visual div.content div.text {
    font-size: 1.429em;
  }

}

/** ***************************************************************************
 * ビジュアル共用
 * ************************************************************************* */

#main div.visual {
  height: 50vw;
  color: #fff;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

@media screen and (min-width:768px) {

  #main div.visual {
    height: 720px;
  }

}

/** ***************************************************************************
 * コンテンツ共用
 * ************************************************************************* */

#main .philosophy-content {
  margin-top: 0 !important;
  padding: 60px 0;
}

@media screen and (min-width:768px) {

  #main .philosophy-content {
    padding: 150px 0;
  }

  #main .philosophy-content div.body {
    max-width: 1140px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

}

/**
 * タイトル
 */

#main .philosophy-content .section-title {
  margin-bottom: 15px;
  line-height: 1;
  font-family: Montserrat, sans-serif;
  font-size: 2em;
}

#main .philosophy-content .section-title small {
  font-size: 0.5em;
}

@media screen and (min-width:768px) {

  #main .philosophy-content .section-title {
    margin-bottom: unset;
    align-self: flex-start;
    flex-shrink: 0;
  }

  #main .philosophy-content .section-title small {
    margin-top: 10px;
    display: block;
  }

}

/**
 * 内容
 */

#main .philosophy-content div.content {
  line-height: 1.8;
}

@media screen and (min-width:768px) {

  #main .philosophy-content div.content {
    max-width: 80%;
    line-height: 2;
    font-size: 1.125em;
    flex-grow: 1;
  }

}

/** ***************************************************************************
 * Value
 * ************************************************************************* */

#value dl.value {
  margin-top: 0;
}

#value dl.value div.item {
  padding: 1.5em 0 1.5em 2em;
  counter-increment: number;
  border-bottom: 1px solid #d1c6b8;
  position: relative;
}

#value dl.value div.item::before {
  content: counter(number);
  font-size: 1.125em;
  position: absolute;
  z-index: 1;
  top: 1.375em;
  left: 0.5em;
}

#value dl.value dt {
  font-size: 1.125em;
}

@media screen and (min-width:768px) {

  #value dl.value div.item {
    padding: 1.5em 0 1.5em 2.5em;
  }

  #value dl.value div.item::before {
    font-size: 1.125em;
    top: 1.375em;
    left: 0.25em;
  }

}
