.about-page { color: var(--ink); }
.about-page *, .about-page *::before, .about-page *::after { box-sizing: border-box; }
.about-page img { display: block; width: 100%; height: auto; }
.about-page figure, .about-page p, .about-page h1, .about-page h2, .about-page h3 { margin: 0; }
.about-page a { color: inherit; }
.about-page .eyebrow { margin-bottom: 22px; }
.about-page .section-title { line-height: 1.45; letter-spacing: .035em; }
.about-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 22px; padding-bottom: 40px; font-size: 12px; font-weight: 600; }
.about-breadcrumb a { text-decoration: none; border-bottom: 1px solid currentColor; }
.about-breadcrumb [aria-current] { opacity: .7; }
.about-demo-note { margin-top: 24px !important; color: #686052; font-size: 12px; line-height: 1.9; }
.about-home-return { position: fixed; z-index: 35; bottom: 26px; right: 28px; display: flex; align-items: center; gap: 13px; min-height: 55px; padding: 8px 21px 8px 9px; border: 1px solid var(--ink); border-radius: 50px; background: var(--white); box-shadow: 0 5px 0 rgba(41,37,31,.13); font-size: 13px; font-weight: 700; text-decoration: none; transition: transform .25s, background .25s; }
.about-home-return > span:first-child { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--white); background: var(--ink); font-size: 21px; }
.about-home-return:hover { background: var(--yellow); transform: translateY(-4px); }
.about-home-return:focus-visible, .about-next:focus-visible, .message-contents a:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.company-page { background: var(--cream); }
.company-hero { padding-bottom: clamp(48px, 8vw, 100px); background: var(--yellow); }
.company-hero-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 36px; padding-top: 12px; padding-bottom: 54px; }
.company-title { font-size: clamp(48px, 6.8vw, 94px); line-height: 1.27; font-weight: 900; letter-spacing: -.045em; }
.company-title > span { display: inline-block; padding: 0 12px 7px 2px; background: var(--white); }
.company-hero-intro { padding-bottom: 14px; font-size: clamp(14px, 1.4vw, 18px); font-weight: 600; line-height: 2.15; letter-spacing: .07em; }
.company-hero-photo { position: relative; width: calc(100% - clamp(24px, 6vw, 96px)); max-width: 1400px; margin-left: auto !important; overflow: hidden; border-radius: 140px 0 0 0; }
.company-hero-photo img { aspect-ratio: 2.17; object-fit: cover; object-position: 50% 56%; }
.company-hero-photo figcaption { position: absolute; left: 5%; bottom: 12%; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.company-hero-photo figcaption span { padding: 8px 14px 10px; background: var(--white); font-family: 'Zen Kaku Gothic New', sans-serif; font-size: clamp(17px, 2.4vw, 31px); font-weight: 700; letter-spacing: .06em; }
.company-section-heading { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 60px; margin-bottom: 60px; }
.company-section-heading > p { font-size: 15px; line-height: 2.15; letter-spacing: .04em; padding-bottom: 5px; }
.company-stat-board { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--ink); background: var(--yellow); }
.company-stat { min-width: 0; position: relative; padding: clamp(24px, 3vw, 42px); border: 1px solid var(--ink); overflow: hidden; }
.company-stat-history { grid-column: span 3; min-height: 445px; }
.company-stat-people { grid-column: span 3; min-height: 445px; background: var(--white); }
.company-stat-small { grid-column: span 2; background: #ffe992; }
.company-stat-small:nth-child(4) { background: #ffe2bd; }
.company-stat-small:nth-child(5) { background: var(--white); }
.company-stat-label { display: inline-block; font-size: 15px; letter-spacing: .05em; font-weight: 700; }
.company-stat-value { position: relative; z-index: 2; display: flex; align-items: baseline; gap: 10px; line-height: 1.13; margin: 20px 0 15px !important; }
.company-stat-value > span { font-family: 'Zen Kaku Gothic New', sans-serif; font-size: clamp(88px, 11vw, 154px); font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: -.08em; }
.company-stat-value small { font-size: clamp(19px, 2.2vw, 29px); font-weight: 700; white-space: nowrap; }
.company-stat-caption { position: relative; z-index: 2; font-size: 13px; line-height: 1.9; }
.company-stat-small .company-stat-value > span { font-size: clamp(65px, 7.8vw, 110px); }
.company-stat-small .company-stat-value { margin-top: 24px !important; }
.company-building-sketch { position: absolute; width: 210px; height: 135px; right: 22px; bottom: 4px; transform: rotate(-7deg); opacity: .72; }
.company-people-dots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 13px 18px; width: min(220px, 90%); margin: 24px 0 22px; }
.company-people-dots i { position: relative; display: block; width: 21px; height: 29px; border-radius: 10px 10px 3px 3px; background: var(--orange); }
.company-people-dots i::before { content: ''; position: absolute; width: 13px; height: 13px; border-radius: 50%; top: -9px; left: 4px; background: inherit; box-shadow: 0 0 0 3px var(--white); }
.company-people-dots i:nth-child(3n) { background: var(--yellow); }
.company-business { padding-top: 0; }
.company-business-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding: 54px 0; border-top: 1px solid #b7ae9f; }
.company-business-row:last-child { border-bottom: 1px solid #b7ae9f; }
.company-business-copy { display: grid; grid-template-columns: 68px 1fr; gap: 25px; align-items: start; }
.company-business-number { font-family: 'Zen Kaku Gothic New', sans-serif; font-size: 62px; line-height: 1; font-weight: 900; letter-spacing: -.08em; color: var(--orange); }
.company-business-copy h3 { font-size: clamp(22px, 2.5vw, 30px); line-height: 1.5; margin-bottom: 20px; }
.company-business-copy .company-business-lead { font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; line-height: 1.65; margin-bottom: 20px; }
.company-business-copy p:not(.company-business-lead) { font-size: 14px; line-height: 2; }
.company-business-row img { aspect-ratio: 1.36; height: auto; object-fit: cover; border-radius: 4px 58px 4px 4px; }
.company-business-row:nth-of-type(2) img { border-radius: 58px 4px 4px; }
.company-business-tags { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 24px 0 0; list-style: none; }
.company-business-tags li { font-size: 11px; border: 1px solid #b7ae9f; padding: 4px 11px; border-radius: 20px; }
.company-profile { background: var(--white); }
.company-profile-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 85px; }
.company-profile-heading { position: relative; }
.company-profile-mark { display: block; width: max-content; margin-top: 48px; font-family: 'Zen Kaku Gothic New', sans-serif; font-size: 84px; font-weight: 900; line-height: 1; letter-spacing: -.13em; transform: rotate(-8deg); color: var(--orange); }
.company-profile-mark span { color: var(--yellow); display: inline-block; transform: translateY(19px); }
.company-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
.company-table tr { border-top: 1px solid #d9d3c8; }
.company-table tr:last-child { border-bottom: 1px solid #d9d3c8; }
.company-table th, .company-table td { padding: 24px 8px; vertical-align: top; line-height: 1.9; }
.company-table th { width: 30%; font-weight: 700; white-space: nowrap; }
.company-table td { overflow-wrap: anywhere; }
.company-table-note { font-size: 12px; color: #766e62; }
.company-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.about-next-section { background: var(--cream); }
.about-next-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.about-next { display: block; min-width: 0; padding: clamp(25px, 3vw, 44px); text-decoration: none; border: 1px solid var(--ink); transition: transform .25s, box-shadow .25s; }
.about-next-label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 22px; line-height: 1.9; }
.about-next-title { display: flex; gap: 15px; justify-content: space-between; align-items: center; font-family: 'Zen Kaku Gothic New', sans-serif; font-size: clamp(21px, 2.45vw, 32px); font-weight: 700; }
.about-next .arrow { flex: 0 0 44px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 50%; transition: transform .25s; }
.about-next:hover { transform: translateY(-5px); box-shadow: 7px 7px 0 var(--ink); }
.about-next:hover .arrow { transform: rotate(45deg); }
.about-next-message { background: var(--orange); }
.about-next-recruit { background: var(--yellow); }
.about-next-home { background: var(--white); }
.message-page { background: var(--orange); }
.message-hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; grid-template-rows: auto auto; column-gap: clamp(24px, 5vw, 80px); align-items: start; padding-top: 20px; }
.message-titlegroup { grid-column: 1; grid-row: 1; position: relative; z-index: 3; }
.message-title { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; font-size: clamp(42px, 5.15vw, 70px); line-height: 1.4; font-weight: 900; letter-spacing: -.04em; }
.message-title span { display: inline; background: var(--white); padding: 0 15px 5px; white-space: nowrap; }
.message-portrait { position: relative; z-index: 2; grid-column: 2; grid-row: 1 / span 2; margin-bottom: -116px !important; }
.message-portrait img { aspect-ratio: .765; object-fit: cover; object-position: 50% 35%; border-radius: 110px 8px 8px 8px; }
.message-portrait figcaption { position: absolute; bottom: 25px; right: -12px; background: var(--yellow); padding: 12px 21px; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.message-signature { grid-column: 1; grid-row: 2; padding: 55px 0 72px; }
.message-signature > p:first-child { font-size: 13px; font-weight: 600; }
.message-president-name { font-family: 'Zen Kaku Gothic New', sans-serif; font-size: 33px; font-weight: 700; letter-spacing: .12em; margin: 9px 0 22px !important; }
.message-signature-note { font-size: 13px; font-weight: 600; }
.message-body { position: relative; z-index: 1; padding-top: 205px; padding-bottom: 110px; margin-top: 0; border-radius: 80px 0 0 0; background: var(--white); }
.message-body-layout { display: grid; grid-template-columns: .68fr 1.32fr; align-items: start; column-gap: clamp(40px, 7vw, 100px); }
.message-contents { position: sticky; top: 140px; border-top: 2px solid var(--ink); padding-top: 25px; }
.message-contents > p { font-size: 12px; font-weight: 700; margin-bottom: 26px; }
.message-contents a { display: flex; gap: 19px; width: fit-content; margin-top: 17px; font-size: 13px; text-decoration: none; transition: color .2s; }
.message-contents a span { color: #857d70; font-size: 11px; }
.message-contents a:hover { color: #b04b00; }
.message-chapter { position: relative; padding: 0 0 80px; scroll-margin-top: 140px; }
.message-chapter + .message-chapter { border-top: 1px solid #ded8cf; padding-top: 75px; }
.message-chapter-number { position: absolute; top: -30px; right: 0; color: #fff1d8; font-size: 115px; line-height: 1; font-family: 'Zen Kaku Gothic New', sans-serif; font-weight: 900; letter-spacing: -.09em; }
.message-chapter + .message-chapter .message-chapter-number { top: 50px; }
.message-chapter .eyebrow { position: relative; color: #ac4800; margin-bottom: 21px; }
.message-chapter h2 { position: relative; font-size: clamp(25px, 2.8vw, 36px); line-height: 1.6; letter-spacing: .025em; margin: 0 0 31px; font-weight: 700; }
.message-chapter h2 span { background: linear-gradient(transparent 65%, #ffe383 65%); }
.message-chapter p:not(.eyebrow) { font-size: 15px; line-height: 2.2; letter-spacing: .025em; margin-bottom: 23px; }
.message-chapter p:last-child { margin-bottom: 0; }
.message-inset-photo { margin: 0 0 92px !important; position: relative; }
.message-inset-photo img { aspect-ratio: 1.5; object-fit: cover; border-radius: 4px 55px 4px 4px; }
.message-inset-photo figcaption { width: fit-content; margin: -21px 0 0 auto; position: relative; padding: 13px 18px; background: var(--yellow); font-size: 12px; font-weight: 700; transform: rotate(-3deg); }
.message-closing { border-top: 1px solid #ded8cf; padding-top: 55px; padding-bottom: 15px; }
.message-closing > p { font-family: 'Zen Kaku Gothic New', sans-serif; font-size: clamp(26px, 3vw, 38px); font-weight: 700; line-height: 1.7; margin-bottom: 35px; }
.message-closing > span { display: block; font-size: 12px; margin-bottom: 9px; }
.message-closing > strong { display: block; font-family: 'Zen Kaku Gothic New', sans-serif; font-size: 25px; letter-spacing: .12em; }
.message-next { background: var(--cream); }
.message-next > .wrap > .eyebrow { margin-bottom: 28px; }

@media (min-width: 1600px) {
  .company-hero-photo { max-width: 1440px; margin-right: auto !important; border-radius: 140px 8px 8px 8px; }
}
@media (max-width: 1000px) {
  .company-hero-intro { font-size: 14px; }
  .company-section-heading { gap: 35px; }
  .company-stat-history, .company-stat-people { min-height: 390px; }
  .company-stat-value > span { font-size: clamp(72px, 12vw, 120px); }
  .company-stat-small .company-stat-value { gap: 5px; }
  .company-stat-small .company-stat-value > span { font-size: 8vw; }
  .company-stat-small .company-stat-value small { font-size: 19px; }
  .company-business-copy { grid-template-columns: 45px 1fr; gap: 14px; }
  .company-business-number { font-size: 46px; }
  .company-profile-layout { gap: 40px; }
  .message-hero-grid { column-gap: 25px; }
  .message-title { font-size: 5.2vw; gap: 8px; }
  .message-title span { padding: 0 10px 5px; }
  .message-portrait img { border-radius: 70px 5px 5px; }
  .message-signature { padding-top: 35px; padding-bottom: 50px; }
  .message-portrait { margin-bottom: -85px !important; }
  .message-body { padding-top: 160px; }
  .message-body-layout { grid-template-columns: .55fr 1.45fr; column-gap: 35px; }
}
@media (max-width: 700px) {
  .about-breadcrumb { font-size: 11px; gap: 8px; padding-top: 17px; padding-bottom: 30px; }
  .about-page .eyebrow { margin-bottom: 16px; }
  .company-page .section-title { font-size: clamp(27px, 7.4vw, 38px); }
  .about-home-return { right: 14px; bottom: 17px; min-height: 47px; padding: 6px 14px 6px 6px; gap: 8px; font-size: 11px; }
  .about-home-return > span:first-child { width: 32px; height: 32px; font-size: 19px; }
  .about-demo-note { font-size: 11px; }
  .company-hero-heading { display: block; padding-top: 0; padding-bottom: 32px; }
  .company-title { font-size: clamp(41px, 11.7vw, 69px); letter-spacing: -.055em; }
  .company-title > span { padding-right: 8px; }
  .company-hero-intro { font-size: 13px; line-height: 1.95; margin-top: 22px !important; padding-bottom: 0; }
  .company-hero-photo { width: calc(100% - 20px); border-radius: 70px 0 0 0; }
  .company-hero-photo img { aspect-ratio: 1.02; object-position: 100% 50%; }
  .company-hero-photo figcaption { bottom: 6%; left: 5%; gap: 5px; }
  .company-hero-photo figcaption span { font-size: clamp(14px, 4vw, 19px); padding: 6px 9px; }
  .company-section-heading { grid-template-columns: 1fr; gap: 23px; margin-bottom: 35px; }
  .company-section-heading > p { font-size: 13px; line-height: 1.95; }
  .company-stat-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company-stat { padding: 23px 21px; }
  .company-stat-history { grid-column: 1 / -1; min-height: 285px; }
  .company-stat-history .company-stat-value > span { font-size: clamp(98px, 29vw, 170px); }
  .company-stat-history .company-stat-value { margin-top: 9px !important; }
  .company-stat-history .company-stat-caption { max-width: 53%; }
  .company-building-sketch { width: 155px; height: 100px; right: 4px; bottom: 6px; }
  .company-stat-people { grid-column: 1 / -1; min-height: 240px; }
  .company-stat-people .company-stat-value > span { font-size: 115px; }
  .company-people-dots { position: absolute; right: 18px; bottom: 73px; width: 120px; grid-template-columns: repeat(4, 1fr); gap: 17px 10px; }
  .company-people-dots i { width: 16px; height: 22px; }
  .company-people-dots i::before { width: 10px; height: 10px; left: 3px; top: -7px; }
  .company-stat-label { font-size: 12px; }
  .company-stat-small { grid-column: span 1; padding: 22px 15px; }
  .company-stat-small:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 9px 20px; }
  .company-stat-small:last-child .company-stat-value { grid-column: 2; grid-row: 1 / span 2; margin: 0 !important; }
  .company-stat-small .company-stat-value > span { font-size: clamp(50px, 14vw, 82px); }
  .company-stat-small .company-stat-value small { font-size: 14px; }
  .company-stat-small .company-stat-value { margin: 19px 0 11px !important; gap: 4px; }
  .company-stat-caption { font-size: 11px; line-height: 1.75; }
  .company-business-row { grid-template-columns: 1fr; padding: 32px 0; gap: 25px; }
  .company-business-copy { grid-template-columns: 40px 1fr; gap: 17px; }
  .company-business-number { font-size: 43px; }
  .company-business-copy h3 { font-size: 23px; margin-bottom: 14px; }
  .company-business-copy .company-business-lead { font-size: 19px; margin-bottom: 15px; }
  .company-business-copy p:not(.company-business-lead) { font-size: 13px; }
  .company-business-row img { aspect-ratio: 1.5; border-radius: 4px 42px 4px 4px; }
  .company-business-tags { margin-top: 17px; }
  .company-profile-layout { grid-template-columns: 1fr; gap: 35px; }
  .company-profile-heading { display: block; }
  .company-profile-mark { position: absolute; right: 12px; bottom: 8px; margin: 0; font-size: 60px; }
  .company-table tr { display: block; padding: 17px 0; }
  .company-table th, .company-table td { display: block; width: 100%; padding: 0; font-size: 13px; }
  .company-table td { margin-top: 7px; }
  .company-table th { font-size: 12px; color: #777064; }
  .about-next-grid { grid-template-columns: 1fr; gap: 16px; }
  .about-next { padding: 26px 23px; }
  .about-next-title { font-size: 24px; }
  .about-next-label { font-size: 11px; margin-bottom: 15px; }
  .about-next .arrow { width: 39px; height: 39px; flex-basis: 39px; }
  .message-hero-grid { grid-template-columns: 1fr; grid-template-rows: auto auto auto; padding-top: 0; }
  .message-titlegroup { grid-column: 1; grid-row: 1; padding-bottom: 33px; }
  .message-title { font-size: clamp(38px, 11.25vw, 62px); gap: 7px; }
  .message-title span { padding: 0 13px 4px; }
  .message-portrait { grid-column: 1; grid-row: 2; width: 100%; margin: 0 !important; }
  .message-portrait img { aspect-ratio: .91; object-position: 50% 28%; border-radius: 65px 5px 5px; }
  .message-portrait figcaption { bottom: 19px; right: -8px; font-size: 10px; padding: 11px 16px; }
  .message-signature { grid-column: 1; grid-row: 3; padding: 28px 0 45px; }
  .message-signature > p:first-child { font-size: 12px; }
  .message-president-name { font-size: 30px; margin: 6px 0 13px !important; }
  .message-signature-note { font-size: 12px; }
  .message-body { border-radius: 42px 0 0 0; padding-top: 45px; padding-bottom: 60px; }
  .message-body-layout { grid-template-columns: 1fr; gap: 50px; }
  .message-contents { position: static; padding-top: 20px; display: flex; flex-wrap: wrap; column-gap: 18px; row-gap: 15px; }
  .message-contents > p { flex-basis: 100%; margin-bottom: 0; font-size: 11px; }
  .message-contents a { font-size: 11px; margin: 0; gap: 5px; }
  .message-contents a span { font-size: 10px; }
  .message-chapter { padding-bottom: 50px; scroll-margin-top: 108px; }
  .message-chapter-number { font-size: 84px; top: -21px; }
  .message-chapter h2 { font-size: clamp(22px, 6.2vw, 34px); line-height: 1.6; margin-bottom: 25px; letter-spacing: -.015em; }
  .message-chapter p:not(.eyebrow) { font-size: 14px; line-height: 2.05; letter-spacing: .015em; margin-bottom: 22px; }
  .message-chapter + .message-chapter { padding-top: 45px; }
  .message-chapter + .message-chapter .message-chapter-number { top: 29px; }
  .message-inset-photo { margin-bottom: 65px !important; }
  .message-inset-photo img { border-radius: 4px 35px 4px; aspect-ratio: 1.2; }
  .message-inset-photo figcaption { font-size: 10px; padding: 12px; margin-top: -13px; }
  .message-closing { padding-top: 35px; }
  .message-closing > p { font-size: clamp(20px, 5.6vw, 25px); margin-bottom: 30px; }
  .message-closing > span { font-size: 11px; }
}
@media (max-width: 360px) {
  .company-stat-people .company-stat-value > span { font-size: 100px; }
  .company-people-dots { width: 100px; right: 12px; }
  .company-profile-mark { font-size: 47px; right: 0; }
  .company-stat-small .company-stat-value > span { font-size: 44px; }
  .about-next-title { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .about-home-return, .about-next, .about-next .arrow { transition: none; }
}

/* 会社概要の文字を左カラムいっぱいに配置 */
.company-profile-heading{container-type:inline-size}
.company-profile-mark{font-size:clamp(150px,48cqi,230px);margin-top:42px;line-height:1.3;letter-spacing:-.1em;transform:rotate(-8deg);transform-origin:center}
@media(max-width:760px){.company-profile-mark{position:static;font-size:clamp(140px,45cqi,230px);margin:24px 0 12px;width:max-content}.company-profile-mark span{transform:translateY(12px)}}
