:root {
  --tsukasa-blue: #063e98;
  --tsukasa-blue-dark: #00275f;
  --tsukasa-navy: #001e4d;
  --tsukasa-yellow: #ffc400;
  --tsukasa-text: #111827;
  --tsukasa-muted: #5b6573;
  --tsukasa-border: #e2e7ee;
  --tsukasa-shadow: 0 9px 28px rgba(0, 31, 75, 0.10);
}

html {
  scroll-behavior: smooth;
}

.tsukasa-homepage-active #header,
.tsukasa-homepage-active .l-header,
.tsukasa-homepage-active #footer,
.tsukasa-homepage-active .l-footer,
.tsukasa-homepage-active .p-breadcrumb,
.tsukasa-homepage-active .c-pageTitle,
.tsukasa-homepage-active .l-topTitleArea,
.tsukasa-homepage-active #main_visual,
.tsukasa-homepage-active .p-mainVisual,
.tsukasa-homepage-active .l-mainVisual,
.tsukasa-homepage-active .post_content > .wp-block-spacer:first-child,
.tsukasa-homepage-active .p-articleHead,
.tsukasa-homepage-active .p-articleFoot {
  display: none !important;
}

.tsukasa-homepage-active,
.tsukasa-homepage-active #body_wrap,
.tsukasa-homepage-active #content,
.tsukasa-homepage-active .l-content,
.tsukasa-homepage-active .l-mainContent,
.tsukasa-homepage-active .l-mainContent__inner,
.tsukasa-homepage-active .post_content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tsukasa-homepage-active .l-container {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.tsukasa-homepage-active .wp-block-shortcode {
  margin: 0 !important;
}

/*
 * 既存ブロックの公開画面での差し替えはPHPのthe_contentフィルターで行います。
 * ここで .post_content > * を非表示にすると、SWELL／GutenbergのHTML構造により
 * ショートコードの出力本体まで消えるため、子要素へのdisplay:noneは使用しません。
 */
.tsukasa-homepage-active .post_content > .tsukasa-site,
.tsukasa-homepage-active .post_content > .wp-block-shortcode,
.tsukasa-homepage-active .wp-block-shortcode > .tsukasa-site {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

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

.tsukasa-site {
  width: 100%;
  overflow: clip;
  color: var(--tsukasa-text);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.tsukasa-site img {
  display: block;
  max-width: 100%;
}

.tsukasa-site a {
  color: inherit;
  text-decoration: none;
}

.tsukasa-site svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tsukasa-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 99999;
  transform: translateY(-150%);
  padding: 10px 16px;
  border-radius: 4px;
  background: #fff;
  color: var(--tsukasa-blue);
  font-weight: 700;
  box-shadow: var(--tsukasa-shadow);
}

.tsukasa-skip-link:focus {
  transform: translateY(0);
}

/* Header */
.tsukasa-header {
  position: relative;
  z-index: 100;
  height: 72px;
  background: #fff;
  border-bottom: 1px solid #edf0f4;
}

.tsukasa-header__inner {
  width: min(100%, 1536px);
  height: 72px;
  margin: 0 auto;
  padding: 0 22px 0 32px;
  display: grid;
  grid-template-columns: 285px minmax(500px, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.tsukasa-logo {
  width: 245px;
  line-height: 1;
}

.tsukasa-logo img {
  width: 245px;
  height: 56px;
  object-fit: contain;
  object-position: left center;
}

.tsukasa-nav {
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 2px;
}

.tsukasa-nav a {
  min-width: 80px;
  padding: 18px 10px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #111827;
  transition: background-color .2s ease, color .2s ease;
}

.tsukasa-nav a:hover,
.tsukasa-nav a:focus-visible {
  color: var(--tsukasa-blue);
  background: #f6f9ff;
}

.tsukasa-nav strong {
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
}

.tsukasa-nav small {
  margin-top: 4px;
  color: var(--tsukasa-blue);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .05em;
}

.tsukasa-header-contact {
  height: 100%;
  display: flex;
  align-items: center;
}

.tsukasa-header-phone {
  min-width: 215px;
  height: 100%;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--tsukasa-blue);
}

.tsukasa-header-phone__icon {
  font-size: 25px;
}

.tsukasa-header-phone strong {
  display: block;
  font-size: 23px;
  line-height: 1.05;
  letter-spacing: .02em;
  font-family: Arial, sans-serif;
}

.tsukasa-header-phone small {
  display: block;
  margin-top: 5px;
  color: #222;
  font-size: 9px;
  text-align: center;
  white-space: nowrap;
}

.tsukasa-header-mail,
.tsukasa-header-form {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.tsukasa-header-mail {
  width: 125px;
  gap: 7px;
  background: var(--tsukasa-blue);
  color: #fff !important;
}

.tsukasa-header-mail svg {
  font-size: 18px;
}

.tsukasa-header-form {
  width: 145px;
  padding: 0 12px;
  background: var(--tsukasa-yellow);
  color: #513d00 !important;
}

.tsukasa-header-mail:hover,
.tsukasa-header-mail:focus-visible,
.tsukasa-header-form:hover,
.tsukasa-header-form:focus-visible {
  filter: brightness(.94);
}

.tsukasa-menu-button {
  display: none;
}

/* Hero */
.tsukasa-hero {
  width: 100%;
  background: #082b52;
}

.tsukasa-slider {
  position: relative;
  width: min(100%, 1536px);
  aspect-ratio: 1536 / 378;
  min-height: 330px;
  max-height: 520px;
  margin: 0 auto;
  overflow: hidden;
  background: #082b52;
}

.tsukasa-slider__track,
.tsukasa-slide {
  position: absolute;
  inset: 0;
}

.tsukasa-slide {
  opacity: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.015);
  transition: opacity 1s ease, transform 6.5s ease;
}

.tsukasa-slide.is-active {
  opacity: 1;
  transform: scale(1.04);
}

.tsukasa-slider__dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 13px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.tsukasa-slider__dots button {
  width: 7px;
  height: 7px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.65);
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(0,0,0,.18);
}

.tsukasa-slider__dots button.is-active {
  background: var(--tsukasa-yellow);
  transform: scale(1.25);
}

/* Shared headings */
.tsukasa-heading {
  min-height: 49px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.tsukasa-heading h2 {
  margin: 0;
  color: #003d91;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .02em;
}

.tsukasa-heading span {
  color: #345582;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}

.tsukasa-heading--accent {
  position: relative;
  padding-left: 20px;
}

.tsukasa-heading--accent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 6px;
  height: 36px;
  background: var(--tsukasa-yellow);
  transform: skewX(-23deg);
}

/* Main two columns */
.tsukasa-main-grid {
  width: min(calc(100% - 70px), 1466px);
  margin: 12px auto 0;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 16px;
}

.tsukasa-section {
  min-width: 0;
}

.tsukasa-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.tsukasa-service-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--tsukasa-border);
  background: #fff;
  box-shadow: 0 3px 12px rgba(0, 31, 75, 0.05);
  transition: transform .25s ease, box-shadow .25s ease;
}

.tsukasa-service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--tsukasa-shadow);
}

.tsukasa-service-card > img {
  width: 100%;
  aspect-ratio: 1.3 / 1;
  object-fit: cover;
}

.tsukasa-service-card__body {
  min-height: 114px;
  padding: 10px 10px 9px;
  text-align: center;
}

.tsukasa-service-card h3 {
  margin: 0 0 7px;
  color: #003d91;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 800;
}

.tsukasa-service-card p {
  min-height: 43px;
  margin: 0;
  color: #303642;
  font-size: 9px;
  line-height: 1.8;
}

.tsukasa-service-card a {
  margin-top: 7px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #003d91;
  font-size: 10px;
  font-weight: 700;
}

.tsukasa-service-card a svg {
  font-size: 13px;
}

.tsukasa-reason-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  padding: 3px 3px 0;
}

.tsukasa-reason-card {
  text-align: center;
}

.tsukasa-reason-card__icon {
  width: min(105px, 100%);
  aspect-ratio: 1;
  margin: 0 auto 11px;
  display: grid;
  place-items: center;
  border: 1px solid #e8ebef;
  border-radius: 50%;
  background: #fff;
  color: var(--tsukasa-blue);
  box-shadow: 0 7px 19px rgba(0, 31, 75, .10);
}

.tsukasa-reason-card__icon svg {
  width: 64%;
  height: 64%;
  stroke-width: 2.2;
}

.tsukasa-reason-card__icon svg path,
.tsukasa-reason-card__icon svg circle {
  vector-effect: non-scaling-stroke;
}

.tsukasa-reason-card h3 {
  margin: 0 0 12px;
  color: #003d91;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 800;
}

.tsukasa-reason-card p {
  margin: 0;
  color: #252b35;
  font-size: 9px;
  line-height: 1.85;
}

/* Recruit and contact */
.tsukasa-bottom-grid {
  width: min(calc(100% - 70px), 1466px);
  margin: 20px auto 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tsukasa-recruit {
  min-height: 155px;
  display: grid;
  grid-template-columns: 41% 59%;
  overflow: hidden;
  border-radius: 3px;
  background: linear-gradient(135deg, #064da7, #002f7d);
  box-shadow: 0 6px 18px rgba(0, 31, 75, .10);
}

.tsukasa-recruit > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tsukasa-recruit__content {
  position: relative;
  padding: 16px 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255,255,255,.07) 25%, transparent 25%) 0 0/160px 160px,
    linear-gradient(135deg, #064da7, #002f7d);
}

.tsukasa-heading--white {
  min-height: auto;
  gap: 14px;
}

.tsukasa-heading--white h2,
.tsukasa-heading--white span {
  color: #fff;
}

.tsukasa-heading--white h2 {
  font-size: 24px;
}

.tsukasa-recruit__content p {
  margin: 9px 0 11px;
  font-size: 12px;
  line-height: 1.8;
}

.tsukasa-recruit__content > a {
  min-width: 130px;
  height: 29px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(255,255,255,.75);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  transition: background-color .2s ease, color .2s ease;
}

.tsukasa-recruit__content > a:hover,
.tsukasa-recruit__content > a:focus-visible {
  background: #fff;
  color: var(--tsukasa-blue);
}

.tsukasa-contact {
  overflow: hidden;
  border: 1px solid #dfe5ed;
  border-radius: 3px;
  background: #fff;
  box-shadow: var(--tsukasa-shadow);
}

.tsukasa-contact__bar {
  height: 21px;
  background: var(--tsukasa-blue);
}

.tsukasa-contact__inner {
  min-height: 133px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.tsukasa-contact-box {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
  padding: 0 16px 0 5px;
}

.tsukasa-contact-box--mail {
  padding-left: 24px;
  border-left: 1px solid #dfe5ed;
}

.tsukasa-contact-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tsukasa-blue);
  color: #fff;
}

.tsukasa-contact-icon svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.8;
}

.tsukasa-contact-box h2 {
  margin: 0 0 4px;
  color: #003d91;
  font-size: 14px;
  font-weight: 800;
}

.tsukasa-contact-phone {
  display: block;
  color: var(--tsukasa-blue) !important;
  font-family: Arial, sans-serif;
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: .02em;
}

.tsukasa-contact-box p {
  margin: 4px 0 0;
  color: #303642;
  font-size: 11px;
}

.tsukasa-contact-button {
  width: 100%;
  max-width: 265px;
  min-height: 37px;
  margin-top: 8px;
  padding: 7px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  background: var(--tsukasa-yellow);
  color: #513d00 !important;
  font-size: 12px;
  font-weight: 800;
}

.tsukasa-contact-button:hover,
.tsukasa-contact-button:focus-visible {
  filter: brightness(.94);
}

/* Footer */
.tsukasa-footer {
  margin-top: 7px;
  background: linear-gradient(90deg, #001d4b, #003c8c);
  color: #fff;
}

.tsukasa-footer__inner {
  position: relative;
  width: min(calc(100% - 70px), 1400px);
  min-height: 75px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(450px, 1fr) auto 46px;
  align-items: center;
  gap: 26px;
}

.tsukasa-footer-company {
  display: flex;
  align-items: center;
  gap: 28px;
}

.tsukasa-footer-company > img {
  width: 205px;
  height: 52px;
  object-fit: contain;
  border-radius: 2px;
  background: #fff;
}

.tsukasa-footer-company address,
.tsukasa-footer-company p {
  margin: 0;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  letter-spacing: .02em;
}

.tsukasa-footer-company p {
  margin-top: 4px;
}

.tsukasa-footer-nav {
  display: flex;
  align-items: center;
}

.tsukasa-footer-nav a {
  padding: 0 18px;
  color: #fff;
  font-size: 11px;
  white-space: nowrap;
}

.tsukasa-footer-nav a + a {
  border-left: 1px solid rgba(255,255,255,.4);
}

.tsukasa-footer-nav a:hover,
.tsukasa-footer-nav a:focus-visible {
  text-decoration: underline;
}

.tsukasa-to-top {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0b55ab;
  color: #fff !important;
  font-size: 24px;
  line-height: 1;
}

.tsukasa-copyright {
  margin: 0;
  padding: 4px 20px 8px;
  color: rgba(255,255,255,.72);
  font-size: 10px;
  text-align: center;
}

/* Tablet */
@media (max-width: 1320px) {
  .tsukasa-header__inner {
    grid-template-columns: 230px 1fr auto;
    padding-left: 20px;
    gap: 8px;
  }

  .tsukasa-logo,
  .tsukasa-logo img {
    width: 215px;
  }

  .tsukasa-nav a {
    min-width: 68px;
    padding-inline: 7px;
  }

  .tsukasa-header-phone {
    min-width: 185px;
  }

  .tsukasa-header-phone strong {
    font-size: 20px;
  }

  .tsukasa-header-mail {
    width: 105px;
  }

  .tsukasa-header-form {
    display: none;
  }

  .tsukasa-main-grid,
  .tsukasa-bottom-grid {
    width: min(calc(100% - 38px), 1466px);
  }

  .tsukasa-service-card h3 {
    font-size: 15px;
  }

  .tsukasa-reason-card h3 {
    font-size: 14px;
  }

  .tsukasa-footer__inner {
    width: min(calc(100% - 38px), 1400px);
    grid-template-columns: 1fr auto 42px;
    gap: 14px;
  }

  .tsukasa-footer-nav a {
    padding-inline: 10px;
  }
}

@media (max-width: 1100px) {
  body.tsukasa-menu-open {
    overflow: hidden;
  }

  .tsukasa-header,
  .tsukasa-header__inner {
    height: 68px;
  }

  .tsukasa-header__inner {
    grid-template-columns: 1fr auto auto;
    padding: 0 16px;
  }

  .tsukasa-logo,
  .tsukasa-logo img {
    width: 220px;
    height: 54px;
  }

  .tsukasa-header-phone {
    min-width: 190px;
    padding: 7px;
  }

  .tsukasa-header-mail {
    display: none;
  }

  .tsukasa-menu-button {
    width: 44px;
    height: 44px;
    padding: 9px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .tsukasa-menu-button > span:not(.screen-reader-text) {
    width: 100%;
    height: 2px;
    display: block;
    background: var(--tsukasa-blue);
    transition: transform .2s ease, opacity .2s ease;
  }

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

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

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

  .tsukasa-nav {
    position: fixed;
    z-index: 1000;
    top: 68px;
    right: 0;
    bottom: 0;
    width: min(390px, 88vw);
    height: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    background: #fff;
    box-shadow: -18px 0 40px rgba(0, 31, 75, .18);
    transform: translateX(110%);
    transition: transform .25s ease;
  }

  .tsukasa-nav.is-open {
    transform: translateX(0);
  }

  .tsukasa-nav a {
    min-height: 62px;
    padding: 12px 8px;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 1px solid #e9edf3;
  }

  .tsukasa-nav strong {
    font-size: 15px;
  }

  .tsukasa-nav small {
    margin: 0;
    font-size: 9px;
  }

  .tsukasa-slider {
    min-height: 0;
  }

  .tsukasa-main-grid,
  .tsukasa-bottom-grid {
    grid-template-columns: 1fr;
  }

  .tsukasa-bottom-grid {
    margin-top: 25px;
  }

  .tsukasa-footer__inner {
    grid-template-columns: 1fr 42px;
    padding: 16px 0;
  }

  .tsukasa-footer-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    flex-wrap: wrap;
  }

  .tsukasa-to-top {
    grid-column: 2;
    grid-row: 1;
  }
}

/* Mobile */
@media (max-width: 680px) {
  .tsukasa-header,
  .tsukasa-header__inner {
    height: 60px;
  }

  .tsukasa-header__inner {
    grid-template-columns: 1fr auto;
    padding: 0 12px;
  }

  .tsukasa-logo,
  .tsukasa-logo img {
    width: 190px;
    height: 48px;
  }

  .tsukasa-header-phone {
    display: none;
  }

  .tsukasa-nav {
    top: 60px;
  }

  .tsukasa-slider {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .tsukasa-slide {
    background-position: center center;
    background-size: cover;
  }

  .tsukasa-main-grid,
  .tsukasa-bottom-grid,
  .tsukasa-footer__inner {
    width: min(calc(100% - 28px), 1466px);
  }

  .tsukasa-main-grid {
    margin-top: 18px;
    gap: 28px;
  }

  .tsukasa-heading {
    min-height: 45px;
  }

  .tsukasa-heading h2 {
    font-size: 22px;
  }

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

  .tsukasa-service-card > img {
    aspect-ratio: 1.25 / 1;
  }

  .tsukasa-service-card__body {
    min-height: 150px;
    padding: 12px 9px;
  }

  .tsukasa-service-card h3 {
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
  }

  .tsukasa-service-card p {
    min-height: 61px;
    font-size: 10px;
    line-height: 1.65;
  }

  .tsukasa-reason-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .tsukasa-reason-card__icon {
    width: 104px;
  }

  .tsukasa-reason-card h3 {
    margin-bottom: 7px;
    font-size: 15px;
  }

  .tsukasa-reason-card p {
    font-size: 10px;
  }

  .tsukasa-bottom-grid {
    margin-top: 31px;
    gap: 18px;
  }

  .tsukasa-recruit {
    grid-template-columns: 1fr;
  }

  .tsukasa-recruit > img {
    height: 190px;
  }

  .tsukasa-recruit__content {
    padding: 21px;
  }

  .tsukasa-contact__bar {
    height: 13px;
  }

  .tsukasa-contact__inner {
    padding: 14px 16px;
    grid-template-columns: 1fr;
  }

  .tsukasa-contact-box {
    padding: 13px 0;
    grid-template-columns: 46px 1fr;
  }

  .tsukasa-contact-box--mail {
    padding-top: 19px;
    padding-left: 0;
    border-top: 1px solid #dfe5ed;
    border-left: 0;
  }

  .tsukasa-contact-phone {
    font-size: 27px;
  }

  .tsukasa-footer {
    margin-top: 18px;
  }

  .tsukasa-footer__inner {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 23px 0 13px;
  }

  .tsukasa-footer-company {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .tsukasa-footer-company > img {
    width: 210px;
  }

  .tsukasa-footer-nav {
    grid-column: 1;
    grid-row: auto;
    justify-content: flex-start;
    gap: 0;
  }

  .tsukasa-footer-nav a {
    margin-bottom: 10px;
    padding: 0 10px;
  }

  .tsukasa-footer-nav a:first-child {
    padding-left: 0;
  }

  .tsukasa-to-top {
    position: absolute;
    right: 0;
    top: 20px;
  }
}

@media (max-width: 390px) {
  .tsukasa-logo,
  .tsukasa-logo img {
    width: 170px;
  }

  .tsukasa-service-grid {
    grid-template-columns: 1fr;
  }

  .tsukasa-service-card__body {
    min-height: 130px;
  }

  .tsukasa-reason-grid {
    grid-template-columns: 1fr;
  }
}

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

  .tsukasa-slide,
  .tsukasa-service-card,
  .tsukasa-nav,
  .tsukasa-menu-button > span {
    transition: none !important;
  }
}

/* =========================================================
   Version 1.1.0: official logo, work-scene slides and mobile UI
   ========================================================= */
.tsukasa-site :where(a, button):focus-visible {
  outline: 3px solid var(--tsukasa-yellow);
  outline-offset: 3px;
}

.tsukasa-logo {
  width: min(245px, 100%);
  height: 60px;
  display: flex;
  align-items: center;
}

.tsukasa-logo img {
  width: 100%;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.tsukasa-slide {
  background-image: var(--tsukasa-slide-desktop);
  isolation: isolate;
}

.tsukasa-slide--work::before,
.tsukasa-slide--first::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

.tsukasa-slide--work::before {
  background: linear-gradient(90deg, rgba(0, 28, 68, .92) 0%, rgba(0, 39, 95, .72) 30%, rgba(0, 39, 95, .12) 70%, rgba(0, 20, 50, .08) 100%);
}

.tsukasa-slide__content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: max(6vw, 76px);
  width: min(600px, 44vw);
  color: #fff;
  transform: translateY(-50%);
  text-shadow: 0 3px 18px rgba(0, 24, 61, .52);
}

.tsukasa-slide--first .tsukasa-slide__content {
  display: none;
}

.tsukasa-slide__title {
  margin: 0;
  font-size: clamp(30px, 3vw, 50px);
  line-height: 1.42;
  font-weight: 800;
  letter-spacing: .04em;
}

.tsukasa-slide__title span {
  color: var(--tsukasa-yellow);
}

.tsukasa-slide__description {
  max-width: 530px;
  margin: 16px 0 0;
  font-size: clamp(13px, 1.05vw, 17px);
  line-height: 1.9;
  letter-spacing: .08em;
}

.tsukasa-slide__button {
  width: fit-content;
  min-height: 44px;
  margin-top: 24px;
  padding: 10px 19px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, .72);
  background: rgba(0, 48, 115, .74);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.tsukasa-slide__button svg {
  width: 18px;
  height: 18px;
}

.tsukasa-slide__button:hover,
.tsukasa-slide__button:focus-visible {
  border-color: var(--tsukasa-yellow);
  background: var(--tsukasa-blue);
  transform: translateY(-2px);
}

.tsukasa-slider__arrow {
  position: absolute;
  z-index: 6;
  top: 50%;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 50%;
  background: rgba(0, 27, 65, .58);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color .2s ease, transform .2s ease;
}

.tsukasa-slider__arrow svg {
  width: 25px;
  height: 25px;
  stroke-width: 2.3;
}

.tsukasa-slider__arrow--prev {
  left: 18px;
}

.tsukasa-slider__arrow--next {
  right: 18px;
}

.tsukasa-slider__arrow:hover,
.tsukasa-slider__arrow:focus-visible {
  background: var(--tsukasa-blue);
  transform: translateY(-50%) scale(1.06);
}

.tsukasa-slider__dots {
  z-index: 7;
}

.tsukasa-slider__dots button {
  width: 9px;
  height: 9px;
}

.tsukasa-service-card__body > a,
.tsukasa-recruit__content > a,
.tsukasa-contact-button,
.tsukasa-header-mail,
.tsukasa-header-form {
  cursor: pointer;
}

.tsukasa-footer-logo {
  width: 235px;
  padding: 6px 10px;
  display: block;
  border-radius: 4px;
  background: #fff;
}

.tsukasa-footer-logo img {
  width: 100%;
  height: 54px;
  object-fit: contain;
}

.tsukasa-footer-company > img {
  display: none;
}

.tsukasa-footer-company a[href^="tel:"] {
  color: inherit;
}

@media (max-width: 1320px) {
  .tsukasa-logo,
  .tsukasa-logo img {
    width: 215px;
  }

  .tsukasa-slide__content {
    left: 64px;
  }
}

@media (max-width: 1100px) {
  .tsukasa-logo {
    width: 220px;
    height: 54px;
  }

  .tsukasa-logo img {
    width: 220px;
    height: 52px;
  }

  .tsukasa-slide__content {
    left: 58px;
    width: min(580px, 58vw);
  }
}

@media (max-width: 680px) {
  .tsukasa-logo {
    width: min(210px, calc(100vw - 78px));
    height: 48px;
  }

  .tsukasa-logo img {
    width: 100%;
    height: 46px;
  }

  .tsukasa-slider {
    aspect-ratio: auto;
    height: clamp(300px, 82vw, 430px);
    touch-action: pan-y;
  }

  .tsukasa-slide {
    background-image: var(--tsukasa-slide-mobile, var(--tsukasa-slide-desktop));
    background-position: center center;
    background-size: cover;
  }

  .tsukasa-slide--first {
    background-position: center 24%;
    background-size: contain;
    background-color: #062b59;
  }

  .tsukasa-slide--first::before {
    z-index: 0;
    background: linear-gradient(180deg, rgba(0, 31, 72, .05) 25%, rgba(0, 31, 72, .42) 58%, rgba(0, 24, 57, .96) 100%);
  }

  .tsukasa-slide--work::before {
    z-index: 0;
    background: linear-gradient(180deg, rgba(0, 25, 60, .03) 20%, rgba(0, 31, 72, .34) 52%, rgba(0, 24, 57, .96) 100%);
  }

  .tsukasa-slide__content,
  .tsukasa-slide--first .tsukasa-slide__content {
    top: auto;
    right: 24px;
    bottom: 42px;
    left: 24px;
    width: auto;
    display: block;
    transform: none;
  }

  .tsukasa-slide__title {
    font-size: clamp(24px, 7.3vw, 31px);
    line-height: 1.45;
    letter-spacing: .02em;
  }

  .tsukasa-slide__description {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.7;
    letter-spacing: .02em;
  }

  .tsukasa-slide__button {
    min-height: 42px;
    margin-top: 15px;
    padding: 8px 13px;
    font-size: 11px;
  }

  .tsukasa-slider__arrow {
    top: 45%;
    width: 38px;
    height: 38px;
  }

  .tsukasa-slider__arrow--prev {
    left: 8px;
  }

  .tsukasa-slider__arrow--next {
    right: 8px;
  }

  .tsukasa-slider__dots {
    bottom: 15px;
  }

  .tsukasa-footer-logo {
    width: min(260px, 88vw);
  }
}

@media (max-width: 390px) {
  .tsukasa-logo {
    width: min(185px, calc(100vw - 72px));
  }

  .tsukasa-slider {
    height: 330px;
  }

  .tsukasa-slide__content,
  .tsukasa-slide--first .tsukasa-slide__content {
    right: 18px;
    bottom: 38px;
    left: 18px;
  }

  .tsukasa-slide__title {
    font-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tsukasa-slide__button,
  .tsukasa-slider__arrow {
    transition: none !important;
  }
}


/* Version 1.2.0: SWELL既存メインビジュアルと本文差し替えの競合修正 */
.tsukasa-homepage-active #main_visual + #content,
.tsukasa-homepage-active .p-mainVisual + #content {
  margin-top: 0 !important;
}

/* Representative direct contact */
.tsukasa-direct-contact {
  width: 100%;
  max-width: 315px;
  margin-top: 12px;
}

.tsukasa-direct-contact__reveal {
  width: 100%;
  min-height: 50px;
  padding: 8px 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid var(--tsukasa-yellow);
  border-radius: 4px;
  background: #fff9dc;
  color: #18324f !important;
  font: inherit;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 44, 95, .1);
  cursor: pointer;
  transition: filter .2s ease, transform .2s ease;
}

.tsukasa-direct-contact__reveal:hover,
.tsukasa-direct-contact__reveal:focus-visible {
  color: #18324f !important;
  filter: brightness(.97);
  transform: translateY(-1px);
}

.tsukasa-direct-contact__reveal:focus-visible {
  outline: 3px solid rgba(0, 73, 153, .28);
  outline-offset: 3px;
}

.tsukasa-direct-contact__icon {
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  color: var(--tsukasa-blue);
}

.tsukasa-direct-contact__icon svg {
  width: 100%;
  height: 100%;
}

.tsukasa-direct-contact__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.tsukasa-direct-contact__copy strong {
  font-size: 13px;
  font-weight: 800;
}

.tsukasa-direct-contact__copy small {
  margin-top: 2px;
  color: #4b5563;
  font-size: 10px;
  font-weight: 600;
}

@media (max-width: 680px) {
  .tsukasa-direct-contact {
    max-width: none;
  }

  .tsukasa-direct-contact__reveal {
    min-height: 54px;
  }

  .tsukasa-direct-contact__copy strong {
    font-size: 14px;
  }
}
