@charset "utf-8";

/* Latin glyphs use Garamond; Japanese glyphs fall through to Mincho.
 * Keep icon fonts and the WordPress toolbar's own font declarations intact.
 */
body {
  font-family: "EB Garamond", "Zen Old Mincho", "Yu Mincho", "YuMincho",
    "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.025em;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.homeslide .catchcopy {
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.06em;
  max-width: calc(100% - 36px);
}

.boxmenu ul li.pull-left a,
.auxiliary_menu ul li a.button,
.submit input {
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* Card titles must still fit the existing fixed-height cards. */
.imgentry .imgentry_title {
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* Input text stays familiar and legible, including on iOS (16px minimum). */
input, select, textarea {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "Meiryo", sans-serif;
  font-size: max(16px, 1em);
  line-height: 1.6;
  letter-spacing: normal;
}

button, input[type="button"], input[type="submit"], input[type="reset"] {
  font-family: "EB Garamond", "Zen Old Mincho", "Yu Mincho", "YuMincho",
    "Hiragino Mincho ProN", serif;
}

@media (max-width: 640px) {
  h1, h2, h3, h4, h5, h6,
  .homeslide .catchcopy {
    letter-spacing: 0.04em;
  }
}
