@charset "UTF-8";
/* ---- a.css ---- */
/* flow drawn in HTML, stacked steps with arrows */
.flow { margin-top: 20px; display: grid; gap: 34px; }
.flow li { position: relative; display: grid; gap: 2px; padding: 16px 20px; border-radius: 14px; background: #fff; color: var(--ink); font-weight: 700; line-height: 1.6; text-align: center; }
.sec--tint .flow li { background: var(--tint); }
.flow li small { font-size: var(--fs-caption); font-weight: 700; color: var(--head); }
.flow li + li::before { content: ""; position: absolute; left: 50%; top: -28px; width: 18px; height: 22px; translate: -50% 0; background: var(--head); clip-path: polygon(30% 0, 70% 0, 70% 50%, 100% 50%, 50% 100%, 0 50%, 30% 50%); }
.flow__last { background: var(--head) !important; color: #fff !important; }
.flow__last small { color: #fff !important; }

/* person mark in voices */
.vp__mark { display: grid; place-items: center; width: 110px; aspect-ratio: 1; margin-inline: auto; border-radius: 50%; background: var(--tint); color: var(--head); font-size: 16px; font-weight: 700; line-height: 1.4; text-align: center; }
.vp__art--mark { display: grid; }

/* zig-zag rows on the Ai-Fit page */
.zig { display: grid; gap: clamp(48px, 6vw, 88px); }
.zig__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.zig__row:nth-child(even) .zig__art { order: 2; }
.zig__art { background: var(--tint); border-radius: var(--r-l); overflow: hidden; }
.zig__art img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.zig__no { display: block; font-family: var(--en); font-size: 16px; font-weight: 600; letter-spacing: .08em; color: var(--head); }
.zig__ttl { margin-top: 6px; font-size: var(--fs-h3); font-weight: 900; color: var(--ink); line-height: 1.5; }
.zig__b p { margin-top: 14px; }
.zig__b .dots { margin-top: 14px; font-size: 16px; }
@media (max-width: 860px) { .zig__row { grid-template-columns: 1fr; gap: 20px; } .zig__row:nth-child(even) .zig__art { order: 0; } .zig__ttl, .zig__no { text-align: center; } }

/* the two words on the about page */
.word { background: var(--tint); border-radius: var(--r-l); overflow: hidden; }
.word__art { aspect-ratio: 3 / 2; }
.word__art img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.word__b { padding: 0 clamp(22px, 3vw, 40px) clamp(24px, 3vw, 40px); }
.word__ttl { font-size: var(--fs-h3); font-weight: 900; color: var(--head); line-height: 1.5; text-align: center; }
.word__b p { margin-top: 12px; font-size: 16px; }

/* big creed line */
.bigline { font-size: clamp(32px, 5.4vw, 76px); font-weight: 900; color: var(--head); line-height: 1.35; text-align: center; letter-spacing: .03em; }

/* worries list */
.worry { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 12px; }
.worry li { padding: 16px 20px; background: #fff; border-radius: 14px; font-weight: 700; color: var(--ink); line-height: 1.75; }
.sec:not(.sec--tint):not(.sec--warm) .worry li { background: var(--tint); }
@media (max-width: 640px) { .worry { grid-template-columns: 1fr; } }

/* menu price block */
.menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.menu__c { background: #fff; border-radius: var(--r-l); padding: clamp(22px, 3vw, 36px); }
.menu__h { font-size: var(--fs-h4); font-weight: 700; color: var(--ink); line-height: 1.55; text-align: center; }
.menu__p { display: block; margin-top: 2px; font-family: var(--en); font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; color: var(--head); line-height: 1.3; text-align: center; }
.menu__p small { font-family: var(--ja); font-size: .42em; font-weight: 700; }
.menu__c .dots { margin-top: 12px; font-size: 16px; }
.menu__sub { margin-top: 16px; font-size: var(--fs-small); font-weight: 700; color: var(--head); }
@media (max-width: 760px) { .menu { grid-template-columns: 1fr; } }

/* news row without a page of its own */
.news__row--static { grid-template-columns: 180px minmax(0, 1fr); }
@media (max-width: 640px) { .news__row--static { grid-template-columns: 104px minmax(0, 1fr); } .news__row--static .news__ex { display: block; grid-column: 1 / -1; } }

/* links to other pages at the end of a page */
.nextl { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
@media (max-width: 640px) { .nextl { flex-direction: column; } }

/* documents */
.docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.docs a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 16px 18px 22px; background: var(--tint); border-radius: 16px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.sec--tint .docs a { background: #fff; }
.docs a:hover { color: var(--head); }
.docs small { display: block; font-size: var(--fs-caption); color: var(--ink-2); }
.docs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .docs, .docs--2 { grid-template-columns: 1fr; } }

/* job rows on the simple recruit page */
.job + .job { margin-top: clamp(40px, 5vw, 64px); }
.job__ttl { font-size: var(--fs-h3); font-weight: 900; color: var(--ink); line-height: 1.5; margin-bottom: 16px; }
.job__real { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.job__real img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-m); }
@media (max-width: 760px) { .job__ttl { text-align: center; } }

/* area list */
.area { margin-top: 8px; font-size: var(--fs-small); line-height: 1.85; color: var(--ink-2); font-weight: 500; }
