@charset "utf-8";

/* common style */

body {
  color: #000;
  font-family: "ヒラギノ角ゴシック", "MS Pゴシック", sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p, ul {
  margin: 0;
}

.wrapper {
  max-width: 80%;
  margin: 0 auto;
}

section {
  text-align: center;
}

a:hover {
  opacity: .5;
}

.mt-30 {
  margin-top: 30px;
}
.mt-50 {
  margin-top: 50px;
}
.mt-80 {
  margin-top: 80px;
}
.mt-100 {
  margin-top: 100px;
}

.d-flex {
  display: flex;
}

.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.color-white {
  color: #fff;
}


nav > ul {
  display: flex;
}

nav li:hover {
  cursor: pointer;
  opacity: .5;
}

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

.with-logo {
  display: inline-block;
  vertical-align: middle;
  color: #222;
}

.headline-vertical {
  writing-mode: vertical-rl;
}

@media (max-width: 520px) {
  .wrapper {
    max-width: 90%;
  }
  h2 {
    font-size: 16px;
  }
  h3 {
    font-size: 14px;
  }
  p {
    font-size: 11px;
  }
  label {
    font-size: 12px;
  }
}

/* header style */

header {
  display: block;
  position: fixed;
  width: 12.2vw;
  height: 2.6vw;
  min-width: 151px;
  min-height: 30px;
  z-index: 9;
  top:3.375vw;
  left:7.5%;
  background-color: white;
  display: flex;
  padding: max(0.26%,2.238px);
}

header .header-logo {
  display: flex;
  background-color: gray;
  height: 2.6vw;
  min-height: 25px;
  position: relative;
}

header .img-logo {
  position: absolute;
  top: 0;
  left: 0.417vw;
  width: 2.08vw;
  height: 2.08vw;
  min-width: 25px;
  min-height: 25px;
}

header .text-logo {
  position: absolute;
  top: 0.15vw;
  left: 0.4vw;
  width: auto;
  height: 2.08vw;
  min-width: 84px;
  min-height: 27px;
}

.hamburger {
  width: 2.08vw;
  height: 2.08vw;
  min-width: 25px;
  min-height: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hamburger:hover {
  cursor: pointer;
}

.hamburger .bar{
  display: block;
  width: 1.25vw;
  height: 0.315vw;
  min-width: 18px;
  min-height: 4.53px;
  background-color: black;
  margin-bottom: max(0.104vw,1.5px);
  transition: 0.5s;
}

.hamburger .hamburger-top {
  margin-top: 0.104vw;
}

.menu {
  position: fixed;
  top: 0;
  left: -70%;
  width: 40%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  color: #fff;
  background-color: rgba(55, 63, 102, 0.7);
  transition: .5s;
  z-index: 5;
}

.menu.open {
  left: 0;
}

.menu-list {
  width: 100%;
  height: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu-list:first-child {
  margin-top: 20vh;
}

.hamburger.open {
  position: relative;
}

.bar.open {
  margin: 0;
}

.hamburger-top.open {
  position: absolute;
  transform: rotate(45deg);
}

.hamburger-middle.open {
  display: none;
}

.hamburger-bottom.open {
  position: absolute;
  transform: rotate(-45deg);
}


@media (max-width: 960px) {

}

/* lead style */

#lead {
  background-image: url("main-visual.png");
  background-position: center;
  background-blend-mode: lighten;
  background-size: cover;
  width: 100%;
  height: 53vw;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lead-box h2 {
  position: absolute;
  top: 20%;
  left: 20%;
  text-align: left;
  font-size: 6.3vw;
  color: white;
  font-weight: 700;
  line-height: 1.6;
  z-index: 4;
  transform: translate(0,15vh);
}

#lead #lead-img_logo{
position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* class for lead animation */
header {
  transform: translate(-50vw,0);
  transition: 0.5s;
}

.header-on {
  transform: translate(0,0);
}

#lead {
  background-color:rgba(255,255,255,1);
  transition: 2s;
}

#lead #lead-img_logo {
  opacity: 0;
}

#lead .lead-box h2 {
  opacity: 0;
}

#lead .lead-box .h2-on {
  opacity: 1;
  transform: translate(0,0);
  transition: 2s;
}

/* ロゴアニメーション */
.logo-svg {
  position: absolute;
  top: 0;
  left: 0;
  height: auto;
  width: 153vw;
}

path {
  fill: none; /* 1,塗りの色 */
  stroke: #000; /* 2,線の色 */
  stroke-dasharray: 1000; /* 3,破線の間隔 2000*/
  stroke-dashoffset: 2000; /* 4,破線の開始位置 2000*/
  stroke-width: 1; /* 5,線の太さ */
  animation: handwriting 4s ease-in forwards; /* 6,名前 時間 タイミング 終了後の状態 */
}

/* --- アニメーション --- */
@keyframes handwriting {
  0% {
      fill: transparent; /* 1,塗りの色 */
      stroke-dashoffset: 2000; /* 4,破線の開始位置 2000 */
  }
  10% {
      fill: transparent; /* 1,塗りの色 */
  }
  50% {
    stroke-dashoffset: 0; /* 4,破線の開始位置 */
    fill: black;
  }
  70% {
    fill: rgba(0, 0, 0, 0.3);
    stroke: rgba(0, 0, 0, 0.3); 
  }
  100% {
      fill: rgba(0, 0, 0, 0.3); /* 1,塗りの色 */
      stroke: rgba(0, 0, 0, 0.3); /* 2,線の色 */
  }
}






@media (max-width: 520px) {
  header {
    top: 0;
    left: 0;
    width: 100vw;
    height: 10vw;
  }
  
  header .header-logo {
    height: 10vw;
  }
    
  header .img-logo {
    top: -1px;
    left: 20%;
    width: 8vw;
    height: 8vw;
  }
  
  header .text-logo {
    top: max(0.15vw,2px);
    width: auto;
    height: 8vw;
  }
  
  .hamburger {
    width: 8vw;
    height: 8vw;
    margin-left: 4px;
  }

  .hamburger .hamburger-top {
    margin-top: max(0.104vw,4px);
  }

  .hamburger,
  .header-logo {
    top: 0.8vw;
  }

  .header-logo {
    left: 24vw;
  }

  .hamburger .bar{
    width: 4.807vw;
    height: 1.212vw;
    margin-bottom: 0.34vw;
  }

  .bar.open {
    margin: 0;
  }
  
  #lead {
    height: 40vh;
    background-size: cover;
  }

  #leac .lead-box {
    transform: rotate(180deg);
  }

  #lead .lead-box h2 {
    position: static;
    text-align: center;
    font-size: 6.5vw;
    position: relative;
    top: 0;
    left: 0;
  }

  #lead img {
    width: 165vw;
    height: 96vw;
  }

  header {
    transform: translate(0,-10vw);
  }

  .logo-svg {
    top: 17vh;
    transform: translate(0,-31%);
    height: 150%;
  }

}

/* about style */

#about {
  display: flex;
  position: relative;
}
#about::before {
  content: "";
  width: 41vw;
  height: 46vw;
  display: block;
  background-image: url("./triangular-staircase.png");
  background-size: cover;
  position: absolute;
  left: -10vw;
  bottom: -10vw;
  z-index: 2;
}

.about-left-box {
  width: 27%;
  height: 56.09375vw;
  background-color: #243D66;
  position: relative;
}
.about-left-box::after {
  content: "";
  width: 3.75vw;
  height: 100%;
  display: block;
  background-color: #fff;
  position: absolute;
  top: 0;
  right: -3.75vw;
  z-index: 2;
  animation: changeColorAbout 5000ms ease-out forwards infinite;
}

.about-section-head {
  font-size: 9.3vw;
  font-weight: bold;
  line-height: 1;
  transform: rotate(-90deg);
  position: absolute;
  top: 33%;
  left: 21%;
  margin: 0;
  z-index: 3;
}

.about-right-box {
  width: 73%;
  height: 56.09375vw;
  background-color: #9AD3E7;
  padding: 14.375vw 17vw 20.573vw 10.104vw;
  position: relative;
}
.about-right-box::before {
  content: "";
  width: 1.875vw;
  height: 100%;
  display: block;
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 4.84375vw;
  z-index: 2;
  animation: changeColorAbout 5000ms ease-out 0.5s forwards infinite;
}
.about-right-box::after {
  content: "";
  width: 0.9375vw;
  height: 100%;
  display: block;
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 7.8125vw;
  z-index: 2;
  animation: changeColorAbout 5000ms ease-out 1s forwards infinite;
}

.about-lead {
  display: inline-block;
  margin-right: auto;
}
.about-head {
  font-size: 2.083vw;
  font-weight: 600;
}
.about-sub-head {
  font-size: 1.5625vw;
  margin-top: 0.2604vw;
  font-weight: 600;
}
.about-text {
  font-size: 1.5625vw;
  margin-top: 7.1875vw;
  line-height: 1.7;
  font-weight: 400;
  position: relative;
  z-index: 4;
}

@media (max-width: 500px) {
  .about-left-box, .about-right-box {
    height: auto;
  }
  .about-left-box {
    width: 15%;
  }
  .about-right-box {
    width: 85%;
    padding-right: 5vw;
  }
  .about-section-head {
    left: -37%;
  }
}

/* service style */

#service {
  margin-top: -20vw;
  padding: 33.02vw 0 19.0625vw;
  background-image: url("./service-cut-bg.png");
  background-size: cover;
  position: relative;
  z-index: 3;
}

.service-section-head {
  font-size: 7.2917vw;
  line-height: 1;
  color: #fff;
  position: relative;
}

.service-title-border {
  content: "";
  width: 100%;
  height: 0.278vw;
  display: block;
  background-color: #fff;
  position: absolute;
  left: 0;
  z-index: 2;
}
.service-title-border:nth-child(1) {
  bottom: -0.3vw;
}
.service-title-border:nth-child(2) {
  bottom: -1.13vw;
}
.service-title-border:nth-child(3) {
  bottom: -2vw;
}

.service-content {
  width: 59.375vw;
  height: 39.583vw;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}
.service-content.business-support {
  background-image: url("./service-item-1.png");
  background-size: cover;
  margin-top: 6.146vw;
}
.service-content.ses {
  background-image: url("./service-item-2.png");
  background-size: cover;
  margin-top: 7.1875vw;
}

.service-content-stripe {
  content: "";
  display: block;
  position: absolute;
  background-color: #9AD3E7;
  z-index: 2;
}
.service-content-stripe.upper {
  height: 46.458vw;
  top: -46.458vw;
}
.service-content-stripe.upper.left {
  width: 0.9375vw;
  right: 7.8125vw;
}
.service-content-stripe.upper.center {
  width: 1.875vw;
  right: 4.84375vw;
}
.service-content-stripe.upper.right {
  width: 3.75vw;
  right: 0;
}
.service-content-stripe.under {
  height: 66.25vw;
  bottom: -66.25vw;
}
.service-content-stripe.under.left {
  width: 3.75vw;
  left: 0;
}
.service-content-stripe.under.center {
  width: 1.875vw;
  left: 4.84375vw;
}
.service-content-stripe.under.right {
  width: 0.9375vw;
  left: 7.8125vw;
}

.text-box {
  position: absolute;
  width: 41.161vw;
  height: 25.647vw;
  background-color: #fff;
  padding: 6vw 1.8vw 6.302vw 1.883vw;
  z-index: 3;
  left: 50%;
  transform: translate(-50%, 0);
}
.text-box .title {
  font-size: 2.083vw;
  font-weight: 600;
}
.text-box .description {
  font-size: 1.5625vw;
  line-height: 1.7;
  margin-top: 3.2vw;
}
.business-support .text-box {
  top: 7.322vw;
}
.ses .text-box {
  bottom: 7.322vw;
}

.filter-box {
  position: absolute;
  width: 52.76vw;
  height: 32.969vw;
  background-color: #fff;
  opacity: 0.58;
}
.business-support .filter-box {
  top: 0;
  left: 0;
}
.ses .filter-box {
  bottom: 0;
  right: 0;
}

@media (max-width: 640px) {
  #service {
    margin-top: -22vw;
  }
  .service-content {
    width: 65.3125vw;
    height: 43.5413vw;
  }
  .service-content-stripe.under {
    height: 69.5625vw;
    bottom: -69.5625vw;
  }
  .text-box {
    width: 45.2771vw;
    height: 28.2117;
  }
  .business-support .text-box {
    top: 10.6vw;
  }
  .ses .text-box {
    bottom: 10.6vw;
  }
  .filter-box {
    width: 58.036vw;
    height: 36.2659vw;
  }
}
@media (max-width: 575px) {
  .service-content {
    width: 71.25vw;
    height: 47.4996vw;
  }
  .service-content-stripe.under {
    height: 74vw;
    bottom: -74vw;
  }
  .text-box {
    width: 49.3932vw;
    height: 30.776vw;
    padding-top: 7vw;
  }
  .business-support .text-box {
    top: 8.7vw;
  }
  .ses .text-box {
    bottom: 8.7vw;
  }
  .filter-box {
    width: 63.312vw;
    height: 39.5628vw;
  }
}
@media (max-width: 480px) {
  #service {
    margin-top: -24vw;
  }
  .service-content {
    width: 83.125vw;
    height: 55.4162vw;
  }
  .service-content-stripe.under {
    height: 82vw;
    bottom: -82vw;
  }
  .text-box {
    width: 57.6254vw;
    height: 35.9058vw;
    padding-top: 8vw;
  }
  .business-support .text-box {
    top: 10.3vw;
  }
  .ses .text-box {
    bottom: 10.3vw;
  }
  .filter-box {
    width: 73.864vw;
    height: 46.1566vw;
  }
}
@media (max-width: 415px) {
  #service {
    margin-top: -26vw;
  }
  .service-content {
    width: 89.0625vw;
    height: 59.3745vw;
  }
  .service-content-stripe.under {
    height: 86vw;
    bottom: -86vw;
  }
  .text-box {
    width: 61.7415vw;
    height: 38.4705vw;
    padding-top: 8.5vw;
  }
  .business-support .text-box {
    top: 11vw;
  }
  .ses .text-box {
    bottom: 11vw;
  }
  .filter-box {
    width: 79.14vw;
    height: 49.4535vw;
  }
}
@media (max-width: 365px) {
  #service {
    margin-top: -28vw;
  }
  .service-content {
    width: 95vw;
    height: 63.3328vw;
  }
  .service-content-stripe.under {
    height: 90vw;
    bottom: -90vw;
  }
  .text-box {
    width: 65.8576vw;
    height: 41.0352vw;
  }
  .business-support .text-box {
    top: 11.7vw;
  }
  .ses .text-box {
    bottom: 11.7vw;
  }
  .filter-box {
    width: 84.416vw;
    height: 52.7504vw;
  }
}

/* company style */

#company {
  display: flex;
  position: relative;
  margin-top: -20vw;
}
#company::before {
  content: "";
  width: 30vw;
  height: 35vw;
  display: block;
  background-image: url("./triangular-staircase-2.png");
  background-size: cover;
  position: absolute;
  top: -1vw;
  right: -2.6vw;
  z-index: 2;
}
#company::after {
  content: "";
  width: 30vw;
  height: 35vw;
  display: block;
  background-image: url("./triangular-staircase-3.png");
  background-size: cover;
  position: absolute;
  left: 0;
  bottom: 40vw;
  z-index: 1;
}

.company-content-stripe {
  content: "";
  display: block;
  position: absolute;
}
.company-content-stripe.upper {
  background-color: #fff;
  height: 78vw;
  top: 0;
  z-index: 1;
}
.company-content-stripe.upper.left {
  width: 0.9375vw;
  left: 70.938vw;
}
.company-content-stripe.upper.center {
  width: 1.875vw;
  left: 72.969vw;
}
.company-content-stripe.upper.right {
  width: 3.75vw;
  left: 75.938vw;
}
.company-content-stripe.under {
  background-color: #9AD3E7;
  height: 78vw;
  top: 30vw;
  z-index: 3;
}
.company-content-stripe.under.left {
  width: 0.9375vw;
  left: 15.9375vw;
}
.company-content-stripe.under.center {
  width: 1.875vw;
  left: 17.9685vw;
}
.company-content-stripe.under.right {
  width: 3.75vw;
  left: 20.9375vw;
}

.company-left-box {
  width: 27%;
  height: 56.09375vw;
  position: relative;
}
.company-left-box::before {
  content: "";
  width: 100vw;
  height: 100%;
  display: block;
  position: absolute;
  background-image: url("./company-bg.png");
  background-size: cover;
  top: 62vw;
  z-index: 2;
}
.company-left-box::after {
  content: "";
  height: 100%;
  display: block;
  background-color: #fff;
  position: absolute;
  top: 0;
  right: -3.75vw;
  z-index: 2;
}

.company-section-head {
  font-size: 9.3vw;
  font-weight: bold;
  line-height: 1;
  color: #fff;
  transform: rotate(-90deg);
  position: absolute;
  top: 33%;
  left: 0%;
  margin: 0;
  margin-top: 33.958vw;
  z-index: 3;
}

.company-right-box {
  position: relative;
  width: 100%;
  background-color: #9AD3E7;
  padding: 29vw 18.646vw 57vw 46.302vw;
}
.company-right-box::before {
  content: "";
  width: 1.875vw;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 4.84375vw;
  z-index: 2;
}
.company-right-box::after {
  content: "";
  width: 0.9375vw;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 7.8125vw;
  z-index: 2;
}

.company-summary {
  display: inline-block;
  position: relative;
  width: 35.052vw;
  color: #000;
  background-color: #FFFFFF;
  opacity: 0.5;
  z-index: 1;
}

dl {
  display: table;
  width: 100%;
  height: auto;
  padding: 1.406vw 1.667vw 1.823vw 1.406vw;
  margin: 0;
}

dt {
  float: left;
  width: 11.458vw;
  font-size: 1.563vw;
  font-weight: 400;
  text-align: left;
  line-height: 2.344em;
  z-index: 2;
}

dd {
  width: 100%;
  font-size: 1.563vw;
  font-weight: 400;
  line-height: 1.5em;
  text-align: left;
  line-height: 2.344em;
  z-index: 2;
}

.map {
  position: absolute;
  top: 60vw;
  left: 46.302vw;
  width: 35.052vw;
  height: 35.313vw;
  border: none;
  z-index: 2;
}

@media (max-width: 1500px) {
  .company-right-box {
    padding-bottom: 56vw;
  }
}
@media (max-width: 700px) {
  .company-right-box {
    padding-bottom: 55vw;
  }
}
@media (max-width: 650px) {
  .company-left-box {
    width: 15%;
  }
  .company-section-head {
    left: -5vw;
  }
  .company-right-box {
    padding-left: 35vw;
  }
  .company-summary {
    width: 50vw;
  }
  .map {
    width: 50vw;
    left: 35vw;
  }
}
@media (max-width: 440px) {
  .company-section-head {
    left: -12vw;
  }
  .company-right-box {
    padding-left: 30vw;
  }
  .company-summary {
    width: 60vw;
  }
  .map {
    width: 60vw;
    left: 30vw;
  }
}
@media (max-width: 350px) {
  .company-right-box {
    padding-bottom: 52vw;
  }
  .map {
    top: 64vw;
  }
}
@media (max-width: 300px) {
  .company-right-box {
    padding-bottom: 50vw;
  }
}

/* contact style */

#contact {
  position: relative;
  background-image: url("lead.jpg");
  background-attachment: fixed;
  background-color: rgba(255,255,255,1);
  background-blend-mode: lighten;
  background-size: cover;
}

#contact::before {
  content: "";
  width: 30vw;
  height: 35vw;
  display: block;
  background-image: url("./triangular-staircase-2.png");
  background-size: cover;
  position: absolute;
  top: -15vw;
  right: -2.6vw;
  z-index: 1;
}

.contact-content-stripe {
  content: "";
  display: block;
  position: absolute;
  background-color: #9AD3E7;
  z-index: 0;
}
.contact-content-stripe.upper {
  height: 100%;
}
.contact-content-stripe.upper.left {
  width: 0.9375vw;
  left: 72.292vw;
}
.contact-content-stripe.upper.center {
  width: 1.875vw;
  left: 74.323vw;
}
.contact-content-stripe.upper.right {
  width: 3.75vw;
  left: 77.292vw;
}

.contact-wrapper {
  background-color: #fff;
  padding: 26.204vw 20.3vw 0 20.3vw;
}

.triangle {
  position: absolute;
  top: -1px;
  border-top: 21.5vw solid #9AD3E7;
  border-right: 100vw solid transparent;
  z-index: 0;
}

#contact h2 {
  display: inline-block;
  font-size: 3vw;
  border-bottom: 0.3vw solid #9AD3E7;
  margin-bottom: 4vw;
}

#contact .input-field {
  display: flex;
  justify-content: space-between;
}

.form1 {
  flex-basis: 50%;
}

.form2 {
  flex-basis: 37%;
  z-index: 1;
  position: relative;
}

.input-set {
  display: flex;
}

.input-decoration {
  position: relative;
}

.deco-bar {
  position: absolute;
  border-bottom: 1px solid #444;
  width: 2.8vw;
  height: 2.8vw;
  transform-origin: left bottom;
  transform: rotate(-45deg);
}

.deco-bar.deco-middle {
  left: 0.4866vw;
}

.deco-bar.deco-right {
  left: 1vw;
}

.img-contact-textarea {
  position: absolute;
  top: 5vw;
  left: -2.5vw;
  width: 100%;
  height: 80%;
  z-index: -1;
  border-radius: 15px;
  background-image: url("contact-textarea-bg.png");
}

.contact-submit {
  padding-top: 4vw;
  padding-bottom: 7.207vw;
}

.contact-submit button {
  vertical-align: middle;
}

.contact-submit button span {
  font-weight: 900;
  font-size: 1vw;
  margin-left: 1vw;
}

input:not([type='submit'] ) {
	box-sizing: border-box;
  width: 22vw;
  height: 2.8vw;
	transition: 0.3s;
	letter-spacing: 1px;
	border: none;
	border-bottom: 1px solid #444;
	background: transparent;
}

button[type="submit"] {
  color: #fff;
  background-color: #9AD3E7;
  border: none;
  border-radius: 20px;
  font-size: 1vw;
  padding: 0.4vw 3vw;
}

button[type="submit"]:hover {
  cursor: pointer;
}

textarea {
  transform: translate(0,5.5vw);
	box-sizing: border-box;
	width: 100%;
  height: 80%;
	padding: 0.3em;
	transition: 0.3s;
	border: 1px solid #444;
	border-radius: 15px;
	outline: none;
  z-index: 1;
}

input::placeholder, textarea::placeholder {
  color: #666;
}

input:focus {
	outline: none;
}

@media (max-width: 820px) {
  #contact .input-field {
    flex-direction: column;
  }

  #contact input:not([type='submit'] ) {
    width: 80%;
    z-index: 2;
  }

  #contact .input-set {
    margin: 2vw 0;
    z-index: 2;
  }

  .img-contact-textarea {
    left: 0;
  }

  textarea {
    transform: translate(2.5vw,5vw);
    width: 85%;
  }

}
@media (max-width: 520px) {
#contact h2 {
  font-size: 4.5vw;
  margin-bottom: 10vw;
}

  #contact input:not([type='submit'] ) {
    width: 100%;
  }

  #contact .text-left {
    margin-top: 0;
  }

  #contact .form2 {
    margin-top: 10vw;
  }

  #contact .form2 textarea {
    transform: translate(2.5vw,2.5vw);
    width: 100%;
  }

  button[type="submit"] {
    font-size: 2.5vw;
  }

}

/* footer style */

footer {
  position: relative;
  background-image: url(footer-bg.png);
  background-position: center;
  background-color: gray;
  height: 14.8vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.footer-inner {
  text-align: center;
  background-color: black;
  width: 100%;
  height: 62.5%;
  padding-bottom: .5vw;
  position: relative;
}

footer .adjust {
  height: 17%;
}

footer .img-logo {
  display: block;
  height: 66%;
  margin: auto;
}

footer small {
  display: block;
  height: 17%;
  color: white;
  font-size: 1.4vh;
  text-align: center;
}

.privacy-link {
  color: #fff;
  position: absolute;
  right: 10vw;
  bottom: 30%;
}

@media (max-width: 770px) {
  .privacy-link {
    right: 5vw;
    bottom: 20%;
    font-size: 2vw;
  }
}
@media (max-width: 400px) {
  .privacy-link {
    right: 50%;
    transform: translateX(50%);
    bottom: -27%;
    color: #000;
  }
}
@media (max-width: 520px) {
  footer .img-logo {
    height: 50%;
  }
}

/* modal style */

.modal {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #fff;
  margin: 20% auto;
  width: 60%;
  max-width: 1000px;
  box-shadow: 0 5px 8px 0 rgba(0,0,0,0.2),0 7px 20px 0 rgba(0,0,0,0.17);
  animation-name: modalopen;
  animation-duration: 1s;
}

.modal-header {
  padding: 3% 25px;
  display: flex;
  align-items: baseline;
}
#successModal .modal-header {
  background-color: #CDE5FE;
}
#failureModal .modal-header {
  background-color: #F8D7D9;
}

.modal-header > p {
  font-weight: 700;
  text-align: center;
  flex-grow: 3;
}

.close-modal {
  font-size: 2.0rem;
  flex-grow: 0;
}

.close-modal:hover {
  cursor: pointer;
}

.modal-body {
  padding-bottom: 30px;
  padding: 10px 30px 35px 30px;
  color: black;
}
.modal-body > .error-text {
  margin-top: 5%;
}

.post-box:not(:last-child) {
  border-bottom: dashed 1px #84AAE8;
  padding-bottom: 20px;
}

.post-title {
  color: #666;
  margin-top: 20px;
  border-left: solid 3px #84AAE8;
  padding-left: 7px;
}

.post-info {
  color: #444;
  margin-top: 10px;
}

@media (min-width: 960px) {
  .modal-header > p {
    font-size: 22px;
  }
  .post-title {
    font-size: 14px;
  }
}
@media (max-width: 520px) {
  .post-box:not(:last-child) {
    padding-bottom: 10px;
  }
  .close-modal {
    font-size: 1rem;
  }
}

/* loading style */

.loading {
  display: none;
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0px;
  left: 0px;
  background: rgba(0, 0, 0, 0.3);
  z-index: 9999;
}
.animation {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  color: #fff;
  -webkit-animation: lodanimetion 1500ms ease-out forwards infinite;
  animation: lodanimetion 1500ms ease-out forwards infinite;
}

/* keyframes */

@keyframes modalopen {
  from {opacity: 0}
  to {opacity: 1}
}

@keyframes lodanimetion {
  from,to {
    opacity: 0;
  }
  50% {
    opacity: .5;
  }
}

@keyframes changeColorAbout {
  0% { background: #9AD3E7; }
  80% { background: #fff; }
  100% { background: #9AD3E7; }
}


/* privacy page */

.privacy-wrapper {
  padding: 4vw 15vw 6vw;
}

.privacy h1 {
  font-size: 1.8vw;
  margin-top: 3vw;
}
.privacy h2 {
  font-size: 1.4vw;
  margin-top: 3vw;
}
.privacy p, .privacy li {
  font-size: 1.1vw;
}
.privacy p, ol {
  margin-top: 1vw;
}
.privacy li {
  margin-top: .5vw;
}

.privacy-head {
  position:  relative;
  height: 5vw;
  max-height: 50px;
}
.privacy .top-link {
  position: absolute;
  left: 35%;
}
.privacy-head .img-logo {
  position: absolute;
  top: 0;
  left: 0.417vw;
  height: 5vw;
  min-width: 25px;
  min-height: 25px;
  max-height: 50px
}
.privacy-head .text-logo {
  position: absolute;
  top: 0.15vw;
  left: 0.4vw;
  width: auto;
  height: 5vw;
  min-width: 84px;
  min-height: 27px;
  max-height: 50px
}