/* 共通・トップ／リクルート／インタビュー／ヘッダー／事業内容
 * 既存の上書き順を保って整形。後半の調整も有効な指定として残しています。
 */
/* ========== 01 共通・トップページ ========== */
:root {
  --red-dark: #7f1113;
  --accent: #c84d44;
  --text: #222;
  --line: #d8d8d8;
  --white: #fff;
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.75;
}

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

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

.container {
  width: min(92%, var(--max));
  margin-inline: auto;
}

.container.narrow {
  width: min(88%, 900px);
}

.section {
  padding: 72px 0;
}

.section-title {
  margin: 0 0 50px;
  text-align: center;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.25;
}

.section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 14px auto 0;
  background: var(--accent);
}

.section-title.light {
  color: #fff;
}

.section-title.light::after {
  background: #fff;
}

#philosophy, #company, .history-section, .name-section, .news-section, .map-section, #contact {
  position: relative;
  z-index: 2;
}

.reveal-text {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.reveal-text.show {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.25s;
}

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

.diagram {
  margin-inline: auto;
  object-fit: contain;
}

.section-white {
  background: #fff;
}

.sp-br {
  display: none;
}

@media (max-width: 768px) {
  .sp-br {
    display: inline;
  }

  .section {
    padding: 52px 0;
  }

  .section-title {
    margin-bottom: 30px;
    font-size: 30px;
  }

}

/* 編集箇所：ヘッダー：高さ・背景・固定位置 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header-inner {
  width: 100%;
  max-width: none;
  min-height: 82px;
  margin: 0;
  padding: 10px clamp(24px, 4vw, 80px);
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 80px);
}

.logo {
  width: 128px;
  flex: 0 0 auto;
}

.logo img {
  width: 100%;
}

/* 編集箇所：ヘッダー：メニュー配置 */
.global-nav {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  font-size: 15px;
}

.global-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 30px;
  white-space: nowrap;
  transition: background-color .3s, color .3s;
}

.global-nav a:hover, .global-nav a.active {
  color: #fff;
  background: var(--accent);
}

.global-nav a.nav-recruit, .global-nav a.nav-contact {
  min-width: 140px;
  padding: 9px 22px;
  border: 2px solid var(--accent);
  border-radius: 999px;
}

.global-nav a.nav-recruit {
  margin-left: auto;
  color: var(--accent);
  background: #fff;
}

.global-nav a.nav-contact {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.global-nav a.nav-recruit:hover, .global-nav a.nav-contact:hover {
  color: #fff;
  background: #6b2424;
  border-color: #6b2424;
}

.nav-toggle, .hamburger {
  display: none;
}

@media (max-width: 1024px) {
  .header-inner {
    min-height: 72px;
    padding: 9px 18px;
    justify-content: space-between;
    gap: 16px;
  }

  .logo {
    width: 115px;
  }

  .nav-toggle {
    display: block;
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .hamburger {
    width: 42px;
    height: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5px 0;
    cursor: pointer;
  }

  .hamburger span {
    display: block;
    height: 4px;
    background: var(--accent);
  }

  .global-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 18px;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 12px 18px rgba(0, 0, 0, .08);
  }

  .global-nav a {
    padding: 13px 8px;
    border-bottom: 1px solid #eee;
  }

  .global-nav a.nav-recruit {
    margin-left: 0;
  }

  .global-nav a.nav-recruit, .global-nav a.nav-contact {
    width: 100%;
    min-width: 0;
    margin-top: 12px;
    padding: 10px 20px;
    border: 2px solid var(--accent);
  }

  .nav-toggle:checked~.global-nav {
    display: flex;
  }

}

.hero-overlay {
  min-height: inherit;
  display: flex;
  align-items: flex-start;
}

.hero-copy {
  width: min(92%, 860px);
  margin: 70px auto 0;
}

.hero-copy h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 4.5rem);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .65);
}

.hero-copy h1 span {
  color: var(--accent);
}

.hero-en {
  margin: -4px 0 20px;
  font-family: Georgia, serif;
  font-size: clamp(20px, 2.7vw, 32px);
  letter-spacing: .18em;
}

.hero-en strong {
  color: var(--accent);
  font-weight: 500;
}

.hero-text {
  width: min(580px, 100%);
  margin: 0;
  font-size: 15px;
}

#top .hero.psl-hero {
  position: sticky !important;
  top: 82px !important;
  z-index: 0;
  display: block !important;
  box-sizing: border-box;
  width: 100%;
  height: 780px !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: #fff !important;
}

.psl-hero__upper {
  position: relative;
  z-index: auto;
  max-width: 1200px;
  height: 390px;
  margin: 0 auto;
  padding: 0;
}

/* PCのファーストビュー：見出し、紹介文、地図の位置 */
@media (min-width: 1025px) {
  #top .hero.psl-hero .psl-hero__upper {
    top: clamp(0px, 1.5vw, 22px);
  }
}

#top .hero.psl-hero .psl-hero__title {
  position: absolute;
  z-index: 2;
  top: 40px;
  right: 12%;
  display: flex;
  flex-direction: row-reverse;
  gap: 12px;
  width: auto;
  height: auto;
  margin: 0;
  color: #171717;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(60px, 5vw, 88px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .04em;
}

#top .hero.psl-hero .psl-hero__title span {
  writing-mode: vertical-rl;
  white-space: nowrap;
}

#top .hero.psl-hero .psl-hero__title>span:last-child {
  margin-top: 1.2em;
}

#top .hero.psl-hero .psl-hero__title small {
  font-size: .65em;
  font-weight: inherit;
}

#top .hero.psl-hero .psl-hero__title em {
  color: #b44b45;
  font-style: normal;
}

#top .hero.psl-hero .psl-hero__english {
  position: absolute;
  z-index: 3;
  top: 100px;
  left: 15%;
  margin: 0;
  color: #171717;
  font-family: Georgia, serif;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 400;
  letter-spacing: .12em;
  white-space: nowrap;
}

#top .hero.psl-hero .psl-hero__english span {
  color: #b44b45;
  font-size: inherit;
}

#top .hero.psl-hero .psl-hero__description {
  position: absolute;
  z-index: 2;
  top: 180px;
  left: 15%;
  width: 43%;
  height: auto;
  margin: 0;
  color: #171717;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
}

#top .hero.psl-hero .sp-description {
  display: none;
}

#top .hero.psl-hero .psl-hero__map {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 62%;
  display: block;
  width: 30%;
  height: auto;
  transform: translateX(-50%);
  mix-blend-mode: multiply;
}

#top .hero.psl-hero .psl-hero__photo {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: calc(30vw + 40px);
  background: url("../img/tyoukaisan.jpg") center top / 100% 100% no-repeat;
  isolation: isolate;
}

#top .hero.psl-hero .psl-hero__photo img {
  display: none !important;
  position: relative;
  z-index: 0;
}

#top .hero.psl-hero .psl-hero__credit {
  position: absolute;
  z-index: 10;
  right: 100px;
  bottom: 100px;
  margin: 0;
  padding: 3px 6px;
  color: #fff;
  font-size: 15px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
}

/* 編集箇所：トップ：メインビジュアル */
.hero {
  min-height: 680px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .02), rgba(255, 255, 255, .03)), center center / cover no-repeat;
  position: sticky;
  top: 80px;
  z-index: 0;
}

#top .hero.psl-hero .psl-hero__photo::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #6c221b;
  mix-blend-mode: color;
  opacity: 0.75;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero {
    min-height: 600px;
    background-position: 52% center;
  }

  .hero-copy {
    margin-top: 46px;
  }

  .hero-copy h1 {
    line-height: 1.15;
  }

  .hero-en {
    margin-top: 8px;
    font-size: 18px;
    letter-spacing: .1em;
  }

  .hero-text {
    max-width: 78%;
    font-size: 14px;
    line-height: 1.65;
  }

}

@media (max-width: 650px) {
  #top .hero.psl-hero {
    height: 460px !important;
  }

  #top .hero.psl-hero .psl-hero__title {
    top: 25px;
    right: auto;
    left: 8%;
    flex-direction: row;
    align-items: baseline;
    gap: 0;
    font-size: clamp(43px, 11vw, 63px);
    white-space: nowrap;
  }

  #top .hero.psl-hero .psl-hero__title span {
    writing-mode: horizontal-tb;
    letter-spacing: .09em;
  }

  #top .hero.psl-hero .psl-hero__title>span:last-child {
    margin-top: 0;
    letter-spacing: .09em;
  }

  #top .hero.psl-hero .psl-hero__english {
    top: 80px;
    left: 8%;
    font-size: 18px;
    letter-spacing: .08em;
  }

  #top .hero.psl-hero .pc-description {
    display: none;
  }

  #top .hero.psl-hero .sp-description {
    display: block;
    top: 110px;
    left: 8%;
    width: 60%;
    font-size: 8px;
    white-space: pre-line;
  }

  #top .hero.psl-hero .psl-hero__map {
    top: 8px;
    left: 77%;
    width: 50%;
  }

  #top .hero.psl-hero .psl-hero__photo {
    top: 175px;
    bottom: auto;
    height: 300px;
    background-size: auto 367px;
    background-position: center top;
  }

  #top .hero.psl-hero .psl-hero__credit {
    right: 30px;
    bottom: 120px;
    font-size: 10px;
  }

  #top .hero.psl-hero .psl-hero__description br {
    display: none;
  }

}

.philosophy-card h3.philosophy-heading {
  display: flex;
  align-items: baseline;
  gap: 36px;
  width: 60%;
  margin: 0 0 60px;
  padding: 0 0 12px;
  border: 0;
  background: transparent;
  color: #fff;
  line-height: 1.1;
  position: relative;
  border-bottom: none;
}

.philosophy-en {
  font-family: "Times New Roman", "Yu Mincho", serif;
  font-size: clamp(48px, 6.5vw, 80px);
  font-weight: 400;
}

.philosophy-ja {
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.5;
}

.philosophy-body {
  display: grid;
  grid-template-columns: 34% minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}

.philosophy-image {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin-inline: auto;
}

.philosophy-text {
  min-width: 0;
}

.philosophy-card h4 {
  margin: 0 0 48px;
  color: #fff;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  line-height: 1.5;
}

.philosophy-card p {
  max-width: none;
  margin: 0;
  color: #fff;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Times New Roman", serif;
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 2.3;
}

.philosophy-card--vision h3.philosophy-heading {
  justify-content: flex-end;
  margin-left: auto;
}

.philosophy-card--vision .philosophy-body {
  grid-template-columns: minmax(0, 1fr) 34%;
}

.philosophy-card--vision .philosophy-text {
  text-align: right;
}

.philosophy-value-item+.philosophy-value-item {
  margin-top: 30px;
}

.philosophy-card--value h4 {
  margin-bottom: 0;
}

.philosophy-card--value p {
  line-height: 1.8;
}

.philosophy-image, .philosophy-card h3.philosophy-heading::after {
  opacity: 0;
  transform: translateX(-300px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.philosophy-card--vision .philosophy-image, .philosophy-card--vision h3.philosophy-heading::after {
  transform: translateX(300px);
}

.philosophy-card.is-visible .philosophy-image, .philosophy-card.is-visible h3.philosophy-heading::after {
  opacity: 1;
  transform: translateX(0);
}

#philosophy::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 0;
  width: 100%;
  height: 121px;
  background: linear-gradient(to bottom, rgba(185, 74, 63, 0), var(--red));
  pointer-events: none;
}

#philosophy .hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  color: #fff;
  font-weight: 700;
  letter-spacing: .12em;
  transition: opacity .3s ease;
}

#philosophy .hero-scroll__arrow {
  display: block;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
}

#philosophy .hero-scroll.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#philosophy {
  position: relative;
  overflow: visible;
  background-color: var(--red);
  color: #fff;
}

#philosophy .section-title {
  color: #fff;
}

#philosophy .section-title::after {
  background: #fff;
}

.philosophy-details {
  display: grid;
  gap: 0;
  overflow: visible;
}

.philosophy-card {
  min-width: 0;
  padding: 45px 0 70px;
  text-align: left;
  position: relative;
  isolation: isolate;
  background: #fff;
  color: var(--red);
}

.philosophy-card::before {
  content: none;
}

.philosophy-card h3.philosophy-heading, .philosophy-card h4, .philosophy-card p {
  color: var(--red);
}

.philosophy-card h3.philosophy-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  margin: 0;
  background: var(--red);
}

.philosophy-card--vision {
  background: var(--red);
  color: #fff;
}

.philosophy-card--vision::before {
  color: var(--red);
}

.philosophy-card--vision h3.philosophy-heading, .philosophy-card--vision h4, .philosophy-card--vision p {
  color: #fff;
}

.philosophy-card--vision h3.philosophy-heading::after {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
}

#mission, #vision, #value {
  scroll-margin-top: 100px;
}

#philosophy .philosophy-card.philosophy-card--vision::after {
  content: "Vision";
}

#philosophy .philosophy-card.philosophy-card--value::after {
  content: "Value";
}

#philosophy .philosophy-card:not(.philosophy-card--vision) .philosophy-image {
  border: none;
  border-radius: 50%;
}

#philosophy .philosophy-card::after {
  content: "Mission";
  position: absolute;
  bottom: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(120px, 21vw, 280px);
  font-weight: 700;
  line-height: .75;
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.04em;
  z-index: -1;
}

#philosophy .philosophy-hover-diagram {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 20px;
  isolation: isolate;
}

#philosophy .philosophy-hover-diagram__base {
  display: block;
  width: 100%;
  height: auto;
}

#philosophy .philosophy-hover-diagram__link {
  position: absolute;
  display: block;
  z-index: 1;
  width: 28%;
  height: 33%;
}

#philosophy .philosophy-hover-diagram__link.is-mission {
  left: 7%;
  top: 12%;
}

#philosophy .philosophy-hover-diagram__link.is-vision {
  right: 7%;
  top: 12%;
}

#philosophy .philosophy-hover-diagram__link.is-value {
  left: 7%;
  top: 56%;
}

#philosophy .philosophy-ict {
  position: absolute;
  right: 1%;
  top: 53%;
  width: 40%;
  z-index: 1;
}

#philosophy .philosophy-ict img {
  display: block;
  width: 100%;
  height: auto;
}

#philosophy .philosophy-hover-diagram__zoom {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 140%;
  max-width: none;
  height: auto;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  #philosophy .philosophy-hover-diagram__link:hover {
    z-index: 3;
  }

  #philosophy .philosophy-hover-diagram__link:hover .philosophy-hover-diagram__zoom {
    transform: translate(-50%, -50%) scale(1.36);
  }

}

#philosophy .philosophy-hover-diagram__link:focus-visible {
  z-index: 3;
}

#philosophy .philosophy-hover-diagram__link:focus-visible .philosophy-hover-diagram__zoom {
  transform: translate(-50%, -50%) scale(1.36);
}

@media (min-width: 769px) {
  #philosophy .philosophy-card h3.philosophy-heading {
    left: calc((100% - 100vw) / 2 + 40px);
  }

  #philosophy .philosophy-card--vision h3.philosophy-heading {
    left: auto;
    right: calc((100% - 100vw) / 2 + 40px);
  }

  #philosophy .philosophy-card p {
    white-space: nowrap;
  }

}

@media (max-width: 768px) {
  .philosophy-card {
    padding: 35px 0 45px;
  }

  .philosophy-card h3.philosophy-heading {
    width: 100%;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 30px;
  }

  .philosophy-en {
    font-size: 48px;
  }

  .philosophy-ja {
    font-size: 14px;
  }

  .philosophy-body, .philosophy-card--vision .philosophy-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .philosophy-image {
    width: 45%;
    max-width: 170px;
    margin-inline: auto;
  }

  .philosophy-card--vision .philosophy-image {
    grid-row: 1;
  }

  .philosophy-card--vision .philosophy-text {
    grid-row: 2;
    text-align: left;
  }

  .philosophy-card h4 {
    margin-bottom: 20px;
    font-size: 22px;
  }

  .philosophy-card--value h4 {
    margin-bottom: 6px;
  }

  .philosophy-card p {
    font-size: 14px;
    line-height: 2;
  }

  .philosophy-text br {
    display: none;
  }

  #philosophy::before {
    content: "";
    position: absolute;
    top: -120px;
    left: 0;
    width: 100%;
    height: 121px;
    background: linear-gradient(to bottom, rgba(185, 74, 63, 0), var(--red));
    pointer-events: none;
  }

  #philosophy .hero-scroll {
    position: absolute;
    z-index: 3;
    top: -100px;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
    transition: opacity .3s ease;
  }

  #philosophy .hero-scroll__arrow {
    display: block;
    width: 18px;
    height: 18px;
    border-right: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    transform: rotate(45deg);
  }

  #philosophy .hero-scroll.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  br.sp-br, #top .hero.psl-hero .psl-hero__description br.sp-br, .philosophy-text br.sp-br, .contact-intro br.sp-br {
    display: inline;
  }

  #philosophy {
    position: relative;
    overflow: visible;
    background-color: var(--red);
    overflow-x: clip;
  }

  #philosophy .philosophy-details, #philosophy .philosophy-card, #philosophy .philosophy-body, #philosophy .philosophy-text {
    min-width: 0;
    max-width: 100%;
  }

  #philosophy .philosophy-card p, #philosophy .philosophy-card--value .philosophy-value-item:nth-child(2) p {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  #philosophy .philosophy-card h3.philosophy-heading {
    left: auto;
    right: auto;
    width: 100%;
  }

  #philosophy .philosophy-card::after {
    right: 0;
    left: auto;
    font-size: clamp(98px, 28vw, 158px);
  }

  #philosophy .philosophy-card--vision::after {
    right: 0;
    left: auto;
  }

  #philosophy .philosophy-card.philosophy-card--vision::after {
    right: 0;
    left: auto;
  }

}

#philosophy .philosophy-details {
  padding: 24px 0 50px;
}

#philosophy .philosophy-card {
  border-radius: 24px;
  box-shadow: 0 14px 30px rgba(65, 16, 12, .25);
  overflow: hidden;
}

#philosophy .philosophy-card::before {
  content: none;
}

#philosophy .philosophy-card h3.philosophy-heading {
  left: auto;
  right: auto;
}

#philosophy .philosophy-card::after {
  right: 16px;
  left: auto;
}

#philosophy .philosophy-card.philosophy-card--vision::after {
  left: 16px;
  right: auto;
}

#philosophy .philosophy-card p {
  white-space: normal;
}

@media (max-width: 768px) {
  #philosophy .philosophy-card {
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(65, 16, 12, .25);
  }

}

#philosophy .container.narrow {
  width: min(94%, 1200px);
}

#philosophy .philosophy-card h3.philosophy-heading, #philosophy .philosophy-card h4, #philosophy .philosophy-card p {
  color: var(--red);
}

#philosophy .philosophy-card::after {
  color: rgba(185, 74, 63, .14);
}

#philosophy .philosophy-card--vision {
  background: #ba584e;
  color: #fff;
}

#philosophy .philosophy-card--vision h3.philosophy-heading, #philosophy .philosophy-card--vision h4, #philosophy .philosophy-card--vision p {
  color: #fff;
}

#philosophy .philosophy-card--vision h3.philosophy-heading::after {
  background: rgba(255, 255, 255, .65);
}

#philosophy .philosophy-card.philosophy-card--vision::after {
  color: rgba(255, 255, 255, .16);
}

#company {
  background: #fff;
  color: #222;
}

#company .section-title.light {
  color: #222;
  top: 0;
}

#company .section-title.light::after {
  background: var(--red);
}

.psl-business {
  --turn: 0deg;
  position: relative;
}

.business-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
  align-items: center;
  padding: 50px 0 70px;
  min-height: 550px;
}

.psl-business.enhanced {
  height: 240svh;
}

.enhanced .business-stage {
  position: sticky;
  top: 95px;
  min-height: calc(100svh - 110px);
}

.business-orbit {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
}

.business-ring {
  position: absolute;
  inset: 14%;
  border: 1px solid var(--red);
  border-radius: 50%;
}

.business-hub {
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  background: #a5282c;
  box-shadow: 0 0 0 24px #f5e3df;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 15px;
}

.business-count {
  position: absolute;
  top: 18%;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 20px;
}

.business-message {
  font-size: clamp(12px, 1.15vw, 16px);
  font-weight: 700;
  line-height: 1.6;
  margin: 12px 0 0;
  transform: translateY(-10px);
  white-space: pre-line;
}

.business-rotor {
  position: absolute;
  inset: 0;
  transform: rotate(var(--turn));
  transition: transform .85s cubic-bezier(.22, .61, .36, 1);
}

.business-node {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34%;
  aspect-ratio: 1;
  margin: -17%;
  padding: 0;
  background: #fff;
  border: 1px solid #edcfca;
  border-radius: 50%;
  cursor: pointer;
  color: #222;
  font: inherit;
  transform: rotate(var(--angle)) translateY(-110%);
}

.business-node-inner {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 12%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(calc(-1 * var(--angle) - var(--turn)));
  transition: transform .85s cubic-bezier(.22, .61, .36, 1);
}

.business-node img {
  width: 75%;
  height: 55%;
  object-fit: contain;
}

.business-node span span {
  font-size: clamp(10px, 1vw, 14px);
  font-weight: 700;
  line-height: 1.4;
  margin-top: 8px;
}

.business-node[aria-pressed="true"] {
  border-color: var(--red);
  box-shadow: 0 0 20px #b94a3f22;
}

.business-node:focus-visible {
  outline: 3px solid #222;
  outline-offset: 5px;
}

.business-panel[hidden] {
  display: none;
}

.business-panel.entering {
  animation: business-enter .65s both;
}

.business-eyebrow {
  color: #a5282c;
  letter-spacing: .2em;
  font-size: 13px;
}

.business-panel h3 {
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.3;
  margin: 20px 0;
}

.business-panel h3::after {
  content: "";
  display: block;
  background: var(--red);
  width: 45px;
  height: 2px;
  margin-top: 22px;
}

.business-description {
  font-size: 15px;
}

.business-photo {
  width: 100%;
  aspect-ratio: 2.25;
  object-fit: cover;
  border-radius: 4px;
  margin-top: 24px;
}

.business-hint {
  font-size: 12px;
  color: #777;
}

.company-basic-title {
  border-top: 1px solid #d9b1ab;
  padding-top: 40px;
  margin: 30px 0;
  font-size: 24px;
}

#company .company-box {
  box-shadow: 0 10px 30px #35100b12;
}

@keyframes business-enter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

@media (max-width: 900px), (max-height: 650px) {
  .psl-business.enhanced {
    height: auto;
  }

  .business-stage, .enhanced .business-stage {
    display: block;
    position: static;
    min-height: 0;
    padding-top: 15px;
  }

  .business-orbit {
    width: 76%;
    max-width: 440px;
    margin: 50px auto 70px;
  }

  .business-message {
    font-size: 13px;
  }

  .business-node span span {
    font-size: 12px;
  }

  .business-panel, .business-panel[hidden] {
    display: block;
    border-top: 1px solid #eedcd8;
    padding: 25px 0 35px;
  }

  .business-panel h3 {
    font-size: 28px;
  }

  .business-hint {
    display: none;
  }

}

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

  .psl-business.enhanced {
    height: auto;
  }

  .enhanced .business-stage {
    position: static;
    min-height: 0;
    align-items: start;
  }

  .business-rotor, .business-node-inner {
    transition: none;
  }

  .business-panel, .business-panel[hidden] {
    display: block;
    margin-bottom: 45px;
  }

  .business-panel.entering {
    animation: none;
  }

}

.history-section {
  background: var(--red);
  color: #fff;
}

.history-list>div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 28px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .45);
}

.history-list time {
  font-weight: 700;
}

.history-list p {
  margin: 0;
  font-size: 15px;
}

@media (max-width: 768px) {
  .history-list>div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

}

/* 編集箇所：社名の由来：共通セクション */
#psl-name {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  padding: 126px 0 76px;
  background: #fff;
  color: #252525;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

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

#psl-name .psl-name__inner {
  width: calc(100% - 80px);
  max-width: 1154px;
  margin: 0 auto;
}

#psl-name .psl-name__title {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #bd443a;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(50px, 7.32vw, 100px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
  text-align: center;
}

#psl-name .psl-name__title::before, #psl-name .psl-name__title::after {
  content: none;
}

#psl-name .psl-name__intro {
  margin: 34px 0 72px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  text-align: center;
}

#psl-name .psl-name__columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

#psl-name .psl-name__column {
  min-width: 0;
  padding: 0 60px 40px 60px;
}

#psl-name .psl-name__column+.psl-name__column {
  padding: 0 60px 40px 60px;
  border-left: 1px solid #d96c62;
}

#psl-name .psl-name__heading {
  margin: 0;
  padding: 0;
  color: #bd443a;
  font-size: 26px;
  font-weight: 550;
  line-height: 1.6;
  text-align: left;
}

#psl-name .psl-name__heading::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  margin: 30px 0 24px;
  background: #d96c62;
}

#psl-name .psl-name__text {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.85;
  text-align: left;
  max-width: none;
  white-space: normal;
  overflow-wrap: normal;
}

#psl-name .psl-name__definitions {
  margin: 32px 0 0;
  font-size: 15px;
  line-height: 1.85;
}

#psl-name .psl-name__definitions>div {
  display: grid;
  grid-template-columns: 95px minmax(0, 1fr);
}

#psl-name .psl-name__definitions dt, #psl-name .psl-name__definitions dd {
  margin: 0;
  padding: 0;
  font-weight: 400;
  white-space: normal;
  overflow-wrap: normal;
}

#psl-name-heading {
  margin: 0 0 60px;
  color: var(--text);
}

#psl-name-heading::after {
  background: var(--accent);
}

#psl-name #psl-name-title {
  opacity: 1;
  transform: none;
  transition: none;
}

#psl-name #psl-name-title.psl-title-ready {
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

#psl-name #psl-name-title.psl-title-ready.psl-title-visible {
  opacity: 1;
  transform: translateX(0);
}

#psl-name .psl-name__column, #psl-name .psl-name__column+.psl-name__column {
  padding: 0 30px 40px;
}

#psl-name .psl-name__heading, #psl-name .psl-name__text, #psl-name .psl-name__definitions {
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

#psl-name .psl-name__column+.psl-name__column>* {
  position: relative;
  left: 30px;
}

#psl-name .psl-name__column:first-child>* {
  position: relative;
  left: -30px;
}

@media (min-width: 768px) {
  #psl-name .psl-name__text, #psl-name .psl-name__definitions dt, #psl-name .psl-name__definitions dd {
    white-space: nowrap;
    overflow-wrap: normal;
  }

}

@media (max-width: 767px) {
  #psl-name {
    padding: 55px 0 60px;
  }

  #psl-name .psl-name__inner {
    width: calc(100% - 40px);
  }

  #psl-name .psl-name__title {
    font-size: clamp(30px, 8.5vw, 42px);
  }

  #psl-name .psl-name__intro {
    margin: 24px 0 42px;
    font-size: 13px;
    line-height: 1.9;
  }

  #psl-name .psl-name__columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  #psl-name .psl-name__heading {
    font-size: 19px;
  }

  #psl-name .psl-name__text, #psl-name .psl-name__definitions {
    font-size: 13px;
    line-height: 1.9;
  }

  #psl-name .psl-name__definitions {
    margin-top: 24px;
  }

  #psl-name .psl-name__definitions>div {
    grid-template-columns: 85px minmax(0, 1fr);
  }

  #psl-name .psl-name__pc-br {
    display: none;
  }

  #psl-name-heading {
    margin-bottom: 40px;
  }

  #psl-name .psl-name__column {
    padding: 0;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }

  #psl-name .psl-name__column+.psl-name__column {
    padding: 30px 0 0;
    border-left: 0;
    border-top: 1px solid #d96c62;
    padding-left: 0;
    padding-right: 0;
  }

  #psl-name .psl-name__heading::after {
    margin: 18px 0;
    margin-left: 0;
    margin-right: 0;
  }

  #psl-name .psl-name__column+.psl-name__column>* {
    left: 0;
  }

  #psl-name .psl-name__heading, #psl-name .psl-name__text, #psl-name .psl-name__definitions {
    text-align: left;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  #psl-name .psl-name__text, #psl-name .psl-name__definitions dt, #psl-name .psl-name__definitions dd {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  #psl-name .psl-name__pc-br, #psl-name .pc-br {
    display: none;
  }

}

@media (max-width: 767px) {
  #psl-name .psl-name__column:first-child>*, #psl-name .psl-name__column+.psl-name__column>* {
    left: auto;
    right: auto;
  }

}

.news-list {
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.news-list a {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 26px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.news-list time, .news-list span {
  color: var(--accent);
}

.section.news-section {
  background: var(--red);
  color: #fff;
}

.news-section .section-title, .news-section .news-list a, .news-section .news-list time, .news-section .news-list span {
  color: #fff;
}

.news-section .section-title::after {
  background: #fff;
}

.news-section .news-list, .news-section .news-list a {
  border-color: rgba(255, 255, 255, .4);
}

@media (max-width: 768px) {
  .news-list a {
    grid-template-columns: 130px 1fr;
    gap: 14px;
  }

}

.map-frame {
  width: 100%;
  height: 450px;
  border: 0;
}

.map-section {
  padding-top: 30px;
  background: #fff;
  width: 100%;
  margin: 0;
  padding: 0;
}

.map-image {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border: 1px solid #eee;
}

.footer-map {
  width: 100%;
  margin: 0;
  padding: 0;
}

.footer-map iframe {
  display: block;
  width: 100%;
  height: 450px;
  margin: 0;
  border: 0;
  border-radius: 0;
}

.footer-map+footer {
  margin-top: 0;
}

.map-section>.container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.map-section .section-title {
  display: none;
}

.map-section .map-frame {
  display: block;
  width: 100%;
  max-width: none;
  height: 350px;
  margin: 0;
  border: 0;
  border-radius: 0;
}

@media (max-width: 650px) {
  .footer-map iframe {
    height: 300px;
  }

  .map-section .map-frame {
    height: 300px;
  }

}

.contact-hero {
  padding: 70px 0;
  background: var(--red);
  color: #fff;
  text-align: center;
}

.contact-hero h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 46px);
}

.contact-hero p {
  margin: 8px 0 0;
  font-family: Georgia, serif;
  letter-spacing: .18em;
}

.contact-section {
  padding: 80px 0;
  background: #fff;
}

.contact-intro {
  margin-bottom: 55px;
  text-align: center;
}

.contact-intro p {
  margin: 0;
  font-size: 16px;
  line-height: 2;
}

.contact-form {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  border-top: 1px solid #ccc;
}

.form-row:last-of-type {
  border-bottom: 1px solid #ccc;
}

.form-row>label {
  padding: 25px 20px;
  background: #f4f4f4;
  font-weight: 700;
  display: grid;
  grid-template-columns: 1fr 44px;
  align-items: center;
  gap: 12px;
}

.form-row>input, .form-row>textarea, .form-row>.address-fields {
  margin: 20px;
}

.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #bbb;
  background: #fff;
  font-family: inherit;
  font-size: 15px;
}

.form-row textarea {
  resize: vertical;
}

.required {
  display: inline-block;
  width: 44px;
  padding: 2px 0;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  text-align: center;
}

.address-fields {
  display: grid;
  gap: 12px;
}

.privacy-box {
  max-height: 500px;
  margin-top: 60px;
  padding: 35px;
  overflow-y: auto;
  border: 1px solid #ccc;
  background: #fafafa;
}

.privacy-box h2 {
  margin: 0 0 25px;
  font-size: 22px;
}

.privacy-box h3 {
  margin: 30px 0 10px;
  font-size: 17px;
}

.privacy-box p, .privacy-box li {
  font-size: 14px;
  line-height: 1.9;
}

.privacy-box ul {
  padding-left: 24px;
}

.privacy-check {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 35px 0;
  cursor: pointer;
}

.privacy-check input {
  width: 18px;
  height: 18px;
}

.contact-submit {
  text-align: center;
}

.contact-submit :is(button, input[type="submit"]) {
  min-width: 260px;
  padding: 17px 50px;
  border: 0;
  background: var(--red);
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: .3s;
}

.contact-submit :is(button, input[type="submit"]):hover {
  background: var(--red-dark);
}

@media (max-width: 768px) {
  .contact-section {
    padding: 55px 0;
  }

  .contact-intro {
    margin-bottom: 40px;
  }

  .contact-intro br {
    display: none;
  }

  .form-row {
    display: block;
  }

  .form-row>label {
    display: block;
    padding: 13px 15px;
  }

  .form-row>input, .form-row>textarea, .form-row>.address-fields {
    width: calc(100% - 30px);
    margin: 15px;
  }

  .privacy-box {
    margin-top: 40px;
    padding: 22px 18px;
  }

  .contact-submit :is(button, input[type="submit"]) {
    width: 100%;
  }

}

/* 編集箇所：フッター */
.site-footer {
  color: #fff;
  margin-top: 0;
  border-top: 0;
}

.footer-inner {
  width: min(92%, 760px);
  margin: 0 auto;
  padding: 38px 0 30px;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  margin-bottom: 35px;
}

.footer-logo {
  display: block;
  width: 85px;
  height: 85px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.footer-logo img {
  width: 150px;
  height: 85px;
  max-width: none;
  object-fit: cover;
  object-position: left center;
  display: block;
}

.footer-company-info {
  text-align: left;
}

.footer-company-name {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
}

.footer-address {
  margin: 0;
  font-size: 14px;
}

.footer-bottom {
  text-align: center;
}

.footer-policy {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-policy a {
  color: #fff;
  transition: opacity 0.3s;
}

.footer-policy a:hover {
  opacity: 0.7;
}

.footer-note {
  margin: 0 0 12px;
  color: #888;
  font-size: 10px;
  line-height: 1.6;
}

.copyright {
  margin: 0;
  color: #888;
  font-size: 13px;
}

.site-footer .footer-logo {
  display: block;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
}

.site-footer .footer-logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  margin: 0;
  transform: none;
}

@media (max-width: 768px) {
  .footer-inner {
    width: 100%;
    padding: 10px 0;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .site-footer {
    padding: 5px 16px;
  }

  .site-footer .footer-main {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
  }

  .site-footer .footer-logo {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }

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

  .site-footer .footer-company-info {
    min-width: 0;
  }

  .site-footer .footer-company-name {
    font-size: 12px;
    margin: 0 0 6px;
  }

  .site-footer .footer-address {
    font-size: 11px;
    line-height: 1.6;
    margin: 0;
  }

  .footer-policy {
    font-size: 11px;
    gap: 8px;
  }

  .copyright {
    text-align: center;
    font-size: 10px;
  }

}

.recruit-hero {
  padding: 80px 0;
  background: var(--red);
  color: #fff;
  text-align: center;
}

.recruit-hero h1 {
  margin: 0;
  font-size: 42px;
}

.recruit-hero p {
  margin: 5px 0 0;
  font-family: Georgia, serif;
  letter-spacing: .15em;
}

.recruit-section {
  padding: 80px 0;
  background: #fff;
}

.recruit-heading {
  margin-bottom: 70px;
  text-align: center;
}

.recruit-heading h2 {
  margin-bottom: 25px;
  color: var(--red);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.5;
}

.recruit-heading p {
  font-size: 16px;
  line-height: 2;
}

.recruit-title {
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--red);
  font-size: 28px;
}

.recruit-table {
  border-top: 1px solid #ccc;
}

.recruit-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid #ccc;
}

.recruit-label {
  padding: 25px 20px;
  background: #f4f4f4;
  font-weight: 700;
}

.recruit-content {
  padding: 25px 30px;
  line-height: 2;
}

.recruit-content h4 {
  margin: 25px 0 5px;
}

.recruit-content p {
  margin: 0;
}

.recruit-button-wrap {
  margin-top: 60px;
  text-align: center;
}

.recruit-button {
  display: inline-block;
  min-width: 280px;
  padding: 18px 40px;
  background: var(--red);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  transition: background-color .3s, transform .3s;
}

.recruit-button:hover {
  background: #922f29;
  transform: translateY(-3px);
}

.sp-only {
  display: none;
}

@media (max-width: 768px) {
  .recruit-hero {
    padding: 55px 0;
  }

  .recruit-hero h1 {
    font-size: 32px;
  }

  .recruit-section {
    padding: 55px 0;
  }

  .recruit-heading {
    margin-bottom: 50px;
  }

  .recruit-row {
    display: block;
  }

  .recruit-label {
    padding: 14px 16px;
  }

  .recruit-content {
    padding: 20px 16px 30px;
  }

  .recruit-button {
    width: 100%;
  }

  .sp-only {
    display: block;
  }

}

.form-input-area {
  margin: 20px;
}

.form-input-area input, .form-input-area textarea, .form-input-area select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #bbb;
  background: #fff;
  font-family: inherit;
  font-size: 16px;
}

.input-note {
  margin: 7px 0 0;
  color: #777;
  font-size: 12px;
}

.job-options {
  display: grid;
  gap: 13px;
}

.job-options label {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}

.job-options input[type="radio"] {
  width: 17px;
  height: 17px;
  margin: 0;
}

@media (max-width: 768px) {
  .form-input-area {
    margin: 15px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .philosophy-image, .philosophy-card h3.philosophy-heading::after {
    opacity: 1;
    transform: none;
    transition: none;
  }

  #psl-name #psl-name-title.psl-title-ready {
    opacity: 1;
    transform: none;
    transition: none;
  }

}

.business-stage {
  position: relative;
  padding-top: 110px;
}

#company .business-fixed-title {
  position: absolute;
  top: 16px;
  left: 0;
  width: 100%;
  margin: 0;
  color: #222;
  text-align: center;
  font-size: 28px;
}

#company .business-fixed-title::after {
  background: var(--red);
}

#company .company-box {
  width: 100%;
  padding: 40px;
  margin: 0 auto 40px;
  background: #fff;
}

#company /* 編集箇所：会社概要：表 */
.company-table {
  display: table;
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
}

#company .company-table tbody {
  display: table-row-group;
}

#company .company-table tr {
  display: table-row;
}

#company .company-table th, #company .company-table td {
  display: table-cell;
  padding: 22px 20px;
  border-bottom: 1px solid #d9b1ab;
  vertical-align: top;
  text-align: left;
  line-height: 1.9;
}

#company .company-table th {
  width: 140px;
  font-weight: 700;
  white-space: nowrap;
}

#company .company-table td {
  width: auto;
  overflow-wrap: anywhere;
}

#company .company-table .privacy-mark {
  display: block;
  width: 90px;
  margin-top: 12px;
}

#company .company-table .privacy-mark img {
  display: block;
  width: 100%;
  max-width: 90px;
  height: auto;
}

@media (max-width: 768px) {
  #company .company-box {
    padding: 24px 16px;
  }

  #company .company-table {
    font-size: 13px;
  }

  #company .company-table tr {
    display: block;
    border-bottom: 1px solid #d9b1ab;
  }

  #company .company-table th, #company .company-table td {
    display: block;
    width: 100%;
    border-bottom: none;
  }

  #company .company-table th {
    padding: 18px 8px 4px;
  }

  #company .company-table td {
    padding: 4px 8px 18px;
  }

}

@media (max-width: 768px) {
  #company .business-orbit {
    display: none;
  }

}

#philosophy {
  background: #b4483d;
}

#philosophy>.container.narrow {
  width: min(92%, 1200px);
  max-width: 1200px;
}

#philosophy .philosophy-details {
  display: grid;
  gap: 80px;
}

#philosophy .philosophy-card {
  position: relative;
  padding: 40px 0;
  background: transparent;
  color: #fff;
}

#philosophy .philosophy-card::before, #philosophy .philosophy-card::after {
  content: none;
}

#philosophy .philosophy-heading {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 35px;
  width: 65%;
  margin: 0 0 35px;
  padding: 0 0 14px;
  color: #fff;
}

#philosophy .philosophy-en {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 7vw, 90px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

#philosophy .philosophy-ja {
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 400;
  line-height: 1.5;
}

#philosophy .philosophy-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #fff;
  opacity: 1;
  transform: none;
}

#philosophy .philosophy-body {
  display: grid;
  grid-template-columns: 30% minmax(0, 1fr);
  gap: 0;
  align-items: center;
}

#philosophy .philosophy-image {
  position: relative;
  z-index: 2;
  width: 110%;
  max-width: none;
  aspect-ratio: 1;
  height: auto;
  margin: 0;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
}

#philosophy .philosophy-text {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 55px 45px 70px 70px;
  border-radius: 32px;
  background: #df9387;
  box-shadow: 10px 14px 20px rgb(70 15 10 / 25%);
  text-align: left;
}

#philosophy .philosophy-text::after {
  position: absolute;
  bottom: 0;
  right: 15px;
  z-index: -1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(100px, 14vw, 190px);
  font-weight: 400;
  line-height: 1;
  color: rgb(255 255 255 / 18%);
  pointer-events: none;
}

#mission .philosophy-text::after {
  content: "Mission";
}

#vision .philosophy-text::after {
  content: "Vision";
  left: 15px;
  right: auto;
}

#value .philosophy-text::after {
  content: "Value";
}

#philosophy .philosophy-card h4 {
  margin: 0 0 35px;
  color: #fff;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.5;
}

#philosophy .philosophy-card p {
  max-width: none;
  margin: 0;
  color: #fff;
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 2.2;
  overflow-wrap: anywhere;
}

#philosophy .philosophy-card--vision .philosophy-heading {
  justify-content: flex-end;
  margin-left: auto;
}

#philosophy .philosophy-card--vision .philosophy-body {
  grid-template-columns: minmax(0, 1fr) 30%;
}

#philosophy .philosophy-card--vision .philosophy-image {
  justify-self: end;
}

#philosophy .philosophy-card--vision .philosophy-text {
  padding: 55px 70px 70px 45px;
  background: #bc5a4f;
  text-align: center;
}

#philosophy .philosophy-value-item+.philosophy-value-item {
  margin-top: 30px;
}

#philosophy .philosophy-card--value h4 {
  margin-bottom: 6px;
}

#philosophy .philosophy-card--value p {
  line-height: 1.8;
}

@media (max-width: 768px) {
  #philosophy .philosophy-details {
    gap: 45px;
  }

  #philosophy .philosophy-card {
    padding: 25px 0;
  }

  #philosophy .philosophy-heading, #philosophy .philosophy-card--vision .philosophy-heading {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 20px;
    margin: 0 0 30px;
  }

  #philosophy .philosophy-en {
    font-size: 52px;
  }

  #philosophy .philosophy-ja {
    font-size: 17px;
  }

  #philosophy .philosophy-body, #philosophy .philosophy-card--vision .philosophy-body {
    grid-template-columns: 1fr;
  }

  #philosophy .philosophy-image {
    grid-row: 1;
    justify-self: center;
    width: 160px;
    max-width: 100%;
    margin: 0 auto -25px;
  }

  #philosophy .philosophy-text, #philosophy .philosophy-card--vision .philosophy-text {
    grid-row: 2;
    min-height: 0;
    padding: 55px 24px 45px;
    border-radius: 24px;
    text-align: left;
  }

  #philosophy .philosophy-card h4 {
    font-size: 21px;
    margin-bottom: 22px;
  }

  #philosophy .philosophy-card p {
    font-size: 14px;
    line-height: 2;
  }

  #philosophy .philosophy-text::after {
    font-size: clamp(70px, 20vw, 110px);
  }

  #philosophy .philosophy-card--value h4 {
    margin-bottom: 6px;
  }

}

#philosophy .philosophy-card, #philosophy .philosophy-card.philosophy-card--vision, #philosophy .philosophy-card.philosophy-card--value {
  background: transparent;
  box-shadow: none;
  border: none;
  border-radius: 0;
}

#philosophy .philosophy-card::before, #philosophy .philosophy-card::after, #philosophy .philosophy-card.philosophy-card--vision::after, #philosophy .philosophy-card.philosophy-card--value::after {
  content: none;
  display: none;
}

#philosophy .philosophy-card h3.philosophy-heading, #philosophy .philosophy-card h3.philosophy-heading span {
  color: #fff;
}

#philosophy .philosophy-card h3.philosophy-heading::after {
  background: #fff;
}

/* ========== 02 リクルートページ ========== */
.psl-recruit {
  --recruit-blue: #087fdd;
  --recruit-display-blue: #04b8e0;
  background: #fff;
  padding-bottom: 66px;
  color: #202020;
}

.psl-recruit .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
}

.psl-recruit main {
  overflow: clip;
}

.psl-recruit a:focus-visible {
  outline: 3px solid #0bd0f0;
  outline-offset: 5px;
}

.recruit-mainvisual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 750/417;
  max-height: 620px;
  background: #eff4f6;
}

.recruit-mainvisual img {
  max-width: none;
}

.recruit-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: clamp(20px, 15vw, 240px);
  padding: 12px 24px;
  background: #087fdd;
  z-index: 110;
  box-shadow: 0 -1px 0 #ffffff80;
}

.recruit-fixed a {
  border: 2px solid white;
  color: white;
  min-width: 150px;
  text-align: center;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.4;
  padding: 2px 12px;
}

.recruit-fixed a:hover, .recruit-fixed a:focus-visible {
  background: #fff;
  color: #087fdd;
}

.recruit-jump {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 24px 16px;
  border-bottom: 1px solid #e5edf2;
  font-size: 14px;
  color: #087fdd;
}

.recruit-jump a:hover {
  text-decoration: underline;
}

.recruit-feature {
  position: relative;
  margin: 100px auto 135px;
  max-width: 1440px;
  isolation: isolate;
  min-height: 500px;
  scroll-margin-top: 100px;
}

.feature-visual {
  position: absolute;
  right: 0;
  top: 0;
  width: 68%;
  height: 85%;
  background: #087fdd url("../img/recruit-network.png") center/cover;
  z-index: -2;
}

.feature-inner {
  position: relative;
  max-width: 1120px;
  margin: auto;
  padding: 20px 30px;
}

.feature-inner:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  top: 100px;
  width: 65%;
  height: 95%;
  background: radial-gradient(#9ecfe6 2px, transparent 3px) 0 0/18px 18px, #d8eef8;
}

.feature-inner>h2 {
  font-size: clamp(64px, 10vw, 142px);
  line-height: 1.05;
  color: #00bfe9;
  mix-blend-mode: multiply;
  margin: 0 0 25px;
  text-align: right;
  letter-spacing: -.04em;
  font-weight: 700;
}

.feature-copy {
  background: #fff;
  border-left: 4px solid var(--recruit-blue);
  padding: 40px 45px;
  width: 65%;
  box-shadow: 0 4px 25px #006bad0c;
}

.feature-copy h3 {
  font-size: 23px;
  color: var(--recruit-blue);
  margin: 0 0 18px;
}

.feature-copy p {
  font-size: 16px;
  line-height: 2.1;
  margin: 0 0 22px;
}

.feature-copy p:last-child {
  margin-bottom: 0;
}

.feature-1 .feature-visual {
  left: 0;
  right: auto;
  filter: hue-rotate(8deg);
}

.feature-1 .feature-inner>h2 {
  text-align: left;
}

.feature-1 .feature-copy {
  margin-left: auto;
}

.feature-1 .feature-inner:before {
  left: auto;
  right: 0;
}

.feature-2 .feature-visual {
  background-position: 70% center;
}

.feature-2 .feature-copy h3 {
  margin-bottom: 8px;
}

.feature-2 .feature-copy p {
  font-size: 15px;
  margin-bottom: 20px;
}

.feature-works {
  min-height: 620px;
}

.feature-works .feature-visual {
  left: 0;
  right: auto;
  width: 72%;
}

.feature-works .feature-copy {
  margin-left: auto;
}

.feature-works .feature-inner>h2 {
  text-align: left;
}

.feature-works .feature-inner:before {
  right: 0;
  left: auto;
}

.recruit-requirements {
  padding: 60px 30px 100px;
  background: radial-gradient(#b4dcec 2px, transparent 3px) 0 0/18px 18px, #e5f4fb;
  scroll-margin-top: 85px;
}

.recruit-requirements-inner {
  max-width: 1080px;
  margin: auto;
}

.recruit-display {
  font-size: clamp(70px, 12vw, 140px);
  color: var(--recruit-display-blue);
  text-align: right;
  line-height: 1;
  margin: 0 0 25px;
}

.requirements-paper {
  background: white;
  border-left: 4px solid #087fdd;
  padding: 45px 50px;
}

.requirements-paper>h3 {
  color: #087fdd;
  font-size: 25px;
}

.requirements-paper .recruit-table {
  width: 100%;
  margin: 30px 0;
}

.requirements-paper .recruit-row {
  grid-template-columns: 150px 1fr;
  border-color: #dbe9f1;
}

.requirements-paper .recruit-label {
  color: #087fdd;
}

.recruit-entry {
  display: block;
  margin: 35px auto 0;
  background: #087fdd;
  color: #fff;
  text-align: center;
  padding: 16px;
  max-width: 320px;
  font-size: 19px;
}

.recruit-entry:hover {
  background: #005fba;
}

.recruit-about {
  display: flex;
  align-items: center;
  gap: 8%;
  padding: 55px max(5%, calc((100% - 1100px)/2));
  margin-top: 85px;
  background: #087fdd;
  color: white;
}

.recruit-about h2 {
  font-size: clamp(60px, 8vw, 120px);
  line-height: 1;
  margin: 0;
  color: #00dcff;
}

.recruit-about>div {
  background: white;
  color: #222;
  padding: 30px;
  flex: 1;
}

.recruit-about h3, .recruit-about a {
  color: #087fdd;
}

.psl-recruit .site-footer {
  margin: 0;
}

@media (max-width:650px) {
  .psl-recruit {
    padding-bottom: 62px;
  }

  .psl-recruit .header-inner {
    min-height: 70px;
  }

  .psl-recruit .logo img {
    width: 145px;
  }

  .recruit-mainvisual {
    max-height: none;
  }

  .recruit-jump {
    gap: 14px;
    padding: 20px 12px;
    font-size: 12px;
  }

  .recruit-fixed {
    gap: 20px;
    padding: 10px 15px;
  }

  .recruit-fixed a {
    min-width: 0;
    width: 45%;
    font-size: 19px;
    padding: 3px;
  }

  .recruit-feature {
    margin: 45px auto 75px;
    min-height: 0;
    padding-bottom: 30px;
  }

  .feature-visual {
    width: 100%;
    height: 65%;
    top: 0;
  }

  .feature-inner {
    padding: 10px 18px;
  }

  .feature-inner>h2, .feature-1 .feature-inner>h2, .feature-works .feature-inner>h2 {
    text-align: center;
    font-size: 70px;
    margin: 0 0 26px;
  }

  .feature-inner:before {
    top: 85px;
    width: 83%;
    height: 93%;
  }

  .feature-copy, .feature-1 .feature-copy, .feature-works .feature-copy {
    width: 100%;
    padding: 26px 22px;
    margin: 0;
  }

  .feature-copy h3 {
    font-size: 19px;
  }

  .feature-copy p {
    font-size: 14px;
    line-height: 2;
  }

  .feature-works .feature-visual {
    width: 100%;
  }

  .recruit-requirements {
    padding: 25px 16px 45px;
  }

  .recruit-display {
    font-size: 72px;
  }

  .requirements-paper {
    padding: 22px 18px;
  }

  .requirements-paper>h3 {
    font-size: 20px;
  }

  .requirements-paper .recruit-row {
    display: block;
  }

  .requirements-paper .recruit-label {
    padding: 12px 0 0;
    background: #fff;
    font-weight: bold;
  }

  .requirements-paper .recruit-content {
    padding: 10px 0 18px;
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .recruit-about {
    display: block;
    padding: 25px 18px;
    margin-top: 45px;
  }

  .recruit-about h2 {
    font-size: 70px;
    margin-bottom: 20px;
  }

  .recruit-about>div {
    padding: 22px;
  }

}

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

}

.psl-recruit .recruit-mainvisual {
  width: 100%;
  max-height: none;
}

.recruit-mainvisual img {
  display: block;
  width: 100%;
  height: auto;
  transform: none;
}

/* ========== 03 Message・Voice人物バナー ========== */
.psl-recruit .recruit-people {
  width: min(1120px, 92%);
  display: grid;
  gap: 58px;
  margin: 80px auto 110px;
}

.psl-recruit .people-link {
  position: relative;
  isolation: isolate;
  display: block;
  min-height: 320px;
  padding: 110px 7% 42px 40%;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.psl-recruit .people-link::before {
  content: "";
  position: absolute;
  z-index: -2;
  left: 3%;
  right: 0;
  top: 75px;
  bottom: 0;
  background: linear-gradient(90deg, #fff0, #d7edf8 36%, #cde7f5);
}

.psl-recruit .people-link::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0;
  top: 75px;
  bottom: 0;
  opacity: .6;
  background: radial-gradient(circle, #89bedb 1.5px, transparent 2px) 0 0/10px 10px;
  mask-image: linear-gradient(90deg, #000, transparent 45%, #000);
}

.psl-recruit .people-title {
  position: absolute;
  z-index: 1;
  left: 25%;
  top: 3px;
  font-family: Arial, sans-serif;
  font-size: clamp(65px, 8vw, 110px);
  font-weight: 700;
  letter-spacing: -4px;
  line-height: 1.05;
  color: #afcbe0;
  pointer-events: none;
}

.psl-recruit .people-portrait {
  position: absolute;
  z-index: 2;
  left: 0;
  top: auto;
  bottom: 0;
  width: 37%;
  height: 100%;
  overflow: hidden;
  background: transparent;
  mix-blend-mode: multiply;
}

.psl-recruit .people-portrait img, .psl-recruit .people-link:nth-child(2) .people-portrait img {
  position: absolute;
  display: block;
  left: 0;
  top: auto;
  bottom: 0;
  width: 100%;
  max-width: none;
  height: auto;
  transform: none;
}

.psl-recruit .people-link p {
  position: relative;
  z-index: 3;
  margin: 0;
  color: #087fdd;
  font-size: clamp(16px, 1.7vw, 21px);
  font-weight: 700;
  line-height: 1.7;
}

.psl-recruit .people-link .more {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  padding: 5px 22px;
  font-size: 13px;
  letter-spacing: .18em;
  background: #087fdd;
  color: #fff;
}

.psl-recruit .people-link:hover {
  background: transparent;
  transform: translateY(-3px);
}

.psl-recruit .people-link:hover .more {
  background: #005da8;
}

.psl-recruit .recruit-mainvisual img {
  transform: none;
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width:650px) {
  .psl-recruit .recruit-people {
    width: 94%;
    gap: 28px;
    margin: 45px auto 65px;
  }

  .psl-recruit .people-link {
    min-height: 205px;
    padding: 68px 3% 30px 40%;
  }

  .psl-recruit .people-title {
    left: 26%;
    top: 12px;
    font-size: clamp(42px, 12vw, 70px);
    letter-spacing: -2px;
  }

  .psl-recruit .people-link::before, .psl-recruit .people-link::after {
    top: 50px;
  }

  .psl-recruit .people-portrait {
    width: 39%;
    height: 100%;
  }

  .psl-recruit .people-portrait img, .psl-recruit .people-link:nth-child(2) .people-portrait img {
    width: auto;
    max-width: none;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
  }

  .psl-recruit .people-link p {
    font-size: 13px;
    line-height: 1.8;
  }

  .psl-recruit .people-link .more {
    position: absolute;
    font-size: 10px;
    padding: 3px 12px;
  }

}

@media (min-width:651px) {
  .psl-recruit .people-portrait img, .psl-recruit .people-link:nth-child(2) .people-portrait img {
    width: auto;
    height: 100%;
    left: 0;
    bottom: 0;
  }

}

.psl-recruit .people-link::after {
  left: 30%;
}

/* ========== 04 インタビューページ ========== */
body {
  background: #fff;
  color: #111;
}

.story-page {
  width: min(1100px, 91%);
  margin: 0 auto;
  padding: 50px 0 16px;
}

.story-title {
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: clamp(30px, 4.5vw, 58px);
  line-height: 1.15;
  margin: 28px 0 65px;
  font-weight: 700;
  letter-spacing: -1.8px;
  scroll-margin-top: 100px;
}

.source-region {
  position: relative;
  overflow: hidden;
  min-width: 0;
  width: 100%;
  align-self: start;
}

.source-region img {
  position: absolute;
  height: auto;
  display: block;
}

.message-card {
  display: grid;
  grid-template-columns: 31% 1fr;
  gap: 4.5%;
  position: relative;
  background: #f5f6f7;
  margin-bottom: 110px;
}

.message-copy {
  align-self: center;
}

.representative {
  font-size: clamp(12px, 1.8vw, 22px);
  margin: 0 0 28px;
}

.blue-return {
  display: inline-block;
  background: #087fda;
  color: #fff;
  letter-spacing: 3px;
  font-family: monospace;
  font-weight: 700;
  font-size: 14px;
  padding: 4px 12px;
  line-height: 1.6;
}

.message-card>.blue-return {
  position: absolute;
  right: 0;
  bottom: 0;
}

.story-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3%;
  margin: 40px 0 28px;
}

.story-row.photo-left, .story-row.intro {
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5%;
  align-items: center;
}

.business-summary {
  background: #f5f6f7;
  padding: 32px 5%;
  margin: 55px 0 65px;
}

.business-summary h3 {
  text-align: center;
  font-size: clamp(14px, 2.1vw, 24px);
  margin: 0 0 24px;
}

.interview-section {
  margin: 55px 0;
}

.interview-section h3 {
  line-height: 1.3;
  margin: 0 0 24px;
  letter-spacing: -.6px;
}

.bottom-return {
  margin: 10px 0 0;
}

.story-contact {
  display: flex;
  justify-content: center;
  gap: 18%;
  background: #087fda;
  padding: 13px 20px;
}

.story-contact a {
  border: 1px solid white;
  color: white;
  font-family: monospace;
  letter-spacing: 3px;
  padding: 2px 30px;
  font-size: 22px;
  line-height: 1.4;
}

.site-footer {
  background: #f6f7f8;
}

.story-page a:focus-visible, .story-contact a:focus-visible {
  outline: 3px solid #f2b323;
  outline-offset: 4px;
}

@media (max-width:650px) {
  .story-page {
    width: 90%;
    padding-top: 20px;
  }

  .story-title {
    margin: 20px 0 30px;
    letter-spacing: -.7px;
  }

  .message-card {
    grid-template-columns: 38% 1fr;
    margin-bottom: 65px;
  }

  .message-card .source-copy {
    grid-column: 1/-1;
  }

  .story-row, .story-row.photo-left, .story-row.intro {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin: 25px 0;
  }

  .story-row>div {
    width: 100%;
  }

  .source-copy {
    max-width: none;
  }

  .business-summary {
    margin: 30px 0 45px;
  }

  .business-summary h3 {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .interview-section {
    margin: 45px 0;
  }

  .interview-section h3 {
    text-align: center;
    margin: 0 0 20px;
    font-size: 24px;
  }

  .source-region {
    flex-shrink: 0;
  }

  .story-contact {
    gap: 12%;
    padding: 12px;
  }

  .story-contact a {
    font-size: 17px;
    padding: 3px 14px;
  }

  .blue-return {
    font-size: 11px;
  }

  .message-card>.source-region {
    align-self: center;
  }

}

.story-photo {
  width: 100%;
  min-width: 0;
  align-self: start;
}

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

.message-card>.story-photo img {
  aspect-ratio: 1;
  object-fit: cover;
}

.story-row>.story-photo {
  align-self: center;
}

@media (max-width:650px) {
  .story-photo {
    flex-shrink: 0;
  }

  .message-card>.story-photo {
    align-self: center;
  }

}

.story-copy {
  font-size: 16px;
  line-height: 2;
  color: #333;
  min-width: 0;
  overflow-wrap: anywhere;
  align-self: center;
}

.story-copy p {
  margin: 0 0 1.65em;
}

.story-copy p:last-child {
  margin-bottom: 0;
}

.message-copy {
  padding: 32px 7% 38px 0;
}

.message-card {
  align-items: center;
}

.story-row {
  align-items: start;
}

.story-row.intro {
  align-items: center;
}

.business-summary .story-copy {
  font-size: 15px;
}

.interview-section>.story-copy {
  margin: 30px 0;
}

.interview-section h3 {
  font-size: clamp(24px, 3vw, 38px);
}

@media (max-width:650px) {
  .story-copy, .business-summary .story-copy {
    font-size: 15px;
    line-height: 1.95;
  }

  .message-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 0 34px;
  }

  .message-card>.story-photo {
    width: 100%;
  }

  .message-card>.story-photo img {
    aspect-ratio: 4/3;
    object-position: center 35%;
  }

  .message-copy {
    padding: 24px 6% 18px;
  }

  .representative {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .story-row>div, .story-row.photo-left>div, .story-row.intro>div {
    width: 100%;
  }

  .story-row:not(.photo-left):not(.intro)>div:first-child {
    order: initial;
  }

  .story-row:not(.photo-left):not(.intro)>div:last-child {
    order: initial;
  }

  .story-row {
    gap: 24px;
  }

  .story-title {
    scroll-margin-top: 100px;
  }

  .business-summary {
    padding: 28px 6%;
  }

  .interview-section>.story-copy {
    margin: 24px 0;
  }

}

.psl-recruit .recruit-people {
  scroll-margin-top: 110px;
}

/* Message・Voiceの本文を少し下げる */
.psl-recruit .people-link p {
  top: 25px;
}

/* フッターの文字を濃いグレーに変更 */
.site-footer .footer-company-name, .site-footer .footer-address, .site-footer .footer-policy, .site-footer .footer-policy a {
  color: #333;
}

/* リクルート：プルダウン */
.global-nav .recruit-dropdown {
  position: relative;
}

.global-nav .recruit-dropdown > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  padding: 16px 30px;
  border: 2px solid #cb4b43;
  border-radius: 999px;
  background: #fff;
  color: #cb4b43;
  font: inherit;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.global-nav .recruit-dropdown > summary::-webkit-details-marker {
  display: none;
}

.global-nav .recruit-dropdown > summary:hover, .global-nav .recruit-dropdown[open] > summary {
  background: #cb4b43;
  color: #fff;
}

.global-nav .recruit-dropdown > summary:focus-visible {
  outline: 3px solid #087fdd;
  outline-offset: 4px;
}

.global-nav .recruit-dropdown > summary span {
  transition: transform .2s;
}

.global-nav .recruit-dropdown[open] > summary span {
  transform: rotate(180deg);
}

.global-nav .recruit-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 200;
  width: 250px;
  padding: 8px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(0 0 0 / 12%);
}

.global-nav .recruit-dropdown-menu > a {
  display: block;
  margin: 0;
  padding: 15px 16px;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: #333;
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
  text-decoration: none;
  white-space: normal;
}

.global-nav .recruit-dropdown-menu > a:hover, .global-nav .recruit-dropdown-menu > a:focus-visible {
  background: #fff0ee;
  color: #cb4b43;
}

/* スマホ */
@media (max-width: 650px) {
  .global-nav .recruit-dropdown {
    width: 100%;
  }

  .global-nav .recruit-dropdown-menu {
    position: static;
    box-sizing: border-box;
    width: 100%;
    margin-top: 10px;
    box-shadow: none;
  }

}

/* PC：リクルートとお問い合わせを右に寄せる */
@media (min-width: 651px) {
  .site-header .global-nav {
    display: flex;
    flex: 1;
    align-items: center;
  }

  .site-header .global-nav .recruit-dropdown {
    margin-left: auto;
  }

  .site-header .global-nav > .nav-contact {
    margin-left: 20px;
  }

}

/* ボタンからメニューへ移動するときに閉じないようにする */
.global-nav .recruit-dropdown-menu::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 12px;
}

/* ===== 追加：事業内容 ===== */
/* 画像内のデザインを保つ事業紹介。画像は assets/img/business-*.webp */
.business-sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.business-showcase {
  --business-header: 90px;
  position: relative;
  background: #af473b;
  margin: 0;
  padding: 0;
  isolation: isolate;
  scroll-margin-top: var(--business-header);
}

.business-showcase__sticky {
  position: relative;
  background: #af473b;
}

.business-showcase__canvas {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #af473b;
}

.business-showcase__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s ease,visibility .55s;
  pointer-events: none;
}

.business-showcase__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.business-showcase__slide>img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin: 0;
  max-width: none;
}

.business-showcase__copy {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.business-showcase__switch {
  position: absolute;
  left: 48.3%;
  right: 3%;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.8%;
  z-index: 4;
}

.business-showcase__switch button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.business-showcase__switch button:hover {
  background: rgba(255,255,255,.07);
}

.business-showcase__switch button:focus-visible {
  outline: 3px solid white;
  outline-offset: 2px;
  background: rgba(255,255,255,.12);
}

.business-showcase__hint {
  margin: 0;
  text-align: center;
  padding: 12px 0;
  color: #fff;
  font: 11px/1.4 Georgia,serif;
  letter-spacing: .16em;
  background: #af473b;
}

.business-showcase__hint span {
  display: inline-block;
  margin-left: 10px;
  animation: business-arrow 1.8s ease-in-out infinite;
}

@keyframes business-arrow {
  50% {
    transform: translateY(4px);
  }

}

@media (min-width: 1025px) {
  .business-showcase.is-scroll {
    height: 290svh;
    min-height: 1600px;
  }

  .business-showcase.is-scroll .business-showcase__sticky {
    position: sticky;
    top: var(--business-header);
  }

}

@media (max-width: 1024px) {
  .business-showcase__canvas {
    overflow: visible;
  }

  .business-showcase__slide,.business-showcase__slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: none;
  }

  .business-showcase__slide>img {
    height: auto;
    aspect-ratio: 1672/804;
  }

  .business-showcase__copy {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
    white-space: normal;
    color: #fff;
    padding: 24px 7% 38px;
    border-bottom: 1px solid #d58d7e;
  }

  .business-showcase__copy h3 {
    margin: 0 0 16px;
    font: 700 23px/1.5 sans-serif;
    letter-spacing: .02em;
  }

  .business-showcase__copy h3 span {
    font: 36px Georgia,serif;
    margin-right: 10px;
  }

  .business-showcase__copy p {
    margin: 0;
    font: 15px/1.95 sans-serif;
  }

  .business-showcase__switch,.business-showcase__hint {
    display: none;
  }

}

@media (prefers-reduced-motion:reduce) {
  .business-showcase__slide {
    transition: none;
  }

  .business-showcase__hint span {
    animation: none;
  }

}

/* ===== 事業内容：画像全体を右から左へ ===== */
.business-showcase__orbits {
  display: none;
}

@media (min-width: 1025px) {
  .has-whole-slide-motion .business-showcase__slide {
    opacity: 0;
    visibility: hidden;
    transition: none;
    transform: none;
    pointer-events: none;
    will-change: transform;
  }

  .has-whole-slide-motion .business-showcase__slide>img {
    visibility: visible;
  }

  .has-whole-slide-motion.is-entered .business-showcase__slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    animation: business-enter-right 2.2s cubic-bezier(.25,.7,.25,1) both;
  }

  .has-whole-slide-motion.is-entered .business-showcase__slide.is-leaving {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    animation: business-exit-left 2.2s cubic-bezier(.25,.7,.25,1) both;
  }

  .business-showcase__orbits {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
    transition: opacity 1s ease;
  }

  .is-entered .business-showcase__orbits {
    opacity: 1;
  }

  .business-showcase__orbit {
    position: absolute;
    display: block;
    box-sizing: border-box;
    border-radius: 50%;
    border: 1.5px solid transparent;
    border-top-color: rgba(255,255,255,.94);
    border-right-color: rgba(255,255,255,.58);
    transform-origin: center;
    animation: business-orbit-spin 19s linear infinite;
  }

  .business-showcase__orbit--large {
    width: 43%;
    aspect-ratio: 1;
    left: -4.5%;
    top: 23%;
  }

  .business-showcase__orbit--small {
    width: 17.3%;
    aspect-ratio: 1;
    left: -4.5%;
    top: 68.4%;
    animation-duration: 13s;
    animation-direction: reverse;
  }

  .business-showcase__orbit::after {
    content: "";
    position: absolute;
    left: 14%;
    top: 14%;
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 8px #ffffff70;
  }

}

@keyframes business-enter-right {
  from {
    transform: translateX(105%);
  }

  to {
    transform: translateX(0);
  }

}

@keyframes business-exit-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-105%);
  }

}

@keyframes business-orbit-spin {
  to {
    transform: rotate(360deg);
  }

}

@media (prefers-reduced-motion:reduce) {
  .has-whole-slide-motion .business-showcase__slide.is-active {
    animation: none !important;
  }

  .has-whole-slide-motion .business-showcase__slide.is-leaving {
    display: none;
  }

  .business-showcase__orbit {
    animation: none !important;
  }

}

/* ===== 見出しを企業理念と統一。画像内のBusiness見出しを表示範囲から除外 ===== */
.business-showcase__sticky {
  padding-top: 64px;
}

.business-showcase__title.section-title {
  position: relative;
  margin: 0 0 44px;
  text-align: center;
  color: #fff;
  font-size: clamp(28px,3vw,42px);
  font-weight: 700;
  line-height: 1.25;
}

.business-showcase__title.section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 14px auto 0;
  background: #fff;
}

.business-showcase__canvas {
  aspect-ratio: 1672/627;
}

.business-showcase__visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.business-showcase__visual>img {
  position: absolute;
  top: -28.229665%;
  left: 0;
  display: block;
  width: 100%;
  height: 128.229665%;
  max-width: none;
  object-fit: fill;
  margin: 0;
}

.business-showcase__switch {
  bottom: 1.66%;
  height: 13.46%;
}

.business-showcase__orbit--large {
  top: 1.3%;
}

.business-showcase__orbit--small {
  top: 59.5%;
}

@media (max-width: 1024px) {
  .business-showcase__sticky {
    padding-top: 48px;
  }

  .business-showcase__title.section-title {
    margin-bottom: 32px;
  }

  .business-showcase__canvas {
    aspect-ratio: auto;
  }

  .business-showcase__visual {
    position: relative;
    inset: auto;
    aspect-ratio: 1672/627;
  }

}

/* ===== 下部まで表示・ゆっくり移動・赤背景の統一 ===== */
:root {
  --red: #aa453b;
}

#business,#business .business-showcase__sticky,#business .business-showcase__canvas,#business .business-showcase__hint {
  background-color: #aa453b;
}

#philosophy.section-red,#company.section-red {
  background-color: #aa453b;
}

@media (min-width: 1025px) {
  .business-showcase__sticky {
    padding-top: clamp(18px,3vh,36px);
  }

  .business-showcase__title.section-title {
    margin-bottom: 24px;
  }

  .business-showcase__canvas {
    width: min(100%,calc(var(--business-stage-height,65vh) * 2.666667));
    margin-inline: auto;
  }

  .business-showcase__visual {
    mask-image: linear-gradient(to bottom,transparent 0,#000 7px,#000 calc(100% - 7px),transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom,transparent 0,#000 7px,#000 calc(100% - 7px),transparent 100%);
  }

}

#philosophy .philosophy-hover-diagram__link:hover .philosophy-hover-diagram__zoom, #philosophy .philosophy-hover-diagram__link:focus-visible .philosophy-hover-diagram__zoom {
  opacity: 1;
  visibility: visible;
}

/* 図全体の高さを確保 */
#philosophy .philosophy-hover-diagram {
  position: relative;
  aspect-ratio: 10 / 7;
  overflow: visible;
}

/* 中央の円とロゴ */
#philosophy .philosophy-diagram-center {
  position: absolute;
  left: 22%;
  top: 10%;
  width: 56%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, #e2aaa0, #bd655b);
  display: grid;
  place-items: center;
}

#philosophy .philosophy-diagram-center img {
  width: 50%;
  height: auto;
  border-radius: 50%;
}

/* 各画像は普段から表示 */
#philosophy .philosophy-hover-diagram__zoom {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  transition: transform .4s ease;
}

/* カーソルを合わせた画像だけ大きくする */
#philosophy .philosophy-hover-diagram__link:hover, #philosophy .philosophy-hover-diagram__link:focus-visible {
  z-index: 5;
}

#philosophy .philosophy-hover-diagram__link:hover .philosophy-hover-diagram__zoom, #philosophy .philosophy-hover-diagram__link:focus-visible .philosophy-hover-diagram__zoom {
  transform: translate(-50%, -50%) scale(1.3);
}

/* ICTも普段から表示 */
#philosophy .philosophy-ict {
  display: block;
}

/* スクロール案内・基本情報の見出しを消す */
.business-showcase__hint, #company .company-basic-title {
  display: none;
}

/* 会社概要を事業内容と同じ見出しに */
#company .section-title {
  color: #fff;
  text-align: center;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 44px;
  padding: 0;
  border: none;
}

#company .section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 14px auto 0;
  background: #fff;
}

/* 会社概要の見出しを事業内容と統一 */
#company h2.section-title {
  color: #fff !important;
  text-align: center;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 44px;
  padding: 0;
  border: none !important;
}

#company h2.section-title::after {
  content: "";
  display: block !important;
  width: 72px !important;
  height: 4px;
  margin: 14px auto 0;
  background: #fff !important;
}

/* Keep the rotating business rings fully inside the stage at every screen size. */
@media (min-width: 1025px) {
}

/* Complete 360-degree circles, with a rotating marker instead of a partial arc. */
@media (min-width: 1025px) {
  #business .business-showcase__orbit {
    border: 1.5px solid rgba(255,255,255,.85);
    border-radius: 50%;
  }

  #business .business-showcase__visual {
    -webkit-mask-image: none;
    mask-image: none;
  }

}

#business .business-showcase__canvas {
  container-type: inline-size;
}

#business .business-showcase__visual {
  mask-image: none;
  -webkit-mask-image: none;
  overflow: visible;
}

#business .business-showcase__visual::before {
  position: absolute;
  left: 6%;
  top: 6%;
  width: 32%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background-color: #aa453b;
  background-repeat: no-repeat;
}

#business .business-showcase__copy {
  position: absolute;
  left: 49%;
  top: 4%;
  width: 46%;
  overflow: visible;
  clip-path: none;
  white-space: normal;
  color: #fff;
  border-radius: 24px;
}

#business .business-showcase__copy h3 {
  color: #fff;
}

#business .business-showcase__copy h3 span {
  position: absolute;
  left: -27%;
  top: 1%;
  font: 400 clamp(70px,12vw,190px)/1 Georgia,serif;
  margin: 0;
  color: white;
}

#business .business-showcase__copy p {
  z-index: 1;
  font: 400 clamp(12px,1.1vw,17px)/1.85 "Hiragino Kaku Gothic ProN",Meiryo,sans-serif;
  margin: 0;
  color: #fff;
}

#business .business-showcase__copy::after {
  position: absolute;
  right: 3%;
  bottom: 0;
  font: 400 clamp(42px,7.4vw,120px)/1 Georgia,serif;
  color: #ffffff38;
  pointer-events: none;
}

#business .business-showcase__switch {
  bottom: 2%;
  left: 49%;
  right: 5%;
  height: 12%;
  gap: 3%;
}

#business .business-showcase__switch button {
  border-radius: 0;
  text-align: left;
  background: transparent;
}

#business .business-showcase__switch button::before {
  display: block;
  font: 400 clamp(10px,.85vw,14px)/1.5 sans-serif;
  white-space: nowrap;
}

#business .business-showcase__switch button:nth-child(1)::before {
  content: "01　ソフトウエア開発";
}

#business .business-showcase__switch button:nth-child(2)::before {
  content: "02　SES事業";
}

#business .business-showcase__switch button:nth-child(3)::before {
  content: "03　WEB制作";
}

#business .business-showcase__switch button::after {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  margin-top: 10px;
}

#business .business-showcase__switch button[aria-pressed=true] {
  color: #fff;
}

@media (min-width: 1025px) {
}

@media (max-width: 1024px) {
  #business .business-showcase__visual {
    width: 100%;
    aspect-ratio: 1;
  }

  #business .business-showcase__visual::before {
    left: 9%;
    top: 9%;
    width: 82%;
  }

  #business .business-showcase__copy {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    min-height: 0;
    margin: 0 5% 32px;
    border-bottom: 0;
  }

  #business .business-showcase__copy h3 span {
    position: static;
    display: inline-block;
    font-size: 32px;
    margin-right: 12px;
  }

  #business .business-showcase__copy p {
    font-size: 14px;
  }

  #business .business-showcase__copy::after {
    font-size: 60px;
  }

}

/* Preserve the original card typography while the photo moves independently. */
#business .business-showcase__copy {
  min-height: 0;
  height: auto;
  aspect-ratio: 742/508;
  background-repeat: no-repeat;
  background-size: 225.336927% 158.267717%;
  background-position: 93.11828% 62.837838%;
}

#business .business-showcase__copy h3 {
  font-size: 0;
  line-height: 0;
  border: 0;
}

#business .business-showcase__copy p {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

@media (max-width: 1024px) {
  #business .business-showcase__copy {
    margin-top: 0;
    aspect-ratio: auto;
    background-image: none;
  }

  #business .business-showcase__copy h3 {
    font-size: 21px;
    line-height: 1.5;
    height: auto;
    border-bottom: 1px solid #ffffff70;
    padding-bottom: 12px;
    margin-bottom: 14px;
  }

  #business .business-showcase__copy p {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
  }

}

/* 写真以外の見せ方を復元：ずらした周回線、重なる番号、元の目次 */
@media (min-width: 1025px) {
  #business .business-showcase__copy h3 span {
    left: -35%;
    z-index: 4;
  }

  #business .business-showcase__orbits {
    opacity: 1;
    overflow: visible;
  }

  #business .business-showcase__orbit {
    animation: business-orbit-spin 19s linear infinite;
  }

  #business .business-showcase__orbit--small {
    animation-duration: 13s;
    animation-direction: reverse;
  }

  /* 元画像の目次を同じ比率で表示。文字の大きさ・番号・白い点を保持。 */
  #business .business-showcase__switch {
    left: 49%;
    right: 5%;
    height: auto;
    aspect-ratio: 805/84;
    gap: 3%;
    background-repeat: no-repeat;
    background-size: 207.701863% 957.142857%;
    background-position: 93.079585% 100%;
  }

  #business .business-showcase__switch button {
    border-radius: 5px;
    transition: background-color .2s ease;
  }

  #business .business-showcase__switch button::before,#business .business-showcase__switch button::after {
    content: none;
  }

  #business .business-showcase__switch button:hover {
    background-color: rgba(255,255,255,.13);
  }

  #business .business-showcase__switch button:focus-visible {
    background-color: rgba(255,255,255,.13);
    outline: 2px solid white;
    outline-offset: 3px;
  }

}

@media (min-width: 1025px) {
  #business .business-showcase__switch .business-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

}

/* 目次の疑似文字の重複を確実に消し、写真に焼き込まれた小円の続きを描く。 */
@media (min-width: 1025px) {
  #business .business-showcase__switch button:nth-child(n)::before, #business .business-showcase__switch button:nth-child(n)::after {
    content: none !important;
    display: none !important;
  }

  #business .business-showcase__switch button {
    font-size: 0;
  }

  #business .business-showcase__visual::before {
    left: 8%;
    top: 4%;
  }

  #business .business-showcase__orbit--large {
    width: 36.8%;
    height: auto;
    left: 5.2%;
    top: .6%;
    bottom: auto;
    aspect-ratio: 1;
  }

  #business .business-showcase__orbit--small {
    width: 16.842105%;
    height: auto;
    left: 4%;
    top: calc(4% + 17cqw);
    bottom: auto;
    aspect-ratio: 1;
    border: 1.5px solid rgba(255,255,255,.85);
  }

}

/* 右の説明カードを少し低くし、英文のコントラストを抑える。 */
@media (min-width: 1025px) {
  #business .business-showcase__copy {
    aspect-ratio: 742/475;
  }

  #business .business-showcase__copy::after {
    content: "";
    display: block;
    position: absolute;
    inset: auto 0 0;
    height: 29%;
    border-radius: 0 0 24px 24px;
    background: rgba(209,138,123,.48);
    pointer-events: none;
  }

}

#business .business-showcase__visual::before {
  background-size: cover;
  background-position: center;
}

@media (min-width: 1025px) {
  #business .business-showcase__visual::after {
    content: "";
    display: block;
    position: absolute;
    left: 9%;
    top: 58%;
    width: 12%;
    height: auto;
    aspect-ratio: 1;
    box-sizing: border-box;
    border: 1.5px solid rgba(255,255,255,.85);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 3px,#fff 0 2.5px,transparent 3px);
    pointer-events: none;
    z-index: 3;
    animation: business-orbit-spin 17s linear infinite;
  }

}

@media (prefers-reduced-motion:reduce) {
  #business .business-showcase__visual::after {
    animation: none;
  }

}

/* ===== 事業紹介：文字・背景・写真を独立した要素として表示 ===== */
#business .business-showcase__copy {
  background: linear-gradient(135deg, #d39181, #cc8173);
  padding: 2.4%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0;
}

#business .business-showcase__copy::after {
  content: none;
  display: none;
}

#business .business-showcase__copy h3 {
  position: static;
  height: auto;
  font: 700 clamp(18px, 2.25vw, 36px)/1.45 "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  margin: 0 0 1.1em;
  padding: 0 0 .5em;
  border-bottom: 1px solid #ffffff70;
}

#business .business-showcase__copy > p {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
  white-space: normal;
  margin: 0;
  font: 400 clamp(13px, 1.38vw, 22px)/1.7 "Noto Sans JP", "Hiragino Mincho ProN", serif;
}

#business .business-showcase__copy > .business-showcase__english {
  margin-top: auto;
  padding-top: .12em;
  text-align: right;
  font: 400 clamp(45px, 7.1vw, 118px)/.95 Georgia, serif;
  color: rgba(255, 255, 255, .20);
  white-space: nowrap;
}

#business .business-showcase__visual::before {
  content: none;
  display: none;
}

#business .business-showcase__visual > img {
  display: block;
  position: absolute;
  left: 8%;
  top: 4%;
  width: 32%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
}

#business .business-showcase__switch {
  background: none !important;
}

#business .business-showcase__switch button {
  display: flex;
  align-items: center;
  gap: .7em;
  position: relative;
  padding: 0 0 20px;
  color: rgba(255,255,255,.45);
  border-bottom: 2px solid currentColor;
  font-size: clamp(12px, 1vw, 16px);
  transition: color .2s, background-color .2s;
}

#business .business-showcase__switch button:nth-child(n)::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0;
  background: currentColor;
}

#business .business-switch-number {
  font: 400 clamp(24px, 2.8vw, 45px)/1 Georgia, serif;
}

#business .business-switch-label {
  white-space: nowrap;
}

#business .business-showcase__switch button:hover, #business .business-showcase__switch button[aria-pressed="true"] {
  color: #fff;
}

@media (max-width: 1024px) {
  #business .business-showcase__visual > img {
    left: 9%;
    top: 9%;
    width: 82%;
  }

  #business .business-showcase__copy {
    padding: 26px 6%;
  }

  #business .business-showcase__copy > .business-showcase__english {
    font-size: clamp(40px, 12vw, 80px);
    margin-top: 22px;
  }

  #business .business-showcase__switch {
    display: none;
  }

}

/* 目次の線と丸印を表示領域の内側に収める。 */
@media (min-width: 1025px) {
  #business .business-showcase__switch {
    bottom: 1%;
  }

  #business .business-showcase__switch button {
    box-sizing: border-box;
    padding-bottom: 12px;
    font-family: "Noto Sans JP", Meiryo, sans-serif;
  }

}

/* SCROLL案内を初期画面の内側に表示する。スクロール後は既存JSで非表示。 */
#philosophy .hero-scroll {
  position: fixed;
  top: auto;
  bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  z-index: 20;
  transform: translateX(-50%);
  font-size: 18px;
  line-height: 1.4;
  gap: 8px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, .85);
}

#philosophy .hero-scroll__arrow {
  width: 20px;
  height: 20px;
}

/* 全ページ共通：ヘッダーのリクルート・お問い合わせを同じ大きさに揃える。 */
.site-header .global-nav .recruit-dropdown > summary.nav-recruit, .site-header .global-nav a.nav-recruit, .site-header .global-nav a.nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 160px;
  min-width: 160px;
  height: 58px;
  padding: 0 18px;
  flex-shrink: 0;
  border-width: 2px;
  border-style: solid;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
  text-align: center;
  text-decoration: none;
}

@media (max-width: 650px) {
  .site-header .global-nav .recruit-dropdown > summary.nav-recruit, .site-header .global-nav a.nav-recruit, .site-header .global-nav a.nav-contact {
    height: 52px;
  }

}

/* 事業内容の英字：P・S・Lをほどよい濃さで強調 */
#business .business-showcase__english .business-initial {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.18em;
  font-weight: 400;
}

/* ①だけ調整。共通のfont指定より後に置き、上書きを防ぐ。 */
#business .business-showcase__copy > .business-english-programming {
  font-size: clamp(78px, 38vw, 98px);
}

@media (max-width: 650px) {
  #business .business-showcase__copy > .business-english-programming {
    font-size: clamp(24px, 7.5vw, 48px);
  }

}
