/*
Theme Name: Nara School
Description: 奈良東国際介護福祉学院の確定デザイン。お知らせは投稿から更新できます。
Version: 1.2.0
Requires at least: 6.3
Requires PHP: 8.0
Text Domain: nara-school
*/
:root {
  --ink:#3f352b;
  --key:#805000;
  --paper:#fffdf7;
  --line:#dfd5bd;
  --soft:#fff2cc;
  --accent:#e4edc9;
  color-scheme:light;
  font-family:'Yu Gothic','Hiragino Kaku Gothic ProN',Meiryo,sans-serif;
  color:var(--ink);
  background:var(--paper);
  font-size:100%
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  line-height:1.9
}
a {
  color:var(--key);
  text-underline-offset:5px
}
a:focus-visible,button:focus-visible {
  outline:3px solid #9d4800;
  outline-offset:5px
}
a {
  touch-action:manipulation
}
h1,h2,h3,p {
  margin-top:0
}
h2 {
  font-size:clamp(1.6rem,3vw,2.5rem);
  line-height:1.5;
  letter-spacing:.06em
}
h3 {
  font-size:1.4rem;
  line-height:1.6
}
p {
  max-width:42em
}
header {
  padding:24px max(5vw,24px);
  background:#fff;
  border-bottom:1px solid var(--line)
}
header h1 {
  font-size:clamp(1rem,2vw,1.35rem);
  margin:0;
  letter-spacing:.05em
}
.nr-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap
}
nav {
  display:flex;
  gap:12px 30px;
  flex-wrap:wrap;
  margin-top:20px
}
nav a {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  text-decoration:none;
  font-weight:600;
  border-bottom:2px solid transparent
}
nav a:hover {
  border-color:var(--key)
}
main>section {
  padding:84px max(7vw,24px);
  scroll-margin-top:24px
}
main>section:nth-child(2n) {
  background:#fff
}
.nr-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:48px;
  align-items:center
}
.nr-grid>* {
  min-width:0
}
.nr-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 24px;
  border-radius:100px;
  border:1px solid var(--key);
  font-size:1rem;
  text-decoration:none;
  font-weight:600
}
a.nr-button {
  background:var(--key);
  color:#fff;
  transition:background .2s,transform .2s
}
a.nr-button:hover {
  background:#633d00;
  transform:translateY(-3px)
}
span.nr-button {
  border-color:var(--line);
  font-weight:400
}
section[aria-label='メインビジュアル'] {
  padding-top:90px;
  padding-bottom:90px;
  background:var(--soft);
  position:relative;
  overflow:hidden
}
section[aria-label='メインビジュアル'] h2 {
  font-family:'Yu Mincho','Hiragino Mincho ProN',serif;
  font-size:clamp(2rem,4.4vw,4.3rem);
  line-height:1.55;
  letter-spacing:.03em
}
section[aria-label='メインビジュアル'] p {
  margin:26px 0 30px
}
.hero-art {
  position:relative;
  display:grid;
  place-content:center;
  min-height:380px;
  border-radius:48% 48% 12px 12px;
  background:var(--key);
  color:white;
  isolation:isolate;
  overflow:hidden
}
.hero-art:before,.hero-art:after {
  content:'';
  position:absolute;
  border:1px solid #e6ba52;
  border-radius:50%;
  width:340px;
  height:340px;
  z-index:-1
}
.hero-art:before {
  left:-100px;
  top:70px
}
.hero-art:after {
  right:-120px;
  bottom:-110px;
  background:#e4edc9
}
.hero-art span {
  font-family:'Yu Mincho',serif;
  font-size:clamp(2rem,4vw,3.5rem);
  line-height:1.9;
  letter-spacing:.3em
}
.about-art {
  display:grid;
  place-content:center;
  min-height:280px;
  background:var(--soft);
  border-radius:8px 100px 8px 8px;
  font-family:'Yu Mincho',serif;
  font-size:2.2rem;
  letter-spacing:.12em;
  color:var(--key)
}
.nr-news {
  border-bottom:1px solid var(--line);
  padding:24px 0;
  font-size:1rem;
  overflow-wrap:anywhere
}
.nr-box {
  padding:36px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:20px;
  height:100%
}
.nr-tag {
  display:inline-block;
  background:var(--accent);
  color:var(--ink);
  padding:5px 14px;
  border-radius:30px;
  margin-bottom:18px;
  font-size:.9rem;
  font-weight:600
}
.nr-document {
  border-bottom:1px solid var(--line);
  padding:0;
  overflow-wrap:anywhere
}
.nr-document a {
  display:block;
  padding:20px 4px;
  text-decoration:none;
  transition:background .2s,padding .2s
}
.nr-document a:hover {
  background:var(--soft);
  text-decoration:underline;
  padding-left:12px
}
#nr-disclosure {
  max-width:1200px;
  margin:auto
}
#nr-contact {
  background:var(--ink);
  color:#fff
}
#nr-contact a {
  color:#fff
}
#nr-contact .nr-grid {
  align-items:start
}
.access-block {
  padding:28px;
  border:1px solid #d3be9d;
  border-radius:16px
}
.access-block a {
  display:inline-flex;
  min-height:48px;
  align-items:center
}
footer {
  padding:36px max(5vw,24px);
  font-size:.9rem;
  background:#fff
}
.skip-link {
  position:absolute;
  left:16px;
  top:12px;
  transform:translateY(-200%);
  background:#fff;
  padding:12px;
  z-index:20
}
.skip-link:focus {
  transform:none
}
main:focus {
  outline:none
}
.reveal-in {
  animation:reveal-in .65s ease-out both
}
@keyframes reveal-in {
  from {
    transform:translateY(18px)
  }
  to {
    transform:none
  }
}
@media(prefers-reduced-motion:no-preference) {
  html {
    scroll-behavior:smooth
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }
}
@media(max-width:700px) {
  header {
    padding:20px
  }
  header .nr-button {
    padding:8px 16px
  }
  nav {
    gap:6px 20px
  }
  .nr-grid {
    grid-template-columns:1fr;
    gap:28px
  }
  main>section {
    padding:52px 22px
  }
  section[aria-label='メインビジュアル'] {
    padding:48px 22px
  }
  .hero-art {
    min-height:270px;
    max-width:440px;
    width:100%;
    margin:auto
  }
  .nr-box {
    padding:24px
  }
  .about-art {
    min-height:200px
  }
  footer {
    padding:28px 22px
  }
  .nr-row {
    gap:14px
  }
}
@media print {
  .skip-link {
    display:none
  }
  * {
    animation:none!important
  }
  main>section {
    padding:28px
  }
  a {
    color:#000!important
  }
  #nr-contact {
    background:#fff;
    color:#000
  }
}
/* Reference direction: Narahigashi organic shapes / HAYAMA yellow-orange and leaf green. */
:root {
  --sun:#f7b52c;
  --orange:#f29600;
  --leaf:#7ba92a;
  --leaf-dark:#4d661d
}
header {
  border:0;
  background:var(--paper);
  padding-top:28px;
  padding-bottom:14px
}
header h1 {
  font-weight:700
}
nav {
  gap:12px 28px
}
nav a {
  color:var(--ink)
}
header a.nr-button,a.nr-button {
  background:var(--sun);
  color:var(--ink);
  border-color:var(--sun)
}
a.nr-button:hover {
  background:#efaa18;
  color:var(--ink)
}
section[aria-label='メインビジュアル'] {
  background:var(--paper);
  padding-top:42px;
  padding-bottom:78px
}
section[aria-label='メインビジュアル'] .nr-grid {
  grid-template-columns:1.08fr 1fr;
  position:relative;
  min-height:450px
}
section[aria-label='メインビジュアル'] .nr-grid>div:first-child {
  order:2;
  z-index:1
}
section[aria-label='メインビジュアル'] h2 {
  font-family:'Yu Gothic',Meiryo,sans-serif;
  font-weight:600;
  font-size:clamp(2rem,3.4vw,3.8rem);
  letter-spacing:.07em
}
.hero-art {
  order:1;
  background:var(--sun);
  color:var(--ink);
  border-radius:43% 57% 66% 34% / 34% 44% 56% 66%;
  min-height:450px;
  transform:rotate(-5deg)
}
.hero-art span {
  font-family:inherit;
  font-size:clamp(2rem,3.6vw,3.5rem);
  font-weight:600;
  transform:rotate(5deg)
}
.hero-art:before {
  width:310px;
  height:310px;
  background:#f9d879;
  border:0;
  left:-160px;
  top:100px
}
.hero-art:after {
  width:240px;
  height:240px;
  background:var(--orange);
  border:0;
  right:-125px;
  bottom:-100px
}
#nr-news {
  border-radius:60px 60px 0 0;
  margin:0 3vw;
  padding:48px 4vw;
  background:#fff;
  border-top:1px solid var(--line)
}
#nr-about {
  background:var(--paper);
  padding-top:100px;
  padding-bottom:100px
}
#nr-about>h2 {
  margin-bottom:42px
}
h2:after {
  content:'';
  display:block;
  width:44px;
  height:6px;
  background:var(--sun);
  border-radius:50px;
  margin-top:16px
}
section[aria-label='メインビジュアル'] h2:after {
  display:none
}
.about-art {
  background:#e4edc9;
  color:var(--leaf-dark);
  border-radius:62% 38% 45% 55% / 46% 59% 41% 54%;
  min-height:340px;
  font-family:inherit;
  font-weight:600;
  transform:rotate(-3deg)
}
.nr-box {
  border-radius:36px;
  background:#fff;
  border:0;
  padding:40px
}
.nr-box:nth-child(2) {
  background:#fff9ea
}
.nr-box:first-child {
  border-top:7px solid var(--sun)
}
#nr-course {
  background:#fff2cc;
  border-radius:70px 70px 0 0
}
#nr-course>h2 {
  margin-bottom:36px
}
.nr-tag {
  background:#e4edc9;
  color:var(--leaf-dark)
}
#nr-disclosure {
  background:var(--paper);
  padding-top:92px;
  padding-bottom:92px
}
.nr-document a:hover {
  background:#fff2cc
}
#nr-contact {
  background:#f4e6c8;
  color:var(--ink);
  border-radius:70px 70px 0 0
}
#nr-contact a {
  color:var(--ink)
}
.access-block {
  background:#fff9eb;
  border-color:#c1a67d;
  border-radius:28px
}
footer {
  background:var(--paper)
}
@media(max-width:700px) {
  section[aria-label='メインビジュアル'] .nr-grid {
    grid-template-columns:1fr;
    min-height:0
  }
  section[aria-label='メインビジュアル'] .nr-grid>div:first-child {
    order:1
  }
  .hero-art {
    order:2;
    min-height:310px;
    max-width:350px
  }
  .hero-art span {
    font-size:2.4rem
  }
  #nr-news {
    margin:0 12px;
    padding:32px 20px;
    border-radius:32px 32px 0 0
  }
  #nr-about {
    padding-top:56px;
    padding-bottom:56px
  }
  .about-art {
    min-height:250px
  }
  #nr-course,#nr-contact {
    border-radius:36px 36px 0 0
  }
  .nr-box {
    padding:26px
  }
  #nr-disclosure {
    padding:56px 22px
  }
}
/* Approved structure, contemporary presentation. Local assets only. */
:root {
  --ease:cubic-bezier(.2,.7,.2,1)
}
body {
  overflow-wrap:break-word
}
header,main>section,footer {
  padding-inline:max(6vw,calc((100vw - 1180px)/2))
}
header .nr-row>a:first-child:not(.nr-button) {
  font-size:clamp(1rem,2vw,1.35rem);
  font-weight:700;
  color:var(--ink);
  text-decoration:none
}
header {
  position:relative;
  z-index:2
}
header nav {
  border-top:1px solid var(--line);
  padding-top:12px
}
nav a {
  position:relative
}
nav a[aria-current] {
  border-color:var(--orange)
}
a {
  transition:color .2s,background .2s,transform .3s var(--ease)
}
a.nr-button {
  box-shadow:0 5px 0 #db9a1720
}
a.nr-button:hover {
  transform:translateY(-3px);
  box-shadow:0 8px 22px #80500018
}
.nr-button {
  gap:16px
}
h2 {
  font-weight:600
}
h3 {
  font-weight:600
}
.hero-art {
  box-shadow:18px 22px 0 #f7b52c18
}
.hero-art small {
  transform:rotate(5deg);
  font-size:.7rem;
  letter-spacing:.16em;
  margin-top:24px
}
.about-art span {
  padding:32px
}
.nr-grid {
  gap:clamp(28px,5vw,72px)
}
.nr-news {
  padding:24px 8px
}
.nr-box {
  box-shadow:0 12px 35px #58452b06;
  transition:transform .3s var(--ease),box-shadow .3s
}
.nr-box:hover {
  transform:translateY(-4px);
  box-shadow:0 18px 35px #58452b0c
}
.nr-document a {
  min-height:56px
}
.nr-document a:focus-visible {
  outline-offset:-3px
}
.access-block {
  padding:36px
}
.access-block a {
  font-weight:700
}
.page-title {
  position:relative;
  background:linear-gradient(120deg,#fff2cc,#fffdf7)!important;
  border-radius:0 0 80px 0;
  overflow:hidden
}
.page-title:after {
  content:'';
  position:absolute;
  width:240px;
  height:240px;
  border:50px solid #f7b52c22;
  border-radius:50%;
  right:-100px;
  top:30px;
  pointer-events:none
}
.page-title h1 {
  font-size:clamp(2rem,5vw,3.8rem);
  letter-spacing:.1em;
  margin:30px 0
}
.breadcrumb {
  font-size:.85rem
}
.page-lead {
  font-size:clamp(1.5rem,3vw,2.5rem);
  line-height:1.7;
  font-weight:600
}
.page-title nav {
  margin-top:36px;
  gap:8px 24px
}
.page-title nav a {
  font-size:.9rem
}
.philosophy-statement {
  font-family:'Yu Mincho',serif;
  font-size:clamp(1.35rem,2.6vw,2.3rem);
  line-height:1.9;
  max-width:none;
  margin:32px 0
}
.pillars {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  margin-top:40px;
  counter-reset:pillar
}
.pillars .nr-box {
  border-top:0;
  background:#fffaf0;
  border-radius:24px;
  padding:32px;
  counter-increment:pillar
}
.pillars .nr-box:before {
  content:'0' counter(pillar);
  display:block;
  color:#805000;
  font-size:.85rem;
  letter-spacing:.15em;
  margin-bottom:24px
}
.pillars .nr-box:nth-child(2) {
  background:#f0f4e5
}
.pillars .nr-box:nth-child(3) {
  background:#fff0dc
}
.pillars h3 {
  font-size:1.3rem
}
.pillars p {
  margin-bottom:0
}
#philosophy {
  background:#fff
}
#learning {
  background:#f0f4e5;
  border-radius:64px 64px 0 0
}
.learning-flow {
  list-style:none;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  padding:0;
  gap:20px;
  margin-top:40px
}
.learning-flow li {
  background:#fffdf7;
  padding:28px 24px;
  border-radius:20px;
  border-top:4px solid #7ba92a
}
.learning-flow h3 {
  font-size:1.15rem;
  margin-top:20px
}
.learning-flow p {
  font-size:.95rem
}
.step-label {
  color:#4d661d;
  font-size:.85rem;
  font-weight:700
}
.stage-status {
  border-top:1px solid var(--line);
  padding-top:16px;
  font-size:.8rem!important
}
.closing-message {
  margin-top:40px;
  border-left:4px solid var(--sun);
  padding:12px 24px;
  font-size:1.15rem
}
#facts {
  background:var(--paper)
}
.facts {
  border-top:1px solid var(--line);
  margin-top:32px
}
.facts>div {
  display:grid;
  grid-template-columns:220px 1fr;
  border-bottom:1px solid var(--line);
  padding:24px 8px;
  gap:24px
}
.facts dt {
  font-weight:700
}
.facts dd {
  margin:0
}
.history {
  list-style:none;
  padding:0;
  margin-top:36px
}
.history li {
  position:relative;
  padding:0 0 32px 32px;
  border-left:1px solid var(--line)
}
.history li:before {
  content:'';
  position:absolute;
  left:-6px;
  top:8px;
  width:11px;
  height:11px;
  background:var(--orange);
  border-radius:50%
}
.history strong {
  color:var(--key)
}
.history p {
  margin-top:8px
}
#access {
  background:#f4e6c8;
  border-radius:64px 64px 0 0
}
footer .nr-row {
  justify-content:flex-start;
  gap:16px 32px
}
footer span {
  color:#635949
}
.reveal-in {
  animation:reveal-in .7s var(--ease) both
}
@media(max-width:900px) {
  .learning-flow {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .pillars {
    gap:16px
  }
  .pillars .nr-box {
    padding:24px
  }
  section[aria-label='メインビジュアル'] .nr-grid {
    gap:32px
  }
  .hero-art {
    min-height:350px
  }
}
@media(max-width:700px) {
  header,main>section,footer {
    padding-inline:22px
  }
  header .nr-row {
    align-items:flex-start
  }
  header .nr-button {
    font-size:.85rem
  }
  header nav {
    gap:4px 18px;
    font-size:.9rem
  }
  .pillars {
    grid-template-columns:1fr
  }
  .facts>div {
    grid-template-columns:1fr;
    gap:8px;
    padding:20px 4px
  }
  .page-title {
    border-radius:0 0 40px 0
  }
  .page-title h1 {
    margin-top:20px
  }
  .philosophy-statement br {
    display:none
  }
  .learning-flow {
    grid-template-columns:1fr
  }
  .learning-flow li {
    padding:24px
  }
  .learning-flow h3 {
    margin-top:10px
  }
  .learning-flow p:last-child {
    margin-bottom:0
  }
  #learning,#access {
    border-radius:36px 36px 0 0
  }
  .access-block {
    padding:24px
  }
  .hero-art {
    min-height:310px
  }
  .nr-button {
    max-width:100%;
    text-align:center
  }
  .closing-message {
    padding-inline:16px
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }
}
/* Accessibility: readable reflow, touch targets, focus and system colors. */
html {
  scroll-padding-top:24px
}
body {
  line-height:1.9
}
a {
  overflow-wrap:anywhere
}
header .nr-row>* {
  min-width:0
}
header h1,header .nr-row>a:first-child:not(.nr-button) {
  flex:1 1 240px
}
header nav a,.page-title nav a,footer a,a[href^="tel:"] {
  min-height:44px;
  display:inline-flex;
  align-items:center;
  padding-block:8px
}
footer a {
  padding-inline:4px
}
nav a {
  max-width:100%
}
a:focus-visible,button:focus-visible {
  outline:3px solid #704000;
  outline-offset:4px;
  box-shadow:0 0 0 7px #fff
}
.skip-link {
  position:fixed;
  max-width:calc(100% - 32px);
  z-index:100
}
.nr-box:hover {
  transform:none;
  box-shadow:0 12px 35px #58452b06
}
span.nr-button {
  border:0;
  padding-inline:0;
  border-radius:0;
  color:#635949;
  box-shadow:none
}
.nr-document a {
  line-height:1.8
}
.nr-box,.learning-flow li,.pillars>* {
  min-width:0
}
main>section {
  scroll-margin-top:24px
}
@media(hover:none) {
  a.nr-button:hover {
    transform:none
  }
  .nr-document a:hover {
    padding-left:4px
  }
}
@media(max-width:380px) {
  header,main>section,footer {
    padding-inline:16px
  }
  .nr-box {
    padding:22px
  }
  .hero-art {
    min-height:260px
  }
  .hero-art span {
    font-size:2rem
  }
  .hero-art small {
    font-size:.6rem
  }
  header nav {
    gap:4px 14px
  }
  .access-block {
    padding:20px
  }
}
@media(forced-colors:active) {
  .nr-button,.nr-box,.learning-flow li,.access-block {
    border:1px solid CanvasText
  }
  a:focus-visible {
    outline:3px solid Highlight;
    box-shadow:none
  }
  .hero-art,.about-art {
    border:1px solid CanvasText
  }
  h2:after,.history li:before {
    background:CanvasText
  }
  nav a[aria-current] {
    border-bottom:3px solid Highlight
  }
}
@media print {
  header nav,.nr-button,.skip-link {
    display:none
  }
  main>section {
    background:#fff!important;
    color:#000!important;
    padding:24px!important;
    border-radius:0!important
  }
  .nr-grid,.pillars,.learning-flow {
    display:block
  }
  .nr-box,.learning-flow li {
    break-inside:avoid;
    margin-bottom:20px
  }
  .hero-art,.about-art {
    min-height:180px
  }
  .facts>div {
    break-inside:avoid
  }
}
/* News and policy review pages */
.reading-section {
  max-width:1180px;
  margin-inline:auto;
  padding-inline:clamp(20px,6vw,80px);
  min-height:45vh
}
.reading-section p {
  max-width:48em
}
.preview-notice {
  font-size:.9rem;
  padding:16px 20px;
  background:#fff2cc;
  border-left:4px solid #805000;
  border-radius:0 12px 12px 0;
  margin:24px 0;
  color:#3f352b
}
.news-list {
  list-style:none;
  padding:0;
  margin:24px 0
}
.news-list li {
  border-bottom:1px solid var(--line)
}
.news-link {
  display:grid;
  grid-template-columns:240px 1fr 24px;
  align-items:center;
  gap:20px;
  padding:24px 8px;
  text-decoration:none;
  color:var(--ink);
  min-height:64px
}
.news-link:hover {
  background:var(--soft)
}
.news-link:hover .news-title {
  text-decoration:underline
}
.news-link:focus-visible {
  outline-offset:-3px
}
.news-meta {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  font-size:.9rem
}
.news-meta .nr-tag {
  margin:0
}
.news-title {
  font-weight:600
}
.article-navigation {
  margin-top:48px;
  border-top:1px solid var(--line);
  padding-top:28px
}
.policy-item {
  padding-block:28px;
  border-bottom:1px solid var(--line)
}
.policy-item h2 {
  font-size:clamp(1.25rem,2.5vw,1.7rem)
}
.breadcrumb {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px
}
.breadcrumb a {
  min-height:44px
}
.reading-section article {
  max-width:760px;
  margin-inline:auto
}
@media(max-width:700px) {
  .news-link {
    grid-template-columns:minmax(0,1fr) 24px;
    gap:12px;
    padding-block:20px
  }
  .news-meta {
    grid-column:1/-1
  }
  .news-title {
    min-width:0
  }
  .reading-section {
    padding-inline:22px
  }
  .preview-notice {
    padding:14px
  }
  .policy-item {
    padding-block:22px
  }
}
/* Reading order and reflow on detail pages. */
.news-link {
  grid-template-columns:minmax(160px,240px) minmax(0,1fr) 24px
}
.news-title,.news-meta {
  overflow-wrap:anywhere
}
.page-title h1 {
  overflow-wrap:anywhere
}
.reading-section article {
  line-height:2
}
.policy-item p {
  margin-bottom:0
}
@media(max-width:700px) {
  .news-link {
    grid-template-columns:minmax(0,1fr) 24px
  }
  .news-meta {
    grid-column:1/-1
  }
}
@media(prefers-reduced-motion:reduce) {
  .reveal-in {
    animation:none!important
  }
}
/* Mobile navigation; contact actions stay in normal document flow. */
.menu-toggle,.menu-contact {
  display:none
}
.menu-toggle[hidden],#primary-navigation[hidden] {
  display:none!important
}
.footer-contact {
  margin-top:24px;
  padding-top:24px;
  border-top:1px solid var(--line)
}
.campus-title span {
  display:block
}
.campus-title {
  line-height:1.7;
  text-wrap:balance
}
@media(max-width:700px) {
  header {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:12px;
    padding-block:20px
  }
  header>.nr-row {
    display:block
  }
  header h1,header .nr-row>a:first-child:not(.nr-button) {
    font-size:1rem;
    line-height:1.7;
    margin:0;
    display:block
  }
  header>.nr-row>.nr-button {
    display:none
  }
  .menu-toggle:not([hidden]) {
    display:block;
    font:inherit;
    font-size:.8rem;
    min-height:48px;
    padding:10px;
    border:1px solid #805000;
    background:#fff2cc;
    color:#3f352b;
    border-radius:12px;
    white-space:nowrap
  }
  header>#primary-navigation {
    grid-column:1/-1;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    margin:0;
    gap:0
  }
  header>#primary-navigation a {
    padding:12px 8px;
    border-bottom:1px solid var(--line);
    min-height:48px
  }
  header>#primary-navigation .menu-contact {
    display:flex;
    background:#fff2cc;
    font-weight:700;
    margin-top:8px;
    border-radius:8px
  }
  footer .nr-row {
    flex-direction:column;
    align-items:stretch;
    gap:0
  }
  footer .nr-row>a {
    font-size:.9rem;
    min-height:48px;
    padding:10px 0;
    white-space:normal;
    word-break:normal;
    overflow-wrap:anywhere;
    border-bottom:1px solid var(--line)
  }
  footer .nr-row>span {
    margin-bottom:12px
  }
  footer {
    padding:28px 22px calc(28px + env(safe-area-inset-bottom,0px))
  }
  .footer-contact {
    border:0;
    padding-top:0
  }
  .footer-contact .nr-button {
    width:100%;
    white-space:normal
  }
  section[aria-label='メインビジュアル'] {
    padding-top:32px;
    padding-bottom:48px
  }
  .access-block {
    padding:24px 20px;
    border-radius:24px
  }
  .campus-title {
    font-size:1.15rem;
    letter-spacing:0
  }
  .access-block a {
    display:block;
    padding-block:12px;
    min-height:48px
  }
  .hero-art {
    max-width:100%
  }
}
@media(forced-colors:active) {
  .menu-toggle {
    background:ButtonFace;
    color:ButtonText;
    border:2px solid ButtonText
  }
}
@media print {
  .menu-toggle,.footer-contact {
    display:none!important
  }
}

/* 見出しの強弱：本文400、主要見出し700。端末標準の日本語フォントを使用。 */
:root {
  --weight-body: 400;
  --weight-heading: 700;
}

body {
  font-weight: var(--weight-body);
}

header h1,
header .nr-row > a:first-child:not(.nr-button) {
  font-weight: var(--weight-heading);
}

.page-title h1 {
  font-weight: var(--weight-heading);
  line-height: 1.5;
  letter-spacing: .04em;
}

main h2 {
  font-weight: var(--weight-heading);
}

main h3 {
  font-weight: var(--weight-heading);
}

/* キャッチコピーは導入を軽く、届けたい言葉を太く。 */
section[aria-label='メインビジュアル'] h2 {
  font-weight: var(--weight-body);
  line-height: 1.6;
  letter-spacing: .025em;
}

.catch-intro {
  font-weight: var(--weight-body);
}

.catch-emphasis {
  font-weight: var(--weight-heading);
}

section[aria-label='メインビジュアル'] p,
.page-lead {
  font-weight: var(--weight-body);
}

/* 装飾内のコピーはメインのキャッチより控えめに。 */
.hero-art span,
.about-art span {
  font-weight: var(--weight-body);
}

.philosophy-statement {
  font-weight: var(--weight-heading);
}

.closing-message {
  font-weight: var(--weight-body);
}

@media (max-width: 700px) {
  section[aria-label='メインビジュアル'] h2 {
    font-size: clamp(1.75rem, 7.5vw, 2.5rem);
    letter-spacing: .015em;
  }
}

/* 確認用注釈は本文の行長制限を適用せず、親要素の幅を使う。 */
.preview-notice,
.reading-section .preview-notice {
  max-width: none;
}

/* スマートフォンのメニューは英字を太く、開閉時の幅を一定にする。 */
@media (max-width: 700px) {
  .menu-toggle:not([hidden]) {
    min-width: 80px;
    min-height: 48px;
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1.4;
  }

  header > #primary-navigation a {
    font-weight: 700;
  }
}

/* 円の装飾：丸ゴシックと穏やかな登場演出。本文には適用しない。 */
.hero-art,
.about-art {
  transform: none;
  padding: 36px 24px;
}

.hero-art span,
.about-art span {
  display: block;
  font-family: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', Meiryo, sans-serif;
  font-weight: 500;
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  line-height: 1.8;
  letter-spacing: .08em;
  transform: none;
  padding: 0;
  text-align: center;
}

.hero-art small {
  transform: none;
  font-size: .65rem;
  letter-spacing: .12em;
  text-align: center;
}

section[aria-label='メインビジュアル'] p {
  font-family: 'Yu Gothic', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  font-weight: 400;
}

@keyframes art-arrive {
  from {
    opacity: .5;
    transform: translateY(12px) scale(.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes art-text-arrive {
  from {
    opacity: .35;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-art.art-visible,
  .about-art.art-visible {
    animation: art-arrive 1s ease-out both;
  }

  .art-visible > span {
    animation: art-text-arrive 1.2s ease-out both;
  }
}

@media (max-width: 700px) {
  header {
    padding-block: 16px;
  }

  .menu-toggle:not([hidden]) {
    background: transparent;
    border-color: #dfd5bd;
    border-radius: 10px;
    box-shadow: none;
  }

  section[aria-label='メインビジュアル'] {
    padding-top: 24px;
    padding-bottom: 40px;
  }

  section[aria-label='メインビジュアル'] h2 {
    margin-bottom: 20px;
  }

  section[aria-label='メインビジュアル'] p {
    margin: 0 0 24px;
    font-size: 1rem;
    line-height: 1.8;
  }

  section[aria-label='メインビジュアル'] .nr-grid {
    gap: 28px;
  }

  .hero-art,
  .about-art {
    width: 100%;
    max-width: 320px;
    min-height: 0;
    margin-inline: auto;
    padding: 28px 20px;
    aspect-ratio: 1.25;
  }

  .hero-art span,
  .about-art span {
    font-size: clamp(1.6rem, 6.5vw, 2rem);
    letter-spacing: .06em;
  }

  .hero-art small {
    margin-top: 12px;
    font-size: .6rem;
  }
}

/* ホバーの遊び心：マウス操作かつ動きを許可している場合だけ有効。 */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero-art,
  .about-art {
    transition:
      rotate .65s cubic-bezier(.2, .8, .2, 1),
      border-radius .8s ease,
      box-shadow .65s ease;
  }

  .hero-art > span,
  .about-art > span {
    transition: rotate .65s ease, translate .65s ease;
  }

  .hero-art::before,
  .hero-art::after {
    transition: translate .8s ease;
  }

  .hero-art:hover {
    rotate: -2deg;
    border-radius: 48% 52% 58% 42% / 42% 48% 52% 58%;
    box-shadow: 12px 18px 0 #f7b52c22;
  }

  .about-art:hover {
    rotate: 2deg;
    border-radius: 52% 48% 55% 45% / 52% 45% 55% 48%;
    box-shadow: 8px 12px 0 #7ba92a12;
  }

  /* 文字は逆方向に傾け、水平を保ちながら少し浮かせる。 */
  .hero-art:hover > span {
    rotate: 2deg;
    translate: 0 -4px;
  }

  .about-art:hover > span {
    rotate: -2deg;
    translate: 0 -4px;
  }

  .hero-art:hover::before {
    translate: 12px -8px;
  }

  .hero-art:hover::after {
    translate: -10px -12px;
  }

  a.nr-button {
    transition:
      translate .25s ease,
      background-color .25s ease,
      box-shadow .25s ease;
  }

  a.nr-button:hover {
    transform: none;
    translate: 0 -3px;
    box-shadow: 0 8px 18px #80500020;
  }

  a.nr-button:active {
    translate: 0 0;
    box-shadow: 0 2px 4px #80500018;
  }

  .nr-document a {
    transition: background-color .25s ease, translate .25s ease;
  }

  .nr-document a:hover {
    padding-left: 4px;
    translate: 3px 0;
  }

  .news-link > span:last-child[aria-hidden='true'] {
    transition: translate .25s ease;
  }

  .news-link:hover > span:last-child[aria-hidden='true'] {
    translate: 4px 0;
  }

  header > nav a {
    transition: color .2s ease, border-color .2s ease;
  }

  header > nav a:hover {
    color: var(--key);
  }
}

/* キーボードでもリンクの状態を伝える。動きには依存しない。 */
.nr-document a:focus-visible,
.news-link:focus-visible {
  background: var(--soft);
}

@media (prefers-reduced-motion: reduce) {
  .hero-art,
  .about-art,
  .hero-art > span,
  .about-art > span,
  .hero-art::before,
  .hero-art::after,
  a.nr-button,
  .nr-document a,
  .news-link > span {
    rotate: none;
    translate: none;
  }
}

/* グループサイトの余白・反応のある導線を、学院向けに落ち着いた表現へ。 */
:root {
  --ink: #36352e;
  --key: #735019;
  --paper: #fffdf8;
  --line: #ddd5c5;
  --soft: #faf0d8;
  --sun: #edb846;
  --orange: #ce922b;
  --accent: #e9eddd;
  --leaf-dark: #4c602c;
}

header {
  border-bottom: 1px solid var(--line);
}

main > section {
  padding-inline: max(24px, calc((100% - 1120px) / 2));
}

#nr-news {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 40px;
  border: 1px solid var(--line);
  border-radius: 28px;
}

#nr-course,
#learning {
  background: #f5f2e7;
  border-radius: 36px 36px 0 0;
}

#nr-contact,
#access {
  background: #efe6d2;
  border-radius: 36px 36px 0 0;
}

.nr-box,
.pillars .nr-box,
.access-block {
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: none;
}

h2::after {
  width: 36px;
  height: 4px;
}

.hero-art {
  background: var(--sun);
  border-radius: 46% 54% 52% 48% / 48% 46% 54% 52%;
  box-shadow: 10px 12px 0 #edb84612;
}

.hero-art::before {
  background: #f6d990;
}

.hero-art::after {
  background: var(--orange);
}

.about-art {
  background: var(--accent);
  border-radius: 48% 52% 46% 54% / 48% 45% 55% 52%;
}

a.nr-button {
  border-radius: 14px;
  box-shadow: none;
}

.nr-document a,
.news-link {
  border-radius: 8px;
}

header > nav a {
  background-image: linear-gradient(var(--key), var(--key));
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: 0 2px;
}

header > nav a[aria-current='page'] {
  background-size: 100% 2px;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  header > nav a {
    transition: background-size .25s ease, color .25s ease;
  }

  header > nav a:hover,
  header > nav a:focus-visible {
    background-size: 100% 2px;
  }

  .hero-art:hover,
  .about-art:hover {
    rotate: none;
    box-shadow: 8px 12px 0 #7350190c;
  }

  .hero-art:hover {
    border-radius: 48% 52% 50% 50% / 46% 48% 52% 54%;
  }

  .about-art:hover {
    border-radius: 50% 50% 48% 52% / 46% 48% 52% 54%;
  }

  .hero-art:hover > span,
  .about-art:hover > span {
    rotate: none;
    translate: 0 -3px;
  }

  a.nr-button:hover {
    background: #e5ad36;
    color: var(--ink);
    translate: 0 -2px;
    box-shadow: 0 5px 12px #73501914;
  }
}

@media (max-width: 900px) and (min-width: 701px) {
  header nav {
    gap: 8px 18px;
    font-size: .9rem;
  }

  section[aria-label='メインビジュアル'] .nr-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .hero-art {
    min-height: 320px;
  }
}

@media (max-width: 700px) {
  main > section {
    padding-inline: 22px;
  }

  #nr-news {
    margin: 0 16px;
    padding: 28px 20px;
    border-radius: 20px;
  }

  #nr-news > .nr-row {
    align-items: flex-start;
  }

  #nr-news .nr-button {
    min-height: 44px;
    padding: 10px 16px;
    font-size: .875rem;
  }

  #nr-course,
  #learning,
  #nr-contact,
  #access {
    border-radius: 24px 24px 0 0;
  }

  header > #primary-navigation a {
    background-image: none;
  }

  .menu-toggle:not([hidden]) {
    border-color: #9e8964;
  }
}

@media (forced-colors: active) {
  .nr-document a:focus-visible,
  .news-link:focus-visible,
  a.nr-button:focus-visible {
    outline: 3px solid Highlight;
  }
}

/* 写真を中心にした共通UI。写真はHTML内のsrcから差し替え可能。 */
:root {
  --header-offset: 140px;
}
html {
  scroll-padding-top: var(--header-offset);
}
[id] {
  scroll-margin-top: 16px;
}
header#site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-block: 10px;
  background: #fffdf8;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 3px 18px #36352e08;
}
header#site-header nav {
  margin-top: 4px;
}
header#site-header .nr-button {
  min-height: 44px;
  padding-block: 6px;
}
header#site-header.menu-open {
  background: #f3e6c5;
  border-bottom: 3px solid #735019;
}
header#site-header.menu-open .menu-toggle {
  background: #735019;
  color: #fffdf8;
}
header#site-header.menu-open nav {
  background: #fffdf8;
  border: 1px solid #c5b58f;
  border-radius: 12px;
  padding: 10px 16px;
}
nav a {
  background-image: linear-gradient(var(--key), var(--key));
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: 0 2px;
  transition: background-size .25s ease, color .25s ease;
}
nav a:hover,
nav a:focus-visible {
  background-size: 100% 2px;
  color: #94651a;
}
main > section.photo-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 40px;
  padding: 52px max(32px, calc((100% - 1200px) / 2)) 72px;
  background: linear-gradient(135deg, #fffdf8 35%, #f3ead5 100%);
}
.hero-copy {
  min-width: 0;
}
.hero-copy h1 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.8;
  letter-spacing: .025em;
  margin: 0 0 24px;
}
.hero-copy .hero-eyebrow {
  color: #735019;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  letter-spacing: .12em;
  margin-bottom: 20px;
}
.photo-carousel {
  min-width: 0;
}
.photo-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 100px 28px 100px 28px;
  background: #e9eddd;
  box-shadow: 12px 14px 0 #e9ddbd80;
  isolation: isolate;
}
.photo-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ffe5a322, transparent 55%, #e0eacf22);
  pointer-events: none;
}
.photo-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.photo-slide.is-active {
  opacity: 1;
  z-index: 1;
}
.photo-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.photo-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.photo-toolbar[hidden] {
  display: none;
}
.photo-toolbar button {
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #a59068;
  border-radius: 30px;
  color: var(--ink);
  background: #fffdf8;
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
}
.photo-toolbar button:hover,
.photo-toolbar button[aria-pressed='true'] {
  background: #f3e6c5;
}
.photo-count {
  margin-right: auto;
  color: #735019;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
}
.scroll-cue {
  position: absolute;
  bottom: 18px;
  left: max(32px, calc((100% - 1200px) / 2));
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  font-size: .75rem;
  font-weight: 700;
  text-decoration: none;
}
.scroll-cue span {
  font-size: 1.5rem;
  animation: scroll-hint 1.5s ease-in-out 3;
}
@keyframes scroll-hint {
  50% {
    transform: translateY(5px);
  }
}
#nr-about .about-art {
  background: linear-gradient(125deg, #e6eddc 0%, #f5edcf 40%, #edca7b 70%, #dce7c9 100%);
  background-size: 220% 220%;
  background-position: 0% 35%;
  transition: background-position 1.1s ease, border-radius .8s ease;
}
#nr-about .nr-grid:hover .about-art,
#nr-about .nr-grid:focus-within .about-art {
  background-position: 100% 70%;
}
.campus-page-title::after {
  display: none;
}
.campus-page-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 40px;
  align-items: start;
}
.campus-page-title > :not(.campus-photo) {
  grid-column: 1;
}
.campus-page-title > nav {
  grid-column: 1 / -1;
}
.campus-page-title .page-lead {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}
.campus-photo {
  grid-column: 2;
  grid-row: 1 / 5;
  align-self: center;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 28px 72px 28px 28px;
}
.campus-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.background-copy p {
  max-width: 62em;
}
.back-top {
  margin: 24px 0 0;
}
.back-top a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}
@media (max-width: 900px) {
  main > section.photo-hero {
    gap: 24px;
  }
  .photo-stage {
    border-radius: 60px 20px;
  }
}
@media (max-width: 700px) {
  header#site-header {
    padding: 10px 16px;
  }
  header#site-header .site-brand {
    font-size: .875rem;
    line-height: 1.6;
  }
  header#site-header nav {
    max-height: 65vh;
    max-height: 65dvh;
    overflow-y: auto;
  }
  main > section.photo-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding: 28px 22px 66px;
  }
  .hero-copy h1 {
    font-size: clamp(1.5rem, 5.7vw, 2.2rem);
    margin-bottom: 14px;
  }
  .hero-copy .hero-eyebrow {
    margin-bottom: 12px;
    font-size: .9rem;
  }
  .hero-copy p {
    margin-bottom: 18px;
  }
  .photo-stage {
    max-width: 520px;
    margin: auto;
    border-radius: 48px 18px;
  }
  .photo-toolbar {
    margin-top: 20px;
  }
  .scroll-cue {
    left: 22px;
    bottom: 10px;
  }
  .campus-page-title {
    display: block;
  }
  .campus-photo {
    margin-top: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .photo-slide,
  #nr-about .about-art,
  nav a {
    transition: none;
  }
  .scroll-cue span {
    animation: none;
  }
}
@media print {
  header#site-header {
    position: static;
  }
  .photo-toolbar,
  .scroll-cue,
  .back-top {
    display: none;
  }
}

/* 80%幅のメインビジュアル。コピーと操作ボタンは別の領域を確保する。 */
main > section.photo-hero {
  display: block;
  width: 80%;
  margin: 22px auto 64px;
  padding: 0;
  background: transparent;
}
.photo-hero .photo-stage {
  height: clamp(480px, calc(100svh - var(--header-offset) - 105px), 820px);
  aspect-ratio: auto;
  border-radius: 28px;
  box-shadow: none;
}
.photo-hero .photo-stage::after {
  z-index: 2;
  background: linear-gradient(0deg, #15251cf2 0%, #15251ccf 45%, #15251c99 70%, #15251c14 100%);
}
.photo-hero .hero-copy {
  position: absolute;
  z-index: 3;
  inset: auto 6% 116px;
  color: #fff;
  pointer-events: none;
}
.photo-hero .hero-copy a {
  pointer-events: auto;
}
.photo-hero .hero-copy h1 {
  font-size: clamp(2rem, 3.7vw, 4.1rem);
  line-height: 1.6;
  letter-spacing: .045em;
  margin-bottom: 16px;
  color: #fff;
  text-shadow: 0 2px 18px #0005;
}
.photo-hero .hero-eyebrow,
.photo-hero .catch-intro,
.photo-hero .catch-emphasis {
  color: #fff;
}
.photo-hero .hero-eyebrow {
  font-size: clamp(.95rem, 1.5vw, 1.2rem);
  margin-bottom: 12px;
}
.photo-hero .hero-copy > p:not(.hero-eyebrow) {
  margin-bottom: 20px;
}
.photo-hero .photo-toolbar {
  margin: 12px 0 0;
  min-height: 44px;
}
.photo-hero .scroll-cue {
  position: absolute;
  inset: auto -8vw 82px auto;
  width: 44px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  color: #735019;
}
.scroll-cue .scroll-label {
  writing-mode: vertical-rl;
  font-family: Georgia, serif;
  font-size: .8rem;
  letter-spacing: .22em;
  animation: none;
}
.scroll-cue .scroll-line {
  position: relative;
  display: block;
  width: 1px;
  height: 100px;
  font-size: inherit;
  animation: none;
  background: #d7cbae;
}
.scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #735019;
  animation: scroll-liner 2.5s cubic-bezier(1, 0, 0, 1) 2;
}
@keyframes scroll-liner {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  30% {
    transform: scaleY(1);
    transform-origin: top;
  }
  70% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}
/* 下層は大きな写真の後に、コピーとページ内ナビを置く。 */
main > section.campus-page-title {
  display: block;
  width: 80%;
  padding: 24px 0 0;
  margin: 0 auto;
  background: transparent !important;
  border-radius: 0;
  overflow: visible;
}
.campus-page-title h1 {
  font-size: clamp(1.8rem, 3.3vw, 3.2rem);
  margin: 20px 0 28px;
}
.campus-page-title .campus-photo {
  width: 100%;
  aspect-ratio: 2.3 / 1;
  max-height: 560px;
  margin: 0;
  border-radius: 24px;
}
main > section.page-intro {
  padding-top: 56px;
  padding-bottom: 48px;
  background: transparent;
}
.page-intro .page-lead {
  max-width: none;
  font-size: clamp(1.45rem, 2.5vw, 2.4rem);
}
/* 下線は背景で描く一本のみ。モバイルの区切り線とは重ねない。 */
nav a,
nav a:hover,
header > nav a,
header > nav a:hover,
header > nav a[aria-current='page'],
header > #primary-navigation a {
  border-bottom: 0;
  text-decoration: none;
}
nav a::after {
  content: none;
}
.anchor-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.anchor-buttons a {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid #b6a581;
  border-radius: 10px;
  background: #fffdf8;
  color: #735019;
  font-weight: 700;
  transition: background-color .25s ease, color .25s ease;
}
.anchor-buttons a::after {
  content: '↓';
}
.anchor-buttons a:hover,
.anchor-buttons a:focus-visible {
  border: 1px solid #735019;
  background: #f3e6c5;
  color: #36352e;
}
footer .back-top {
  max-width: none;
  display: flex;
  justify-content: flex-end;
  margin-top: 32px;
}
footer .back-top a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  width: 76px;
  min-height: 76px;
  border: 1px solid #a59068;
  border-radius: 50%;
  color: #36352e;
  background: linear-gradient(125deg, #e6eddc, #f5edcf, #edca7b);
  background-size: 220% 220%;
  text-decoration: none;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  transition: background-position .6s ease, transform .3s ease;
}
footer .back-top a > span {
  font-size: 1.5rem;
  line-height: 1;
}
footer .back-top a:hover,
footer .back-top a:focus-visible {
  background-position: 100% 100%;
  transform: translateY(-4px);
}
@media (max-width: 700px) {
  main > section.photo-hero {
    margin-top: 14px;
    margin-bottom: 40px;
  }
  .photo-hero .photo-stage {
    height: max(500px, calc(100svh - var(--header-offset) - 88px));
    max-height: 720px;
    border-radius: 18px;
  }
  .photo-hero .hero-copy {
    inset: auto 7% 98px;
  }
  .photo-hero .hero-copy h1 {
    font-size: clamp(1.35rem, 5vw, 2rem);
    letter-spacing: 0;
  }
  .photo-hero .hero-copy > p {
    font-size: .875rem;
  }
  .photo-hero .hero-copy .nr-button {
    font-size: .8rem;
    padding: 10px 12px;
  }
  .photo-hero .photo-toolbar {
    gap: 4px;
  }
  .photo-hero .photo-toolbar button {
    padding: 8px;
    font-size: .75rem;
  }
  .photo-hero .scroll-cue {
    right: -10vw;
    width: 10vw;
    bottom: 82px;
  }
  .scroll-cue .scroll-label {
    font-size: .65rem;
  }
  .campus-page-title .campus-photo {
    aspect-ratio: 1.6 / 1;
    border-radius: 16px;
  }
  .anchor-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .anchor-buttons a {
    font-size: .8rem;
    padding: 10px 12px;
    gap: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-line::after {
    animation: none;
  }
  footer .back-top a,
  .anchor-buttons a {
    transition: none;
  }
  footer .back-top a:hover,
  footer .back-top a:focus-visible {
    transform: none;
  }
}

/* 本文の共通左端。情報公開だけのmax-widthによる二重の余白を解消。 */
:root {
  --content-gutter: max(24px, calc((100% - 1120px) / 2));
}
#nr-news,
#nr-about,
#nr-course,
#nr-disclosure,
#nr-contact {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--content-gutter);
}
#nr-disclosure .nr-document a {
  padding-inline: 0;
}
@media (max-width: 700px) {
  :root {
    --content-gutter: 22px;
  }
}

/* 共通ヘッダー：学院名を左、主要ナビとお問い合わせを右に集約。 */
header#site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-inline: clamp(20px, 2.6vw, 48px);
  min-height: 80px;
}
header#site-header > .nr-row {
  display: block;
  flex: 0 0 auto;
}
header#site-header .site-brand {
  display: block;
  font-size: clamp(1.25rem, 1.82vw, 1.7rem);
  line-height: 1.6;
}
header#site-header > #primary-navigation {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(14px, 1.6vw, 28px);
  margin: 0 0 0 auto;
  padding: 0;
  border-top: 0;
  font-size: .9375rem;
}
header#site-header > #primary-navigation a {
  white-space: nowrap;
  min-height: 44px;
  padding: 8px 0;
}
header#site-header > #primary-navigation .menu-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 12px;
  background: #edb846;
  color: #36352e;
  margin: 0;
}
header#site-header > #primary-navigation .menu-contact:hover,
header#site-header > #primary-navigation .menu-contact:focus-visible {
  background: #f2ce78;
}
/* ナビが収まらない幅では、改行せずMENUへ切り替える。 */
@media (max-width: 1120px) {
  header#site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    min-height: 68px;
    padding: 10px 20px;
  }
  header#site-header > .nr-row {
    min-width: 0;
  }
  header#site-header .menu-toggle:not([hidden]) {
    display: block;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid #9e8964;
    border-radius: 12px;
    background: #fff2cc;
    color: #36352e;
    font: inherit;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
  }
  header#site-header.menu-open .menu-toggle {
    background: #735019;
    color: #fffdf8;
  }
  header#site-header > #primary-navigation {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-height: 65vh;
    max-height: 65dvh;
    overflow-y: auto;
    margin: 0;
  }
  header#site-header.menu-open > #primary-navigation {
    padding: 10px 16px;
    border: 1px solid #c5b58f;
  }
  header#site-header > #primary-navigation a {
    padding: 12px 8px;
    white-space: normal;
    min-height: 48px;
  }
  header#site-header > #primary-navigation .menu-contact {
    margin-top: 8px;
  }
}
@media (max-width: 700px) {
  header#site-header {
    padding-inline: 16px;
  }
  header#site-header .site-brand {
    font-size: 1.1rem;
  }
}

/* 連絡先とアクセス案内は同じカードで、上端・余白・操作位置を揃える。 */
#nr-contact .contact-grid,
#access .contact-grid {
  align-items: stretch;
  gap: 28px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff9eb;
  color: var(--ink);
}
.contact-card h3 {
  margin: 0 0 20px;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.6;
}
.contact-card > p {
  margin: 0 0 24px;
}
.contact-card > .contact-action {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 8px;
}
.contact-action a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}
@media (max-width: 700px) {
  #nr-contact .contact-grid,
  #access .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}

/* 写真の明るさを保ち、文字の背後だけに柔らかなアイボリーの帯を置く。 */
.photo-hero .photo-stage::after {
  content: none;
}
.photo-hero .hero-copy {
  color: #3f352b;
}
.photo-hero .hero-copy h1 {
  color: #3f352b;
  text-shadow: none;
  line-height: 1.95;
}
.photo-hero .hero-copy .catch-intro,
.photo-hero .hero-copy .catch-emphasis,
.campus-catch > span {
  color: #3f352b;
  background: rgb(255 249 235 / 94%);
  padding: .08em .28em .13em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  border-bottom: 2px solid #c99732;
}
.photo-hero .hero-copy > p {
  width: fit-content;
  max-width: 100%;
  color: #3f352b;
  background: rgb(255 249 235 / 94%);
  padding: 4px 10px;
  border-radius: 3px;
}
.campus-page-title .campus-photo--message {
  position: relative;
  aspect-ratio: 2 / 1;
  min-height: 360px;
}
.campus-catch {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 28px;
  margin: 0;
  font-family: 'Yu Gothic', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 2.7rem);
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1.95;
  color: #3f352b;
}
.page-intro {
  text-align: center;
}
.page-intro > p {
  max-width: 48em;
  margin-inline: auto;
  text-wrap: pretty;
}
.page-intro .anchor-buttons {
  justify-content: center;
}
/* 矢印の幅を先に確保し、出現時もラベルを動かさない。 */
.anchor-buttons a::after {
  content: '';
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  opacity: 0;
  transform: translateY(-4px) rotate(45deg);
  transition: opacity .22s ease, transform .22s ease;
}
.anchor-buttons a:focus-visible::after {
  opacity: 1;
  transform: translateY(-1px) rotate(45deg);
}
@media (hover: hover) and (pointer: fine) {
  .anchor-buttons a:hover::after {
    opacity: 1;
    transform: translateY(-1px) rotate(45deg);
  }
}
@media (max-width: 700px) {
  .photo-hero .hero-copy {
    inset-inline: 5%;
  }
  .photo-hero .hero-copy h1 {
    font-size: clamp(1.25rem, 4.8vw, 2rem);
  }
  .campus-page-title .campus-photo--message {
    aspect-ratio: auto;
    height: 360px;
  }
  .campus-catch {
    bottom: 22px;
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    letter-spacing: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .anchor-buttons a::after {
    transition: none;
  }
}
@media (forced-colors: active) {
  .photo-hero .hero-copy .catch-intro,
  .photo-hero .hero-copy .catch-emphasis,
  .photo-hero .hero-copy > p,
  .campus-catch > span {
    background: Canvas;
    color: CanvasText;
    border-color: CanvasText;
  }
}

/* TOP Heroの文字組のみ：箱を外し、一つの見出しとして読む。 */
.photo-hero .photo-stage::after {
  content: '';
  inset: 0 auto 0 0;
  width: 88%;
  background: linear-gradient(90deg, rgb(255 249 235 / 97%) 0%, rgb(255 249 235 / 94%) 38%, rgb(255 249 235 / 72%) 63%, transparent 100%);
}
.photo-hero .hero-copy {
  inset-inline: 6%;
  bottom: 112px;
  text-align: left;
}
.photo-hero .hero-copy h1 {
  margin: 0 0 24px;
  line-height: 1.42;
  letter-spacing: .025em;
  font-size: clamp(48px, 3.2vw, 56px);
  text-shadow: none;
}
.photo-hero .hero-copy .catch-intro,
.photo-hero .hero-copy .catch-emphasis {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: #3f352b;
  white-space: nowrap;
}
.photo-hero .hero-copy .catch-intro {
  font-size: inherit;
  font-weight: 500;
}
.photo-hero .hero-copy .catch-emphasis {
  font-size: clamp(52px, 3.6vw, 64px);
  font-weight: 600;
}
.photo-hero .hero-copy > p {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}
.photo-hero .hero-copy .hero-eyebrow {
  margin: 0 0 16px;
  font-family: inherit;
  font-size: clamp(12px, .9vw, 14px);
  font-weight: 400;
  letter-spacing: .12em;
}
.photo-hero .hero-copy > p:not(.hero-eyebrow) {
  margin: 0 0 28px;
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 400;
  line-height: 1.8;
}
/* 学院概要：タイトルも写真内へ。文字の帯・線・影は使用しない。 */
.about-first-view .campus-photo--message {
  height: clamp(360px, calc(100svh - var(--header-offset) - 100px), 620px);
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
}
.campus-heading {
  position: absolute;
  top: 28px;
  left: 5%;
  color: #302c26;
}
.campus-heading > span {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
}
.about-first-view .campus-heading h1 {
  margin: 6px 0 0;
  font-size: clamp(1.7rem, 3vw, 3rem);
}
.about-first-view .campus-catch {
  color: #fff;
  font-size: clamp(1.2rem, 2.1vw, 2.4rem);
  line-height: 1.65;
  font-weight: 700;
}
.about-first-view .campus-catch > span {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-shadow: none;
}
.section-en {
  display: block;
  margin-bottom: 8px;
  font-family: Arial, sans-serif;
  font-size: .75rem;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--key);
}
.page-intro .anchor-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  width: 100%;
  margin: 32px auto 0;
}
.page-intro .anchor-buttons a {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  min-width: 150px;
  padding: 18px 24px;
  border: 0;
  border-radius: 0;
  background: none;
  text-align: center;
  color: var(--ink);
  font-weight: 600;
}
.anchor-en {
  font-family: Arial, sans-serif;
  font-size: .7rem;
  line-height: 1.4;
  letter-spacing: .1em;
  color: var(--key);
}
.page-intro .anchor-buttons a::after {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  margin-top: 4px;
  border: 0;
  border-radius: 50%;
  background: currentColor;
  opacity: 1;
  transform: none;
  transition: clip-path .2s ease, transform .2s ease;
}
.page-intro .anchor-buttons a:focus-visible::after {
  border-radius: 0;
  clip-path: polygon(0 25%, 50% 65%, 100% 25%, 100% 60%, 50% 100%, 0 60%);
  transform: scale(2) translateY(1px);
}
@media (hover: hover) and (pointer: fine) {
  .page-intro .anchor-buttons a:hover {
    color: var(--key);
    border: 0;
    background: none;
  }
  .page-intro .anchor-buttons a:hover::after {
    border-radius: 0;
    clip-path: polygon(0 25%, 50% 65%, 100% 25%, 100% 60%, 50% 100%, 0 60%);
    transform: scale(2) translateY(1px);
  }
}
@media (max-width: 700px) {
  .photo-hero .hero-copy {
    inset-inline: 5%;
    bottom: 98px;
  }
  .photo-hero .hero-copy h1 {
    font-size: clamp(18px, 5.6vw, 30px);
    margin-bottom: 18px;
    letter-spacing: 0;
    line-height: 1.48;
  }
  .photo-hero .hero-copy .catch-emphasis {
    font-size: clamp(19px, 6vw, 32px);
  }
  .photo-hero .hero-copy .hero-eyebrow {
    font-size: 12px;
    margin-bottom: 12px;
  }
  .photo-hero .hero-copy > p:not(.hero-eyebrow) {
    font-size: 13px;
    margin-bottom: 22px;
  }
  .photo-hero .photo-stage::after {
    width: 100%;
    background: linear-gradient(90deg, rgb(255 249 235 / 97%), rgb(255 249 235 / 90%) 55%, rgb(255 249 235 / 25%) 85%, transparent);
  }
  .about-first-view .campus-photo--message {
    height: clamp(340px, calc(100svh - var(--header-offset) - 110px), 520px);
  }
  .campus-heading {
    top: 22px;
  }
  .about-first-view .campus-catch {
    font-size: clamp(1.05rem, 3.8vw, 1.35rem);
    bottom: 24px;
  }
  .page-intro .anchor-buttons a {
    flex: 0 1 50%;
    min-width: 0;
    padding: 16px 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-intro .anchor-buttons a::after {
    transition: none;
  }
}

/* Tablet / SPの開閉ボタン：見た目は軽く、操作領域は44px以上。 */
@media (max-width: 1120px) {
  header#site-header .menu-toggle:not([hidden])[aria-expanded] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 80px;
    min-height: 44px;
    padding: 8px 5px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    box-shadow: none;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .06em;
    cursor: pointer;
  }
  header#site-header .menu-toggle[aria-expanded]::after {
    content: '';
    display: block;
    width: 18px;
    height: 10px;
    flex: 0 0 18px;
    background:
      linear-gradient(currentColor, currentColor) left top / 18px 1px no-repeat,
      linear-gradient(currentColor, currentColor) left bottom / 18px 1px no-repeat;
  }
  header#site-header .menu-toggle[aria-expanded='true']::after {
    height: 18px;
    background:
      linear-gradient(45deg, transparent 47%, currentColor 48%, currentColor 52%, transparent 53%),
      linear-gradient(-45deg, transparent 47%, currentColor 48%, currentColor 52%, transparent 53%);
  }
  header#site-header .menu-toggle:not([hidden])[aria-expanded]:hover {
    color: var(--key);
  }
  header#site-header .menu-toggle:not([hidden])[aria-expanded]:focus-visible {
    outline: 2px solid var(--key);
    outline-offset: 3px;
  }
}
