/* ==========================================================================
   Base
   ========================================================================== */
:root {
  --mme-blue: #1b3a5b;
  --mme-lightblue: #1b5e9b;
  --mme-bk-blue: #dde7f0;
  --text-black: #333;
  --white: #fff;
  --border_lightgray: #ddd;
  --inner-width: 1180px;
  --header-h: 88px;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: var(--header-h);
}

body {
  font-family: "Noto Sans JP", "Outfit", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--text-black);
  font-weight: 500;
  min-width: 375px;
  overflow-x: clip;
}

.en {
  font-family: "Outfit", sans-serif;
}

.sp_only { display: none; }

/* スクロールで表示されるセクションアニメーション（KV/heroセクションは対象外） */
.js-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.3s ease, transform 1.3s ease;
}
.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* 見出し（.heading__sub / .heading__en）の1文字ずつ表示アニメーション */
.charReveal__char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  transition: opacity .5s ease, transform .5s ease;
}
.charReveal.is-visible .charReveal__char {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .charReveal__char {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

a {
  transition: opacity .2s ease;
}
a:hover {
  opacity: .7;
}

/* 見出し共通 */
.heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  margin-bottom: 40px;
}
.heading__en {
  color: var(--mme-lightblue);
}
.heading__lead {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.6;
}
.heading--white .heading__sub,
.heading--white .heading__en {
  color: var(--white);
}
.heading--left {
  align-items: flex-start;
  text-align: left;
}

/* 下層ページ共通タイトル */
.pageTitle {
  background: var(--mme-lightblue);
  padding: 80px 40px;
}
.pageTitle__inner {
  max-width: var(--inner-width);
  margin: 0 auto;
}
.pageTitle .heading { margin-bottom: 0; }

/* ボタン共通 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 56px;
  padding: 0 30px;
  border: 2px solid currentColor;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .05em;
  transition: background-color .2s ease, color .2s ease;
}
.btn img { width: 24px; height: 24px; }
.btn__icon { width: 24px; height: 24px; flex-shrink: 0; }
.btn__iconBg { fill: var(--icon-bg); transition: fill .2s ease; }
.btn__iconFg { stroke: var(--icon-fg); transition: stroke .2s ease; }
.btn--primary {
  --icon-bg: var(--white);
  --icon-fg: var(--mme-lightblue);
  background: var(--mme-lightblue);
  color: var(--white);
}
.btn--primary:hover {
  --icon-bg: var(--mme-lightblue);
  --icon-fg: var(--white);
  background: var(--white);
  color: var(--mme-lightblue);
  opacity: 1;
}
.btn--outline {
  --icon-bg: var(--mme-lightblue);
  --icon-fg: var(--white);
  background: var(--white);
  color: var(--mme-lightblue);
}
.btn--outline:hover {
  --icon-bg: var(--white);
  --icon-fg: var(--mme-lightblue);
  background: var(--mme-lightblue);
  color: var(--white);
  opacity: 1;
}
.btn--lg { width: 219px; flex-shrink: 0; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  padding: 22px 27px;
  /* SPメニュー（ドロワー）の開始位置。ヘッダー実高に合わせて各ブレークポイントで上書きする */
  --header-h: 88px;
}
.header__inner {
  max-width: 1386px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo img { width: auto; }
@media (min-width: 769px) {
  .header__logo img { height: 40px; }
}
.header__nav { display: flex; align-items: center; gap: 41px; }
.header__navList { display: flex; align-items: center; gap: 20px; }
.header__navItem--spOnly { display: none; }
.header__navList a {
  position: relative;
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .05em;
}
.header__navList a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.header__navList a:hover::after { transform: scaleX(1); }
.externalLinkIcon {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 4px;
  vertical-align: -1px;
  color: currentColor;
}
.header__contactBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mme-lightblue);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 30px;
  border: 2px solid var(--mme-lightblue);
  transition: background-color .3s ease, color .3s ease;
}
.header__contactBtn:hover {
  background: var(--white);
  color: var(--mme-lightblue);
}
.header__spBtn { display: none; position: relative; z-index: 200; }

/* ==========================================================================
   KV
   ========================================================================== */
.kv { position: relative; overflow: hidden; background: var(--white); padding: 0 40px; }
.kv__inner {
  max-width: var(--inner-width);
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 36px;
}
.kv__text { flex-grow: 0; flex-shrink: 1; flex-basis: 540px; min-width: 300px; padding: 180px 0; }
.kv__catch { font-weight: 700; font-size: 40px; letter-spacing: .05em; line-height: 1.6; }
.kv__lead { margin-top: 20px; font-weight: 500; font-size: 20px; color: var(--mme-blue); line-height: 1.6; }
.kv__btns { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 40px; }
.kv__photos { display: flex; flex-grow: 0; flex-shrink: 20; flex-basis: auto; min-width: 176px; max-height: 700px; gap: clamp(12px, 2vw, 36px); }
.kv__photoCol { flex: 1 1 0; min-width: 70px; height: 100%; overflow: hidden; }
.kv__photoCol--offset { margin-top: 0; }
.kv__photoTrack { display: flex; flex-direction: column; gap: 30px; width: 100%; }
.kv__photoCol img { flex-shrink: 0; border-radius: 15px; aspect-ratio: 4/3; object-fit: cover; }
.kv__photoCol--down .kv__photoTrack { animation: kvScrollDown 38s linear infinite; }
.kv__photoCol--up .kv__photoTrack { animation: kvScrollUp 42s linear infinite; }

@keyframes kvScrollDown {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}
@keyframes kvScrollUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
@keyframes kvScrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes kvScrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .kv__photoCol--down .kv__photoTrack,
  .kv__photoCol--up .kv__photoTrack {
    animation: none;
  }
}

/* ==========================================================================
   PROBLEM
   ========================================================================== */
.problem { background: var(--mme-lightblue); padding: 80px 40px; }
.problem__inner { max-width: var(--inner-width); margin: 0 auto; text-align: center; }
.problem__inner .heading { margin-bottom: 60px; }
.problem__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 19px;
  margin-bottom: 60px;
}
.problem__card {
  background: var(--white);
  border-radius: 20px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.problem__card img { max-width: 210px; width: 100%; margin: auto; aspect-ratio: 206/142; object-fit: cover; border-radius: 20px; }
.problem__card p { display: flex; align-items: center; justify-content: center; flex: 1; width: 100%; margin: auto; color: var(--mme-blue); font-size: 16px; text-align: center; line-height: 1.6; }
.problem__brSp { display: none; }
.problem__note { color: var(--white); font-weight: 700; font-size: 20px; line-height: 1.6; }

/* ==========================================================================
   SERVICE
   ========================================================================== */
.service { padding: 80px 40px; background: var(--white); }
.service .heading__en,
.reason .heading__en { color: var(--mme-blue); }
.service__inner { max-width: var(--inner-width); margin: 0 auto; }
.service__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.service__card {
  background: var(--mme-lightblue);
  border-radius: 30px;
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--white);
  text-decoration: none;
}
.service__cardText { display: flex; flex-direction: column; gap: 14px; flex: 1 1 260px; min-width: 0; max-width: 344px; }
.service__num { font-size: 14px; font-weight: 700; letter-spacing: .05em; }
.service__num span::before { content: ""; }
.service__en { font-family: "Outfit", sans-serif; font-weight: 700; font-size: 32px; letter-spacing: .05em; word-break: break-word; }
.service__title { font-weight: 700; font-size: 16px; line-height: 1.6; }
.service__desc { font-size: 12px; line-height: 1.6; }
.service__btn { display: inline-flex; width: 50px; height: 50px; border-radius: 50%; background: var(--white); align-items: center; justify-content: center; }
.service__btn img { width: 24px; height: 24px; }
.service__cardImg { flex-shrink: 0; width: 160px; height: 160px; border-radius: 20px; overflow: hidden; background: var(--white); }
.service__cardImg img { width: 100%; height: 100%; object-fit: contain; }

/* ==========================================================================
   REASON (WHY CHOOSE US)
   ========================================================================== */
.reason { background: var(--mme-bk-blue); padding: 100px 40px; }
.reason__inner { max-width: var(--inner-width); margin: 0 auto; }
.reason__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.reason__card {
  background: var(--white);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: 0 0 8px 0 rgba(83,103,73,.25);
  text-align: center;
}
.reason__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  min-width: 114px;
  padding: 0 8px;
  background: var(--mme-blue);
  color: var(--white);
  border-radius: 5px;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 18px;
}
.reason__card img { width: 100%; aspect-ratio: 320/180; object-fit: cover; border-radius: 20px; }
.reason__card h3 { color: var(--mme-blue); }
.reason__card p { align-self: stretch; text-align: left; }

/* ==========================================================================
   ABOUT US
   ========================================================================== */
.about { background: var(--white); padding: 112px 40px; }
.about__inner { max-width: var(--inner-width); margin: 0 auto; display: flex; gap: clamp(40px, 8vw, 151px); align-items: flex-start; }
.about__img { border-radius: 30px; overflow: hidden; flex: 1 1 260px; min-width: 0; max-width: 534px; }
.about__img img { width: 100%; height: 100%; object-fit: contain; aspect-ratio: 534/407; }
.about__body { display: flex; flex-direction: column; align-items: flex-start; gap: 29px; flex: 1 1 260px; min-width: 0; max-width: 440px; }
.about__body .heading { align-items: flex-start; text-align: left; margin-bottom: 0; }
.about__body .btn { width: 230px; }
.about__body .heading__en { color: var(--mme-blue); }
.about__text { font-size: 16px; line-height: 1.6; }

/* ==========================================================================
   実績スライダー（無限スクロール）
   ========================================================================== */
.worksSlider { overflow: hidden; background: var(--white); padding: 0 0 60px; }
.worksSlider__track {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: worksSliderScroll 64s linear infinite;
}
.worksSlider__item {
  flex: 0 0 auto;
  width: 20.4861vw;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
}
.worksSlider__item img { width: 100%; height: 100%; object-fit: cover; }
@keyframes worksSliderScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .worksSlider__track { animation: none; }
}

/* ==========================================================================
   band（お取引先の皆様へ）
   ========================================================================== */
.band { background: var(--mme-lightblue); padding: 80px 40px; }
.band__inner {
  max-width: var(--inner-width);
  margin: 0 auto;
  background: var(--white);
  border-radius: 30px;
  padding: 43px 40px 23px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  color: inherit;
  text-decoration: none;
}
.band__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mme-blue);
  color: var(--white);
  font-weight: 700;
  font-size: 20px;
  border-radius: 4px;
  padding: 3px 8px;
  min-width: 234px;
  height: 43px;
}
.band__text { margin-top: 22px; font-weight: 700; font-size: 16px; line-height: 1.6; max-width: 1021px; }
.band__brPc { display: inline; }
.band__img { margin-top: 10px; max-width: 481px; }
.band__more {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mme-blue);
  font-weight: 700;
  font-size: 16px;
}
.band__more img { width: 45px; }

/* ==========================================================================
   NEWS
   ========================================================================== */
.news { background: var(--white); padding: 80px 40px; }
.news .heading__en { color: var(--mme-blue); }
.news__inner { max-width: var(--inner-width); margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.news__list { position: relative; }
.news__more {
  position: absolute;
  top: -68px;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 32px;
  color: var(--mme-blue);
  font-weight: 700;
  font-size: 15px;
}
.news__item {
  padding: 33px 0;
  border-top: 1px solid #ddd;
}
.news__item:last-child { border-bottom: 1px solid #ddd; }
.news__itemLink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}
.news__itemMeta { display: flex; align-items: center; gap: 60px; min-width: 0; flex: 1; }
.news__itemLink time { color: #888; font-family: "Outfit", sans-serif; font-weight: 600; font-size: 16px; flex-shrink: 0; }
.news__itemLink p {
  color: var(--mme-blue);
  font-weight: 700;
  font-size: 15px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.news__itemArrow { width: 20px; flex-shrink: 0; margin-right: 30px; transition: transform .2s ease; }
.news__itemLink:hover .news__itemArrow { transform: translateX(6px); }

/* ==========================================================================
   RECRUIT / FAQ バナー
   ========================================================================== */
.banner2col {
  padding: 40px 40px;
  background: var(--white);
}
.banner2col__inner {
  max-width: var(--inner-width);
  margin: 0 auto;
  display: flex;
  gap: 20px;
}
.banner2col__item {
  flex: 1;
  background: var(--mme-lightblue);
  border-radius: 30px;
  padding: 70px 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--white);
}
.banner2col__sub { font-weight: 700; font-size: 20px; }
.banner2col__en { font-family: "Outfit", sans-serif; font-weight: 700; font-size: 48px; letter-spacing: .05em; margin-top: 11px; }
.banner2col__desc { margin-top: 20px; font-size: 16px; line-height: 1.6; }
.banner2col__brTab { display: none; }
.banner2col__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--white);
}
.banner2col__btn img { width: 24px; height: 24px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  position: relative;
  padding: 72px 40px 0;
}
.contact::before,
.contact::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  z-index: -1;
}
.contact::before {
  top: 0;
  height: var(--contact-split, 50%);
  background: var(--white);
}
.contact::after {
  top: var(--contact-split, 50%);
  bottom: 0;
  background: var(--mme-blue);
}
.contact__inner { max-width: var(--inner-width); margin: 0 auto; }
.contact__card {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  padding: 70px 120px;
  min-height: min(329px, 27.9vw);
  display: flex;
  align-items: center;
}
.contact__cardBg { position: absolute; inset: 0; }
.contact__cardBg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact__cardBg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 34, 58, .5);
}
.contact__cardInner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.contact__text { display: flex; flex-direction: column; gap: 20px; }
.contact__text .heading { margin-bottom: 0; }
.contact__note { color: var(--white); font-weight: 700; font-size: 16px; line-height: 1.6; }
.contact__btns { display: flex; flex-direction: column; gap: 24px; flex-shrink: 0; }
.contact__btn {
  --icon-bg: var(--mme-blue);
  --icon-fg: var(--white);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 269px;
  height: 56px;
  border: 2px solid var(--white);
  border-radius: 30px;
  background: var(--white);
  color: var(--mme-blue);
  font-weight: 700;
  font-size: 16px;
  transition: background-color .2s ease, color .2s ease;
}
.contact__btn:hover {
  background: var(--mme-blue);
  color: var(--white);
  opacity: 1;
  --icon-bg: var(--white);
  --icon-fg: var(--mme-blue);
}
.contact__btnIcon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
}
.contact__btnIconBg { fill: var(--icon-bg); transition: fill .2s ease; }
.contact__btnIconFg { stroke: var(--icon-fg); transition: stroke .2s ease; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--mme-blue); color: var(--white); padding: 70px 40px 20px; }
.footer__inner { max-width: var(--inner-width); margin: 0 auto; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 90px; }
.footer__brand { display: flex; flex-direction: column; gap: 30px; }
.footer__logo { max-width: 380px; width: 100%; }
.footer__logo img { width: 100%; }
.footer__address { font-style: normal; font-weight: 500; font-size: 14px; letter-spacing: .05em; line-height: 1.6; }
.footer__nav { padding-top: 30px; display: flex; gap: 100px; padding-right: 100px; }
.footer__nav ul { display: flex; flex-direction: column; gap: 15px; }
.footer__nav a { font-weight: 700; font-size: 14px; letter-spacing: .05em; line-height: 1.4; }
.footer__bottom {
  border-top: none;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer__links a { font-size: 14px; text-decoration: underline; }
.footer__copy { font-family: "Outfit", sans-serif; font-weight: 700; font-size: 11px; }

/* ==========================================================================
   ヘッダー SPメニュー (max-width: 1200px)
   ナビが横並びで収まらなくなるため、1200px以下はハンバーガー＋ドロワーに切り替える。
   ========================================================================== */
@media (max-width: 1200px) {
  .header__spBtn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
  }
  .header__spBtn span { display: block; width: 100%; height: 2px; background: var(--mme-blue); transition: transform .3s ease, opacity .3s ease; }
  .header__spBtn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header__spBtn.is-open span:nth-child(2) { opacity: 0; }
  .header__spBtn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header__nav {
    position: fixed;
    top: 0;
    z-index: 100;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 120px 50px 30px;
    gap: 40px;
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path .4s ease, visibility .4s;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
  }
  .header__nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
  .header__navList { flex-direction: column; align-items: center; gap: 30px; }
  .header__navItem--spOnly { display: list-item; }
  .header__contactBtn { width: 100%; max-width: 250px; padding: 20px 20px; }

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

/* ==========================================================================
   980px以下
   ========================================================================== */
@media (max-width: 980px) {
  .kv__inner { flex-direction: column; gap: 40px; }
  .kv__text { flex-basis: auto; padding: 40px 0 0; }
  .kv__photos {
    flex: 0 0 auto;
    flex-direction: column;
    align-self: center;
    width: calc(100% + 80px);
    min-width: 0;
    max-height: none;
    gap: 15px;
    padding-bottom: 50px;
  }
  .kv__photoCol,
  .kv__photoCol--offset {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    min-width: 0;
    aspect-ratio: auto;
    overflow: hidden;
    margin-top: 0;
  }
  .kv__photoTrack {
    flex-direction: row;
    width: max-content;
  }
  .kv__photoCol--down .kv__photoTrack { animation: kvScrollLeft 22s linear infinite; }
  .kv__photoCol--up .kv__photoTrack { animation: kvScrollRight 26s linear infinite; }
  .kv__photoCol img {
    width: 220px;
    height: 165px;
    aspect-ratio: auto;
    flex-shrink: 0;
  }
  .kv__photoDup { display: block; }

  .footer__top { flex-direction: column; align-items: center; }
  .footer__nav { padding-right: 0; }

  .contact__card { padding: 40px 30px; }
  .banner2col__item { padding: 40px 30px; }

  .contact__cardInner { flex-direction: column; text-align: center; }
  .contact__text { align-items: center; }
  .contact__text .heading { align-items: center; }
}

/* ==========================================================================
   TAB (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .pageTitle { padding: 60px 40px; }

  .header { padding: 16px 20px; --header-h: 65px; }
  .header__logo img { width: 260px; }

  .worksSlider__item { width: 30vw; }
  .worksSlider__track { gap: 12px; }

  .kv { padding: 0 40px; }
  .kv__catch { font-size: 32px; }
  .kv__lead { font-size: 16px; }
  .kv__btns { flex-wrap: wrap; }

  .problem { padding: 60px 40px; }
  .problem__brSp { display: inline; }
  .problem__list { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .problem__note { font-size: 16px; }

  .service { padding: 60px 40px; }
  .service__list { grid-template-columns: repeat(1, 1fr); gap: 16px; }
  .service__card { flex-direction: column; align-items: stretch; text-align: center; padding: 24px; }
  .service__cardText { align-items: center; max-width: 100%; flex-grow: 1; }
  .service__cardImg { order: -1; align-self: center; }
  .service__btn { margin-top: auto; }

  .reason { padding: 60px 40px; }
  .reason__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .reason__card { flex: 0 1 calc(50% - 8px); min-width: 100%; }

  .about { padding: 60px 40px; }
  .about__inner { flex-direction: column; gap: 40px; }
  .about__img { width: 100%; }

  .band { padding: 60px 40px; }
  .band__brPc { display: none; }
  .band__inner { padding: 30px 24px 40px; }
  .band__more { align-self: center; }

  .news { padding: 60px 40px; }
  .news__list { display: flex; flex-direction: column; gap: 20px; }
  .news__more { position: static; order: 2; align-self: center; margin: 0; }
  .news__list > ul { order: 1; }
  .news__itemMeta { gap: 20px; flex-direction: column; align-items: baseline; }
  .news__itemArrow { display: none; }
  .news__itemLink p {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.5;
  }

  .banner2col { padding: 30px 40px; }
  .banner2col__inner { flex-direction: column; }
  .banner2col__item { flex: 1; flex-direction: column; align-items: center; text-align: center; padding: 40px 30px; }
  .banner2col__brTab { display: inline; }
  .banner2col__btn { align-self: flex-end; }

  .contact { padding: 60px 40px 0; }
  .contact__text { width: 100%; }
  .contact__text .heading { align-items: center; text-align: center; }
  .contact__note { text-align: center; }
  .contact__card { padding: 40px 30px; aspect-ratio: auto; min-height: 0; }
  .contact__cardInner { flex-direction: column; align-items: center; text-align: center; }
  .contact__btns { width: 100%; }
  .contact__btn { width: 100%; }

  .footer { padding: 40px 40px 24px; }
  .footer__top { flex-direction: column; gap: 30px; }
  .footer__nav { flex-wrap: wrap; }
}

/* ==========================================================================
   580px以下
   ========================================================================== */
@media (max-width: 580px) {
  .problem__list { grid-template-columns: repeat(1, 1fr); }
}

/* ==========================================================================
   SP (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .sp_only { display: inline; }
  .pageTitle { padding: 50px 20px; }

  .header { padding: 14px 16px; --header-h: 50px; }
  .header__logo img { width: 230px; }
  .header__contactBtn { margin: 0 auto; }

  .kv { padding: 0 20px; }
  .kv__catch { font-size: 26px; }
  .kv__lead { font-size: 14px; }
  .kv__btns { flex-direction: column; width: 100%; }
  .btn--lg { width: 100%; }
  .kv__photos { width: calc(100% + 40px); padding-bottom: 30px; }
  .kv__photoCol img { width: 180px; height: 135px; }
  .kv__photoCol--down .kv__photoTrack { animation-duration: 40s; }
  .kv__photoCol--up .kv__photoTrack { animation-duration: 48s; }

  .problem { padding: 50px 20px; }
  .problem__list { grid-template-columns: 1fr; }

  .service { padding: 50px 20px; }
  .service__list { grid-template-columns: 1fr; align-items: start; }
  .service__card { flex-direction: column; align-items: center; text-align: center; padding: 24px; }
  .service__cardText { flex: 0 1 auto; align-items: center; max-width: 100%; }
  .service__cardImg { align-self: center; }

  .reason { padding: 50px 20px; }
  .reason__list { grid-template-columns: 1fr; }

  .about { padding: 50px 20px; }
  .about__body { align-items: center; text-align: center; }
  .about__body .heading { align-items: center; text-align: center; }

  .band { padding: 50px 20px; }
  .band__inner { padding: 24px 16px 30px; }
  .band__label { font-size: 16px; height: 36px; min-width: 180px; }

  .news { padding: 50px 20px; }

  .banner2col { padding: 40px 20px 20px; }
  .banner2col__inner { gap: 16px; }
  .banner2col__item { flex-direction: column; align-items: flex-start; padding: 40px 20px 20px; gap: 20px; }
  .banner2col__en { font-size: 36px; }

  .contact { padding: 50px 20px 0; }
  .contact__note { text-align: center; }
  .contact__card { padding: 24px 20px; aspect-ratio: auto; min-height: 0; }

  .footer { padding: 30px 20px 20px; }
  .footer__nav { flex-direction: column; gap: 20px; }
}
