/* =========================================================
   style.css - 株式会社MDA
   構成:
   1. CSS RESET リセット
   2. UTILITY CLASSES：汎用クラス
   3. BASIC STRUCTURE：基本構造
   4. INDIVIDUAL CONTENTS
   ========================================================= */

/* ---------------------------------------------------------
   1. CSS RESET
   --------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #ef3b1f;
  --text: #2d2727;
  --text-dark: #201e1f;
  --muted: #4a4343;
  --line: #e8e1df;
  --shadow: 0 12px 34px rgba(47, 39, 39, 0.09);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: Meiryo, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "Yu Gothic", "Noto Sans JP", -apple-system, BlinkMacSystemFont, Roboto, "Droid Sans", sans-serif;
  font-weight: 400;
  color: var(--text);
  background: #ffffff;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}


/* ---------------------------------------------------------
   2. UTILITY CLASSES
   --------------------------------------------------------- */
  
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.white-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.78) 30%, rgba(255, 255, 255, 0.22) 58%, rgba(255, 255, 255, 0.04) 78%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(243, 248, 255, 0.08) 100%);
}


/* ---------------------------------------------------------
   2-2. BUTTON STYLES
   --------------------------------------------------------- */

.button-style-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2rem;
  min-width: 176px;
  height: 50px;
  padding: 0 1.65rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 24px rgba(239, 59, 31, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.button-style-primary.p-center {
  display: flex;
  width: fit-content;
  margin: 2rem auto 0;
}
.button-style-primary::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #fff;
}

.button-style-primary:hover,
.button-style-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(239, 59, 31, 0.34);
}

@media (max-width: 768px) {
  .button-style-primary {
    width: 100%;
    max-width: 260px;
  }
}


/* ---------------------------------------------------------
   2-3. TITLE STYLES
   --------------------------------------------------------- */

.title-style-type2 {
  font-size: clamp(2.4rem, 4.8vw, 5rem);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #2f2222;
}

.title-style-type2 span {
  color: var(--primary);
}

.title-style-type2.white {
  color: #fff;
}

.title-style-type2.white span {
  color: #fff;
}

.title-style-type2::after {
  content: "";
  display: block;
  width: 106px;
  height: 2px;
  margin-top: 1.5rem;
  background: rgba(239, 59, 31, 0.65);
}

.title-style-type2.white::after {
  background: rgba(255, 255, 255, 0.72);
}

.title-style-type2-kicker {
  font-size: clamp(1rem, 1.05vw, 1.1rem);
  font-weight: 600;
  color: #4b4848;
  margin-bottom: 0.95rem;
}

.title-style-type2-kicker.white {
  color: rgba(255, 255, 255, 0.92);
}

.subpage-heading {
  width: min(960px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.8rem, 6vw, 4.2rem) 0 clamp(2.4rem, 5vw, 3.6rem);
  text-align: center;
}

.subpage-heading__kicker {
  font-size: clamp(0.82rem, 0.95vw, 0.95rem);
  letter-spacing: 0.04em;
  color: #363434;
}

.subpage-heading__title {
  margin-top: 0.95rem;
  display: inline-block;
  font-size: clamp(2.25rem, 4.4vw, 4.1rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: #231f20;
}

.subpage-heading__title span {
  color: var(--primary);
}

.subpage-heading__title::after {
  content: "";
  display: block;
  width: 86px;
  height: 2px;
  margin: 1.2rem auto 0;
  background: rgba(239, 59, 31, 0.58);
}

@media (max-width: 768px) {
  .subpage-heading {
    width: min(960px, calc(100% - 1.4rem));
    padding: 2.1rem 0 1.9rem;
  }

  .subpage-heading__title::after {
    margin-top: 0.9rem;
  }
}



/* ---------------------------------------------------------
   3. BASIC STRUCTURE
   --------------------------------------------------------- */
/* ---------------------------------------------------------
   3-1. HEADER
   --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
}

.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: min(44vw, 440px);
  height: 100%;
  background: url("../images/header_bg.svg") no-repeat left top / contain;
  pointer-events: none;
  z-index: 0;
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 88px;
  padding: 0 2.8rem 0 4.8rem;
  gap: 2rem;
}

.brand {
  display: inline-block;
  flex-shrink: 0;
}

.brand img {
  width: clamp(132px, 14vw, 180px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.6vw, 2rem);
  font-size: clamp(0.9rem, 1vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.inpage .site-nav {
  border-bottom: 1px solid var(--primary );
}

.site-nav a {
  color: var(--text);
  transition: color 0.25s ease, transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--primary);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.24rem;
  padding: 0.45rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0 1.6rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: flex;
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 50%;
    flex-direction: column;
    align-items: flex-start;
    width: min(86vw, 420px);
    min-width: 220px;
    padding: 1.1rem 1rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    box-shadow: 0 18px 44px rgba(39, 31, 31, 0.14);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(-10px) scale(0.97);
    transform-origin: top center;
    transition:
      opacity 0.34s ease,
      transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.34s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
  }

  .site-nav a {
    width: 100%;
    padding: 0.45rem 0.2rem;
  }
}

/* ---------------------------------------------------------
   3-2. FOOTER
   --------------------------------------------------------- */
.sponsored-section {
  background: var(--primary);
  overflow: hidden;
}

.sponsored-section__inner {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.sponsored-content {
  flex: 0 0 40%;
  padding: clamp(3.5rem, 7vw, 4rem) 0 clamp(3rem, 5vw, 3.5rem) clamp(1.5rem, 6vw, 7rem);
}

.sponsored-lead {
  margin-top: 2.1rem;
  color: #fff;
  font-size: 1.7rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
@media (max-width: 1340px) {
  .sponsored-lead {
    font-size: 1.5rem;
  }
}
@media (max-width: 1190px) {
  .sponsored-lead {
    font-size: clamp(1.2rem, 3.1vw, 1.4rem);
  }
  .sponsored-lead span {
    display: inline-block;
  }
}

.sponsored-visual {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.sponsored-visual img {
  width: 100%;
  height: 100%;
}
@media (max-width: 768px) {
  .sponsored-visual img {
    width: 100%;
    height: auto;
  }
}

.sponsored-more {
  position: absolute;
  right: clamp(1rem, 2.5vw, 2.6rem);
  bottom: clamp(1rem, 2.5vw, 2.2rem);
  --more-line-shift: 0rem;
  display: inline-grid;
  justify-items: left;
  width: clamp(6rem, 13vw, 7rem);
  padding: 0 0 0.3rem 0.5rem;
  color: #fff;
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.sponsored-more::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: translateX(var(--more-line-shift));
  transition: transform 0.28s ease;
}

.sponsored-more::after {
  content: "";
  position: absolute;
  right: -0.05rem;
  bottom: 0;
  width: 1.2rem;
  height: 1px;
  background: currentColor;
  transform-origin: right center;
  transform: translateX(var(--more-line-shift)) rotate(38deg);
  transition: transform 0.28s ease;
}

.sponsored-more:hover,
.sponsored-more:focus-visible {
  --more-line-shift: 0.55rem;
}
@media (max-width: 768px) {
  .title-style-type2-kicker {
    margin-bottom: 0.6rem;
  }
}


.site-footer {
  background: #fff;
}

.footer-main {
  padding: clamp(3.2rem, 6vw, 5rem) 0 clamp(2.3rem, 4vw, 3.2rem);
}

.footer-main__inner {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.footer-brand-area {
  display: grid;
  gap: 1.7rem;
  align-items: start;
}

.footer-brand-link {
  display: inline-block;
  width: fit-content;
}

.footer-brand-link img {
  width: clamp(150px, 14vw, 230px);
  height: auto;
}

.footer-company {
  display: grid;
  gap: 0.45rem;
}

.footer-company__name {
  color: #2c2323;
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.footer-company__address {
  color: #2f2929;
  font-size: clamp(0.92rem, 1.25vw, 1.08rem);
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.footer-company__address span {
  display: inline-block;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 4vw, 4.4rem);
  row-gap: 0.85rem;
  justify-items: start;
  align-content: start;
  padding-top: 0.55rem;
}

.footer-nav a {
  color: #332929;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.5;
  letter-spacing: 0.03em;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--primary);
  transform: translateY(-1px);
}

.footer-copyright {
  display: grid;
  place-items: center;
  min-height: 48px;
  background: var(--primary);
  color: #fff;
  font-size: clamp(0.75rem, 1.2vw, 0.85rem);
  letter-spacing: 0.04em;
}

.footer-copyright p {
  text-align: center;
  line-height: 1.4;
}

.page-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1200;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--primary);
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.page-top::before,
.page-top::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 2px;
  background: currentColor;
  transform-origin: center;
}

.page-top::before {
  left: calc(50% - 8px);
  transform: translateY(-50%) rotate(-35deg);
}

.page-top::after {
  left: calc(50% - 1px);
  transform: translateY(-50%) rotate(35deg);
}

.page-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.page-top:hover,
.page-top:focus-visible {
  filter: brightness(1.06);
}

@media (max-width: 980px) {
  .footer-main__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .footer-main {
    padding: 2.6rem 0 1.8rem;
  }

  .footer-main__inner {
    width: min(1180px, calc(100% - 1.5rem));
    gap: 1.8rem;
  }

  .footer-brand-area {
    gap: 1.3rem;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.2rem;
    row-gap: 0.55rem;
    padding-top: 0;
  }

  .footer-copyright {
    min-height: 44px;
    font-size: 0.9rem;
  }

  .page-top {
    width: 32px;
    height: 32px;
    right: 0.8rem;
    bottom: 0.8rem;
  }

  .page-top::before,
  .page-top::after {
    width: 8px;
    height: 1.8px;
  }
}



/* ---------------------------------------------------------
   4. CONTENT STYLES
   --------------------------------------------------------- */

/* ---------------------------------------------------------
   4-0. Common styles
   --------------------------------------------------------- */ 

.inpage-lead {
  text-align: center;
  font-size: clamp(1.5rem, 2.8vw, 2.0rem);
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: #221f20;
}

.inpage-lead span {
  display: inline-block;
}

@media (max-width: 768px) {
  .inpage-lead {
    font-size: clamp(1.55rem, 6.0vw, 1.8rem);
    line-height: 1.5;
  }
}


/* ---------------------------------------------------------
   4-1. Top page
   --------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  min-height: min(82vh, 900px);
  padding: clamp(2rem, 4vw, 4rem) 0 clamp(6rem, 11vw, 10rem);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(44vw, 620px);
  aspect-ratio: 620 / 143;
  background: url("../images/hero_bg.svg") no-repeat right bottom / contain;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(320px, 38vw) minmax(460px, 1fr);
  align-items: start;
  gap: clamp(1rem, 2.2vw, 2.6rem);
  width: 100%;
  padding-left: clamp(1.5rem, 6vw, 7rem);
}
@media (max-width: 1280px) {
  .hero-grid {
    padding-left: 4.5vw;
  }
}
@media (max-width: 1140px) {
  .hero-grid {
    padding-left: 3.0vw;
  }
}
.hero-copy {
  padding-top: clamp(2rem, 8vw, 8rem);
  z-index: 2;
}

.hero-copy h1 {
  font-size: clamp(2.3rem, 6.6vw, 4.9rem);
  line-height: 1.23;
  font-weight: 400;
  letter-spacing: 0.01em;
}
@media (max-width: 1480px) {
  .hero-copy h1 {
    font-size: 4.3rem;
  }
}
@media (max-width: 1280px) {
  .hero-copy h1 {
    font-size: 4.0rem;
  }
}
@media (max-width: 1140px) {
  .hero-copy h1 {
    font-size: 3.5rem;
  }
}
@media (max-width: 1060px) {
  .hero-copy h1 {
    font-size: 3.1rem;
  }
}
@media (max-width: 930px) {
  .hero-copy h1 {
    font-size: 2.8rem;
  }
}
.hero-highlight {
  color: var(--primary);
}

.hero-subcopy {
  margin-top: clamp(2rem, 4.8vw, 4rem);
  font-size: clamp(1.05rem, 2vw, 1.75rem);
  line-height: 1.8;
  color: #373030;
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(58vw, 860px);
  padding-right: 0;
  z-index: 2;
}

.hero-image {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    gap: 1.8rem;
  }

  .hero-copy {
    padding-top: 1rem;
  }

  .hero-visual {
    width: 100%;
  }
}


@media (max-width: 768px) {
  .hero-grid {
    gap: 1.6rem;
  }
  .hero-copy {
    padding-top: 0;
  }
  .hero-copy h1 {
    font-size: clamp(2rem, 9vw, 3.5rem);
    text-align: center;
  }

  .hero-subcopy {
    font-size: clamp(1rem, 4vw, 1.4rem);
    text-align: center;
  }
  .hero {
    padding-top: 1.2rem;
    min-height: auto;
  }
  .hero::after {
    width: min(76vw, 520px);
  }
  .hero-en {
    letter-spacing: 0.08em;
  }
}


/* ---------------------------------------------------------
   4-2. Quality Section
   --------------------------------------------------------- */

.quality-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: url("../images/top_quality.jpg") no-repeat center center / cover;
  overflow: hidden;
}

.quality-inner {
  position: relative;
  z-index: 1;
  width: min(800px, calc(100% - 3rem));
  padding: clamp(4rem, 8vw, 6.2rem) 0 0;
  margin-left: clamp(1.5rem, 6vw, 7rem);
}
.quality-inner-bottom {
  padding: 0 0 clamp(4.2rem, 8vw, 6rem);
}


.quality-lead {
  margin-top: 2.1rem;
  font-size: clamp(2rem, 3.1vw, 3.15rem);
  line-height: 1.52;
  letter-spacing: 0.01em;
}

.quality-lead-sub {
  margin: 1.8rem 0 2.4rem;
  font-size: clamp(1.3rem, 2.1vw, 2.4rem);
  line-height: 1.52;
  letter-spacing: 0.01em;
}

.quality-body {
  margin-top: 1.7rem;
  max-width: 36ch;
  font-size: clamp(0.9rem, 1.4vw, 1.4rem);
  line-height: 1.85;
}

.service-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: url("../images/top_service.svg") no-repeat center bottom / cover;
}

.service-section__inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3.4rem, 6vw, 5.6rem) 0 clamp(4rem, 7vw, 5.8rem);
}

.service-heading {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.service-kicker {
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  font-weight: 600;
  color: #403a3a;
  margin-bottom: 0.8rem;
}

.service-title {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.03em;
}

.service-title span {
  color: var(--primary);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.service-card {
  min-height: 256px;
  padding: 1.1rem 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.service-card__number {
  display: inline-block;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--primary);
  margin-bottom: 0.55rem;
}

.service-card__number::after {
  content: "";
  display: block;
  width: 1.1rem;
  height: 3px;
  margin-top: 0.4rem;
  background: var(--primary);
}

.service-card h3 {
  margin-top: 1rem;
  font-size: clamp(1.05rem, 1.3vw, 1.35rem);
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--text);
}

.service-button {
  display: flex;
  justify-content: center;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.recruit-section {
  color: #2f2626;
  padding: clamp(3.4rem, 6vw, 5.2rem) 0 clamp(3.4rem, 6vw, 4.8rem);
}

.recruit-section__inner {
  width: min(1280px, calc(100% - 5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(380px, 1fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 6rem);
}

.recruit-content {
  max-width: 760px;
}

.recruit-lead {
  margin-top: 1.45rem;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: #2f2424;
}
@media (max-width: 1200px) {
  .recruit-lead {
    font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  }
}

.recruit-visual {
  margin: 0;
}

.recruit-visual img {
  width: 100%;
  max-width: 610px;
  margin-left: auto;
  height: auto;
}

.recruit-button {
  margin-top: clamp(2rem, 4vw, 3.4rem);
}

.contact-section {
  background: #edf1fb;
  padding: clamp(3.2rem, 6vw, 5.5rem) 0;
}

.contact-section__inner {
  width: min(1280px, calc(100% - 3rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(460px, 1.45fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.contact-content {
  max-width: 460px;
}

.contact-list {
  margin-top: clamp(1.8rem, 3vw, 2.8rem);
  display: grid;
  gap: 1.15rem;
}

.contact-item__label {
  font-size: clamp(1rem, 1.5vw, 1.95rem);
  line-height: 1.7;
  color: #2f2929;
}

.contact-link {
  margin-top: 0.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: opacity 0.25s ease;
}

.contact-link img {
  width: clamp(25px, 2.6vw, 30px);
  height: clamp(25px, 2.6vw, 30px);
}

.contact-link--phone {
  font-size: clamp(1.90rem, 3.2vw, 2.2rem);
  line-height: 1.25;
}

.contact-link--mail {
  font-size: clamp(1.82rem, 2.8vw, 2.0rem);
  line-height: 1.35;
}

.contact-link:hover,
.contact-link:focus-visible {
  opacity: 0.72;
}

.contact-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.8vw, 1.4rem);
}

.contact-gallery__item {
  margin: 0;
}

.contact-gallery__item img {
  width: 100%;
  aspect-ratio: 620 / 448;
  object-fit: cover;
}





@media (max-width: 768px) {
  .quality-section {
    min-height: auto;
  }

  .quality-inner {
    width: min(640px, calc(100% - 2.2rem));
    margin-left: 1.1rem;
    padding: 3.2rem 0 3.5rem;
  }

  .quality-lead {
    line-height: 1.42;
    font-size: clamp(1.5rem, 6.2vw, 2.05rem);
  }

  .quality-lead-sub {
    line-height: 1.42;
    font-size: clamp(1.2rem, 4.2vw, 1.6rem);
    margin: 1.8rem 0 1.4rem;
  }

  .quality-body {
    max-width: 100%;
    line-height: 1.8;
  }

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

  .service-card {
    min-height: 220px;
  }

  .recruit-section__inner {
    width: min(1280px, calc(100% - 2rem));
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .recruit-content {
    max-width: 100%;
  }

  .recruit-visual img {
    margin: 0 auto;
    max-width: 560px;
  }

  .contact-section__inner {
    width: min(1280px, calc(100% - 2rem));
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .contact-content {
    max-width: 100%;
  }

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

/* ---------------------------------------------------------
   4-3. Quality page
   --------------------------------------------------------- */

body.quality {
  background: #ffffff;
}

body.contact {
  background: #ffffff;
}

body.security {
  background: #ffffff;
}

.subpage-main {
  padding-bottom: 0;
}

.contact-page-intro {
  background: #eef2fb;
  padding: clamp(3rem, 6vw, 5.1rem) 0;
}

.contact-page-intro__inner {
  width: min(1100px, calc(100% - 3rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(360px, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
}

.contact-page-intro__brand {
  display: grid;
  place-items: center;
  min-height: 240px;
}

.contact-page-intro__brand img {
  width: min(100%, 300px);
  height: auto;
}

.contact-page-intro__details {
  display: grid;
  gap: 1.75rem;
}

.contact-page-intro__card {
  position: relative;
  padding-left: clamp(1.4rem, 2.8vw, 2rem);
}

.contact-page-intro__card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  bottom: 0.15rem;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(239, 59, 31, 0.92) 0%, rgba(239, 59, 31, 0.55) 100%);
}

.contact-page-intro__label {
  font-size: clamp(1.2rem, 1.7vw, 1.6rem);
  line-height: 1.6;
  color: #312a2a;
}

.contact-page-intro__link {
  margin-top: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  color: #231f20;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.contact-page-intro__link img {
  width: clamp(34px, 3vw, 42px);
  height: clamp(34px, 3vw, 42px);
  flex-shrink: 0;
}

.contact-page-intro__link--phone {
  font-size: clamp(2.3rem, 4.6vw, 3.5rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.contact-page-intro__link--mail {
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  line-height: 1.25;
  font-weight: 700;
}

.contact-page-intro__link:hover,
.contact-page-intro__link:focus-visible {
  opacity: 0.72;
  transform: translateY(-1px);
}

.contact-page-form {
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(4.5rem, 9vw, 7rem);
  background:
    radial-gradient(circle at top left, rgba(238, 242, 251, 0.8) 0%, rgba(238, 242, 251, 0) 42%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
}

.contact-page-form__inner {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(232, 225, 223, 0.78);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.contact-page-form__heading {
  max-width: 760px;
}

.contact-page-form__lead {
  margin-top: 1.45rem;
  font-size: clamp(0.98rem, 1.12vw, 1.08rem);
  line-height: 1.9;
  color: #4a4343;
}

.contact-form {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.4rem;
}

.contact-form__field {
  display: grid;
  gap: 0.5rem;
}

.contact-form__field--full {
  grid-column: 1 / -1;
}

.contact-form__label {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  line-height: 1.4;
  color: #292425;
}

.contact-form__label span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(239, 59, 31, 0.12);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  border: 1px solid #ddd8d8;
  border-radius: 14px;
  background: #f7f8fc;
  color: #231f20;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-form__input {
  min-height: 54px;
  padding: 0.95rem 1rem;
}

.contact-form__textarea {
  min-height: 200px;
  padding: 1rem;
  resize: vertical;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: rgba(239, 59, 31, 0.8);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(239, 59, 31, 0.1);
}

.contact-form__submit {
  margin-top: 1.8rem;
  min-width: 220px;
  min-height: 54px;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 24px rgba(239, 59, 31, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.contact-form__submit:hover,
.contact-form__submit:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(239, 59, 31, 0.3);
  filter: brightness(1.02);
}

.security-page-policy {
  background: #edf1fb;
  padding: clamp(3.4rem, 7vw, 5.6rem) 0 clamp(3.6rem, 7vw, 6rem);
}

.security-page-policy__inner {
  width: min(980px, calc(100% - 3rem));
  margin: 0 auto;
}

.security-page-policy__lead,
.security-page-policy__closing {
  font-size: clamp(0.95rem, 1.03vw, 1rem);
  line-height: 2;
  letter-spacing: 0.01em;
  color: #2c292a;
}

.security-page-policy__list {
  margin-top: clamp(2rem, 4vw, 2.8rem);
  display: grid;
  gap: clamp(1.8rem, 3.5vw, 2.6rem);
}

.security-page-policy__item {
  display: grid;
  gap: clamp(0.8rem, 1.4vw, 1rem);
}

.security-page-policy__title {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: clamp(1.35rem, 1.95vw, 1.85rem);
  line-height: 1.45;
  color: #1f1d1e;
  font-weight: 700;
}

.security-page-policy__title::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--primary);
  flex: 0 0 auto;
}

.security-page-policy__text {
  font-size: clamp(0.95rem, 1.03vw, 1rem);
  line-height: 2;
  letter-spacing: 0.01em;
  color: #2d2a2b;
}

.security-page-policy__closing {
  margin-top: clamp(2.1rem, 4.2vw, 3rem);
}

.quality-page-intro {
  background: #eef2fb;
}

.quality-page-intro__inner {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.8rem) 0 clamp(2.8rem, 6vw, 4.4rem);
}


.quality-page-visual {
  width: min(720px, 100%);
  margin: clamp(2.2rem, 5vw, 3.4rem) auto 0;
}

.quality-page-visual img {
  width: 100%;
  height: auto;
}

.quality-page-lead {
  font-size: clamp(1.2rem, 3.5vw, 1.5rem);
  line-height: 1.80;
  letter-spacing: 0.01em;
  margin: 5rem 0 1.8rem;
  text-align: center;
  font-weight: 700;
}

.quality-page-lead span {
  display: inline-block;
}

.quality-page-body {
  width: min(760px, 100%);
  margin: clamp(0.75rem, 1.5vw, 1rem) auto 0;
  font-size: clamp(0.95rem, 1.15vw, 1.15rem);
  line-height: 2;
  letter-spacing: 0.02em;
  color: #2f2c2d;
}

.quality-page-cards {
  background: #eef2fb;
  padding: 0 0 clamp(4rem, 8vw, 6.4rem);
}

.quality-page-cards__inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.1rem, 2vw, 1.5rem);
}

.quality-card {
  background: #fff;
  border-radius: 20px;
  padding: clamp(1.1rem, 2.2vw, 1.8rem) clamp(1rem, 2vw, 1.3rem) clamp(1.2rem, 2.2vw, 1.7rem);
  display: grid;
  grid-template-columns: minmax(98px, 120px) minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(0.9rem, 1.6vw, 1.2rem);
  row-gap: 0.35rem;
  box-shadow: 0 8px 20px rgba(24, 28, 36, 0.04);
}

.quality-card__num {
  grid-column: 1;
  grid-row: 1;
  font-size: clamp(2.15rem, 4vw, 3rem);
  line-height: 1;
  color: var(--primary);
  font-weight: 400;
}

.quality-card__num::after {
  content: "";
  display: block;
  width: 1.2rem;
  height: 3px;
  margin-top: 0.45rem;
  background: var(--primary);
}

.quality-card__en {
  grid-column: 1;
  grid-row: 2 / 4;
  margin-top: 0.2rem;
  font-size: clamp(0.95rem, 1.2vw, 1.2rem);
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: #232022;
}

.quality-card__title {
  grid-column: 2;
  grid-row: 1;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.45;
  font-weight: 700;
  color: #222021;
}

.quality-card__text {
  grid-column: 2;
  grid-row: 2 / 4;
  font-size: clamp(0.9rem, 1.04vw, 1rem);
  line-height: 1.9;
  color: #2c2a2a;
}

@media (max-width: 920px) {
  .quality-page-cards__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .subpage-main {
    padding-bottom: 3rem;
  }

  .contact-page-intro {
    padding: 2.4rem 0;
  }

  .contact-page-intro__inner,
  .contact-page-form__inner {
    width: min(1120px, calc(100% - 1.4rem));
  }

  .contact-page-intro__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-page-intro__brand {
    min-height: 0;
    padding-top: 0.8rem;
  }

  .contact-page-intro__brand img {
    width: min(100%, 220px);
  }

  .contact-page-intro__details {
    gap: 1.3rem;
  }

  .contact-page-intro__label {
    font-size: clamp(1rem, 4.8vw, 1.2rem);
  }

  .contact-page-intro__link--phone {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    letter-spacing: 0.03em;
  }

  .contact-page-intro__link--mail {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }

  .contact-page-form {
    padding: 3rem 0 4.2rem;
  }

  .contact-page-form__inner {
    padding: 1.35rem;
    border-radius: 20px;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-form__submit {
    width: 100%;
  }

  .security-page-policy {
    padding: 2.5rem 0 3.3rem;
  }

  .security-page-policy__inner {
    width: min(980px, calc(100% - 1.4rem));
  }

  .security-page-policy__lead,
  .security-page-policy__text,
  .security-page-policy__closing {
    font-size: 0.92rem;
    line-height: 1.92;
  }

  .security-page-policy__list {
    margin-top: 1.55rem;
    gap: 1.45rem;
  }

  .security-page-policy__title {
    gap: 0.5rem;
    font-size: clamp(1.15rem, 5.2vw, 1.36rem);
    line-height: 1.42;
  }

  .security-page-policy__title::before {
    width: 8px;
    height: 8px;
  }

  .security-page-policy__item {
    gap: 0.65rem;
  }

  .security-page-policy__closing {
    margin-top: 1.7rem;
  }

  .quality-page-intro__inner {
    width: min(980px, calc(100% - 1.4rem));
    padding: 2.2rem 0 2.4rem;
  }

  .quality-page-lead {
    margin: 4rem 0 1rem;
    letter-spacing: 0.02em;
  }

  .quality-page-body {
    font-size: 0.94rem;
    line-height: 1.95;
  }

  .quality-page-cards {
    padding-bottom: 3.2rem;
  }

  .quality-page-cards__inner {
    width: min(1120px, calc(100% - 1.4rem));
  }

  .quality-card {
    border-radius: 16px;
    grid-template-columns: 92px minmax(0, 1fr);
    padding: 1rem 0.9rem 1.15rem;
  }

  .quality-card__title {
    font-size: clamp(1.15rem, 5.4vw, 1.45rem);
  }

  .quality-card__text {
    font-size: 0.9rem;
    line-height: 1.8;
    letter-spacing: 0.01em;
    text-align: justify;
  }
}

/* ---------------------------------------------------------
   4-4. Service page
   --------------------------------------------------------- */

body.service {
  background: #ffffff;
}

.service-page-overview {
  background: #eef2fb;
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(2rem, 4vw, 3.2rem);
}

.service-page-overview__inner {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  gap: clamp(0.8rem, 1.8vw, 1.1rem);
}

.service-page-card {
  background: #fff;
  border-radius: 18px;
  padding: clamp(1.1rem, 2.3vw, 1.6rem) clamp(1rem, 2vw, 1.4rem);
  display: grid;
  grid-template-columns: minmax(180px, 30%) minmax(0, 1fr);
  gap: clamp(0.7rem, 1.4vw, 1.1rem);
}

.service-page-card__lead {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.service-page-card__num {
  color: var(--primary);
  font-size: clamp(2.1rem, 3.6vw, 2.9rem);
  line-height: 1;
}

.service-page-card__num::after {
  content: "";
  display: block;
  width: 1.2rem;
  height: 3px;
  margin-top: 0.5rem;
  background: var(--primary);
}

.service-page-card__title {
  font-size: clamp(1.25rem, 1.65vw, 1.65rem);
  line-height: 1.38;
  letter-spacing: 0.01em;
  color: #1f1d1e;
}

.service-page-card__body {
  font-size: clamp(0.86rem, 0.9vw, 0.98rem);
  line-height: 1.95;
  letter-spacing: 0.01em;
  color: #2b2728;
}

.service-page-product {
  background: #eef2fb;
  padding: clamp(1.8rem, 4vw, 2.9rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.service-page-product__inner {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
}

.service-page-product__title {
  text-align: center;
  font-size: clamp(2rem, 3.1vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: #232022;
}

.service-page-product__title::after {
  content: "";
  display: block;
  width: clamp(110px, 17vw, 180px);
  height: 1px;
  margin: 0.7rem auto 0;
  background: rgba(35, 32, 34, 0.5);
}

.service-page-product-grid {
  margin-top: clamp(1.6rem, 3vw, 2.6rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.service-product-card {
  min-height: 64px;
  background: #fff;
  border-radius: 6px;
  padding: 0.45rem;
  display: grid;
  grid-template-columns: minmax(82px, 96px) minmax(0, 1fr) minmax(74px, 96px);
  align-items: center;
  column-gap: 0.8rem;
}

.service-product-card__logo {
  width: 100%;
  height: auto;
}

.service-product-card__content {
  min-width: 0;
}

.service-product-card__company {
  font-size: clamp(0.66rem, 0.72vw, 0.8rem);
  line-height: 1.35;
  color: #2f2c2d;
}

.service-product-card__name {
  margin-top: 0.14rem;
  font-size: clamp(0.95rem, 1vw, 1.15rem);
  line-height: 1.35;
  font-weight: 700;
  color: #232022;
}

.service-product-card__actions {
  display: grid;
  gap: 0.25rem;
}

.service-product-card__actions a {
  position: relative;
  min-height: 30px;
  display: grid;
  place-items: center;
  padding: 0.3rem 0.45rem;
  border: 1px solid #d8dfef;
  background: #f4f7ff;
  color: #2c2a2a;
  font-size: clamp(0.7rem, 0.75vw, 0.84rem);
  line-height: 1.2;
  text-align: center;
  transition: background-color 0.25s ease, border-color 0.25s ease;
  --more-line-shift: 0rem;
}

.service-product-card__actions a::before {
  content: "";
  position: absolute;
  left: 10%;
  bottom: 3px;
  width: 80%;
  height: 1px;
  background-color: #969696a4;
  transform: translateX(var(--more-line-shift));
  transition: transform 0.28s ease;
}

.service-product-card__actions a::after {
  content: "";
  position: absolute;
  right: 10%;
  bottom: 3px;
  width: 0.5rem;
  height: 1px;
  background-color: #969696a4;
  transform-origin: right center;
  transform: translateX(var(--more-line-shift)) rotate(38deg);
  transition: transform 0.28s ease;
}


.service-product-card__actions a:hover,
.service-product-card__actions a:focus-visible {
  background: #e8eefc;
  border-color: #c5d1ed;
  --more-line-shift: 0.55rem;
}

.service-product-card__actions--double a {
  min-height: 28px;
}

@media (max-width: 980px) {
  .service-page-card {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

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

@media (max-width: 768px) {
  .service-page-overview {
    padding: 1.2rem 0 2rem;
  }

  .service-page-overview__inner {
    width: min(1080px, calc(100% - 1.2rem));
    gap: 0.75rem;
  }

  .service-page-card {
    border-radius: 14px;
    padding: 0.95rem 0.85rem;
  }

  .service-page-card__title {
    font-size: clamp(1.2rem, 5.4vw, 1.45rem);
  }

  .service-page-card__body {
    font-size: 0.88rem;
    line-height: 1.85;
  }

  .service-page-product {
    padding: 1.6rem 0 2.2rem;
  }

  .service-page-product__inner {
    width: min(1240px, calc(100% - 1.2rem));
  }

  .service-page-product__title {
    font-size: clamp(1.95rem, 9vw, 2.7rem);
  }

  .service-product-card {
    min-height: 62px;
    grid-template-columns: 74px minmax(0, 1fr) 88px;
    column-gap: 0.65rem;
    padding: 0.35rem;
  }

  .service-product-card__company {
    font-size: 0.64rem;
  }

  .service-product-card__name {
    font-size: 0.86rem;
  }

  .service-product-card__actions a {
    font-size: 0.66rem;
    min-height: 27px;
  }
}

/* ---------------------------------------------------------
   4-5. Company page
   --------------------------------------------------------- */

body.company {
  background: #ffffff;
}

.company-page-content {
  background: #eef2fb;
  padding: clamp(2.1rem, 5vw, 3.6rem) 0 clamp(2.4rem, 5vw, 4rem);
}

.company-page-content__inner {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
}

.company-page-message {
  padding-bottom: clamp(2.2rem, 4.4vw, 3.6rem);
}

.company-page-block-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: clamp(1.3rem, 1.9vw, 1.8rem);
  line-height: 1.4;
  color: #1f1d1e;
}

.company-page-block-title::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--primary);
  flex: 0 0 auto;
}

.company-page-message__body {
  margin-top: clamp(1.1rem, 2.4vw, 1.8rem);
}

.company-page-message__body p {
  font-size: clamp(0.93rem, 1.03vw, 1.04rem);
  line-height: 2.15;
  letter-spacing: 0.01em;
  color: #2c292a;
}

.company-page-message__body p + p {
  margin-top: 1.2rem;
}

.company-page-signature {
  margin-top: clamp(1.6rem, 3.4vw, 2.8rem);
  margin-left: auto;
  width: fit-content;
  text-align: left;
}

.company-page-signature p {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.5;
  color: #292627;
}

.company-page-signature__name {
  display: flex;
  align-items: center;
  gap:15px;
}

.company-page-signature img {
  margin-top: 0.5rem;
  width: clamp(80px, 11vw, 140px);
  height: auto;
}

.company-page-overview {
  padding-top: clamp(1.3rem, 2.8vw, 2rem);
}

.company-page-overview__table-wrap {
  margin-top: clamp(0.95rem, 2vw, 1.4rem);
  border-top: 1px solid rgba(49, 45, 46, 0.28);
  border-bottom: 1px solid rgba(49, 45, 46, 0.28);
}

.company-page-overview__table {
  width: 100%;
  border-collapse: collapse;
}

.company-page-overview__table tr {
  border-top: 1px solid rgba(49, 45, 46, 0.2);
}

.company-page-overview__table tr:first-child {
  border-top: none;
}

.company-page-overview__table th,
.company-page-overview__table td {
  padding: 0.85rem 0;
  vertical-align: top;
  font-size: clamp(0.86rem, 0.96vw, 0.98rem);
  line-height: 1.9;
  color: #262324;
}

.company-page-overview__table th {
  width: min(145px, 25%);
  padding-right: 1rem;
  font-weight: 700;
  color: var(--primary);
  text-align: left;
}

.company-page-logo {
  margin: clamp(2.4rem, 4.8vw, 3.8rem) auto 0;
  width: min(220px, 48vw);
}

.company-page-logo img {
  width: 100%;
  height: auto;
}

.company-page-gallery {
  margin-top: clamp(1.5rem, 3vw, 2.3rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.4rem, 1vw, 0.7rem);
}

.company-page-gallery__item {
  margin: 0;
}

.company-page-gallery__item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.company-page-access {
  padding: clamp(2.1rem, 4.4vw, 3rem) 0 0;
}

.company-page-access__title {
  text-align: center;
  font-size: clamp(2rem, 3.1vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: #232022;
}

.company-page-access__title::after {
  content: "";
  display: block;
  width: clamp(90px, 14vw, 146px);
  height: 1px;
  margin: 0.7rem auto 0;
  background: rgba(35, 32, 34, 0.48);
}

.company-page-access__map {
  margin-top: clamp(1.4rem, 2.5vw, 2rem);
  width: 100%;
}

.company-page-access__map iframe {
  display: block;
  width: 100%;
  height: clamp(330px, 36vw, 460px);
}

@media (max-width: 768px) {
  .company-page-content {
    padding: 1.5rem 0 2.2rem;
  }

  .company-page-content__inner {
    width: min(980px, calc(100% - 1.3rem));
  }

  .company-page-message__body p {
    font-size: 0.88rem;
    line-height: 1.95;
  }

  .company-page-overview__table th,
  .company-page-overview__table td {
    font-size: 0.8rem;
    line-height: 1.75;
    padding: 0.62rem 0;
  }

  .company-page-overview__table th {
    width: 92px;
    padding-right: 0.65rem;
  }

  .company-page-gallery {
    gap: 0.3rem;
  }

  .company-page-access {
    padding-top: 1.8rem;
  }

  .company-page-access__title {
    font-size: clamp(1.95rem, 8.5vw, 2.7rem);
  }

  .company-page-access__map iframe {
    height: 320px;
  }
}

/* ---------------------------------------------------------
   4-6. Sponsored page
   --------------------------------------------------------- */

body.sponsored {
  background: #ffffff;
}

.sponsored-page-hero {
  background: #ffffff;
}

.sponsored-page-hero__inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.2rem, 4.8vw, 3.9rem) 0 clamp(1.6rem, 3vw, 2.4rem);
}



.sponsored-page-hero__image {
  margin: 0;
}

.sponsored-page-hero__image img {
  width: 100%;
  height: auto;
}

.sponsored-page-section {
  background: #eef2fb;
  padding: clamp(2rem, 4vw, 3.2rem) 0;
}

.sponsored-page-section--last {
  padding-bottom: clamp(3rem, 6vw, 4.8rem);
}

.sponsored-page-section__inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.sponsored-page-section__inner + .sponsored-page-section__inner {
  margin-top: clamp(1.4rem, 3vw, 2.2rem);
}

.sponsored-page-section__inner--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 42%);
  gap: clamp(1.4rem, 3vw, 2.6rem);
  align-items: start;
}

.sponsored-page-hero + .sponsored-page-section {
  padding-top: clamp(2.8rem, 5.4vw, 4.2rem);
}

.sponsored-page-hero + .sponsored-page-section .sponsored-page-section__inner--split {
  background: #fff;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}

.sponsored-page-hero + .sponsored-page-section .sponsored-page-text-block {
  padding: clamp(1.8rem, 4vw, 3rem) clamp(1.3rem, 3vw, 2.6rem);
}

.sponsored-page-hero + .sponsored-page-section .sponsored-page-title {
  color: var(--primary);
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: 0.04em;
  font-weight: 600;
}

.sponsored-page-hero + .sponsored-page-section .sponsored-page-text {
  margin-top: 1.15rem;
  padding-top: 1.1rem;
  border-top: 1px solid #b8bec8;
  font-size: clamp(1.02rem, 1.2vw, 1.28rem);
  line-height: 2.05;
}

.sponsored-page-hero + .sponsored-page-section .sponsored-page-side-image {
  min-height: 100%;
}

.sponsored-page-hero + .sponsored-page-section .sponsored-page-side-image img {
  height: 100%;
  object-fit: cover;
}

.sponsored-page-hero + .sponsored-page-section + .sponsored-page-section .sponsored-page-section__inner--split {
  grid-template-columns: minmax(320px, 42%) minmax(0, 1fr);
  gap: clamp(1.2rem, 2.6vw, 2rem);
}

.sponsored-page-hero + .sponsored-page-section + .sponsored-page-section .sponsored-page-title {
  position: relative;
  padding-left: 1.1rem;
  font-size: clamp(1.35rem, 1.9vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.sponsored-page-hero + .sponsored-page-section + .sponsored-page-section .sponsored-page-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: var(--primary);
  transform: translateY(-50%);
}

.sponsored-page-hero + .sponsored-page-section + .sponsored-page-section .sponsored-page-history p {
  font-size: clamp(0.9rem, 0.94vw, 0.98rem);
  line-height: 1.8;
}

.sponsored-page-hero + .sponsored-page-section + .sponsored-page-section .sponsored-page-history strong {
  color: var(--primary);
}

.sponsored-page-hero + .sponsored-page-section + .sponsored-page-section .sponsored-page-side-image img {
  aspect-ratio: 6 / 5;
  object-fit: cover;
}

.sponsored-page-hero + .sponsored-page-section + .sponsored-page-section .sponsored-page-pair-grid {
  width: 100%;
}

.sponsored-page-hero + .sponsored-page-section + .sponsored-page-section .sponsored-page-pair-grid__item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.sponsored-page-hero + .sponsored-page-section + .sponsored-page-section .sponsored-page-pair-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sponsored-page-text-block {
  min-width: 0;
}

.sponsored-page-title {
  font-size: clamp(1.9rem, 2.8vw, 3rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: #211e1f;
}

.sponsored-page-text {
  margin-top: clamp(0.85rem, 1.8vw, 1.3rem);
  font-size: clamp(0.96rem, 1.02vw, 1.1rem);
  line-height: 2;
  letter-spacing: 0.01em;
  color: #2b2829;
}

.sponsored-page-history {
  margin-top: clamp(0.85rem, 1.8vw, 1.3rem);
}

.sponsored-page-history p {
  font-size: clamp(0.94rem, 0.99vw, 1.02rem);
  line-height: 2;
  letter-spacing: 0.01em;
  color: #2c292a;
}

.sponsored-page-history p + p {
  margin-top: 0.9rem;
}

.sponsored-page-season p {
  font-size: clamp(0.92rem, 0.98vw, 1.02rem);
  line-height: 1.95;
  letter-spacing: 0.01em;
}

.sponsored-page-season p + p {
  margin-top: 0.12rem;
}

.sponsored-page-season__heading {
  margin-top: 1.1rem;
  font-size: clamp(1.05rem, 1.25vw, 1.28rem);
  line-height: 1.5;
  font-weight: 700;
  color: var(--primary);
}

.sponsored-page-season p:first-child {
  margin-top: 0;
}

.sponsored-page-side-image {
  margin: 0;
}

.sponsored-page-side-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.sponsored-page-pair-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.4vw, 1rem);
}

.sponsored-page-pair-grid__item,
.sponsored-page-quad-grid__item,
.sponsored-page-center-image {
  margin: 0;
}

.sponsored-page-pair-grid__item img,
.sponsored-page-quad-grid__item img,
.sponsored-page-center-image img {
  width: 100%;
  height: auto;
}

.sponsored-page-quad-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.4vw, 1rem);
}

.sponsored-page-center-image {
  width: min(520px, 100%);
  margin: clamp(1rem, 2.2vw, 1.6rem) auto 0;
}

.sponsored-page-cta-box {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}

.sponsored-page-cta-box .sponsored-page-text-block {
  background: var(--primary);
  color: #fff;
  padding: clamp(1.4rem, 3.2vw, 2.1rem) clamp(1rem, 2.4vw, 1.6rem);
}

.sponsored-page-cta-box .sponsored-page-title {
  color: #fff;
  font-size: clamp(1.55rem, 2.2vw, 2.25rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.sponsored-page-cta-box .sponsored-page-history {
  margin-top: clamp(0.75rem, 1.7vw, 1.1rem);
}

.sponsored-page-cta-box .sponsored-page-history p {
  color: #fff;
  font-size: clamp(0.93rem, 0.98vw, 1.03rem);
  line-height: 1.9;
}

.sponsored-page-cta-box .sponsored-page-side-image {
  min-height: 100%;
}

.sponsored-page-cta-box .sponsored-page-side-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sponsored-page-cta-button {
  margin-top: clamp(1rem, 2vw, 1.4rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  width: 100%;
  max-width: 460px;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: #fff;
  color: #282425;
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  line-height: 1.35;
  letter-spacing: 0.01em;
  font-weight: 500;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.sponsored-page-cta-button::after {
  content: "";
  margin-left: 0.6rem;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid currentColor;
}

.sponsored-page-cta-button:hover,
.sponsored-page-cta-button:focus-visible {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* ---------------------------------------------------------
   4-7. Recruit page
   --------------------------------------------------------- */

body.recruit {
  background: #ffffff;
}

.recruit-page-main {
  background: #eef2fb;
  padding: clamp(2.2rem, 5vw, 3.8rem) 0 clamp(3.4rem, 6vw, 4.8rem);
}

.recruit-page-main__inner {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
}


.recruit-page-brand {
  width: min(420px, 90%);
  margin: clamp(1.25rem, 2.6vw, 1.9rem) auto 0;
}

.recruit-page-brand img {
  width: 100%;
  height: auto;
}

.recruit-page-requirements {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.recruit-page-block-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: clamp(1.3rem, 1.85vw, 1.75rem);
  line-height: 1.45;
  color: #201d1f;
  font-weight: 700;
}

.recruit-page-block-title::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--primary);
  flex: 0 0 auto;
}

.recruit-page-table-wrap {
  margin-top: clamp(0.9rem, 2vw, 1.4rem);
  background: #fff;
  border-radius: 18px;
  padding: clamp(1.1rem, 2.4vw, 2rem) clamp(0.9rem, 2.2vw, 1.5rem) clamp(1.6rem, 3.2vw, 2.4rem);
}

.recruit-page-table {
  width: 100%;
  border-collapse: collapse;
}

.recruit-page-table tr {
  border-top: 1px solid rgba(44, 39, 39, 0.26);
}

.recruit-page-table tr:last-child {
  border-bottom: 1px solid rgba(44, 39, 39, 0.26);
}

.recruit-page-table th,
.recruit-page-table td {
  padding: 0.78rem 0;
  vertical-align: top;
  font-size: clamp(0.86rem, 0.94vw, 0.98rem);
  line-height: 1.86;
  color: #2a2728;
}

.recruit-page-table th {
  width: min(130px, 24%);
  padding-right: 0.9rem;
  color: var(--primary);
  font-weight: 700;
  text-align: left;
}

.recruit-page-entry-button {
  margin: clamp(1.6rem, 3vw, 2.2rem) auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(210px, 100%);
  min-height: 44px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: clamp(0.95rem, 1.05vw, 1.06rem);
  line-height: 1.3;
  letter-spacing: 0.03em;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.recruit-page-entry-button::after {
  content: "";
  margin-left: 0.6rem;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid #fff;
}

.recruit-page-entry-button:hover,
.recruit-page-entry-button:focus-visible {
  transform: translateY(-1px);
  opacity: 0.9;
}

@media (max-width: 980px) {
  .sponsored-page-section__inner--split {
    grid-template-columns: 1fr;
  }

  .sponsored-page-hero + .sponsored-page-section .sponsored-page-section__inner--split {
    grid-template-columns: 1fr;
  }

  .sponsored-page-side-image {
    max-width: 640px;
  }

  .sponsored-page-hero + .sponsored-page-section + .sponsored-page-section .sponsored-page-section__inner--split {
    grid-template-columns: 1fr;
  }

  .sponsored-page-cta-box {
    grid-template-columns: 1fr;
  }

  .recruit-page-table th {
    width: 108px;
  }
}

@media (max-width: 768px) {
  .sponsored-page-hero__inner,
  .sponsored-page-section__inner {
    width: min(1120px, calc(100% - 1.25rem));
  }

  .sponsored-page-hero__inner {
    padding: 1.8rem 0 1.25rem;
  }

  .sponsored-page-hero__lead {
    font-size: clamp(1.32rem, 6.2vw, 1.9rem);
    line-height: 1.55;
  }

  .sponsored-page-hero + .sponsored-page-section {
    padding-top: 1.8rem;
  }

  .sponsored-page-hero + .sponsored-page-section .sponsored-page-text-block {
    padding: 1.25rem 1rem 1.4rem;
  }

  .sponsored-page-hero + .sponsored-page-section .sponsored-page-title {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .sponsored-page-hero + .sponsored-page-section .sponsored-page-text {
    font-size: 0.96rem;
    line-height: 1.95;
  }

  .sponsored-page-hero + .sponsored-page-section + .sponsored-page-section .sponsored-page-title {
    font-size: 1.25rem;
    padding-left: 1rem;
  }

  .sponsored-page-hero + .sponsored-page-section + .sponsored-page-section .sponsored-page-title::before {
    width: 7px;
    height: 7px;
  }

  .sponsored-page-section {
    padding: 1.45rem 0;
  }

  .sponsored-page-title {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
    line-height: 1.35;
  }

  .sponsored-page-text,
  .sponsored-page-history p,
  .sponsored-page-season p {
    font-size: 0.9rem;
    line-height: 1.85;
  }

  .sponsored-page-history p + p {
    margin-top: 0.75rem;
  }

  .sponsored-page-season__heading {
    font-size: 1rem;
  }

  .sponsored-page-pair-grid,
  .sponsored-page-quad-grid {
    gap: 0.45rem;
  }

  .sponsored-page-center-image {
    margin-top: 0.85rem;
  }

  .sponsored-page-cta-box .sponsored-page-text-block {
    padding: 1rem 0.9rem 1.1rem;
  }

  .sponsored-page-cta-box .sponsored-page-title {
    font-size: clamp(1.28rem, 6.6vw, 1.7rem);
  }

  .sponsored-page-cta-box .sponsored-page-history p {
    font-size: 0.88rem;
    line-height: 1.75;
  }

  .sponsored-page-cta-button {
    min-height: 48px;
    max-width: 100%;
    font-size: 0.95rem;
  }

  .recruit-page-main {
    padding: 1.8rem 0 2.8rem;
  }

  .recruit-page-main__inner {
    width: min(980px, calc(100% - 1.25rem));
  }

  .recruit-page-brand {
    width: min(360px, 94%);
    margin-top: 1rem;
  }

  .recruit-page-requirements {
    margin-top: 1.5rem;
  }

  .recruit-page-table-wrap {
    border-radius: 14px;
    padding: 0.95rem 0.8rem 1.35rem;
  }

  .recruit-page-table th,
  .recruit-page-table td {
    font-size: 0.8rem;
    line-height: 1.72;
    padding: 0.62rem 0;
  }

  .recruit-page-table th {
    width: 90px;
    padding-right: 0.5rem;
  }

  .recruit-page-entry-button {
    width: min(184px, 100%);
    min-height: 40px;
    font-size: 0.9rem;
  }

  .quality-section {
    background-position: left center;
    background-size: cover;
  }

  .quality-overlay {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.82) 42%, rgba(255, 255, 255, 0.4) 70%, rgba(255, 255, 255, 0.12) 86%, rgba(255, 255, 255, 0) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(243, 248, 255, 0.08) 100%);
  }

  .quality-title::after {
    margin-top: 1rem;
  }

  .service-section {
    background-position: left bottom;
    background-size: cover;
  }

  .service-section__inner {
    width: min(1120px, calc(100% - 1.25rem));
    padding: 3rem 0 3.6rem;
  }

  .service-heading {
    margin-bottom: 1.8rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .service-card {
    min-height: auto;
    padding: 1.15rem 1rem 1.35rem;
    display: flex;
    gap: 23px;
  }

  .service-button {
    margin-top: 2.2rem;
  }

  .recruit-section {
    padding: 3rem 0 3.2rem;
  }


  .recruit-title::after {
    margin-top: 1rem;
  }

  .recruit-lead {
    margin-top: 1.1rem;
    line-height: 1.5;
  }

  .recruit-button {
    margin-top: 1.8rem;
  }

  .contact-section {
    padding: 3rem 0;
  }

  .contact-section__inner {
    width: min(1280px, calc(100% - 1.25rem));
  }

  .contact-list {
    margin-top: 1.4rem;
    gap: 1.1rem;
  }

  .contact-item__label {
    line-height: 1.5;
  }

  .contact-link {
    gap: 0.65rem;
  }

  .contact-link--phone {
    font-size: clamp(1.95rem, 9vw, 2.8rem);
  }

  .contact-link--mail {
    font-size: clamp(1.85rem, 7vw, 2.3rem);
  }

  .contact-gallery {
    gap: 0.7rem;
  }

  .sponsored-section__inner {
    flex-direction: column;
  }

  .sponsored-content {
    flex-basis: auto;
    padding: 3rem 1.25rem 2rem;
  }

  .sponsored-lead {
    margin-top: 1.35rem;
    font-size: clamp(0.7rem, 5vw, 1.4rem);
    line-height: 1.55;
  }

  .sponsored-more {
    position: absolute;
    display: flex;
    width: clamp(6.8rem, 40vw, 7rem);
    margin-top: -1rem;
    margin-bottom: 0rem;
    margin-left: auto;
    bottom: auto;
    top: -0.8rem;
  }
}



