#container,
html,
body {
  height: 100%;
  margin: 0;
}

#container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/*header*/
#header {
  display: flex;
  flex-direction: row;
  background-color: #575757;
  align-items: center;
  justify-content: center;
  height: 32px;
}

#wrapper-body-responsive {
  flex: 1;
  background-color: red;
}

#wrapper-header {
  display: flex;
  flex-direction: row;
  background-color: #575757;
  align-items: center;
}

.logo3 {
  width: 120px;
  height: 30px;
}

.logo-im {
  margin-left: 40px;
}

#title {
  flex: 1;
  margin-left: 32px;
  height: 20.57px;
  font-weight: 600;
  font-size: 13px;
  line-height: 20.4px;
  color: white;
}

#wrapper-site {
  flex: 3;
  display: flex;
  flex-direction: row;
  align-items: center;
}

/*body*/
#body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4rem !important;
  font-size: 14px !important;
}

h3 {
  font-size: calc(1.3rem + 0.6vw);
  font-family: "Noto Sans JP", sans-serif;
}

.body-row {
  display: flex;
  flex-direction: row;
  column-gap: 20px;
}

.card {
  width: 222px;
  background: #ffffff;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  height: 37.88px;
}

.name {
  font-weight: 600;
  font-size: 12px;
  line-height: 15px;
  letter-spacing: 0 !important;
  color: #666666;
  margin: 8px;
}

#content {
  margin: 20px 0px;
  color: red;
  font-size: 20px;
  font-weight: 600;
}

/*footer*/
#footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

#line {
  background-color: #f4f4f4;
  height: 3px;
  width: 100%;
}

#footer-row {
  display: flex;
  flex-direction: row;
  column-gap: 40px;
  width: 100%;
  justify-content: center;
  padding: 5px 0 5px 0;
}

#footer-row2 {
  display: flex;
  flex-direction: row;
  align-items: center;
  column-gap: 10px;
  border: 1px solid #cccccc;
  padding: 5px 40px 5px 40px;
}

#gif {
  width: 37px;
  height: 41px;
}

#copy-right {
  background-color: #f5f5f5;
  text-align: center;
  padding: 5px 0 5px 0;
  font-size: 10px;
  margin-top: 5px;
}

.border-color-grey-light {
  border: 1px solid #ddd !important;
}

.w-712 {
  width: 712px;
}

.bg-f4 {
  background-color: #f4f4f4;
}

.rounded-3 {
  border-radius: 0.3rem !important;
}

.text-center {
  text-align: center !important;
}

.mx-auto {
  margin-right: auto !important;
  margin-left: auto !important;
}

.w-50 {
  width: 50% !important;
}

.fw-600 {
  font-weight: 600 !important;
}

.my-2 {
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

.fs-12 {
  font-size: 12px !important;
}

.lh-21 {
  line-height: 21px;
}

.text-start {
  text-align: left !important;
}

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

.mb-2 {
  margin-bottom: 5px;
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 768px) {
  #wrapper-header-responsive {
    flex: 1;
  }

  #title {
    flex: 1.5;
    font-size: 10.5px;
  }

  .logo-am {
    content: url("/imgs/am_logo2.png");
    width: auto !important;
    object-fit: scale-down;
  }

  .logo-cw {
    content: url("/imgs/cw_logo2.png");
    width: auto !important;
    object-fit: scale-down;
  }

  .logo-im {
    content: url("/imgs/itsumoni_logo2.png");
    width: auto !important;
    object-fit: scale-down;
    margin-left: 0px;
  }

  #footer-row {
    background-color: #f4f4f4;
  }

  .logo {
    height: 26px;
  }

  .name {
    font-size: 9px;
  }

  .card {
    width: auto;
  }

  .body-row {
    column-gap: 10px;
  }

  #content {
    font-size: 14px;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (max-width: 992px) {
  #wrapper-header-responsive {
    flex: 1;
  }
}

@media only screen and (min-width: 1080px) {
  #wrapper-header-responsive {
    flex: 1;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  #wrapper-header-responsive {
    flex: 0.65;
  }

  #title {
    font-size: 13px;
  }
}
