/* ===========================================================
   AME Corporate — 共通スタイル（asobica風：暖かいグレー背景×白い角丸ボックス×写真ループ）
   =========================================================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  color: #222222;
  background: #EFEDEC;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Noto Sans JP', sans-serif;
}

a {
  color: #222222;
  text-decoration: none;
}
a:hover {
  color: #7A7A76;
}

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

/* ヘッダー：背景バーなし。ロゴ・ナビ・ボタンがそれぞれ白い角丸ボックスで浮く ---- */
.ame-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 300;
  background: transparent;
  pointer-events: none;
}
.ame-header-inner {
  max-width: none !important;
  padding: 20px 28px !important;
  gap: 16px !important;
}
.ame-logo-pill,
.ame-nav-inline,
.ame-header-ctas,
.ame-menu-toggle-label,
.ame-nav-links {
  pointer-events: auto;
}
.ame-logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: #222222;
  border-radius: 4px;
  height: 48px;
  padding: 0 18px 0 12px;
}
.ame-logo-pill span {
  color: #FFFFFF !important;
}

/* デスクトップ：白い角丸ボックスのナビ ------------------------------ */
.ame-nav-inline {
  display: flex;
  align-items: center;
  gap: 28px;
  background: #FFFFFF;
  border-radius: 4px;
  height: 48px;
  padding: 0 28px;
  margin-left: auto;
}
.ame-nav-inline a,
.ame-nav-inline-list a {
  font-size: 13px;
  font-weight: 700;
  color: #222222;
  text-decoration: none;
  white-space: nowrap;
}
.ame-nav-inline a:hover,
.ame-nav-inline-list a:hover {
  color: #7A7A76;
}
.ame-nav-inline-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ボタン（黒い角丸。右に区切り線＋矢印）-------------------------------- */
.ame-header-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ame-btn-outline,
.ame-btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 4px;
  padding: 15px 22px;
  white-space: nowrap;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.ame-btn-outline {
  border: 1.5px solid #222222;
  color: #222222 !important;
  background: transparent;
}
.ame-btn-solid {
  background: #222222;
  color: #FFFFFF !important;
}
.ame-btn-solid span {
  display: inline-block;
  border-left: 1px solid rgba(255,255,255,0.28);
  padding-left: 14px;
}
.ame-btn-outline:hover,
.ame-btn-solid:hover {
  opacity: 0.78;
}
.ame-header-ctas .ame-btn-solid {
  background: #FFFFFF;
  color: #222222 !important;
  height: 48px;
  padding: 0 20px;
}
.ame-header-ctas .ame-btn-solid span {
  border-left-color: rgba(0,0,0,0.16);
}

/* メニューボタン（モバイルのみ。白い角丸の「Menu」） --------------------- */
.ame-menu-toggle-input {
  display: none;
}
.ame-menu-toggle-label {
  display: none;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border-radius: 4px;
  background: #222222;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
}
.ame-menu-toggle-label span {
  display: none;
}
.ame-menu-toggle-label::after {
  content: "Menu";
}
.ame-menu-toggle-input:checked ~ .ame-menu-toggle-label::after {
  content: "Close";
}

/* ナビドロワー（モバイル用） --------------------------------------- */
.ame-nav-links {
  display: flex;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(300px, 78vw);
  background: #222222;
  box-shadow: none;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 0 !important;
  padding: 100px 24px 24px 24px;
  box-sizing: border-box;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.ame-menu-toggle-input:checked ~ .ame-nav-links {
  transform: translateX(0);
  box-shadow: -16px 0 40px rgba(0,0,0,0.28);
}
.ame-menu-toggle-input:checked ~ .ame-menu-toggle-label {
  position: relative;
  z-index: 260;
  background: #FFFFFF;
  color: #222222;
}
.ame-nav-links > a,
.ame-menu li a {
  color: #EDEDEA !important;
}
.ame-nav-links > a:last-child,
.ame-menu li:last-child a {
  margin-top: 8px;
  text-align: center !important;
  color: #222222 !important;
  background: #FFFFFF !important;
  border-radius: 4px;
}
.ame-menu-overlay {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(34,34,34,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 150;
}
.ame-menu-toggle-input:checked ~ .ame-menu-overlay {
  opacity: 1;
  pointer-events: auto;
}
.ame-nav-links > a,
.ame-nav-links .ame-menu,
.ame-menu li {
  width: 100%;
}
.ame-nav-links > a,
.ame-menu li a {
  display: block !important;
  width: 100%;
  box-sizing: border-box;
  padding: 12px !important;
  text-align: left;
}
.ame-menu {
  list-style: none;
  flex-direction: column;
  gap: 0 !important;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* 860px以下：インラインナビ／ヘッダーCTAを隠し、Menuボタンを表示 -------- */
@media (max-width: 860px) {
  .ame-nav-inline,
  .ame-header-ctas {
    display: none !important;
  }
  .ame-menu-toggle-label {
    display: flex !important;
  }
  .ame-header-inner {
    padding: 14px 16px !important;
  }
  .ame-logo-pill {
    height: 44px;
  }
  .ame-menu-toggle-label {
    height: 44px;
  }
}

/* ヒーロー：上段・下段の2列の写真が、止まる→横に流れる→止まる を繰り返す（asobica風） ---- */
.ame-hero-flow2 {
  --tile: 100vw;
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #212121;
}
.ame-hero-row {
  flex: 1 1 50%;
  min-height: 0;
  overflow: hidden;
}
.ame-hero-row {
  --dir: -1;
  --origin: left center;
}
.ame-hero-row-b {
  --dir: 1;
  --origin: right center;
}
.ame-hero-row-track {
  position: relative;
  width: 100%;
  height: 100%;
}
/* 1枚ずつ重ねて、上の1枚が横に流れながらフェードアウトし、次の1枚が横から流れ込む（上段は右→左、下段は左→右） */
.ame-hero-tile {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -12%;
  width: 124%;
  background: #212121;
  overflow: hidden;
  will-change: opacity, transform;
}
.ame-hero-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ame-hero-tile:nth-child(n+12) { display: none; }
.ame-hero-tile:nth-child(1) { z-index: 11; animation: ameTurn0 40s linear infinite; }
.ame-hero-tile:nth-child(2) { z-index: 10; animation: ameTurn1 40s linear infinite; }
.ame-hero-tile:nth-child(3) { z-index: 9; animation: ameTurn2 40s linear infinite; }
.ame-hero-tile:nth-child(4) { z-index: 8; animation: ameTurn3 40s linear infinite; }
.ame-hero-tile:nth-child(5) { z-index: 7; animation: ameTurn4 40s linear infinite; }
.ame-hero-tile:nth-child(6) { z-index: 6; animation: ameTurn5 40s linear infinite; }
.ame-hero-tile:nth-child(7) { z-index: 5; animation: ameTurn6 40s linear infinite; }
.ame-hero-tile:nth-child(8) { z-index: 4; animation: ameTurn7 40s linear infinite; }
.ame-hero-tile:nth-child(9) { z-index: 3; animation: ameTurn8 40s linear infinite; }
.ame-hero-tile:nth-child(10) { z-index: 2; animation: ameTurn9 40s linear infinite; }
.ame-hero-tile:nth-child(11) { z-index: 1; animation: ameTurn10 40s linear infinite; }
@keyframes ameTurn0 {
  0%, 7.500% { transform: translateX(0); opacity: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  10.000%, 100% { transform: translateX(calc(var(--dir) * 9%)); opacity: 0; }
}
@keyframes ameTurn1 {
  0%, 7.500% { transform: translateX(calc(var(--dir) * -9%)); opacity: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  10.000%, 17.500% { transform: translateX(0); opacity: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  20.000%, 100% { transform: translateX(calc(var(--dir) * 9%)); opacity: 0; }
}
@keyframes ameTurn2 {
  0%, 17.500% { transform: translateX(calc(var(--dir) * -9%)); opacity: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  20.000%, 27.500% { transform: translateX(0); opacity: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  30.000%, 100% { transform: translateX(calc(var(--dir) * 9%)); opacity: 0; }
}
@keyframes ameTurn3 {
  0%, 27.500% { transform: translateX(calc(var(--dir) * -9%)); opacity: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  30.000%, 37.500% { transform: translateX(0); opacity: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  40.000%, 100% { transform: translateX(calc(var(--dir) * 9%)); opacity: 0; }
}
@keyframes ameTurn4 {
  0%, 37.500% { transform: translateX(calc(var(--dir) * -9%)); opacity: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  40.000%, 47.500% { transform: translateX(0); opacity: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  50.000%, 100% { transform: translateX(calc(var(--dir) * 9%)); opacity: 0; }
}
@keyframes ameTurn5 {
  0%, 47.500% { transform: translateX(calc(var(--dir) * -9%)); opacity: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  50.000%, 57.500% { transform: translateX(0); opacity: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  60.000%, 100% { transform: translateX(calc(var(--dir) * 9%)); opacity: 0; }
}
@keyframes ameTurn6 {
  0%, 57.500% { transform: translateX(calc(var(--dir) * -9%)); opacity: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  60.000%, 67.500% { transform: translateX(0); opacity: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  70.000%, 100% { transform: translateX(calc(var(--dir) * 9%)); opacity: 0; }
}
@keyframes ameTurn7 {
  0%, 67.500% { transform: translateX(calc(var(--dir) * -9%)); opacity: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  70.000%, 77.500% { transform: translateX(0); opacity: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  80.000%, 100% { transform: translateX(calc(var(--dir) * 9%)); opacity: 0; }
}
@keyframes ameTurn8 {
  0%, 77.500% { transform: translateX(calc(var(--dir) * -9%)); opacity: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  80.000%, 87.500% { transform: translateX(0); opacity: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  90.000%, 100% { transform: translateX(calc(var(--dir) * 9%)); opacity: 0; }
}
@keyframes ameTurn9 {
  0%, 87.500% { transform: translateX(calc(var(--dir) * -9%)); opacity: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  90.000%, 97.500% { transform: translateX(0); opacity: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  100.000%, 100% { transform: translateX(calc(var(--dir) * 9%)); opacity: 0; }
}
@keyframes ameTurn10 {
  0%, 97.500% { transform: translateX(calc(var(--dir) * -9%)); animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  100% { transform: translateX(0); }
}
.ame-hero-tile-ceo-hero img { object-position: 50% 28%; }
.ame-hero-tile-hero-staff img { object-position: 50% 20%; }
.ame-hero-tile-hero-street img { object-position: 50% 62%; }
.ame-hero-tile-hero-desk img { object-position: 50% 60%; }
.ame-hero-tile-hero-lounge img { object-position: 50% 62%; }
.ame-hero-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* ロゴの画像の上だけに文字を載せる（上段・下段どちらのロゴ画像にも入る） */
.ame-hero-tile-copy {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: calc(9.7% + clamp(24px, 5vw, 72px));
  transform: translateY(-50%);
  max-width: 80%;
}
.ame-hero-title {
  margin: 0;
  color: #FFFFFF !important;
  text-shadow: 0 2px 18px rgba(0,0,0,0.55), 0 0 4px rgba(0,0,0,0.35);
  font-size: clamp(24px, 3vw, 44px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

/* 写真ループ：同じサイズの写真が横にゆっくり流れ続ける帯 ------------- */
.ame-loop {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.ame-loop-track {
  display: flex;
  width: max-content;
  animation: ameLoop 70s linear infinite;
}
.ame-loop-item {
  flex: 0 0 auto;
  width: min(34vw, 500px);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #DDD9D7;
}
.ame-loop-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@keyframes ameLoop {
  to { transform: translateX(-50%); }
}
@media (max-width: 860px) {
  .ame-loop-item {
    width: 66vw;
  }
  .ame-loop-track {
    animation-duration: 55s;
  }
}
/* 写真ループとヒーローは、OSの「アニメーションを減らす」設定でも止めない */

/* 代表挨拶ページ（ポスター風：白いカード＋紺と金のアクセント） ------------------------- */
.ame-msg {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 40px;
  overflow: hidden;
  color: #1B2A4A;
}
.ame-msg-top {
  position: relative;
  padding: 72px 64px 48px 64px;
}
.ame-msg-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 52%;
  z-index: 0;
}
.ame-msg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  display: block;
}
.ame-msg-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, #FFFFFF 0%, rgba(255,255,255,0.85) 14%, rgba(255,255,255,0) 52%),
    linear-gradient(to top, #FFFFFF 0%, rgba(255,255,255,0) 26%);
}
.ame-msg-main {
  position: relative;
  z-index: 1;
  max-width: 600px;
}
.ame-msg-eyebrow {
  display: inline-block;
  min-width: 100%;
  font-family: 'Noto Serif JP', serif;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: #A98650;
  text-transform: uppercase;
  padding-bottom: 14px;
  border-bottom: 1px solid #D9C7A5;
  margin-bottom: 28px;
}
.ame-msg-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: clamp(36px, 4.4vw, 56px);
  letter-spacing: 0.08em;
  line-height: 1.2;
  margin: 0 0 14px 0;
  color: #14285A;
}
.ame-msg-slogan {
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: clamp(17px, 1.9vw, 22px);
  letter-spacing: 0.1em;
  margin: 0 0 24px 0;
  padding-bottom: 24px;
  border-bottom: 1px solid #E6E2DA;
  color: #14285A;
}
.ame-msg-body p {
  font-size: 14.5px;
  line-height: 2.05;
  letter-spacing: 0.04em;
  margin: 0 0 22px 0;
  color: #2A3550;
}
.ame-msg-sign {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.ame-msg-sign-co {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.12em;
  color: #2A3550;
}
.ame-msg-sign-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.ame-msg-sign-jp {
  font-family: 'Zen Kurenaido', 'Noto Serif JP', serif;
  font-size: 46px;
  letter-spacing: 0.06em;
  color: #14285A;
}
.ame-msg-sign-en {
  font-family: 'Noto Serif JP', serif;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: #A98650;
  margin: 2px 0 0 18px;
}
.ame-msg-pillars {
  position: relative;
  z-index: 1;
  padding: 8px 64px 56px 64px;
  text-align: center;
}
.ame-msg-pillars-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: clamp(17px, 2vw, 22px);
  letter-spacing: 0.16em;
  color: #14285A;
  margin: 0 0 36px 0;
}
.ame-msg-pillars-title::before,
.ame-msg-pillars-title::after {
  content: "";
  flex: 0 1 90px;
  height: 1px;
  background: #A98650;
}
.ame-msg-pillars-title b {
  color: #A98650;
  font-size: 1.25em;
  font-weight: 500;
}
.ame-msg-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.ame-msg-pillar {
  padding: 0 28px;
  border-left: 1px solid #E6E2DA;
}
.ame-msg-pillar:first-child {
  border-left: none;
}
.ame-msg-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid #A98650;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px auto;
}
.ame-msg-icon svg {
  width: 28px;
  height: 28px;
  stroke: #A98650;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ame-msg-pillar h3 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: #14285A;
  margin: 0 0 12px 0;
}
.ame-msg-pillar p {
  font-size: 13px;
  line-height: 1.9;
  color: #4A5470;
  margin: 0;
}
.ame-msg-banner {
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: center;
  padding: 40px 64px;
  background:
    linear-gradient(100deg, rgba(14,36,86,0.96) 0%, rgba(20,48,110,0.82) 55%, rgba(20,48,110,0.45) 100%),
    var(--ame-msg-banner-img) center/cover no-repeat;
}
.ame-msg-banner-text {
  font-family: 'Zen Kurenaido', 'Noto Serif JP', serif;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: #FFFFFF;
}
.ame-msg-banner-co {
  position: absolute;
  right: 32px;
  bottom: 20px;
  font-family: 'Noto Serif JP', serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.85);
}
@media (max-width: 860px) {
  .ame-msg {
    border-radius: 28px;
  }
  .ame-msg-top {
    padding: 0 28px 24px 28px;
  }
  .ame-msg-photo {
    position: relative;
    width: calc(100% + 56px);
    margin: 0 -28px;
    height: 420px;
  }
  .ame-msg-photo::after {
    background: linear-gradient(to top, #FFFFFF 0%, rgba(255,255,255,0) 40%);
  }
  .ame-msg-main {
    margin-top: -40px;
    max-width: none;
  }
  .ame-msg-pillars {
    padding: 0 20px 40px 20px;
  }
  .ame-msg-pillars-title {
    font-size: 16px;
    letter-spacing: 0.06em;
    gap: 12px;
  }
  .ame-msg-pillars-title::before,
  .ame-msg-pillars-title::after {
    flex: 0 1 32px;
  }
  .ame-msg-pillars-title span {
    white-space: nowrap;
  }
  .ame-msg-pillars-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ame-msg-pillar {
    border-left: none;
    border-top: 1px solid #E6E2DA;
    padding: 28px 0 0 0;
  }
  .ame-msg-pillar:first-child {
    border-top: none;
    padding-top: 0;
  }
  .ame-msg-banner {
    padding: 36px 28px 56px 28px;
  }
  .ame-msg-banner-co {
    right: 20px;
    bottom: 14px;
  }
  .ame-msg-sign-jp {
    font-size: 38px;
  }
}

/* 会社概要ページ（白いカード1枚＋罫線で区切る表。紺と金のアクセント） ------------------------- */
.ame-co {
  max-width: 960px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 40px;
  padding: 72px 72px 56px 72px;
  color: #1B2A4A;
  box-sizing: border-box;
}
.ame-co-head {
  padding-bottom: 36px;
  border-bottom: 1px solid #D9C7A5;
  margin-bottom: 8px;
}
.ame-co-script {
  font-family: 'Noto Serif JP', serif;
  font-style: italic;
  font-size: 26px;
  color: #A98650;
  line-height: 1;
  margin: 0 0 10px 0;
}
.ame-co-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: clamp(36px, 4.4vw, 52px);
  letter-spacing: 0.1em;
  line-height: 1.2;
  margin: 0;
  color: #14285A;
}
.ame-co-sub {
  font-size: 12px;
  letter-spacing: 0.4em;
  color: #A98650;
  margin: 12px 0 0 0;
}
.ame-co-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid #ECE8E1;
  align-items: start;
}
.ame-co-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.ame-co-eyebrow {
  font-family: 'Noto Serif JP', serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #A98650;
  text-transform: uppercase;
  margin: 0 0 6px 0;
}
.ame-co-label {
  font-size: 15px;
  font-weight: 700;
  color: #14285A;
  margin: 0;
}
.ame-co-value {
  font-size: clamp(17px, 1.9vw, 22px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: #14285A;
  margin: 0;
}
.ame-co-value small {
  font-size: 0.64em;
  font-weight: 500;
  margin-right: 14px;
  color: #2A3550;
}
.ame-co-value.is-address {
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 500;
  line-height: 2;
}
.ame-co-services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.ame-co-services li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}
.ame-co-services strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #14285A;
}
.ame-co-services strong::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: #A98650;
  vertical-align: middle;
  margin-right: 12px;
}
.ame-co-services span {
  font-size: 13.5px;
  color: #4A5470;
  line-height: 1.8;
}
@media (max-width: 860px) {
  .ame-co {
    border-radius: 28px;
    padding: 44px 26px 36px 26px;
  }
  .ame-co-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 24px 0;
  }
  .ame-co-services li {
    flex-direction: column;
    gap: 2px;
  }
}

/* ページタイトル帯（下層ページ） ------------------------------------- */
.ame-hero-light {
  background: transparent;
  position: relative;
  overflow: hidden;
}
.ame-hero-light + .ame-section-pad {
  padding-top: 56px !important;
}
.ame-eyebrow-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #7A7A76;
  text-transform: uppercase;
}

/* 事業内容カード：アイコン円＋下部ボタン ------------------------------ */
.ame-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid #222222;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #222222;
  margin-bottom: 20px;
}

/* リスト行 --------------------------------------------------------- */
.ame-list-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid #DAD6D4;
}
.ame-list-row:last-child {
  border-bottom: 1px solid #DAD6D4;
}

/* フッター：白い角丸の面＋巨大なワードマーク ---------------------------- */
.ame-footer {
  margin-top: 40px;
}
.ame-footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.ame-footer-col-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #222222;
  margin-bottom: 12px;
}
.ame-footer-col a {
  display: block;
  font-size: 13px;
  color: #5A5A58;
  text-decoration: none;
  margin-bottom: 10px;
}
.ame-footer-col a:hover {
  color: #222222;
}
.ame-footer-mark {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(120px, 26vw, 380px);
  line-height: 0.74;
  letter-spacing: -0.05em;
  color: #222222;
  text-align: center;
  white-space: nowrap;
  margin: 36px 0 0 0;
  padding-top: 0.06em;
  overflow: hidden;
  user-select: none;
}
.ame-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 4px;
  background: #222222;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  z-index: 250;
}
.ame-to-top:hover {
  opacity: 0.8;
  color: #FFFFFF;
}

/* 大見出し：英字の大きな見出し＋小さな日本語ラベル ---------------------- */
.ame-big-heading {
  font-family: 'Inter', 'Noto Sans JP', sans-serif !important;
  font-weight: 700 !important;
  font-size: clamp(40px, 5.4vw, 64px) !important;
  letter-spacing: -0.01em !important;
  line-height: 1.08 !important;
  margin: 0 0 10px 0 !important;
  color: #222222 !important;
}
.ame-big-heading-sub {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #222222;
  margin: 0;
}

/* ステートメント：白い角丸カード＋大きな見出し＋マーカー＋薄い巨大ロゴ文字 ---------- */
.ame-statement-band {
  position: relative;
  background: transparent;
}
.ame-statement-card {
  position: relative;
  overflow: hidden;
  background: #FFFFFF;
  border-radius: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 100px) clamp(26px, 6vw, 100px) clamp(44px, 6vw, 84px);
}
.ame-statement-tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #222222;
  margin-bottom: 26px;
}
.ame-statement-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #222222;
}
.ame-statement-lead {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(26px, 5.4vw, 52px);
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: #222222;
}
.ame-statement-rule {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 3px;
  background: #222222;
  margin: clamp(26px, 4vw, 44px) 0;
}
.ame-statement-body {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 0 0 18px 0;
  font-size: clamp(15px, 3.9vw, 18px);
  line-height: 2.05;
  color: #5A5A58;
}
.ame-statement-body.is-strong {
  color: #222222;
  font-weight: 700;
}
.ame-statement-card mark {
  background: linear-gradient(transparent 52%, #E2DEDC 52%, #E2DEDC 86%, transparent 86%);
  color: inherit;
  padding: 0 0.08em;
}
.ame-statement-watermark {
  position: absolute;
  right: -3%;
  bottom: -9%;
  z-index: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(170px, 36vw, 460px);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: #F2F0EF;
  pointer-events: none;
  user-select: none;
}
.ame-statement-foot2 {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin-top: clamp(28px, 4vw, 44px);
}
.ame-statement-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: #222222;
}
@media (max-width: 860px) {
  .ame-statement-card {
    border-radius: 28px;
  }
}
@media (min-width: 900px) {
  .ame-statement-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    column-gap: clamp(48px, 7vw, 120px);
    align-items: start;
  }
  .ame-statement-tag {
    grid-column: 1 / -1;
  }
  .ame-statement-lead {
    grid-column: 1;
    grid-row: 2 / span 5;
    font-size: clamp(30px, 3vw, 44px);
  }
  .ame-statement-rule,
  .ame-statement-body,
  .ame-statement-foot2 {
    grid-column: 2;
  }
  .ame-statement-rule {
    margin-top: 14px;
  }
  .ame-statement-foot2 {
    margin-top: 28px;
  }
}

/* 大きな角丸カード：左に縦書きのレールラベル ----------------------------- */
.ame-bigcard {
  display: flex;
  background: #F9F8F7;
  border-radius: 40px;
  overflow: hidden;
}
.ame-bigcard-rail {
  flex: 0 0 64px;
  border-right: 1px solid #EAE7E5;
  display: flex;
  justify-content: center;
  padding-top: 44px;
}
.ame-bigcard-rail span {
  writing-mode: vertical-rl;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #222222;
}
.ame-bigcard-rail span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #222222;
  display: inline-block;
}
.ame-bigcard-body {
  flex: 1;
  min-width: 0;
  padding: 72px clamp(24px, 5vw, 72px) 80px clamp(24px, 5vw, 72px);
}
@media (max-width: 860px) {
  .ame-bigcard {
    border-radius: 28px;
  }
  .ame-bigcard-rail {
    display: none;
  }
  .ame-bigcard-body {
    padding: 44px 18px 48px 18px;
  }
}

/* 暗い角丸カード（Next Step。Recruitセクション風） ---------------------- */
.ame-darkcard {
  border-radius: 40px;
  padding: 80px clamp(24px, 5vw, 72px);
  color: #FFFFFF;
  background-color: #222222;
  background-size: cover;
  background-position: center;
}
.ame-darkcard .ame-big-heading {
  color: #FFFFFF !important;
}
.ame-darkcard .ame-big-heading-sub {
  color: #FFFFFF !important;
}
.ame-darkcard .ame-next-card p {
  color: #D9D6D4 !important;
}
.ame-darkcard .ame-next-card div {
  color: #CFCBC9 !important;
}
@media (max-width: 860px) {
  .ame-darkcard {
    border-radius: 28px;
    padding: 48px 20px;
  }
}

/* 行動指針：横並びのリスト表示 -------------------------------------- */
.ame-conduct-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid #DAD6D4;
}
.ame-conduct-row:last-child {
  border-bottom: 1px solid #DAD6D4;
}
.ame-conduct-en {
  flex: 0 0 240px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #7A7A76;
  margin-top: 4px;
}
.ame-conduct-jp {
  font-size: 26px;
  font-weight: 700;
  color: #222222;
  letter-spacing: -0.01em;
}
.ame-conduct-desc {
  flex: 1;
  min-width: 260px;
  font-size: 14px;
  line-height: 1.9;
  color: #5A5A58;
}
@media (max-width: 700px) {
  .ame-conduct-en {
    flex: 1 1 100%;
  }
  .ame-conduct-desc {
    min-width: 100%;
  }
}

/* ===========================================================
   写真の出現演出（サイズはすべて aspect-ratio で統一）
   =========================================================== */
.ame-photo {
  position: relative;
  overflow: hidden;
  background: #DDD9D7;
}
.ame-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/*@WP-ONLY-START*/
.ame-photo img {
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.9s ease, transform 1.3s cubic-bezier(0.22,1,0.36,1);
}
.ame-photo.is-in img {
  opacity: 1;
  transform: scale(1);
}

/* スクロールで現れる演出 ------------------------------------- */
.ame-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.ame-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.ame-reveal-group > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.ame-reveal-group.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
.ame-reveal-group.is-visible > *:nth-child(1) { transition-delay: 0s; }
.ame-reveal-group.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.ame-reveal-group.is-visible > *:nth-child(3) { transition-delay: 0.24s; }
.ame-reveal-group.is-visible > *:nth-child(4) { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .ame-reveal,
  .ame-reveal-group > *,
  .ame-photo img {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
/*@WP-ONLY-END*/

/* カード：角丸を大きくし、ホバーで少し浮く ------------------------- */
.ame-card-hover {
  border-radius: 24px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ame-card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.07);
}
.ame-conduct-row.ame-card-hover {
  border-radius: 0 !important;
}
.ame-conduct-row.ame-card-hover:hover {
  transform: none;
  box-shadow: none;
}

/* お問い合わせフォーム（page-contact.php） ------------------- */
.ame-form {
  border-radius: 24px !important;
}
.ame-overview-table {
  border-radius: 24px !important;
}
@media (max-width: 640px) {
  .ame-form {
    padding: 28px 20px !important;
  }
}
.ame-form input,
.ame-form select,
.ame-form textarea {
  font-family: inherit;
}
.ame-form input:focus,
.ame-form select:focus,
.ame-form textarea:focus {
  outline: 2px solid #222222;
  outline-offset: 1px;
}

/* ヘッダーナビ（管理画面で作成したメニュー用） ------------------- */
.ame-footer-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.ame-footer-menu li a {
  font-size: 12px;
  color: #7A7A76;
}

/* NEXTカード ホバー ------------------------------------------ */
.ame-next-card {
  border-radius: 24px !important;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.ame-next-card:hover {
  border-color: #FFFFFF !important;
  transform: translateY(-2px);
}

.ame-voice-photo {
  flex: 0 0 120px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
}
@media (max-width: 700px) {
  .ame-voice-photo {
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    margin: 0 auto;
  }
}

/* スマホ対応 --------------------------------------------------- */
@media (max-width: 640px) {
  .ame-card-hover[style*="min-width"] {
    flex: 1 1 100% !important;
    min-width: 0 !important;
  }
  .ame-card-hover[style*="padding:44px"],
  .ame-card-hover[style*="padding:36px 40px"] {
    padding: 28px 22px !important;
  }
  .ame-reveal-group {
    row-gap: 20px;
  }
  .ame-reveal-group > * {
    flex: 1 1 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }
}

@media (max-width: 860px) {
  .ame-hero-light {
    padding-top: 120px !important;
    padding-bottom: 8px !important;
  }
  .ame-hero-light + .ame-section-pad {
    padding-top: 32px !important;
  }
  .ame-section-pad [style*="flex:0 0 300px"] {
    flex: 1 1 100% !important;
  }
  .ame-nav-links {
    width: min(260px, 70vw);
    padding: 88px 20px 24px 20px;
  }
  .ame-section-pad {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .ame-overview-row {
    flex-direction: column !important;
  }
  .ame-overview-label {
    flex: 1 1 auto !important;
    width: 100% !important;
    padding: 14px 20px 6px 20px !important;
    box-sizing: border-box;
  }
  .ame-overview-value {
    width: 100% !important;
    padding: 0 20px 18px 20px !important;
    box-sizing: border-box;
  }
  .ame-footer-cols {
    gap: 28px;
  }
}

@media (max-width: 600px) {
  .ame-big-heading {
    font-size: clamp(34px, 11vw, 46px) !important;
  }
  .ame-conduct-jp {
    font-size: 21px !important;
  }
}

@media (max-width: 480px) {
  .ame-section-pad {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
