@charset "UTF-8";
/* ==========================================================
   株式会社Grow up Today Japan  - style.css
   ========================================================== */

/* ---------- Variables ---------- */
:root {
  --navy: #0B2545;
  --navy-2: #13315C;
  --accent: #E08E1F;
  --text: #222a33;
  --muted: #5f6b78;
  --line: #dde2e8;
  --bg-gray: #f4f5f7;
  --white: #fff;
  --en: "Montserrat", sans-serif;
  --ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font-family: var(--ja); color: var(--text); line-height: 2; font-size: 16px; letter-spacing: .05em; -webkit-font-smoothing: antialiased; background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ---------- Layout ---------- */
.container { width: min(1160px, 100% - 64px); margin-inline: auto; }
.container--narrow { width: min(880px, 100% - 64px); }
.section { padding: 140px 0; }
.section--gray { background: var(--bg-gray); }

/* ---------- Section heading ---------- */
.sec-head { margin-bottom: 64px; }
.sec-head__en { font-family: var(--en); font-weight: 600; font-size: 13px; letter-spacing: .3em; color: var(--accent); margin-bottom: 10px; }
.sec-head__en--light { color: #fff; opacity: .85; }
.sec-head__ja { font-size: clamp(26px, 3vw, 36px); font-weight: 700; color: var(--navy); line-height: 1.5; letter-spacing: .08em; }
.sec-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }

.lead-catch { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; color: var(--navy); line-height: 1.8; margin-bottom: 36px; }
.text-block p + p { margin-top: 1.4em; }

/* ---------- Buttons / Links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; min-width: 260px; padding: 20px 28px; background: var(--navy); color: #fff; font-weight: 500; font-size: 15px; border: 1px solid var(--navy); transition: .3s; cursor: pointer; }
.btn::after { content: ""; width: 24px; height: 1px; background: currentColor; transition: width .3s; }
.btn:hover { background: #fff; color: var(--navy); }
.btn:hover::after { width: 36px; }
.btn--white { background: transparent; border-color: #fff; color: #fff; }
.btn--white:hover { background: #fff; color: var(--navy); }
.link-arrow { font-size: 14px; color: var(--navy); display: inline-flex; align-items: center; gap: 14px; }
.link-arrow::after { content: ""; width: 32px; height: 1px; background: currentColor; transition: width .3s; }
.link-arrow:hover::after { width: 44px; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); transition: background .3s, box-shadow .3s; }
.header__inner { height: 100%; width: min(1320px, 100% - 64px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.header__logo img { width: 140px; }
.header__logo .logo-c, .header.is-scrolled .header__logo .logo-w { display: none; }
.header.is-scrolled .header__logo .logo-c { display: block; }
.header.is-scrolled { background: #fff; box-shadow: 0 1px 0 var(--line); }
.gnav__list { display: flex; align-items: center; gap: 36px; }
.gnav__list a { font-family: var(--en); font-weight: 500; font-size: 13px; letter-spacing: .14em; color: #fff; position: relative; padding: 6px 0; transition: color .3s; }
.gnav__list a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s; }
.gnav__list a:hover::after, .gnav__list a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.header.is-scrolled .gnav__list a { color: var(--navy); }
.gnav__cta a { border: 1px solid currentColor; padding: 10px 26px; }
.gnav__cta a::after { display: none; }
.gnav__cta a:hover { background: #fff; color: var(--navy) !important; }
.header.is-scrolled .gnav__cta a { background: var(--navy); color: #fff; border-color: var(--navy); }
.header.is-scrolled .gnav__cta a:hover { background: #fff; color: var(--navy); }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 680px; background: var(--navy); color: #fff; overflow: hidden; }
.hero__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; animation: heroPhoto 2.4s cubic-bezier(.2,.7,.2,1) both; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,37,69,.85) 0%, rgba(11,37,69,.25) 35%, rgba(11,37,69,0) 60%), linear-gradient(180deg, rgba(11,37,69,.5) 0%, rgba(11,37,69,0) 22%); }
@keyframes heroPhoto { from { transform: scale(1.12); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.hero__inner { position: relative; z-index: 2; height: 100%; width: min(1240px, 100% - 200px); margin-inline: auto; display: flex; flex-direction: column; justify-content: center; padding-top: var(--header-h); }
.hero__label { font-family: var(--en); font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 16px; margin-bottom: 28px; overflow: hidden; }
.hero__label::before { content: ""; width: 48px; height: 1px; background: var(--accent); animation: lineIn 1s .3s both; transform-origin: left; }
.hero__label span { animation: fadeUp 1s .5s both; }
.hero__copy { font-weight: 700; font-size: clamp(40px, 5.2vw, 78px); line-height: 1.4; letter-spacing: .1em; }
.hero__line { display: block; overflow: hidden; }
.hero__line > span { display: inline-block; animation: lineUp 1.1s cubic-bezier(.2,.7,.2,1) both; }
.hero__line:nth-child(1) > span { animation-delay: .5s; }
.hero__line:nth-child(2) > span { animation-delay: .7s; }
.hero__ja span { display: inline-block; }
.hero__en { position: absolute; z-index: 1; left: -.04em; bottom: -.2em; margin: 0; font-family: var(--en); font-weight: 700; font-size: clamp(90px, 13vw, 210px); line-height: 1; letter-spacing: -.02em; color: rgba(255,255,255,.07); white-space: nowrap; pointer-events: none; animation: fadeIn 2s 1s both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.hero__ja { margin-top: 32px; font-size: clamp(14px, 1.15vw, 16px); font-weight: 400; color: #d5dce6; letter-spacing: .12em; line-height: 2.1; animation: fadeUp 1s 1.2s both; }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes lineIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }


.hero__scroll { position: absolute; z-index: 3; left: 32px; bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; animation: fadeUp 1s 1.6s both; }
.hero__scroll span { font-family: var(--en); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero__scroll::after { content: ""; width: 1px; height: 72px; background: linear-gradient(#fff 50%, rgba(255,255,255,.25) 50%); background-size: 1px 200%; animation: scrollBar 2s linear infinite; }
@keyframes scrollBar { from { background-position: 0 100%; } to { background-position: 0 -100%; } }

/* ---------- Company ---------- */
.company { padding-bottom: 0; }
.wide-img { margin-top: 100px; }
.wide-img img { width: 100%; aspect-ratio: 16/6; object-fit: cover; }

/* ---------- Service ---------- */
.service { background: var(--bg-gray); }
.biz + .biz { margin-top: 140px; }
.biz__intro { display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: end; padding-top: 48px; border-top: 1px solid var(--navy); }
.biz__title { line-height: 1.5; }
.biz__intro .biz__catch { line-height: 1.7; padding-left: 40px; border-left: 1px solid var(--line); }
.biz__num { font-family: var(--en); font-weight: 500; font-size: 80px; line-height: 1; color: var(--navy); letter-spacing: .02em; }
.biz__label { font-family: var(--en); font-weight: 600; font-size: 13px; letter-spacing: .3em; color: var(--accent); margin-top: 20px; }
.biz__title { font-size: clamp(24px, 2.6vw, 30px); color: var(--navy); letter-spacing: .1em; margin-top: 4px; }
.biz__catch { font-size: clamp(19px, 2vw, 24px); font-weight: 700; color: var(--navy); line-height: 1.7; margin-bottom: 20px; }
.biz__text { color: var(--muted); }
.biz__intro .biz__catch { margin-bottom: 0; }
.biz__lead { margin-top: 48px; color: var(--muted); max-width: 880px; }
.item-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 40px; }
.item-list li { background: #fff; padding: 12px 12px 18px; text-align: center; transition: box-shadow .3s; }
.item-list li:hover { box-shadow: 0 8px 24px rgba(11,37,69,.08); }
.item-list img { width: 100%; aspect-ratio: 4/3; object-fit: contain; }
.item-list__en { font-family: var(--en); font-size: 13px; font-weight: 600; color: var(--navy); letter-spacing: .04em; line-height: 1.4; margin-top: 6px; }
.item-list__ja { font-size: 11px; color: var(--muted); line-height: 1.6; }

.work-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 40px; }
.work-card { background: #fff; padding: 40px; display: grid; grid-template-columns: 72px 1fr; gap: 28px; align-items: start; }
.work-card__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--bg-gray); display: grid; place-items: center; }
.work-card__icon svg { width: 34px; height: 34px; fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.work-card__en { font-family: var(--en); font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--accent); }
.work-card__title { font-size: 20px; color: var(--navy); letter-spacing: .08em; margin: 2px 0 10px; }
.work-card__text { font-size: 15px; color: var(--muted); }

.method { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 56px; }
.method__item { background: #fff; }
.method__img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.method__title { font-size: 20px; color: var(--navy); padding: 32px 36px 0; letter-spacing: .08em; }
.method__item > p { padding: 12px 36px 36px; color: var(--muted); font-size: 15px; }

.flow-wrap { margin-top: 80px; background: #fff; padding: 64px 56px; }
.flow-wrap__title { font-family: var(--en); font-size: 22px; letter-spacing: .14em; color: var(--navy); margin-bottom: 40px; display: flex; align-items: baseline; gap: 18px; }
.flow-wrap__title span { font-family: var(--ja); font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: .1em; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); }
.flow__item { position: relative; padding: 0 28px; text-align: center; }
.flow__item + .flow__item { border-left: 1px solid var(--line); }
.flow__icon { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; background: var(--bg-gray); display: grid; place-items: center; }
.flow__icon svg { width: 40px; height: 40px; fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.flow__step { font-family: var(--en); font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--accent); }
.flow__en { font-family: var(--en); font-size: 18px; font-weight: 700; color: var(--navy); letter-spacing: .08em; margin-top: 4px; }
.flow__en--ja { font-family: var(--ja); font-size: 18px; }
.flow__ja { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.flow__txt { font-size: 14px; color: var(--muted); line-height: 1.9; text-align: left; }

/* ---------- News（カード型） ---------- */
.news__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.n-card a { display: block; }
.n-card__thumb { overflow: hidden; margin-bottom: 20px; }
.n-card__thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .6s ease; }
.n-card a:hover .n-card__thumb img { transform: scale(1.05); }
.n-card__date { display: block; font-family: var(--en); font-size: 13px; color: var(--muted); letter-spacing: .1em; }
.n-card__title { font-size: 16px; font-weight: 500; color: var(--navy); line-height: 1.7; margin-top: 6px; transition: opacity .3s; }
.n-card a:hover .n-card__title { opacity: .7; }

/* ---------- Recruit banner（1カラム） ---------- */
.recruit-bnr { position: relative; color: #fff; text-align: center; padding: 160px 32px; overflow: hidden; }
.recruit-bnr__img { position: absolute; inset: 0; }
.recruit-bnr__img img { width: 100%; height: 100%; object-fit: cover; }
.recruit-bnr__img::after { content: ""; position: absolute; inset: 0; background: rgba(11,37,69,.72); }
.recruit-bnr__body { position: relative; max-width: 760px; margin-inline: auto; }
.recruit-bnr__title { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.6; letter-spacing: .1em; margin-bottom: 28px; }
.recruit-bnr__body > p:not(.sec-head__en) { margin-bottom: 48px; }

/* ---------- Access（1カラム） ---------- */
.info-table { border-top: 1px solid var(--line); }
.info-table > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.info-table dt { font-weight: 700; color: var(--navy); }
.access__map { margin: 56px 0 20px; }
.access__map iframe { display: block; width: 100%; aspect-ratio: 16/8; border: 0; background: var(--bg-gray); filter: grayscale(.4); }

/* ---------- Contact（1カラム） ---------- */
.contact { background: var(--bg-gray); }
.contact__lead { margin-bottom: 40px; }
.contact__tel { background: #fff; padding: 36px; text-align: center; margin-bottom: 64px; }
.contact__tel-label { font-size: 14px; color: var(--muted); }
.contact__tel-num { font-family: var(--en); font-weight: 600; font-size: clamp(30px, 4vw, 42px); letter-spacing: .06em; color: var(--navy); }
.form { background: #fff; padding: 64px 72px; }
.form__row { margin-bottom: 28px; }
.form label { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--navy); margin-bottom: 10px; }
.req { font-size: 11px; padding: 0 8px; background: var(--accent); color: #fff; font-weight: 500; line-height: 1.8; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea { width: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: 0; background: #fff; transition: border-color .3s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); }
.form .is-error { border-color: #c94040 !important; }
.form__check { justify-content: center; font-weight: 500 !important; margin: 40px 0 32px !important; cursor: pointer; }
.form__check input { width: 18px; height: 18px; accent-color: var(--navy); }
.form__submit { text-align: center; margin-top: 40px; }
.form__msg { margin-top: 20px; font-size: 14px; text-align: center; min-height: 1.5em; }
.form__msg.is-ok { color: #1a7f4b; }
.form__msg.is-ng { color: #c94040; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #c3cad4; padding: 80px 0 0; }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 56px; }
.footer__inner img { width: 170px; }
.footer__addr { margin-top: 24px; font-size: 14px; line-height: 1.9; }
.footer__permit { margin-top: 12px; font-size: 12px; color: #9aa6b5; letter-spacing: .04em; }
.footer__nav { display: grid; grid-template-columns: repeat(3, auto); gap: 14px 56px; align-content: start; }
.footer__nav a { font-family: var(--en); font-size: 13px; letter-spacing: .14em; transition: color .3s; }
.footer__nav a:hover { color: #fff; }
.footer__copy { text-align: center; font-family: var(--en); font-size: 11px; letter-spacing: .08em; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.12); }

.pagetop { position: fixed; right: 24px; bottom: 24px; width: 52px; height: 52px; background: var(--navy); border: 1px solid rgba(255,255,255,.3); opacity: 0; visibility: hidden; transition: .3s; z-index: 90; }
.pagetop::before { content: ""; position: absolute; left: 50%; top: 55%; width: 12px; height: 12px; border-top: 1px solid #fff; border-left: 1px solid #fff; transform: translate(-50%, -50%) rotate(45deg); }
.pagetop.is-show { opacity: 1; visibility: visible; }

/* ---------- Sub page (Recruit) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + 100px) 0 100px; color: #fff; overflow: hidden; }
.page-hero__img { position: absolute; inset: 0; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__img::after { content: ""; position: absolute; inset: 0; background: rgba(11,37,69,.6); }
.page-hero .container { position: relative; }
.page-hero__en { font-family: var(--en); font-weight: 600; font-size: clamp(40px, 6vw, 68px); letter-spacing: .14em; line-height: 1.1; }
.page-hero__ja { font-size: 15px; font-weight: 500; margin-top: 12px; letter-spacing: .2em; }
.breadcrumb ol { display: flex; gap: 10px; font-size: 12px; padding: 18px 0; color: var(--muted); font-family: var(--en); letter-spacing: .1em; }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; }
.breadcrumb a:hover { color: var(--navy); }
.info-table--recruit { background: #fff; padding: 16px 48px; border-top: 0; }
.info-table--recruit > div:last-child { border-bottom: 0; }
.flow--recruit { grid-template-columns: repeat(3, 1fr); }
.flow--recruit .flow__item { text-align: left; padding: 0 32px; }
.flow--recruit .flow__item:first-child { padding-left: 0; }
.apply { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 64px; }
.apply__box { padding: 36px; background: var(--bg-gray); }
.apply__box--accent { background: var(--navy); color: #fff; }
.apply__box--accent .contact__tel-num { color: #fff; }
.apply__label { font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 10px; letter-spacing: .1em; }
.apply__box--accent .apply__label { color: #c3cad4; }
.apply__addr strong { color: var(--navy); display: inline-block; margin-top: 6px; }

/* ---------- News list / Single ---------- */
.page-hero--sm { padding: calc(var(--header-h) + 64px) 0 64px; }
.breadcrumb ol { flex-wrap: wrap; }
.breadcrumb li:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.section--news-list { padding-top: 80px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 80px; }
.pagination .page-numbers { min-width: 48px; height: 48px; padding: 0 14px; display: grid; place-items: center; border: 1px solid var(--line); font-family: var(--en); font-size: 14px; color: var(--navy); transition: .3s; }
.pagination a.page-numbers:hover { border-color: var(--navy); }
.pagination .current { background: var(--navy); border-color: var(--navy); color: #fff; }

.post { padding-top: 80px; }
.post__head { padding-bottom: 32px; border-bottom: 1px solid var(--line); margin-bottom: 48px; }
.post__date { font-family: var(--en); font-size: 14px; color: var(--muted); letter-spacing: .1em; }
.post__title { font-size: clamp(24px, 3vw, 34px); color: var(--navy); line-height: 1.6; letter-spacing: .06em; margin-top: 8px; }
.post__thumb { margin: 0 0 56px; }
.post__thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post__body > * + * { margin-top: 1.6em; }
.post__body h2 { font-size: 22px; color: var(--navy); padding: 4px 0 4px 18px; border-left: 3px solid var(--navy); margin-top: 2.4em; line-height: 1.6; }
.post__body h3 { font-size: 18px; color: var(--navy); padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-top: 2em; }
.post__body ul, .post__body ol { padding-left: 1.4em; }
.post__body ul { list-style: disc; }
.post__body ol { list-style: decimal; }
.post__body li + li { margin-top: .4em; }
.post__body a { color: var(--navy); text-decoration: underline; }
.post__body img { margin-inline: auto; }
.post-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; margin-top: 80px; padding-top: 40px; border-top: 1px solid var(--line); font-size: 14px; }
.post-nav span span, .post-nav a span { display: block; font-family: var(--en); font-size: 11px; letter-spacing: .2em; color: var(--accent); }
.post-nav__prev { color: var(--navy); }
.post-nav__next { text-align: right; color: var(--navy); }
.post-nav__next.is-disabled { color: var(--line); }
.post-nav__next.is-disabled span { color: var(--line); }
.post-nav__list { padding: 14px 28px; border: 1px solid var(--navy); color: var(--navy); transition: .3s; }
.post-nav__list:hover { background: var(--navy); color: #fff; }
.post-nav a:not(.post-nav__list):hover { opacity: .7; }

/* ---------- Contact Form 7 ---------- */
.wpcf7-form-control-wrap { display: block; }
.wpcf7-not-valid { border-color: #c94040 !important; }
.wpcf7-not-valid-tip { display: block; color: #c94040; font-size: 13px; margin-top: 6px; }
.wpcf7 form .wpcf7-response-output { margin: 24px 0 0; padding: 14px 18px; border: 1px solid var(--line); font-size: 14px; text-align: center; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #1a7f4b; color: #1a7f4b; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: #c94040; color: #c94040; }
.wpcf7-spinner { display: block; margin: 12px auto 0; }
.form input[type="submit"].btn { justify-content: center; }

/* ---------- WordPress 出力用 ---------- */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers.dots { border: 0; min-width: 24px; }
.news__empty { text-align: center; color: var(--muted); padding: 40px 0; }
.post-nav__prev.is-disabled, .post-nav__prev.is-disabled span { color: var(--line); }
body.admin-bar .header { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .header { top: 46px; } }
@media screen and (max-width: 600px) { body.admin-bar .header { top: 0; } }
/* ブロックエディタの基本要素 */
.post__body .wp-block-image, .post__body figure { margin: 2em 0; }
.post__body figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.post__body .aligncenter { margin-inline: auto; text-align: center; }
.post__body .alignleft { float: left; margin: .4em 1.6em 1em 0; }
.post__body .alignright { float: right; margin: .4em 0 1em 1.6em; }
.post__body table { width: 100%; border-collapse: collapse; }
.post__body th, .post__body td { border: 1px solid var(--line); padding: 12px 16px; text-align: left; }
.post__body th { background: var(--bg-gray); color: var(--navy); }
.post__body blockquote { margin: 2em 0; padding: 20px 24px; background: var(--bg-gray); border-left: 3px solid var(--line); }
.post__body::after { content: ""; display: block; clear: both; }

/* ---------- Scroll fade-in ---------- */
.js-fade { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s ease; }
.js-fade.is-in { opacity: 1; transform: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1024px) {
  .flow { grid-template-columns: repeat(2, 1fr); gap: 48px 0; }
  .item-list { grid-template-columns: repeat(3, 1fr); }
  .flow__item:nth-child(3) { border-left: 0; }
  .news__list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .hero__photo { width: 100%; }
  .hero__photo::after { background: linear-gradient(0deg, rgba(11,37,69,.92) 0%, rgba(11,37,69,.55) 45%, rgba(11,37,69,.2) 100%); }
  .hero__inner { width: calc(100% - 64px); justify-content: flex-end; padding-bottom: 100px; }
            .hero__scroll { display: none; }
  .section { padding: 96px 0; }
  .company { padding-bottom: 0; }
  .header__logo img { width: 110px; }
  .menu-btn { display: block; position: relative; z-index: 120; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
  .menu-btn span { position: absolute; left: 10px; width: 24px; height: 1px; background: #fff; transition: .3s; }
  .header.is-scrolled .menu-btn span { background: var(--navy); }
  .menu-btn span:nth-child(1) { top: 15px; } .menu-btn span:nth-child(2) { top: 22px; } .menu-btn span:nth-child(3) { top: 29px; }
  .is-menu-open .menu-btn span { background: #fff !important; }
  .is-menu-open .menu-btn span:nth-child(1) { top: 22px; transform: rotate(45deg); }
  .is-menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  .is-menu-open .menu-btn span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
  .gnav { position: fixed; inset: 0; background: var(--navy); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .4s; z-index: 110; }
  .is-menu-open .gnav { opacity: 1; visibility: visible; }
  .gnav__list { flex-direction: column; gap: 28px; }
  .gnav__list a, .header.is-scrolled .gnav__list a { color: #fff; font-size: 17px; }
  .header.is-scrolled .gnav__cta a { background: transparent; border-color: #fff; }
  .biz__intro { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; align-items: start; }
  .biz__intro .biz__catch { padding-left: 0; border-left: 0; }
  .biz__num { font-size: 56px; }
  .biz__catch { font-size: 18px; }
  .biz + .biz { margin-top: 96px; }
  .wide-img { margin-top: 64px; }
  .flow-wrap { padding: 48px 32px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container, .container--narrow { width: calc(100% - 40px); }
  .sp-none { display: none; }
  .hero__inner { width: calc(100% - 40px); padding-bottom: 72px; }
  .hero__copy { font-size: 34px; letter-spacing: .08em; }
  .hero__en { font-size: 64px; bottom: 0; }
  .hero__ja { margin-top: 24px; font-size: 14px; }
  .hero__label { font-size: 10px; letter-spacing: .18em; gap: 12px; margin-bottom: 20px; }
  .hero__label::before { width: 28px; }
  .sec-head { margin-bottom: 40px; }
  .sec-head--row { flex-direction: column; align-items: flex-start; }
  .wide-img img { aspect-ratio: 4/3; }
  .method, .news__list, .apply, .work-cards { grid-template-columns: 1fr; }
  .item-list { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .item-list li { padding: 8px 4px 12px; }
  .item-list__en { font-size: 11px; letter-spacing: 0; }
  .item-list__ja { font-size: 10px; }
  .biz__lead { margin-top: 28px; }
  .work-card { padding: 28px 24px; grid-template-columns: 56px 1fr; gap: 18px; }
  .work-card__icon { width: 56px; height: 56px; }
  .work-cards { gap: 20px; }
  .method__title { padding: 24px 24px 0; }
  .method__item > p { padding: 10px 24px 28px; }
  .flow, .flow--recruit { grid-template-columns: 1fr; gap: 0; }
  .flow__item, .flow--recruit .flow__item { padding: 32px 0; border-left: 0 !important; text-align: left; display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; }
  .flow__item + .flow__item { border-top: 1px solid var(--line); }
  .flow__icon { width: 64px; height: 64px; margin: 0; grid-row: span 4; }
  .flow__icon svg { width: 30px; height: 30px; }
  .flow--recruit .flow__item { display: block; }
  .flow-wrap { padding: 40px 20px; }
  .recruit-bnr { padding: 110px 20px; text-align: left; }
  .info-table > div { grid-template-columns: 1fr; gap: 4px; padding: 20px 0; }
  .info-table--recruit { padding: 8px 20px; }
  .access__map iframe { aspect-ratio: 4/3; }
  .form { padding: 36px 20px; }
  .btn { min-width: 0; width: 100%; }
  .footer__nav { grid-template-columns: repeat(2, auto); }
  .post-nav { grid-template-columns: 1fr 1fr; }
  .post-nav__list { grid-column: 1 / -1; grid-row: 2; text-align: center; }
  .post__body h2 { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js-fade { opacity: 1; transform: none; }
}
