* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: source-han-serif-japanese, serif;
  letter-spacing: 0.08rem;
  background: #ffffff;
  color: #333;
}

main {
  max-width: 2000px;
  margin: auto;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: #333;
}

img,
video {
  object-fit: cover;
}

:root {
  --accent-color: #c4291c;
  --secondary-color: #faf7f2;
  --border-color: #afacac;
}

.container {
  width: 80%;
  max-width: 1100px;
  margin: auto;
}

.link_hover {
  transition: color 0.1s ease-in-out;
}

.link_hover:hover {
  color: rgba(51, 51, 51, 60%);
}

.btn {
  font-family: noto-sans, sans-serif;
  letter-spacing: 0.02rem;
  font-weight: bold;
  display: flex;
  justify-content: center;
}

.btn_dot {
  position: relative;
  padding-left: 1rem;
}

.btn_dot:before {
  content: "";
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--accent-color);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  transition: all 0.3s ease-in-out;
}

.btn_dot:hover:before {
  transform: translateY(-50%), scale(1);
  border: solid 1px #333;
  background: #ffffff;
}

section {
  margin-bottom: 12rem;
}

/*     title     */
#about_title {
  margin: 12rem 0 10rem;
}

.jpns_title {
  color: var(--accent-color);
  font-size: 1.25em;
  letter-spacing: 0.2rem;
  margin: 0 0 1rem 0.5rem;
}

.eng_title {
  font-family: minion-pro, serif;
  font-weight: normal;
  font-size: 7.5rem;
  line-height: 7.5rem;
}

.about_subtitle {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 4rem;

  overflow: hidden;
}

.subtitle_wrapper {
  transform: matrix(1, 0, 0, 1, 0, 100);
}

.about_subtitle:before {
  content: "";
  width: 3px;
  height: 100%;
  background: var(--accent-color);
  position: absolute;
  top: 0;
  left: 0;
}

.about_subtitle h3 {
  font-weight: normal;
  font-size: 1.25em;
  letter-spacing: 0.2rem;
  margin-bottom: 1rem;
}

.about_subtitle h4 {
  font-family: minion-pro, serif;
  font-weight: normal;
  font-size: 3.5em;
  letter-spacing: 0.35rem;
  line-height: 3.5rem;
}

.fadeup {
  animation: fadeup 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes fadeup {
  0% {
    transform: matrix(1, 0, 0, 1, 0, 100);
  }
  100% {
    transform: matrix(1, 0, 0, 1, 0, 0);
  }
}

/* ----------     sticky nav     ---------- */
header {
  background: #ffffff;
  height: 6.25rem;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

#header_container {
  width: 100%;
  height: 100%;
  max-width: 1300px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

#logo {
  height: 70%;
  position: relative;
}

#logo img {
  height: 100%;
}

nav {
  height: 6.25rem;
}

nav > ul {
  display: flex;
}

nav > ul > li {
  margin-left: 3.5rem;
}

.nl_box {
  font-size: 1.25rem;
  line-height: 6.25rem;
}

.nl_box:hover {
  cursor: pointer;
}

#wu_nl,
#ini_nl {
  position: relative;
}

.nav_dot:after {
  content: "";
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--accent-color);
  position: absolute;
  bottom: 25%;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease-in-out;
}

#wu_nl:hover .nav_dot:after,
#ini_nl:hover .nav_dot:after {
  transform: translateX(-50%), scale(1);
  border: solid 1px #333333;
  background: #ffffff;
}

.nav_dropdown {
  word-break: keep-all;
  font-family: noto-sans, sans-serif;
  font-weight: 600;
  height: 0;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 10px 25px 0 rgba(51, 51, 51, 0.5);
  text-align: center;
  position: absolute;
  top: 6.25rem;
  left: 50%;
  transform: translateX(-50%);
  transition: height 0.3s ease-in-out;
}

#wu_nl:hover .wu_nd {
  height: 16rem;
  transition: height 0.3s ease-in-out 0.2s;
}

#ini_nl:hover .ini_nd {
  height: 10rem;
  transition: height 0.3s ease-in-out 0.2s;
}

.wu_nd ul {
  margin: 2rem;
}

.ini_nd ul {
  margin: 2.5rem 3.5rem;
}

.nav_dropdown li {
  margin: 1.8rem 0rem;
}

.mrg_left {
  margin-left: 0.6rem;
}

.dd_hover {
  transition: all 0.2s ease-in-out;
}

.dd_hover:hover {
  color: var(--accent-color);
}

.nv_lecture {
  color: rgba(51, 51, 51, 0.5);
}

#hamburger_menu {
  display: none;
}

/* ----------     director     ---------- */
.director_container {
  position: relative;
}

#director_contents {
  display: flex;
  /* justify-content: space-between; */
}

#director_texts {
  width: 50%;
}

#signature_imgbox {
  margin-bottom: 2.5rem;
  height: 5rem;
}

#signature_imgbox img {
  height: 100%;
}

#director_texts p {
  font-family: noto-sans, sans-serif;
  text-align: justify;
  font-weight: 300;
  letter-spacing: 0.15rem;
  line-height: 2rem;
}

#director_imgbox {
  width: 35%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;

  overflow: hidden;
}

#director_imgbox img {
  object-position: 30% 0%;
}

.zoomout_img {
  width: 100%;
  height: 100%;

  opacity: 0;
  transform: scale(1.5);
}

.zoomout {
  animation: zoomout 0.8s cubic-bezier(0.58, 0.21, 0.91, 0.68) forwards;
}

@keyframes zoomout {
  from {
    opacity: 0;
    transform: scale(1.5);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ----------     philosophy     ---------- */
#philosophy {
  margin-bottom: 30rem;
}

#philosophy_imgbox {
  width: 100%;
  height: 40rem;
  margin: auto;
  overflow: hidden;
}

#philosophy img {
  object-position: 100% 30%;
}

.philosophy_container {
  position: relative;
}

#philosophy_texts {
  letter-spacing: 0.1rem;

  width: 100%;
  max-width: 1100px;
  background: #ffffff;
  padding: 6rem 12rem;

  position: absolute;
  top: -8rem;
  left: 0;
}

#philosophy_texts li {
  font-size: 1.25rem;
  line-height: 2rem;
  margin-bottom: 1rem;
  padding-left: 5rem;
  text-indent: -3.2rem;
}

/* ----------     name     ---------- */

.cn_container {
  display: flex;
  justify-content: space-between;
}

#cn_imgbox {
  width: 55%;
  overflow: hidden;
}

#cn_texts {
  width: 40%;
}

#cn_texts p {
  font-family: noto-sans, sans-serif;
  text-align: justify;
  font-weight: 300;
  letter-spacing: 0.15rem;
  line-height: 2rem;
}

#cn_imgbox video {
  width: 100%;
  height: 100%;
  object-position: top;

  opacity: 0;
  transform: scale(1.5);
}

/* ----------     info     ---------- */

#info_table {
  width: 100%;
  text-align: left;
  font-size: 1.5rem;
  border-spacing: 0;
}

th[colspan] {
  font-size: 2rem;
}

#info_table th,
#info_table td {
  border-bottom: solid 1px var(--border-color);
}

#info_table th {
  width: 23%;
  font-weight: normal;
  letter-spacing: 0.2rem;
  padding: 1.25rem 0 1.25rem 1rem;
}

#info_table td {
  padding: 1.25rem 1rem 1.25rem 2rem;
}

.underline {
  border-bottom: solid 1px var(--border-color);
  padding-bottom: 0.2rem;
}

#google_link {
  display: inline-block;
  margin-left: 1rem;
}

#google_link:hover .fa-location-dot {
  color: var(--accent-color);
}

.fa-location-dot {
  transition: color 0.1s ease-in-out;
}

@keyframes slider {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

#img_slider {
  margin-top: 4rem;
}

#slider_container {
  display: flex;
  overflow: hidden;
}

#slider_container ul {
  display: flex;
  animation: slider 80s infinite linear 0.5s both;
}

#slider_container li {
  width: calc(100vw / 5);
  margin-right: 2rem;
}

#slider_container img {
  width: 100%;
}

/* ----------    contact     ---------- */

#contact {
  background: #ffffff;
  padding: 6rem 0;
  margin: 0;
  border-top: solid 1px var(--border-color);
}

.contact_container {
  display: flex;
  align-items: stretch;
}

.contact_el {
  width: 100%;
}

.contact_intro {
  padding: 1rem 6rem 1rem 0;
}

#contact_br {
  display: none;
}

#contact_title {
  padding-bottom: 4rem;
}

#contact_title > .jpns_title {
  font-size: 0.9em;
  margin-bottom: 1rem;
}

#contact_title > .eng_title {
  font-size: 3em;
  font-weight: normal;
  line-height: 1em;
}

#contact_texts {
  font-family: noto-sans, sans-serif;
  font-weight: 300;
  line-height: 2rem;
}

.contact_info {
  text-align: center;
  position: relative;
}

.contact_info:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: var(--border-color);
}

.ci_container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact_btn,
#phone_number {
  padding-top: 3rem;
}

.contact_icon p {
  padding-top: 1.5rem;
}

/* ----------     footer     ---------- */
#footer {
  background: #333333;
  color: #ffffff;
  padding: 4rem 0;
}

.footer_container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

#footer_info p {
  line-height: 2rem;
}

#brains {
  font-weight: bold;
  letter-spacing: 0.15rem;
  padding-bottom: 1.8rem;
}

.sns_icons ul {
  display: flex;
  justify-content: space-around;
}

.sns_icons i {
  color: #ffffff;
  transition: color 0.3s ease-in-out;
}

.sns_icons p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  padding-top: 1rem;
}

.sns_icons .yt_icon:hover {
  color: #da1725;
}

.insta_icon:hover {
  color: #cf2e92;
}

.fb_icon:hover {
  color: #1877f2;
}
