:root {
    --color-text: #242625;
    --color-subtext: #5a605c;
    --color-bg: #fdfcfa;
    --color-gray: #f7f8f8;
    --color-border: #eaeaea;
    --color-aqua: #9bcbcd;
    --color-green: #cbdea7;
    --color-coral: #e1a9a1;
    --font-ja: "Kosugi", "Hiragino Kaku Gothic ProN", sans-serif;
    --font-ja-title: "Shippori Mincho", "Hiragino Mincho ProN", serif;
    --font-en: "Marcellus", Noto Sans;
    --inner: 1400px;
    --side: clamp(20px, 5vw, 72px);
    --radius: 16px;
    --easing: cubic-bezier(.22, .61, .36, 1);
    --footer-height: 480px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--color-bg); color: var(--color-text); font-family: var(--font-ja); line-height: 1.8; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: opacity .3s ease, color .3s ease; }
a:hover { color: #7c9f5e; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, h4, dl, dd { margin: 0; }
button, input, textarea, select { font: inherit; }
address { font-style: normal; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.l-site { min-height: 100vh; }
/* overflow-xとoverflow-yを異なる値（hidden/visible）に混在させると、
   ブラウザの仕様上どちらも暗黙的にautoへ変換され、この要素が
   スクロールコンテナ化してしまい、内部のposition: stickyが
   本来のビューポート基準で機能しなくなる。横方向のクリップは
   bodyのoverflow-x: hiddenで足りているため、.l-mainではoverflowを
   一切指定しない（両軸とも visible のまま）ようにする */
.l-main { position: relative; z-index: 2; background-color: var(--color-bg); }
.l-inner { width: min(100%, var(--inner)); margin-inline: auto; padding-inline: var(--side); }
.l-section { padding-block: clamp(96px, 12vw, 180px); }

.l-header { position: fixed; inset: 0 0 auto; z-index: 100; background: rgba(253, 252, 250, .76); border-bottom: 1px solid rgba(36, 38, 37, .06); backdrop-filter: blur(14px); }
.admin-bar .l-header { top: 32px; }
.l-header__inner { width: min(100%, var(--inner)); margin-inline: auto; padding: 18px 0; display: flex; align-items: center; justify-content: flex-start; gap: 20px; }
.l-header__logo, .l-footer__logo { display: inline-flex; align-items: center; }
.custom-logo { width: min(208px, 18vw); height: auto; }
.l-footer__logo-img { width: min(180px, 42vw); height: auto; }
.l-header__logo-img--light { display: none; }
/* navが通常フローにいる（＝デスクトップ幅の）ときだけnav自身を右へ寄せ、
   検索ボタン・ハンバーガーもその流れですぐ右側に並ぶようにする。
   モバイル幅ではnavがposition: absoluteでフローから外れるため、
   代わりに検索ボタン側にmargin-inline-start: autoを付け替える
   （下部の @media (max-width: 960px) を参照） */
.l-header__nav { margin-inline-start: auto; }
.l-header__menu { display: flex; align-items: center; gap: clamp(16px, 2.3vw, 38px); font: 400 13px/1 var(--font-en); letter-spacing: .14em; text-transform: uppercase; }
.l-header__menu > li > a { display: block; padding-block: 10px; }
.c-search_button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid rgba(36, 38, 37, .16); border-radius: 50%; background: transparent; color: var(--color-text); cursor: pointer; transition: background .3s ease, color .3s ease, border-color .3s ease; }
.c-search_button:hover, .c-search_button[aria-expanded="true"] { background: var(--color-text); border-color: var(--color-text); color: #fff; }
.l-header__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; flex-shrink: 0; }
.l-header__toggle span:not(.screen-reader-text) { display: block; width: 24px; height: 1px; margin: 6px auto; background: var(--color-text); transition: transform .3s ease, opacity .3s ease; }
.l-header__toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.l-header__toggle.is-active span:nth-child(2) { opacity: 0; }
.l-header__toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==============================
    サイト内検索モーダル
    参考: https://www.fukujo.ac.jp/university/ のヘッダー虫眼鏡アイコン
    →モーダル検索窓のインタラクション。配色・フォントはこのサイトの
    デザインシステム（--color-text / --radius / --easing 等）に合わせる
============================== */
.c-search-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: var(--side); opacity: 0; visibility: hidden; transition: opacity .4s var(--easing), visibility 0s linear .4s; }
.c-search-modal.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--easing), visibility 0s linear 0s; }
.c-search-modal__overlay { position: absolute; inset: 0; background: rgba(20, 22, 21, .6); backdrop-filter: blur(2px); }
.c-search-modal__panel { position: relative; z-index: 1; width: min(560px, 100%); background: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 40px); box-shadow: 0 30px 70px rgba(20, 22, 21, .28); transform: translateY(18px) scale(.97); opacity: 0; transition: transform .45s var(--easing), opacity .45s var(--easing); }
.c-search-modal.is-open .c-search-modal__panel { transform: none; opacity: 1; }
.c-search-modal__close { position: absolute; top: -58px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .12); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .3s ease, transform .3s ease; }
.c-search-modal__close:hover { background: rgba(255, 255, 255, .24); transform: rotate(90deg); }
.c-search-modal__label { margin-bottom: 16px; font-size: 13px; letter-spacing: .08em; color: var(--color-subtext); }
.c-search-modal__row { display: flex; gap: 12px; }
.c-search-modal__input { flex: 1; min-width: 0; padding: 15px 20px; border: 1px solid var(--color-border); border-radius: 999px; font: inherit; font-size: 14px; color: var(--color-text); background: var(--color-gray); }
.c-search-modal__input:focus { outline: 2px solid var(--color-text); outline-offset: 2px; }
.c-search-modal__submit { flex-shrink: 0; padding: 15px 28px; border: 0; border-radius: 999px; background: var(--color-text); color: #fff; font-size: 13px; letter-spacing: .1em; cursor: pointer; transition: transform .3s var(--easing), box-shadow .3s ease; }
.c-search-modal__submit:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(36, 38, 37, .18); }
body.is-search-open { overflow: hidden; }
@media (max-width: 640px) {
    .c-search-modal__row { flex-direction: column; }
    .c-search-modal__submit { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .c-search-modal, .c-search-modal__panel, .c-search-modal__close { transition: none; }
}

.c-section-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: clamp(20px, 4vw, 64px); padding-bottom: clamp(28px, 3.5vw, 48px); border-bottom: 1px solid var(--color-border); }
.c-section-heading--between { align-items: flex-end; justify-content: space-between; }
.c-section-heading h2, .c-large-title { font: 300 clamp(32px, 4.4vw, 68px)/1 var(--font-en);  }
.c-section-heading p { margin-top: 12px; color: var(--color-subtext); font-size: 13px; letter-spacing: .13em; }
.c-eyebrow { margin-bottom: 24px; font: 400 11px/1 var(--font-en); letter-spacing: .36em; text-transform: uppercase; }
.c-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-width: 220px; padding: 17px 30px; border: 1px solid rgba(36, 38, 37, .12); border-radius: 8px; background: #fff; font-size: 13px; letter-spacing: .14em; transition: transform .4s var(--easing), box-shadow .4s ease, background .4s ease; }
.c-button:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(36, 38, 37, .12); color: var(--color-text); }
.c-button--dark { background: var(--color-text); color: #fff; border-color: var(--color-text); }

.c-button--light:hover { background: #fff; }
.c-text-link { display: inline-block; padding-bottom: 5px; border-bottom: 1px solid var(--color-green); font-size: 12px; letter-spacing: .14em; }
.c-image-placeholder { width: 100%; height: 100%; min-height: 240px; display: grid; place-items: center; padding: 24px; background: linear-gradient(135deg, #eef4f2, #f7f2ef); border: 1px dashed #cfd7d2; color: #6b716d; text-align: center; font-size: 13px; letter-spacing: .08em; }
.p-recruit__inner .c-button{color: var(--color-text);}
/* footerの実高さぶんだけスクロール距離を確保する透明スペーサー。
   このスペーサー自体をIntersectionObserverで監視することで、
   fixed化したfooterがビューポート底から現れ始める瞬間と
   is-active付与のタイミングを一致させている */
.l-footer__spacer { display: block; height: 0; }
@media (min-width: 768px) {
    .l-footer__spacer { height: var(--footer-height); }
}

.l-footer.js-footer {
    top: 80px;
    position: fixed;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    /* min-height: var(--footer-height); */
    padding: clamp(56px, 6vw, 90px) 0 clamp(28px, 3vw, 40px);
    background: #1f2929;
    color: #fff;
    opacity: .7;
    transform: translateY(40px);
    transition: opacity .8s ease, transform .9s cubic-bezier(.22, 1, .36, 1);
}
.l-footer.js-footer.is-active,
.l-footer.js-footer.active { opacity: 1; transform: none; }

.l-footer__inner { width: min(100%, var(--inner)); margin-inline: auto; padding-inline: var(--side); }

.l-footer__top { display: flex; justify-content: space-between; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap; padding-bottom: clamp(32px, 4vw, 56px); border-bottom: 1px solid rgba(255, 255, 255, .2); }
.l-footer__nav-list { display: flex; flex-wrap: wrap; gap: clamp(18px, 2.6vw, 36px); font: 400 13px/1 var(--font-en);  text-transform: uppercase; }
.l-footer__nav-item { position: relative; }
.l-footer__nav-item > a { position: relative; display: inline-flex; padding-block: 4px; transition: opacity .3s ease, transform .3s ease; }
.l-footer__nav-item > a:hover { opacity: .65; transform: translateX(4px); color: #fff; }
.l-footer__subnav { margin-top: 10px; display: grid; gap: 8px; font-size: 11px; letter-spacing: .06em; text-transform: none; color: rgba(255, 255, 255, .6); }
.l-footer__subnav a { color: rgba(255, 255, 255, .6); }
.l-footer__subnav a:hover { color: var(--color-green); }

.l-footer__heading { margin-bottom: 14px; color: rgba(255, 255, 255, .55); font: 400 11px/1 var(--font-en); letter-spacing: .28em; text-transform: uppercase; }
.l-footer__brands ul { display: grid; gap: 10px; font-size: 13px; letter-spacing: .06em; }
.l-footer__brands a, .l-footer__brands span { color: rgba(255, 255, 255, .85); }
.l-footer__brands a:hover { color: var(--color-aqua); }

.l-footer__bottom { padding-block: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr); align-items: end; gap: clamp(48px, 7vw, 120px); }

.l-footer__company { display: flex; flex-direction: column; }
.l-footer__logo { margin-bottom: 22px; }
.l-footer__company-name { margin-bottom: 18px; font-size: 13px; letter-spacing: .08em; }
.l-footer__address p { margin-bottom: 14px; color: rgba(255, 255, 255, .7); font-size: 13px; line-height: 2; letter-spacing: .06em; }
.l-footer__map-link { display: inline-flex; align-items: center; gap: 6px; padding-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, .35); font-size: 12px; }
.l-footer__contact-info { margin-top: 22px; font-size: 13px; letter-spacing: .06em; }
.l-footer__contact-info p { margin-bottom: 8px; font-family: var(--font-en); }
.l-footer__contact-info a { color: #fff; }

.l-footer__message { display: flex; align-items: flex-end; justify-content: flex-end; min-width: 0; }
.l-footer__message p { margin: 0; font-family: var(--font-en); font-size: clamp(3.4rem, 7vw, 8rem); font-weight: 500; line-height: .9; letter-spacing: -.03em; text-align: right; color: var(--color-coral); }
/* tomore.jp の footer__inner-sub-lines を参考にした行ごとのマスク送り出しアニメーション */
.l-footer__message-line { display: block; overflow: hidden; }
.l-footer__message-line > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--easing); }
.l-footer.is-active .l-footer__message-line:nth-child(1) > span { transition-delay: .15s; transform: none; }
.l-footer.is-active .l-footer__message-line:nth-child(2) > span { transition-delay: .3s; transform: none; }

.l-footer__legal { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid rgba(255, 255, 255, .2); }
.l-footer__copyright { color: rgba(255, 255, 255, .55); font: 400 11px/1 var(--font-en); letter-spacing: .15em; }
.l-footer__legal-links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 12px; }
.l-footer__legal-links a { color: rgba(255, 255, 255, .75); }
.l-footer__legal-links a:hover { color: #fff; }

@media (max-width: 767px) {
    .l-footer.js-footer { position: relative; z-index: auto; right: auto; bottom: auto; left: auto; min-height: auto; }
    .l-footer__top { flex-direction: column; }
    .l-footer__bottom { display: flex; flex-direction: column; align-items: stretch; gap: 40px; }
    .l-footer__message { order: -1; justify-content: flex-start; }
    .l-footer__message p { font-size: clamp(2.6rem, 13vw, 4.2rem); text-align: left; }
    .l-footer__nav-list { flex-direction: column; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .l-footer.js-footer { transition: none; }
}

@media (max-width: 960px) {
    .admin-bar .l-header { top: 46px; }
    .l-header__toggle { display: block; }
    .l-header__nav { position: absolute; top: 100%; left: 0; right: 0; display: none; margin-inline-start: 0; padding: 24px var(--side) 34px; background: rgba(253, 252, 250, .98); border-bottom: 1px solid var(--color-border); }
    .l-header__nav.is-open { display: block; }
    .l-header__menu { flex-direction: column; align-items: flex-start; gap: 8px; }
    .l-header__contact { margin-top: 12px; }
    /* navがposition: absoluteでフローから外れるぶん、代わりに
       検索ボタンをmargin-inline-start: autoで右端へ寄せる */
    .c-search_button { margin-inline-start: auto; }
    .c-search-modal__close { top: -54px; }
}
@media (max-width: 640px) {
    .l-section { padding-block: 88px; }
}

.p-concept { position: relative;  }
.p-concept__lead { max-width: 800px; margin-inline: auto; text-align: center; }
.p-concept__lead h2 { margin-bottom: 28px; font-family: var(--font-ja-title); font-size: clamp(26px,3.4vw,50px); font-weight: 500; line-height: 1.85; letter-spacing: .08em; }
.p-concept__lead > p:last-child { font-size: 14px; line-height: 2.4; }
.p-concept__values { margin-top: clamp(60px,8vw,110px); display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(28px,4vw,56px); }
.p-concept__values > div { padding-top: 28px; border-top: 1px solid var(--color-text) }
.p-concept__values p { margin-bottom: 16px;  font: 400 13px/1 var(--font-en); letter-spacing: .3em; text-transform: uppercase; }
.p-concept__values span { font-size: 14px; line-height: 2.2; letter-spacing: .08em; }
.p-concept__button { margin-top: 56px; text-align: center; }

.p-topic-card__meta { margin-block: 14px; display: flex; align-items: center; gap: 14px; }
.p-topic-card__meta span { padding: 7px 14px; border-radius: 999px; background: #f3f8eb; color: #5c7a43; font-size: 11px; }
.p-topic-card time { color: #8b918c; font: 400 12px/1 var(--font-en); letter-spacing: .14em; }
.p-topic-card h3 { font-size: 16px; font-weight: 400; line-height: 1.95; letter-spacing: .07em; }

.p-news {
    position: relative;
}
.p-news:before{
    content: "";
    background: rgba(247, 220, 216, .4);
    filter: blur(18px);
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}
.p-news__grid {
    position: relative;
    display: grid; grid-template-columns: .8fr 1.8fr; gap: clamp(36px,5vw,80px); }
.p-news__grid > div:first-child > p { margin: 16px 0 26px; color: var(--color-subtext); font-size: 13px; }
.p-news__list a { display: grid; grid-template-columns: 110px 130px 1fr; gap: 20px; align-items: baseline; padding: 26px 0; border-top: 1px solid #fff; }
.p-news__list a:last-child { border-bottom: 1px solid #e4e6e5; }
.p-news__list time { color: #8b918c; font: 400 12px/1 var(--font-en); letter-spacing: .14em; }
.p-news__list span { padding: 6px 12px; border-radius: 999px; background: #fff; text-align: center; font-size: 11px; }
.p-news__list p { font-size: 15px; line-height: 1.9; letter-spacing: .06em; }

.p-about__grid { margin-top: clamp(40px,5vw,72px); display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px,3vw,48px); }
.p-about__image { aspect-ratio: 4/3; overflow: hidden; margin-bottom: 20px; border-radius: var(--radius); }
.p-about__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.215, .61, .355, 1); }
.p-about__grid a:hover .p-about__image img { transform: scale(1.05); }
.p-about__image--small { aspect-ratio: 16/9; }
.p-about__caption { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.p-about__caption h3 { margin-bottom: 8px; font: 300 clamp(20px,2.2vw,32px)/1 var(--font-en); }
.p-about__caption p, .p-about__caption span { color: #41463f; font-size: 12px; letter-spacing: .11em; }
.p-about__small-list { display: grid; gap: 40px; }

.p-recruit { position: relative; min-height: 78svh; display: flex; align-items: center; overflow: hidden; }
/* insetの絶対値はJS側のdata-acw-parallax（＝クランプする変位の最大値）
   以上を必ず確保すること。不足すると変位が振り切れた際に画像の端が
   見えてしまう */
.p-recruit__media { position: absolute; inset: -300px; transform: translateY(var(--acw-parallax-y, 0px)); will-change: transform; }
.p-recruit__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.p-recruit__overlay { position: absolute; inset: 0;  }
.p-recruit__inner { position: relative; z-index: 2; padding-block: 100px; color:#fff;}
.p-recruit__inner h2 { margin-bottom: 22px; font-family: var(--font-ja-title); font-size: clamp(24px,3vw,44px); font-weight: 500; line-height: 1.8; }
.p-recruit__inner > p:not(.c-eyebrow) { max-width: 620px; margin-bottom: 34px;  font-size: 14px; line-height: 2.4; }

.p-contact { background: linear-gradient(120deg, #f3f8eb, #eff6f7 52%, #fbf2f0); }
.p-contact__inner { max-width: 900px; text-align: center; }
.p-contact h2 { margin-bottom: 24px; font-family: var(--font-ja-title); font-size: clamp(24px,3vw,42px); font-weight: 500; line-height: 1.85; }
.p-contact__inner > p:not(.c-eyebrow):not(.p-contact__tel) { margin-bottom: 36px; color: #41463f; font-size: 14px; line-height: 2.4; }
.p-contact__buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.p-contact__tel { margin-top: 38px; color: var(--color-subtext); font: 400 13px/1.8 var(--font-en);  }

.p-search__count { margin-top: -20px; margin-bottom: 40px; color: var(--color-subtext); font-size: 13px; }
.p-search__list { display: grid; gap: 4px; }
.p-search__item a { display: flex; gap: 24px; align-items: flex-start; padding: 28px 0; border-bottom: 1px solid var(--color-border); transition: opacity .3s ease; }
.p-search__item a:hover { opacity: .65; }
.p-search__thumb { flex-shrink: 0; width: 160px; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); }
.p-search__thumb img { width: 100%; height: 100%; object-fit: cover; }
.p-search__type { margin-bottom: 8px; font: 400 11px/1 var(--font-en); letter-spacing: .14em; text-transform: uppercase; color: var(--color-subtext); }
.p-search__body h2 { font-size: 17px; font-weight: 500; line-height: 1.7; }
.p-search__excerpt { margin-top: 10px; color: var(--color-subtext); font-size: 13px; line-height: 1.9; }
.p-search__pagination { margin-top: 56px; display: flex; gap: 10px; flex-wrap: wrap; }
.p-search__pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding-inline: 10px; border-radius: 999px; border: 1px solid var(--color-border); font-size: 13px; }
.p-search__pagination .page-numbers.current { background: var(--color-text); color: #fff; border-color: var(--color-text); }
.p-search__empty { color: var(--color-subtext); font-size: 14px; line-height: 2; }

@media (max-width: 960px) {
    .p-concept__values { grid-template-columns: 1fr; }
    .p-news__grid { grid-template-columns: 1fr; }
    .p-about__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .p-search__item a { flex-direction: column; gap: 14px; }
    .p-search__thumb { width: 100%; aspect-ratio: 16/9; }
}
@media (max-width: 640px) {
    .p-contact br { display: none; }
    .p-news__list a { grid-template-columns: 1fr; gap: 10px; }
    .p-about__caption { align-items: flex-start; }
}
@keyframes acw-rise { from { opacity: 0; transform: translateY(1.15em); } to { opacity: 1; transform: none; } }
@keyframes acw-fade { from { opacity: 0; } to { opacity: 1; } }

[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1.15s var(--easing), transform 1.15s var(--easing); }
[data-reveal].is-inview { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
    [data-reveal] { opacity: 1; transform: none; }
}

.c-article-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}
.c-article-image img {
    transition: transform .8s cubic-bezier(.215, .61, .355, 1);
}
.c-article-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0;
    pointer-events: none;
    transition: opacity .8s cubic-bezier(.215, .61, .355, 1);
}
.p-topic-card a:hover .c-article-image img {
    transform: scale(1.05);
}
.p-topic-card a:hover .c-article-image::after {
    opacity: .15;
}
