/* 2026-11-24 w8  The "four doors" box on the top pages of layer A (index.html, en/index.html).
   (w7: three doors.) Only the rules of this box: the full layers.css (layers B and C) changed the theme's headings and body text.
   Grid: 2 x 2 (A B / C D), one column at 600px and below. Door D uses the teal of layer D (advice/). */
.doors { max-width: 1120px; margin: 60px auto 20px; padding: 0 24px; font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", system-ui, sans-serif; box-sizing: border-box; }
.doors * { font-size: inherit; color: inherit; font-family: inherit; box-sizing: border-box; }
.doors__h { display: block; font-size: 28px !important; font-weight: 800; color: #1D79E3 !important; text-align: center; margin: 0 0 6px; line-height: 1.4; }
.doors__s { font-size: 15px !important; font-weight: 600; text-align: center; margin: 0 0 22px; color: #111 !important; }
.doors__g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 600px) { .doors__g { grid-template-columns: 1fr; } }
.door { display: block; text-decoration: none; border-radius: 16px; padding: 22px 22px 18px; border: 2px solid #ccdcf6; background: #fff; color: #111 !important; font-size: 15px !important; line-height: 1.7; }
.door:hover { border-color: #1D79E3; }
.door b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #1D79E3; color: #fff !important; font-size: 15px !important; margin-right: 8px; }
.door strong { font-size: 19px !important; font-weight: 800; }
.door span { display: block; margin-top: 8px; font-size: 14.5px !important; }
.door.b { background: #1c2529; border-color: #1c2529; color: #fff !important; }
.door.b b { background: #c0281e; }
.door.b span, .door.b strong { color: #fff !important; }
.door.c { background: #020504; border-color: #13492b; color: #e8fff0 !important; }
.door.c b { background: #00873f; }
.door.c span, .door.c strong { color: #ffffff !important; }
.door.d { background: #dcefed; border-color: #0b6b67; color: #0f1513 !important; }
.door.d:hover { border-color: #0d2523; }
.door.d b { background: #0b6b67; }
.door.d span, .door.d strong { color: #0f1513 !important; }
/* the "Information" notice above Topics: keep the red that its inline style asks for (the theme made the link black) */
.c-contact__txt[style] a { color: #ff0000; }
@media (max-width: 767px) {
  .doors { margin: 40px auto 10px; padding: 0 16px; }
  .doors__h { font-size: 23px !important; }
  .door { padding: 18px 18px 14px; }
  .door strong { font-size: 18px !important; }
}
