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

html,
body {
  height: 100%;
}

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

li {
  list-style: none;
}

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

: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;
}

/*      title      */
.contact_title {
  margin: 12rem 0 10rem;

  overflow: hidden;
}

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

.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;
}

.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;
}

/* ----------     main     ---------- */
main {
  margin-bottom: 12rem;
}

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

.sticky_box,
form {
  width: 45%;
}

.contact_texts {
  line-height: 2rem;

  position: sticky;
  top: 7rem;
  left: 0;
  margin-bottom: 2rem;
}

.contact_texts p {
  font-family: noto-sans, sans-serif;
  text-align: justify;
  font-weight: 300;
}

.download_files {
  margin: 2rem 0;
}

.download_files a {
  border-bottom: solid 1px #333;
}

form span {
  color: var(--accent-color);
  font-size: 0.8rem;
}

.input_section {
  width: 100%;
  margin: 1rem 0 2rem;
  padding: 0.5rem;
  border: solid 1px var(--border-color);
  font-size: 1.5rem;
}

textarea {
  resize: none;
  border-radius: 0;
}

.contact_note {
  font-family: noto-sans, sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  line-height: 1.6rem;
}

.contactbtn_box {
  display: flex;
  justify-content: center;
}

.submit_btn {
  border-radius: 0;
  font-family: source-han-serif-japanese, serif;
  color: #333;
  font-size: 1rem;
  letter-spacing: 0.08rem;
  padding: 1rem 2rem;
  border: none;
  background: var(--secondary-color);
  margin-top: 3rem;
  cursor: pointer;
}

/* ----------     reconfirm     ---------- */

.no_border {
  border: none;
}

.margin_right {
  margin-right: 2rem;
}

.margin_left {
  margin-left: 2rem;
}

/* ----------     sent     ---------- */

.sent_title {
  text-align: center;
  margin-bottom: 5rem;
}

#sent_texts {
  text-align: center;
  line-height: 2rem;
}

#sent_texts p {
  font-family: noto-sans, sans-serif;
  font-weight: 300;
}

#sent_br1,
#sent_br2 {
  display: none;
}

.to_top {
  margin-top: 3rem;
}

/* ----------     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;
}
