/*
Theme Name: Tachibana Kendo Independent
Theme URI: https://tachibana-kenyukai.com/
Author: Tachibana Kenyukai
Description: Elementorに依存しない、たちばな剣友会専用テーマです。
Version: 1.2.2
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: tachibana-kendo
*/

:root {
  --tk-cyan: #1e9cba;
  --tk-cyan-dark: #0b7187;
  --tk-pink: #bd2780;
  --tk-pink-dark: #941653;
  --tk-ink: #17212b;
  --tk-muted: #66717c;
  --tk-paper: #ffffff;
  --tk-soft: #f3f5f6;
  --tk-line: #dce2e6;
  --tk-gold: #d6ae61;
  --tk-shadow: 0 20px 60px rgba(11, 38, 52, 0.14);
  --tk-radius: 0;
  --tk-width: 1260px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  color: var(--tk-ink);
  background: var(--tk-paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
  top: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--tk-cyan-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--tk-pink);
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: -100px;
  left: 16px;
  padding: 10px 16px;
  color: #fff;
  background: var(--tk-ink);
}

.skip-link:focus {
  top: 16px;
}

.site-shell {
  width: min(calc(100% - 40px), var(--tk-width));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 0;
  background: #8ccae7;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
body:not(.home) .site-header {
  background: #8ccae7;
  box-shadow: none;
}

.site-header__inner {
  display: flex;
  min-height: 75px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-header .site-shell {
  width: min(calc(100% - 40px), 1600px);
}

.site-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  margin-left: 10px;
}

.site-logo img {
  width: 260px;
  max-width: 46vw;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.site-nav a {
  position: relative;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
}

.site-nav a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--tk-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--tk-cyan-dark);
  box-shadow: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.site-nav .nav-contact {
  width: 130px;
  min-height: 75px;
  margin-left: -20px;
  padding: 10px 18px;
  border-radius: 0;
  background: var(--tk-cyan);
  font-size: 15px;
}

.nav-contact:hover,
.button:hover {
  color: #fff;
  background: var(--tk-pink);
  box-shadow: none;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: #fff;
  background: transparent;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.hero {
  position: relative;
  min-height: clamp(480px, 43.6vw, 854px);
  overflow: hidden;
  color: #fff;
  background-color: #f3f3f3;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), 1600px);
  margin-inline: auto;
  padding-top: 80px;
  text-align: center;
}

.hero__eyebrow {
  display: none;
}

.hero h1 {
  max-width: none;
  margin: 0;
  color: #ff0099;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.9);
}

.hero__en {
  margin: 4px 0 0;
  color: #ff007e;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.9);
}

.hero__meta {
  display: none;
}

.hero__meta span::before {
  margin-right: 0.6em;
  color: var(--tk-gold);
  content: "◆";
  font-size: 0.64em;
}

.section {
  padding: 104px 0;
}

.section--soft {
  background: var(--tk-soft);
}

.section--cyan {
  color: #fff;
  background: var(--tk-cyan);
}

.section--cyan.section {
  padding-block: 38px;
}

.section--pink {
  color: #fff;
  background: var(--tk-pink);
}

.section--pink.section {
  padding-block: 194px 204px;
}

#information {
  margin-top: 313px;
  position: relative;
}

#information::before,
#information::after {
  content: "";
  position: absolute;
  left: 0;
  top: -313px;
  width: 100%;
  height: 313px;
}

#information::before {
  background: var(--tk-cyan);
  clip-path: polygon(0 20%, 58% 100%, 0 55%);
}

#information::after {
  background: var(--tk-pink);
  clip-path: polygon(100% 0, 100% 100%, 28% 100%);
}

#information > .site-shell {
  position: relative;
  z-index: 1;
}

.section-heading {
  display: block;
  margin-bottom: 60px;
  text-align: center;
}

.section-heading__kicker {
  display: block;
  margin: 5px 0 0;
  color: #000;
  font-size: 48px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.section--cyan .section-heading__kicker,
.section--pink .section-heading__kicker {
  color: #fff;
}

.section-heading h2 {
  margin: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
}

.section-lead {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.14rem);
}

.intro-grid {
  display: block;
  max-width: 998px;
}

.intro-grid h2 {
  margin: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.intro-grid__en {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-family: inherit;
  font-size: 48px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.intro-grid__copy {
  margin-top: 28px;
}

.intro-grid__copy p {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
}

.post-grid {
  display: grid;
  max-width: 1240px;
  margin-inline: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px;
}

.post-card {
  overflow: hidden;
  min-height: 352px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  transition: none;
}

.post-card:hover {
  box-shadow: none;
  transform: none;
}

.post-card > a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.post-card__media {
  position: relative;
  overflow: hidden;
  margin: 10px 15px 0;
  aspect-ratio: 3 / 2;
  background: #dce5e8;
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.post-card:hover .post-card__media img {
  transform: scale(1.045);
}

.post-card__body {
  padding: 8px 30px 22px;
}

.post-card time {
  color: var(--tk-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.post-card h3 {
  margin: 5px 0 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
}

.section-action {
  margin-top: 35px;
  text-align: center;
}

#blog.section {
  padding-block: 120px 77px;
}

#blog .section-heading {
  margin-bottom: 40px;
}

#blog .button,
.section-action .button {
  min-height: 34px;
  padding: 7px 25px;
  border-radius: 0;
  background: var(--tk-pink);
  font-size: 12px;
}

.info-grid {
  display: grid;
  max-width: 1013px;
  margin-inline: auto;
  grid-template-columns: 1fr;
  gap: 439px;
}

.info-card {
  overflow: hidden;
  border-radius: 0;
  color: var(--tk-ink);
  background: #fff;
  box-shadow: none;
}

.info-card__image {
  overflow: hidden;
}

.info-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-card__body {
  padding: 40px 86px;
  text-align: center;
}

.info-card h3 {
  margin: 0 0 8px;
  color: var(--tk-pink);
  font-family: inherit;
  font-size: 28px;
  font-weight: 600;
}

.info-card h4 {
  margin: 0 0 16px;
  font-size: 16px;
  letter-spacing: 0;
}

.info-card p,
.info-card ul {
  margin: 0;
}

.info-card ul {
  padding: 0;
  list-style: none;
}

.info-card__note {
  margin-top: 18px !important;
  padding-top: 0;
  border-top: 0;
  color: var(--tk-ink);
  font-size: 14px;
}

.info-card:first-child {
  min-height: 1136px;
}

.info-card:first-child .info-card__image {
  width: 841px;
  height: 395px;
  margin-inline: auto;
}

.info-card:nth-child(2) {
  min-height: 543px;
}

.info-card:nth-child(2) .info-card__image {
  width: calc(100% - 5px);
  height: 162px;
  margin-inline: auto;
}

.lecturer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 69px 20px;
}

#lecturer.section {
  padding-block: 160px 181px;
  background: #ddd;
}

#lecturer .section-heading {
  margin-bottom: 80px;
}

#lecturer .section-heading h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

#lecturer .section-heading__kicker {
  margin-top: 18px;
}

.lecturer-card {
  overflow: hidden;
  min-height: 697px;
  padding: 30px 10px 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.lecturer-card img {
  width: 100%;
  height: auto;
  object-fit: fill;
}

.lecturer-card__body {
  padding: 26px 20px 20px;
}

.lecturer-card--empty {
  display: block;
}

.lecturer-card__role {
  color: var(--tk-pink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.lecturer-card h3 {
  margin: 4px 0 2px;
  font-size: 1.24rem;
}

.lecturer-card p {
  margin: 0;
  color: var(--tk-muted);
  font-size: 0.85rem;
}

.calendar-wrap {
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.calendar-wrap iframe {
  display: block;
  width: 100%;
  min-height: 600px;
  border: 0;
}

#schedule.section {
  padding-block: 130px 131px;
}

#schedule .section-heading {
  margin-bottom: 16px;
}

.section-heading__kicker--ja {
  font-size: 48px;
  line-height: 1.38;
  text-transform: none;
}

.contact-section {
  position: relative;
  padding-block: 120px;
  color: #000;
  background-color: #fff;
  background-position: center;
  background-size: cover;
}

.contact-section::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(255, 255, 255, 0.28);
}

.contact-section .site-shell {
  position: relative;
}

.contact-layout {
  display: block;
  max-width: 800px;
  min-height: 959px;
  margin-inline: auto;
  padding: 50px 50px 60px;
  background: rgba(255, 255, 255, 0.4);
}

.contact-copy {
  margin-bottom: 45px;
  text-align: center;
}

.contact-copy h2 {
  margin: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
}

.contact-copy p {
  margin: 20px 0 0;
  color: #000;
  font-size: 14px;
}

.contact-form {
  position: relative;
  padding: 0;
  border-radius: 0;
  color: var(--tk-ink);
  background: transparent;
  box-shadow: none;
}

.contact-form > p {
  margin: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px 10px;
}

.form-field {
  grid-column: span 3;
  margin: 0;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field--postal {
  grid-column: span 2;
}

.form-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 800;
}

.form-field label .required {
  color: var(--tk-pink);
}

.form-field label > .wpcf7-form-control-wrap {
  display: block;
}

.form-field input,
.form-field textarea {
  width: 100%;
  height: 40px;
  padding: 7px 10px;
  border: 1px solid #cbd3d8;
  border-radius: 3px;
  outline: none;
  background: #fff;
  transition: border 160ms ease, box-shadow 160ms ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--tk-cyan);
  box-shadow: 0 0 0 3px rgba(22, 158, 183, 0.14);
}

.form-field textarea {
  min-height: 96px;
  resize: vertical;
}

.contact-form .wpcf7-submit {
  width: 100%;
  min-height: 58px;
  margin-top: 20px;
  border-radius: 3px;
  background: var(--tk-pink);
}

.contact-form .wpcf7-spinner {
  position: absolute;
  right: 16px;
  bottom: 17px;
  margin: 0;
}

.contact-form .wpcf7-not-valid-tip {
  margin-top: 4px;
  color: #b91c1c;
  font-size: 0.78rem;
}

.contact-form .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 10px 12px;
}

.contact-form .wpcf7-response-output:empty {
  display: none;
}

.form-message {
  margin: 0 0 20px;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 700;
}

.form-message--success {
  color: #14532d;
  background: #dcfce7;
}

.form-message--error {
  color: #7f1d1d;
  background: #fee2e2;
}

.links-grid {
  display: grid;
  max-width: 1260px;
  margin-inline: auto;
  grid-template-columns: 1fr;
  gap: 0;
}

.external-card {
  display: grid;
  min-height: 0;
  align-items: center;
  min-height: 64px;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--tk-line);
  border-radius: 0;
  color: inherit;
  background: #fff;
  text-decoration: none;
  transition: border 160ms ease, transform 160ms ease;
}

.external-card:hover {
  border-color: transparent;
  color: inherit;
  transform: none;
}

.external-card strong {
  line-height: 1.5;
}

.external-card span {
  color: var(--tk-muted);
  font-size: 0.7rem;
  word-break: break-all;
}

.links-section.section {
  padding: 10px 0 0;
  background: #fff;
}

.links-section .section-heading {
  height: 57px;
  margin: 0;
  text-align: left;
}

.links-section .section-heading h2 {
  font-size: 19px;
  line-height: 57px;
}

.page-hero {
  padding: 154px 0 70px;
  color: #fff;
  background:
    linear-gradient(130deg, rgba(11, 113, 135, 0.94), rgba(10, 25, 34, 0.96)),
    #0b7187;
}

.page-hero__kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--tk-gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.page-hero h1 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.25;
}

.archive-main,
.article-main,
.standard-page {
  min-height: 60vh;
  padding: 80px 0 110px;
}

.article-wrap {
  width: min(calc(100% - 40px), 820px);
  margin-inline: auto;
}

.article-header {
  margin-bottom: 34px;
}

.article-header time {
  color: var(--tk-cyan-dark);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.article-header h1 {
  margin: 10px 0 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.45;
}

.article-featured {
  margin: 0 0 44px;
  overflow: hidden;
  border-radius: var(--tk-radius);
}

.article-featured img {
  width: 100%;
  max-height: 580px;
  object-fit: cover;
}

.article-content {
  font-size: 1.02rem;
}

.article-content > * {
  max-width: 100%;
}

.article-content p {
  margin: 0 0 1.6em;
}

.article-content img {
  height: auto;
  margin: 10px auto 24px;
  border-radius: 8px;
}

.article-content .alignnone,
.article-content .aligncenter {
  display: block;
}

.post-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--tk-line);
}

.post-navigation a {
  display: block;
  padding: 16px;
  border-radius: 10px;
  background: var(--tk-soft);
  text-decoration: none;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination .page-numbers {
  display: inline-grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--tk-soft);
  text-decoration: none;
}

.pagination .current {
  color: #fff;
  background: var(--tk-pink);
}

.empty-state {
  padding: 54px;
  border-radius: var(--tk-radius);
  background: var(--tk-soft);
  text-align: center;
}

.site-footer {
  padding: 170px 0 0;
  color: rgba(255, 255, 255, 0.78);
  background: #bd2780;
}

.site-footer__top {
  display: block;
  padding-bottom: 148px;
  text-align: center;
}

.site-footer__logo {
  width: 260px;
  max-width: 70vw;
  margin: 0 auto 22px;
}

.site-footer h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 0.86rem;
  letter-spacing: 0.16em;
}

.site-footer p {
  margin: 0;
}

.site-footer__nav {
  display: none;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 24px;
}

.site-footer__nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  text-decoration: none;
}

.site-footer__bottom {
  padding: 20px;
  border-top: 0;
  color: var(--tk-ink);
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
  font-size: 0.72rem;
  text-align: center;
}

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    display: grid;
    padding: 28px 30px 34px;
    background: rgba(10, 25, 34, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  body.admin-bar .site-nav {
    top: 108px;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition: none;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lecturer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .links-grid {
    grid-template-columns: 1fr;
  }

  #information {
    margin-top: 160px;
  }

  #information::before,
  #information::after {
    top: -160px;
    height: 160px;
  }

  .section--pink.section {
    padding-block: 100px;
  }

  .info-grid {
    gap: 80px;
  }

  .info-card:first-child,
  .info-card:nth-child(2) {
    min-height: 0;
  }

  .info-card:first-child .info-card__image,
  .info-card:nth-child(2) .info-card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
  }

  .info-card__body {
    padding: 34px;
  }

  .lecturer-card {
    min-height: 0;
  }

  .lecturer-card--empty {
    display: none;
  }

  .contact-section {
    padding-block: 80px;
  }

  .contact-layout {
    padding: 40px;
  }
}

@media (max-width: 720px) {
  body.admin-bar .site-header {
    top: 0;
  }

  body.admin-bar .site-nav {
    top: 122px;
  }

  .site-nav .nav-contact {
    width: auto;
    min-height: 46px;
    margin-left: 0;
  }

  .site-shell,
  .article-wrap {
    width: min(calc(100% - 28px), var(--tk-width));
  }

  .site-header__inner {
    min-height: 70px;
  }

  .site-logo img {
    width: 205px;
  }

  .site-logo {
    margin-left: 0;
  }

  .hero {
    min-height: 520px;
    background-position: center center;
    background-size: cover;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 30%);
  }

  .hero__content {
    width: min(calc(100% - 28px), var(--tk-width));
    padding-top: 50px;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 34px;
  }

  .section-heading__kicker,
  .intro-grid__en {
    font-size: 36px;
  }

  .section-heading .button {
    margin-top: 20px;
  }

  .intro-grid,
  .info-grid,
  .contact-layout,
  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .lecturer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .lecturer-card__body {
    padding: 14px;
  }

  .lecturer-card {
    padding: 10px 6px 0;
  }

  .calendar-wrap iframe {
    min-height: 560px;
  }

  .form-grid,
  .post-navigation {
    grid-template-columns: 1fr;
  }

  .form-field,
  .form-field--postal,
  .form-field--full {
    grid-column: 1;
  }

  .contact-layout {
    min-height: 0;
    padding: 30px 20px 40px;
  }

  br.pc {
    display: none;
  }

  .links-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__nav {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .external-card {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
