body.walagata-home {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: Tahoma, Verdana, Arial, sans-serif;
}

body.walagata-home *,
body.walagata-home *::before,
body.walagata-home *::after {
  box-sizing: border-box;
}

body.walagata-home > table {
  width: calc(100% - 32px);
  max-width: 960px;
  margin-right: auto;
  margin-left: auto;
}

body.walagata-home > table:first-of-type {
  margin-top: 12px;
}

body.walagata-home > table:first-of-type tr:first-child td[colspan] {
  display: none;
}

body.walagata-home > table:first-of-type td:first-child img {
  max-width: 100%;
  height: auto;
  display: block;
}

body.walagata-home .walagata-nav {
  min-height: 44px;
}

body.walagata-home .walagata-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 11px 12px;
  line-height: 1.2;
  white-space: nowrap;
}

body.walagata-home .walagata-nav a + a::before {
  top: 10px;
  bottom: 10px;
}

body.walagata-home .walagata-nav a[aria-current="page"] {
  color: #ffcc66;
  box-shadow: inset 0 -3px #ffcc66;
}

body.walagata-home > table:last-of-type td {
  padding: 12px 16px;
  line-height: 1.5;
}

body.walagata-home > table:last-of-type font {
  white-space: normal;
}

body.walagata-home .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.walagata-home .home-notice {
  width: calc(100% - 32px);
  max-width: 960px;
  margin: 12px auto 0;
  padding: 14px 16px;
  border: 1px solid #21446a;
  background: #fff8ee;
  overflow-wrap: anywhere;
}

body.walagata-home .home-notice h2 {
  margin: 0 0 8px;
  color: #21446a;
  font-size: 18px;
  line-height: 1.3;
}

body.walagata-home .home-notice p,
body.walagata-home .home-notice-body {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.45;
}

body.walagata-home .home-notice p:last-child,
body.walagata-home .home-notice-body:last-child {
  margin-bottom: 0;
}

body.walagata-home .home-notice a {
  color: #9c3e00;
}

body.walagata-home .home-main {
  width: calc(100% - 32px);
  max-width: 960px;
  margin: 16px auto 8px;
}

body.walagata-home .home-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 220px;
  gap: 16px;
  align-items: start;
}

body.walagata-home .home-login,
body.walagata-home .home-features,
body.walagata-home .home-plans {
  min-width: 0;
  border: 1px solid #21446a;
  background: #fff;
}

body.walagata-home .home-features {
  border: 0;
  background: #fff;
}

body.walagata-home .home-login h2,
body.walagata-home .home-plans h2 {
  margin: 0;
  padding: 10px 12px;
  background: #21446a;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

body.walagata-home .home-login form,
body.walagata-home .home-login .home-recover,
body.walagata-home .home-jump {
  padding: 0 12px;
}

body.walagata-home .home-login form {
  padding-top: 12px;
}

body.walagata-home .home-login form p {
  margin: 0 0 12px;
}

body.walagata-home .home-login label {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 700;
}

body.walagata-home .home-login input[type="text"],
body.walagata-home .home-login input[type="password"] {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #21446a;
  font-size: 16px;
  line-height: 1.2;
  font-family: inherit;
}

body.walagata-home .home-login .remember {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-bottom: 0;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

body.walagata-home .home-login input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 0;
}

body.walagata-home .home-login button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  background: #21446a;
  color: #fff;
  font: 700 16px/1.2 Tahoma, Verdana, Arial, sans-serif;
  cursor: pointer;
}

body.walagata-home .home-login button:hover,
body.walagata-home .home-login button:focus-visible {
  background: #193957;
}

body.walagata-home .home-recover {
  margin: 0 0 12px;
  text-align: center;
}

body.walagata-home .home-recover a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: #0000ff;
  font-size: 13px;
}

body.walagata-home .home-jump {
  display: none;
  gap: 8px;
  margin: 0 12px 12px;
  padding: 0;
}

body.walagata-home .home-jump a {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #21446a;
  background: #fff;
  color: #21446a;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

body.walagata-home .home-jump a:hover,
body.walagata-home .home-jump a:focus-visible {
  background: #21446a;
  color: #ffcc66;
}

body.walagata-home .home-features article {
  display: flow-root;
}

body.walagata-home .home-features article,
body.walagata-home .home-features .home-more {
  padding: 0;
}

body.walagata-home .home-features article:last-of-type,
body.walagata-home .home-features .home-more {
  padding-bottom: 14px;
}

body.walagata-home .home-features h3 {
  margin: 0;
  color: #21446a;
  font-size: 16px;
  line-height: 1.3;
}

body.walagata-home .home-features p {
  margin: 0 0 8px;
  padding: 8px;
  background: #edeef0;
  font-size: 14px;
  line-height: 1.5;
}

body.walagata-home .feature-shot {
  float: right;
  max-width: 42%;
  height: auto;
  margin: 6px 8px 8px 12px;
}

body.walagata-home .feature-banner {
  display: block;
  width: 340px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

body.walagata-home .home-features .home-more {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #21446a;
  font-size: 16px;
  font-weight: 700;
}

body.walagata-home .plan-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 12px;
}

/* Original plan artwork joins seamlessly to the repeating side borders. */
body.walagata-home .plan-card {
  min-width: 0;
  width: 100%;
  max-width: 186px;
  margin: 0 auto;
  align-self: start;
  background: url("/images/bak5.jpg") center top / 100% 1px repeat-y;
}

body.walagata-home .plan-heading {
  display: block;
  line-height: 0;
}

body.walagata-home .plan-card img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border: 0;
}

body.walagata-home .plan-card ul {
  margin: 0;
  padding: 4px 11% 8px 16%;
  background: url("/images/13.jpg") center top / 100% auto no-repeat;
  color: #000;
  font-size: 13px;
  line-height: 1.45;
  list-style: disc outside;
  text-align: left;
}

body.walagata-home .plan-card li {
  padding: 0;
}

body.walagata-home .plan-card li + li {
  margin-top: 3px;
}

body.walagata-home .join-now {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 44px;
  padding: 0;
  text-decoration: none;
}

body.walagata-home .join-now:hover img,
body.walagata-home .join-now:focus-visible img {
  filter: brightness(0.94);
}

body.walagata-home :focus-visible {
  outline: 2px solid #9c3e00;
  outline-offset: 2px;
}

body.walagata-home .walagata-nav a:focus-visible {
  outline-color: #ffcc66;
  outline-offset: -2px;
}

@media (max-width: 760px) {
  body.walagata-home .home-layout {
    grid-template-columns: 1fr;
  }

  body.walagata-home .home-jump {
    display: flex;
  }

  body.walagata-home .plan-list {
    grid-template-columns: 1fr 1fr;
  }

  body.walagata-home .plan-card {
    max-width: 260px;
  }

  body.walagata-home .home-features p,
  body.walagata-home .plan-card ul {
    font-size: 16px;
    line-height: 1.5;
  }
}

@media (max-width: 520px) {
  body.walagata-home .plan-list {
    grid-template-columns: 1fr;
  }

  body.walagata-home .feature-shot {
    float: none;
    display: block;
    max-width: 100%;
    margin: 0 0 10px;
  }

  body.walagata-home .walagata-nav a {
    min-width: 0;
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media (max-width: 360px) {
  body.walagata-home > table,
  body.walagata-home .home-main,
  body.walagata-home .home-notice {
    width: calc(100% - 24px);
  }
}
